/tools/include/linux/ |
D | bitops.h | 36 #define for_each_set_bit(bit, addr, size) \ argument 37 for ((bit) = find_first_bit((addr), (size)); \ 38 (bit) < (size); \ 39 (bit) = find_next_bit((addr), (size), (bit) + 1)) 41 #define for_each_clear_bit(bit, addr, size) \ argument 42 for ((bit) = find_first_zero_bit((addr), (size)); \ 43 (bit) < (size); \ 44 (bit) = find_next_zero_bit((addr), (size), (bit) + 1)) 47 #define for_each_set_bit_from(bit, addr, size) \ argument 48 for ((bit) = find_next_bit((addr), (size), (bit)); \ [all …]
|
/tools/perf/bench/ |
D | find-bit-bench.c | 62 unsigned int bit, i, j; in do_for_each_set_bit() local 79 for_each_set_bit(bit, to_test, num_bits) in do_for_each_set_bit() 80 workload(bit); in do_for_each_set_bit() 91 for (bit = 0; bit < num_bits; bit++) { in do_for_each_set_bit() 92 if (asm_test_bit(bit, to_test)) in do_for_each_set_bit() 93 workload(bit); in do_for_each_set_bit()
|
D | Build | 14 perf-y += find-bit-bench.o
|
/tools/perf/util/ |
D | mem2node.c | 67 u64 bit; in mem2node__init() local 71 for (bit = 0; bit < n->size; bit++) { in mem2node__init() 74 if (!test_bit(bit, n->set)) in mem2node__init() 77 start = bit * bsize; in mem2node__init()
|
D | evsel.h | 272 void __evsel__set_sample_bit(struct evsel *evsel, enum perf_event_sample_format bit); 273 void __evsel__reset_sample_bit(struct evsel *evsel, enum perf_event_sample_format bit); 275 #define evsel__set_sample_bit(evsel, bit) \ argument 276 __evsel__set_sample_bit(evsel, PERF_SAMPLE_##bit) 278 #define evsel__reset_sample_bit(evsel, bit) \ argument 279 __evsel__reset_sample_bit(evsel, PERF_SAMPLE_##bit)
|
D | perf_event_attr_fprintf.c | 11 int bit; member 21 if (value & bits[i].bit) { in __p_bits()
|
D | evsel.c | 190 enum perf_event_sample_format bit) in __evsel__set_sample_bit() argument 192 if (!(evsel->core.attr.sample_type & bit)) { in __evsel__set_sample_bit() 193 evsel->core.attr.sample_type |= bit; in __evsel__set_sample_bit() 200 enum perf_event_sample_format bit) in __evsel__reset_sample_bit() argument 202 if (evsel->core.attr.sample_type & bit) { in __evsel__reset_sample_bit() 203 evsel->core.attr.sample_type &= ~bit; in __evsel__reset_sample_bit()
|
/tools/testing/selftests/vm/ |
D | pkey-helpers.h | 155 int bit = pkey * 2; in __pkey_access_allow() local 158 pkey_reg &= (1<<bit); in __pkey_access_allow() 160 pkey_reg |= (1<<bit); in __pkey_access_allow() 169 int bit = pkey * 2 + 1; in __pkey_write_allow() local 172 pkey_reg &= (1<<bit); in __pkey_write_allow() 174 pkey_reg |= (1<<bit); in __pkey_write_allow()
|
/tools/testing/selftests/x86/ |
D | test_syscall_vdso.c | 229 int bit; in print_flags() local 233 bit = 21; in print_flags() 237 if (bitstr[(r >> bit) & 1][0]) in print_flags() 238 fputs(bitstr[(r >> bit) & 1], stdout); in print_flags() 240 bit--; in print_flags() 241 } while (bit >= 0); in print_flags()
|
D | fsgsbase.c | 32 # error This test is 64-bit only
|
/tools/perf/trace/beauty/ |
D | pkey_alloc.c | 24 unsigned long bit = 1UL << (i - 1); in strarray__scnprintf_flags() local 26 if (!(flags & bit)) in strarray__scnprintf_flags() 35 printed += scnprintf(bf + printed, size - printed, "0x%#", bit); in strarray__scnprintf_flags()
|
/tools/perf/arch/arm64/util/ |
D | arm-spe.c | 42 u64 user_bits = 0, bit; in arm_spe_set_timestamp() local 50 bit = perf_pmu__format_bits(&arm_spe_pmu->format, "ts_enable"); in arm_spe_set_timestamp() 53 if (bit & user_bits) in arm_spe_set_timestamp() 56 evsel->core.attr.config |= bit; in arm_spe_set_timestamp()
|
/tools/testing/selftests/kvm/x86_64/ |
D | xapic_ipi_test.c | 269 unsigned long bit; in do_migrations() local 290 for (i = 0, bit = 1; i < sizeof(nodemask) * 8; i++, bit <<= 1) { in do_migrations() 291 if (nodemask & bit) { in do_migrations() 292 nodemasks[nodes] = nodemask & bit; in do_migrations()
|
/tools/testing/selftests/net/ |
D | toeplitz.c | 107 int i, bit, ret = 0; in toeplitz() local 114 for (bit = 7; bit >= 0; bit--) { in toeplitz() 115 if (four_tuple[i] & (1 << bit)) in toeplitz() 119 key32 |= !!(key[0] & (1 << bit)); in toeplitz()
|
/tools/testing/radix-tree/ |
D | idr-test.c | 486 int bit = i & 2047; in ida_check_random() local 487 if (test_bit(bit, bitmap)) { in ida_check_random() 488 __clear_bit(bit, bitmap); in ida_check_random() 489 ida_free(&ida, bit); in ida_check_random() 491 __set_bit(bit, bitmap); in ida_check_random() 492 IDA_BUG_ON(&ida, ida_alloc_min(&ida, bit, GFP_KERNEL) in ida_check_random() 493 != bit); in ida_check_random()
|
/tools/perf/ |
D | design.txt | 15 provides "virtual" 64-bit counters, regardless of the width of the 72 is divided into 3 bit-fields: 74 raw_type: 1 bit (most significant bit) 0x8000_0000_0000_0000 162 * in increasing order of bit value, after the counter value. 195 The 'disabled' bit specifies whether the counter starts out disabled 199 The 'inherit' bit, if set, specifies that this counter should count 205 The 'pinned' bit, if set, specifies that the counter should always be 213 The 'exclusive' bit, if set, specifies that when this counter's group 234 The 'comm' bit allows tracking of process comm data on process creation.
|
/tools/arch/x86/kcpuid/ |
D | cpuid.csv | 22 1, 0, ECX, 2, dtes64, DS area uses 64-bit layout 30 …ache could be set to either adaptive mode or shared mode (check IA32_MISC_ENABLE bit 24 definition) 46 1, 0, ECX, 27, osxsave, OS has set CR4.OSXSAVE bit to enable XSETBV/XGETBV/XCR0 48 1, 0, ECX, 29, f16c, 16-bit floating-point conversion instruction supported 196 …, ECX, 21:17, mawau, The value of MAWAU used by the BNDLDX and BNDSTX instructions in 64-bit mode 219 0xA, 0, EAX, 31:24, pmu_ebx_bits, Length of EBX bit vector to enumerate PMU events 347 0x80000001, 0, ECX, 0, lahf_lm, LAHF/SAHF available in 64-bit mode 397 0x8000001F, 0, EBX, 5:0, c-bit, Page table bit number used to enable memory encryption
|
/tools/bpf/ |
D | bpf_exp.l | 44 %option 8bit
|
/tools/testing/selftests/resctrl/ |
D | README | 51 -n no_of_bits: run cache tests using specified no of bits in cache bit mask
|
/tools/perf/Documentation/ |
D | topdown.txt | 165 The value reported by read_metrics() contains four 8 bit fields 281 Since the individual metrics are only 8bit they lose precision for 283 fraction bit shrinks. So the counters need to be reset regularly. 325 The upper half is also divided into four 8-bit fields for the new level 2
|
D | perf-probe.txt | 209 Bitfield is another special type, which takes 3 parameters, bit-width, bit-offset, and container-si… 211 b<bit-width>@<bit-offset>/<container-size>
|
D | jitdump-specification.txt | 49 …* bit 0: JITDUMP_FLAGS_ARCH_TIMESTAMP : set if the jitdump file is using an architecture-specific … 89 …ntify each jitted function. The index can be a monotonically increasing 64-bit value. Each time a …
|
D | perf.data-file-format.txt | 33 magic value is 64bit byte swapped compared the file is in non-native 47 section if the feature bit is set in the perf_header flags bitset. The 65 The bits are the flags bits in a 256 bit bitmap starting with
|
/tools/lib/traceevent/Documentation/ |
D | libtraceevent-host_endian.txt | 33 parser context. This API is a bit faster than _tep_is_bigendian()_, as it
|
/tools/testing/selftests/rcutorture/doc/ |
D | rcu-test-image.txt | 40 # Empirical evidence says this image will work for 64-bit, but...
|