/tools/testing/selftests/vm/ |
D | map_hugetlb.c | 75 int shift = 0; in main() local 80 shift = atoi(argv[2]); in main() 81 if (shift) in main() 82 flags |= (shift & MAP_HUGE_MASK) << MAP_HUGE_SHIFT; in main() 85 if (shift) in main() 86 printf("%u kB hugepages\n", 1 << shift); in main()
|
/tools/include/linux/ |
D | bitops.h | 68 static inline __u32 rol32(__u32 word, unsigned int shift) in rol32() argument 70 return (word << shift) | (word >> ((-shift) & 31)); in rol32()
|
/tools/testing/radix-tree/ |
D | test.c | 217 tag, slot->shift, tagged, anyset); in verify_node() 229 if (slot->shift > 0) { in verify_node() 272 unsigned shift; in tree_verify_min_height() local 282 shift = node->shift; in tree_verify_min_height() 283 if (shift > 0) in tree_verify_min_height() 284 assert(maxindex > shift_maxindex(shift - RADIX_TREE_MAP_SHIFT)); in tree_verify_min_height()
|
D | .gitignore | 1 generated/map-shift.h
|
D | multiorder.c | 59 int shift = height * XA_CHUNK_SHIFT; in multiorder_iteration() local 63 assert(xas.xa_node->shift == shift); in multiorder_iteration()
|
D | test.h | 56 unsigned long shift_maxindex(unsigned int shift);
|
/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 26 unsigned int shift = (vm->pgtable_levels - 1) * (vm->page_shift - 3) + vm->page_shift; in pgd_index() local 27 uint64_t mask = (1UL << (vm->va_bits - shift)) - 1; in pgd_index() 29 return (gva >> shift) & mask; in pgd_index() 34 unsigned int shift = 2 * (vm->page_shift - 3) + vm->page_shift; in pud_index() local 40 return (gva >> shift) & mask; in pud_index() 45 unsigned int shift = (vm->page_shift - 3) + vm->page_shift; in pmd_index() local 51 return (gva >> shift) & mask; in pmd_index() 68 unsigned int shift = (vm->pgtable_levels - 1) * (vm->page_shift - 3) + vm->page_shift; in ptrs_per_pgd() local 69 return 1 << (vm->va_bits - shift); in ptrs_per_pgd()
|
/tools/testing/selftests/bpf/progs/ |
D | test_jhash.h | 7 static __always_inline u32 rol32(u32 word, unsigned int shift) in rol32() argument 9 return (word << shift) | (word >> ((-shift) & 31)); in rol32()
|
D | test_l4lb.c | 26 static inline __u32 rol32(__u32 word, unsigned int shift) in rol32() argument 28 return (word << shift) | (word >> ((-shift) & 31)); in rol32()
|
D | test_l4lb_noinline.c | 22 static __u32 rol32(__u32 word, unsigned int shift) in rol32() argument 24 return (word << shift) | (word >> ((-shift) & 31)); in rol32()
|
D | test_xdp_noinline.c | 19 static __u32 rol32(__u32 word, unsigned int shift) in rol32() argument 21 return (word << shift) | (word >> ((-shift) & 31)); in rol32()
|
/tools/testing/selftests/bpf/ |
D | bpf_rand.h | 16 static inline uint64_t bpf_rand_u##x(int shift) \ 18 return bpf_rand_mask((m)) << shift; \
|
/tools/iio/ |
D | iio_utils.h | 45 unsigned shift; member 61 unsigned *shift, uint64_t *mask, unsigned *be,
|
D | iio_generic_buffer.c | 77 input >>= info->shift; in print1byte() 100 input >>= info->shift; in print2byte() 123 input >>= info->shift; in print4byte() 146 input >>= info->shift; in print8byte()
|
D | iio_utils.c | 86 unsigned *shift, uint64_t *mask, unsigned *be, in iioutils_get_type() argument 143 &padint, shift); in iioutils_get_type() 501 ¤t->shift, in build_channel_array()
|
/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-pkt-decoder.c | 408 unsigned int offs = 1, shift; in intel_pt_get_cyc() local 413 for (shift = 5; byte & 1; shift += 7) { in intel_pt_get_cyc() 419 payload |= ((uint64_t)byte >> 1) << shift; in intel_pt_get_cyc()
|
/tools/perf/arch/x86/util/ |
D | intel-pt.c | 483 unsigned int shift; in intel_pt_val_config_term() local 501 for (shift = 0; bits && !(bits & 1); shift++) in intel_pt_val_config_term() 504 config >>= shift; in intel_pt_val_config_term()
|
/tools/firewire/ |
D | nosy-dump.c | 647 uint32_t index, shift, mask; in get_bits() local 650 shift = 32 - (offset & 31) - width; in get_bits() 653 return (data[index] >> shift) & mask; in get_bits()
|
/tools/power/x86/turbostat/ |
D | turbostat.c | 2632 int so, shift, sib_core; in get_thread_siblings() local 2654 for (shift = 0; shift < BITMASK_SIZE; shift++) { in get_thread_siblings() 2655 if ((map >> shift) & 0x1) { in get_thread_siblings() 2656 so = shift + offset; in get_thread_siblings()
|
/tools/perf/util/ |
D | intel-pt.c | 769 unsigned int shift; in intel_pt_mtc_period() local 775 for (shift = 0, config = pt->mtc_freq_bits; !(config & 1); shift++) in intel_pt_mtc_period() 780 return (config & pt->mtc_freq_bits) >> shift; in intel_pt_mtc_period()
|
/tools/include/uapi/linux/ |
D | kvm.h | 756 __u32 shift; member
|