Home
last modified time | relevance | path

Searched defs:bits (Results 1 – 25 of 33) 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
68 static inline u32 hash_32_generic(u32 val, unsigned int bits) in hash_32_generic()
77 static __always_inline u32 hash_64_generic(u64 val, unsigned int bits) in hash_64_generic()
88 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.h10 #define DECLARE_BITMAP(name,bits) \ argument
/tools/lib/
Dbitmap.c8 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()
/tools/perf/util/
Dperf_event_attr_fprintf.c15 static void __p_bits(char *buf, size_t size, u64 value, struct bit_names *bits) in __p_bits()
31 struct bit_names bits[] = { in __p_sample_type() local
48 struct bit_names bits[] = { in __p_branch_sample_type() local
64 struct bit_names bits[] = { in __p_read_format() local
Dmmap.h20 unsigned long *bits; member
Dhashmap.h15 static inline size_t hash_bits(size_t h, int bits) in hash_bits()
Dpmu.c969 __u64 bits = 0; in perf_pmu__format_bits() local
1346 int config, unsigned long *bits) in perf_pmu__new_format()
1362 void perf_pmu__set_format(unsigned long *bits, long from, long to) in perf_pmu__set_format()
1741 __u64 masks = 0, bits; in perf_pmu__warn_invalid_config() local
Dcpumap.c562 unsigned char bits = bitmap[cpu / 8]; in cpu_map__snprint_mask() 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/spi/
Dspidev_fdx.c82 __u8 lsb, bits; in dumpstat() local
Dspidev_test.c40 static uint8_t bits = 8; variable
/tools/testing/selftests/kvm/lib/aarch64/
Ducall.c28 unsigned int bits; in ucall_init() local
/tools/testing/selftests/vm/
Dvirtual_address_range.c60 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/perf/arch/x86/util/
Dintel-pt.c101 static u64 intel_pt_masked_bits(u64 mask, u64 bits) in intel_pt_masked_bits()
172 static int intel_pt_pick_bit(int bits, int target) in intel_pt_pick_bit()
494 u64 bits; in intel_pt_val_config_term() local
566 u64 user_bits = 0, bits; in intel_pt_config_sample_mode() local
/tools/testing/selftests/seccomp/
Dseccomp_benchmark.c141 long ret, bits; in main() local
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/
Dtypes.h16 #define DECLARE_BITMAP(name, bits) \ argument
/tools/firewire/
Dnosy-dump.c708 uint32_t bits; in decode_link_packet() local
717 unsigned long long bits; in decode_link_packet() local
/tools/power/cpupower/utils/helpers/
Damd.c29 } bits; member
/tools/testing/selftests/bpf/
Dtest_btf.h15 #define BTF_TYPE_INT_ENC(name, encoding, bits_offset, bits, sz) \ argument
/tools/lib/bpf/
Dhashmap.h15 static inline size_t hash_bits(size_t h, int bits) in hash_bits()
Dbtf_dump.c824 int bits; in btf_dump_emit_bit_padding() member
828 int new_off, pad_bits, bits, i; in btf_dump_emit_bit_padding() local
/tools/vm/
Dpage-types.c1147 static void add_bits_filter(uint64_t mask, uint64_t bits) in add_bits_filter()
1199 uint64_t bits; in parse_bits_mask() local
/tools/arch/s390/include/uapi/asm/
Dptrace.h361 per_cr_bits bits; member
379 per_lowcore_bits bits; member

12