Home
last modified time | relevance | path

Searched defs:bits (Results 1 – 25 of 41) sorted by relevance

12

/tools/include/linux/
Dhash.h16 #define hash_long(val, bits) hash_32(val, bits) argument
18 #define hash_long(val, bits) hash_64(val, bits) argument
65 static inline u32 hash_32(u32 val, unsigned int bits) in hash_32()
74 static __always_inline u32 hash_64_generic(u64 val, unsigned int bits) in hash_64_generic()
85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr()
Dhashtable.h17 #define DEFINE_HASHTABLE(name, bits) \ argument
21 #define DECLARE_HASHTABLE(name, bits) \ argument
28 #define hash_min(val, bits) \ argument
Dbitmap.h12 #define DECLARE_BITMAP(name,bits) \ argument
/tools/lib/
Dbitmap.c8 unsigned int __bitmap_weight(const unsigned long *bitmap, int bits) in __bitmap_weight()
22 const unsigned long *bitmap2, int bits) in __bitmap_or()
61 const unsigned long *bitmap2, unsigned int bits) in __bitmap_and()
76 const unsigned long *bitmap2, unsigned int bits) in __bitmap_equal()
91 const unsigned long *bitmap2, unsigned int bits) in __bitmap_intersects()
Dlist_sort.c214 size_t bits; in list_sort() local
/tools/testing/selftests/vDSO/
Dparse_vdso.c35 #define ELF_BITS_XFORM2(bits, x) Elf##bits##_##x argument
36 #define ELF_BITS_XFORM(bits, x) ELF_BITS_XFORM2(bits, x) argument
/tools/perf/util/
Dperf_event_attr_fprintf.c19 static void __p_bits(char *buf, size_t size, u64 value, struct bit_names *bits) in __p_bits()
35 struct bit_names bits[] = { in __p_sample_type() local
53 struct bit_names bits[] = { in __p_branch_sample_type() local
69 struct bit_names bits[] = { in __p_read_format() local
Dpmu.y25 static void perf_pmu__set_format(unsigned long *bits, long from, long to) in perf_pmu__set_format()
Dsharded_mutex.c10 unsigned int bits; in sharded_mutex__new() local
Dmmap.h17 unsigned long *bits; member
Dhashmap.h15 static inline size_t hash_bits(size_t h, int bits) in hash_bits()
/tools/testing/selftests/dma/
Ddma_map_benchmark.c31 int bits = 32, xdelay = 0, dir = DMA_MAP_BIDIRECTIONAL; in main() local
/tools/testing/selftests/kvm/
Daccess_tracking_perf_test.c113 uint64_t bits = pread_uint64(page_idle_fd, "page_idle", pfn / 64); in is_page_idle() local
120 uint64_t bits = 1ULL << (pfn % 64); in mark_page_idle() local
/tools/spi/
Dspidev_fdx.c82 __u8 lsb, bits; in dumpstat() local
Dspidev_test.c40 static uint8_t bits = 8; variable
/tools/testing/selftests/powerpc/dexcr/
Dlsdexcr.c58 static void print_dexcr(char *name, unsigned int bits) in print_dexcr()
/tools/testing/selftests/mm/
Dvirtual_address_range.c66 int bits = HIGH_ADDR_SHIFT + rand() % (63 - HIGH_ADDR_SHIFT); in hind_addr() local
/tools/bpf/bpftool/
Dbtf_dumper.c19 #define BITS_PER_BYTE_MASKED(bits) ((bits) & BITS_PER_BYTE_MASK) argument
20 #define BITS_ROUNDDOWN_BYTES(bits) ((bits) >> 3) argument
21 #define BITS_ROUNDUP_BYTES(bits) \ argument
/tools/testing/selftests/wireguard/qemu/
Dinit.c61 int bits = 256, fd; in seed_rng() local
/tools/testing/selftests/bpf/progs/
Dsyscall.c26 #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ argument
/tools/testing/selftests/seccomp/
Dseccomp_benchmark.c141 long ret, bits; in main() local
/tools/firewire/
Dnosy-dump.c708 uint32_t bits; in decode_link_packet() local
717 unsigned long long bits; in decode_link_packet() local
/tools/perf/arch/x86/util/
Dintel-pt.c99 static u64 intel_pt_masked_bits(u64 mask, u64 bits) in intel_pt_masked_bits()
170 static int intel_pt_pick_bit(int bits, int target) in intel_pt_pick_bit()
503 u64 bits; in intel_pt_val_config_term() local
/tools/testing/vsock/
Dvsock_perf.c126 static float get_gbps(unsigned long bits, time_t ns_delta) in get_gbps()
/tools/testing/selftests/bpf/
Dtest_btf.h17 #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ argument

12