Searched refs:UINT64_C (Results 1 – 18 of 18) sorted by relevance
| /xnu-8019.80.24/osfmk/arm64/ |
| H A D | monotonic_arm64.c | 98 #define CTR_MAX ((UINT64_C(1) << PMC_WIDTH) - 1) 126 #define PMCR0_CTR_EN(CTR) (UINT64_C(1) << CTR_POS(CTR)) 146 #define PMCR0_PMI_EN(CTR) (UINT64_C(1) << (PMCR0_PMI_SHIFT + CTR_POS(CTR))) 150 #define PMCR0_DISCNT_EN (UINT64_C(1) << 20) 152 #define PMCR0_WFRFE_EN (UINT64_C(1) << 22) 154 #define PMCR0_L2CGLOBAL_EN (UINT64_C(1) << 23) 156 #define PMCR0_USEREN_EN (UINT64_C(1) << 30) 160 #define PMCR0_PCC_INIT (UINT64_C(0x7) << 24) 170 #define PMCR1_EL0A32_EN(CTR) (UINT64_C(1) << (0 + CTR_POS(CTR))) 171 #define PMCR1_EL0A64_EN(CTR) (UINT64_C(1) << (8 + CTR_POS(CTR))) [all …]
|
| H A D | machine_kpc.h | 47 #define KPC_ARM64_COUNTER_MASK ((UINT64_C(1) << KPC_ARM64_COUNTER_WIDTH) - 1) 48 #define KPC_ARM64_COUNTER_OVF_MASK (UINT64_C(1) << KPC_ARM64_COUNTER_OVF_BIT)
|
| H A D | monotonic.h | 56 #define MT_CORE_MAXVAL ((UINT64_C(1) << 48) - 1) 69 #define PMCR0_PMAI (UINT64_C(1) << 11)
|
| /xnu-8019.80.24/osfmk/x86_64/ |
| H A D | monotonic_x86_64.c | 64 #define PMC_FIXED_RD(CTR) ((UINT64_C(1) << 30) | (CTR)) 177 #define GLOBAL_CTRL_FIXED_EN_3FIXED (((UINT64_C(1) << 3) - 1) << 32) 178 #define GLOBAL_CTRL_FIXED_EN_4FIXED (((UINT64_C(1) << 4) - 1) << 32) 185 #define CTR_MAX ((UINT64_C(1) << 48) - 1) 186 #define CTR_FIX_POS(CTR) ((UINT64_C(1) << (CTR)) << 32) 311 if (status & ((UINT64_C(1) << 4) - 1)) { in mt_check_for_pmi()
|
| H A D | monotonic.h | 40 #define MT_CORE_MAXVAL ((UINT64_C(1) << 48) - 1)
|
| /xnu-8019.80.24/tests/ |
| H A D | coalition_info_tests.c | 58 T_EXPECT_GT(coalusage[0].cpu_instructions, UINT64_C(0), 60 T_EXPECT_GT(coalusage[0].cpu_cycles, UINT64_C(0), 96 T_EXPECT_GT(coalusage.cpu_time, UINT64_C(0), "CPU time is non-zero");
|
| H A D | monotonic_uncore.c | 182 (void)uncore_add(fd, REF_TIMEBASE_EVENT, UINT64_C(1) << ctr, ENOSPC); 218 (void)uncore_add(fd, REF_TIMEBASE_EVENT, UINT64_C(1), 0); 219 (void)uncore_add(fd, REF_TIMEBASE_EVENT, UINT64_C(1), ENOSPC); 225 (void)uncore_add(fd, REF_TIMEBASE_EVENT, UINT64_C(1), 0); 285 ctr_mask = (UINT64_C(1) << nctrs) - 1; 392 ctr_mask = (UINT64_C(1) << nctrs) - 1;
|
| H A D | rusage_tests.c | 21 UINT64_C(0), "kernel CPU time should be non-zero");
|
| H A D | monotonic_core.c | 59 T_EXPECT_GT(counts[0][0], UINT64_C(0), "instructions are larger than 0"); in check_fixed_counts() 61 T_EXPECT_GT(counts[0][1], UINT64_C(0), "cycles are larger than 0"); in check_fixed_counts()
|
| H A D | stackshot_tests.m | 2209 T_QUIET; T_ASSERT_GT(cseg_expected_threadid, UINT64_C(0), "compressor segment thread is present"); 2283 T_ASSERT_EQ(compression_type, UINT64_C(1), "zlib compression is used"); 2284 T_ASSERT_GT(totalout, UINT64_C(0), "successfully gathered how long the compressed buffer is"); 2285 …T_ASSERT_GT(totalin, UINT64_C(0), "successfully gathered how long the uncompressed buffer will be …
|
| H A D | proc_info.c | 1940 #define EXPECTED_ID UINT64_C(0x1122334455667788) 1941 #define EXPECTED_UDATA UINT64_C(0x99aabbccddeeff00)
|
| /xnu-8019.80.24/EXTERNAL_HEADERS/ |
| H A D | stdint.h | 91 #define UINT64_C(v) (v ## ULL) macro
|
| H A D | AvailabilityInternal.h | 23420 …__SWIFT_COMPILER_VERSION >= ((X * UINT64_C(1000) * 1000 * 1000) + (Z * 1000 * 1000) + (a * 1000) +…
|
| /xnu-8019.80.24/tests/ktrace/ |
| H A D | kperf_backtracing_tests.c | 339 T_QUIET; T_ASSERT_NE(tid, UINT64_C(0), in create_backtrace_thread() 581 T_EXPECT_EQ(tp->arg2, UINT64_C(256),
|
| H A D | kdebug_tests.c | 52 T_EXPECT_EQ(tp->arg1, UINT64_C(0xfeedfacefeedface), 55 T_EXPECT_EQ(tp->arg1, UINT64_C(0xfeedface), 1021 #define ROUND_TRIP_PERIOD UINT64_C(10 * 1000) 1022 #define ROUND_TRIPS_THRESHOLD UINT64_C(25)
|
| H A D | kpc_tests.c | 327 T_EXPECT_GT(ctrs_a[i], UINT64_C(0), "counter %d is non-zero", i); 340 T_EXPECT_GT(ctrs_b[i], UINT64_C(0), "counter %d is non-zero", i);
|
| H A D | kperf_tests.c | 1131 T_EXPECT_EQ(nzeroes, UINT64_C(0),
|
| /xnu-8019.80.24/EXTERNAL_HEADERS/corecrypto/ |
| H A D | ccn.h | 26 #define CC_UNIT_C(x) UINT64_C(x)
|