/tools/include/linux/ |
D | hash.h | 16 #define hash_long(val, bits) hash_32(val, bits) argument 18 #define hash_long(val, bits) hash_64(val, bits) argument 60 static inline u32 __hash_32_generic(u32 val) in __hash_32_generic() 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() 96 unsigned long val = (unsigned long)ptr; in hash32_ptr() local
|
/tools/include/tools/ |
D | be_byteshift.h | 23 static inline void __put_unaligned_be16(uint16_t val, uint8_t *p) in __put_unaligned_be16() 29 static inline void __put_unaligned_be32(uint32_t val, uint8_t *p) in __put_unaligned_be32() 35 static inline void __put_unaligned_be64(uint64_t val, uint8_t *p) in __put_unaligned_be64() 56 static inline void put_unaligned_be16(uint16_t val, void *p) in put_unaligned_be16() 61 static inline void put_unaligned_be32(uint32_t val, void *p) in put_unaligned_be32() 66 static inline void put_unaligned_be64(uint64_t val, void *p) in put_unaligned_be64()
|
D | le_byteshift.h | 23 static inline void __put_unaligned_le16(uint16_t val, uint8_t *p) in __put_unaligned_le16() 29 static inline void __put_unaligned_le32(uint32_t val, uint8_t *p) in __put_unaligned_le32() 35 static inline void __put_unaligned_le64(uint64_t val, uint8_t *p) in __put_unaligned_le64() 56 static inline void put_unaligned_le16(uint16_t val, void *p) in put_unaligned_le16() 61 static inline void put_unaligned_le32(uint32_t val, void *p) in put_unaligned_le32() 66 static inline void put_unaligned_le64(uint64_t val, void *p) in put_unaligned_le64()
|
/tools/virtio/linux/ |
D | virtio_config.h | 64 static inline u16 virtio16_to_cpu(struct virtio_device *vdev, __virtio16 val) in virtio16_to_cpu() 69 static inline __virtio16 cpu_to_virtio16(struct virtio_device *vdev, u16 val) in cpu_to_virtio16() 74 static inline u32 virtio32_to_cpu(struct virtio_device *vdev, __virtio32 val) in virtio32_to_cpu() 79 static inline __virtio32 cpu_to_virtio32(struct virtio_device *vdev, u32 val) in cpu_to_virtio32() 84 static inline u64 virtio64_to_cpu(struct virtio_device *vdev, __virtio64 val) in virtio64_to_cpu() 89 static inline __virtio64 cpu_to_virtio64(struct virtio_device *vdev, u64 val) in cpu_to_virtio64()
|
/tools/include/asm-generic/bitops/ |
D | find.h | 27 unsigned long val; in find_next_bit() local 57 unsigned long val; in find_next_and_bit() local 85 unsigned long val; in find_next_zero_bit() local 112 unsigned long val = *addr & GENMASK(size - 1, 0); in find_first_bit() local 136 unsigned long val = *addr | ~GENMASK(size - 1, 0); in find_first_zero_bit() local
|
/tools/perf/scripts/python/ |
D | stat-cpi.py | 23 def store(time, event, cpu, thread, val, ena, run): argument 35 def stat__cycles_k(cpu, thread, time, val, ena, run): argument 38 def stat__instructions_k(cpu, thread, time, val, ena, run): argument 41 def stat__cycles_u(cpu, thread, time, val, ena, run): argument 44 def stat__instructions_u(cpu, thread, time, val, ena, run): argument 47 def stat__cycles(cpu, thread, time, val, ena, run): argument 50 def stat__instructions(cpu, thread, time, val, ena, run): argument
|
/tools/perf/util/ |
D | perf_event_attr_fprintf.c | 76 #define p_hex(val) snprintf(buf, BUF_SIZE, "%#"PRIx64, (uint64_t)(val)) argument 77 #define p_unsigned(val) snprintf(buf, BUF_SIZE, "%"PRIu64, (uint64_t)(val)) argument 78 #define p_signed(val) snprintf(buf, BUF_SIZE, "%"PRId64, (int64_t)(val)) argument 79 #define p_sample_type(val) __p_sample_type(buf, BUF_SIZE, val) argument 80 #define p_branch_sample_type(val) __p_branch_sample_type(buf, BUF_SIZE, val) argument 81 #define p_read_format(val) __p_read_format(buf, BUF_SIZE, val) argument
|
/tools/power/pm-graph/ |
D | bootgraph.py | 105 def setGraphFilter(self, val): argument 920 val = next(args) variable 926 val = next(args) variable 937 val = next(args) variable 950 val = next(args) variable 959 val = next(args) variable 972 val = next(args) variable 981 val = next(args) variable 987 val = next(args) variable 1001 val = next(args) variable
|
/tools/include/uapi/linux/ |
D | lirc.h | 24 #define LIRC_SPACE(val) (((val)&LIRC_VALUE_MASK) | LIRC_MODE2_SPACE) argument 25 #define LIRC_PULSE(val) (((val)&LIRC_VALUE_MASK) | LIRC_MODE2_PULSE) argument 26 #define LIRC_FREQUENCY(val) (((val)&LIRC_VALUE_MASK) | LIRC_MODE2_FREQUENCY) argument 27 #define LIRC_TIMEOUT(val) (((val)&LIRC_VALUE_MASK) | LIRC_MODE2_TIMEOUT) argument 29 #define LIRC_VALUE(val) ((val)&LIRC_VALUE_MASK) argument 30 #define LIRC_MODE2(val) ((val)&LIRC_MODE2_MASK) argument 32 #define LIRC_IS_SPACE(val) (LIRC_MODE2(val) == LIRC_MODE2_SPACE) argument 33 #define LIRC_IS_PULSE(val) (LIRC_MODE2(val) == LIRC_MODE2_PULSE) argument 34 #define LIRC_IS_FREQUENCY(val) (LIRC_MODE2(val) == LIRC_MODE2_FREQUENCY) argument 35 #define LIRC_IS_TIMEOUT(val) (LIRC_MODE2(val) == LIRC_MODE2_TIMEOUT) argument
|
/tools/testing/selftests/powerpc/dscr/ |
D | dscr.h | 51 inline void set_dscr(unsigned long val) in set_dscr() 66 inline void set_dscr_usr(unsigned long val) in set_dscr_usr() 76 unsigned long val; in get_default_dscr() local 97 void set_default_dscr(unsigned long val) in set_default_dscr()
|
/tools/power/cpupower/utils/helpers/ |
D | msr.c | 26 int read_msr(int cpu, unsigned int idx, unsigned long long *val) in read_msr() 55 int write_msr(int cpu, unsigned int idx, unsigned long long val) in write_msr() 77 unsigned long long val; in msr_intel_get_turbo_ratio() local
|
D | misc.c | 20 unsigned long long val; in cpufreq_has_boost_support() local 51 unsigned long val; in cpupower_intel_get_perf_bias() local 69 int cpupower_intel_set_perf_bias(unsigned int cpu, unsigned int val) in cpupower_intel_set_perf_bias()
|
/tools/testing/selftests/bpf/progs/ |
D | test_pkt_access.c | 45 int test_pkt_access_subprog2(int val, volatile struct __sk_buff *skb) in test_pkt_access_subprog2() 61 int get_constant(long val) in get_constant() 69 int test_pkt_access_subprog3(int val, struct __sk_buff *skb) in test_pkt_access_subprog3() 75 int get_skb_ifindex(int val, struct __sk_buff *skb, int var) in get_skb_ifindex()
|
D | timer_mim.c | 41 static int timer_cb2(void *map, int *key, struct hmap_elem *val) in timer_cb2() 52 static int timer_cb1(void *map, int *key, struct hmap_elem *val) in timer_cb1() 69 struct hmap_elem *val; in BPF_PROG() local
|
D | test_pe_preserve_elems.c | 25 struct bpf_perf_event_value val; in BPF_PROG() local 33 struct bpf_perf_event_value val; in BPF_PROG() local
|
D | test_global_func6.c | 16 int f2(int val, struct __sk_buff *skb) in f2() 22 int f3(int val, struct __sk_buff *skb) in f3()
|
D | test_global_func5.c | 16 int f2(int val, struct __sk_buff *skb) in f2() 22 int f3(int val, struct __sk_buff *skb) in f3()
|
/tools/testing/radix-tree/linux/ |
D | percpu.h | 2 #define DECLARE_PER_CPU(type, val) extern type val argument 3 #define DEFINE_PER_CPU(type, val) type val argument 8 #define this_cpu_xchg(var, val) uatomic_xchg(&var, val) argument
|
/tools/perf/bench/ |
D | futex.h | 50 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ argument 58 futex_wait(u_int32_t *uaddr, u_int32_t val, struct timespec *timeout, int opflags) in futex_wait() 97 futex_cmp_requeue(u_int32_t *uaddr, u_int32_t val, u_int32_t *uaddr2, int nr_wake, in futex_cmp_requeue() 113 futex_wait_requeue_pi(u_int32_t *uaddr, u_int32_t val, u_int32_t *uaddr2, in futex_wait_requeue_pi() 130 futex_cmp_requeue_pi(u_int32_t *uaddr, u_int32_t val, u_int32_t *uaddr2, in futex_cmp_requeue_pi()
|
/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-gpr.h | 21 int validate_gpr(unsigned long *gpr, unsigned long val) in validate_gpr() 39 int validate_fpr(unsigned long *fpr, unsigned long val) in validate_fpr() 56 int validate_fpr_float(float *fpr, float val) in validate_fpr_float()
|
/tools/testing/selftests/futex/include/ |
D | futextest.h | 70 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ argument 78 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) in futex_wait() 98 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, in futex_wait_bitset() 169 futex_cmp_requeue(futex_t *uaddr, futex_t val, futex_t *uaddr2, int nr_wake, in futex_cmp_requeue() 185 futex_wait_requeue_pi(futex_t *uaddr, futex_t val, futex_t *uaddr2, in futex_wait_requeue_pi() 200 futex_cmp_requeue_pi(futex_t *uaddr, futex_t val, futex_t *uaddr2, int nr_wake, in futex_cmp_requeue_pi()
|
/tools/perf/arch/x86/tests/ |
D | insn-x86.c | 39 int val; in get_op() member 54 struct val_data *val; in get_op() local 73 int val; in get_branch() member 81 struct val_data *val; in get_branch() local
|
/tools/lib/traceevent/plugins/ |
D | plugin_sched_switch.c | 12 static void write_state(struct trace_seq *s, int val) in write_state() 58 unsigned long long val; in sched_wakeup_handler() local 87 unsigned long long val; in sched_switch_handler() local
|
/tools/include/linux/unaligned/ |
D | packed_struct.h | 29 static inline void __put_unaligned_cpu16(u16 val, void *p) in __put_unaligned_cpu16() 35 static inline void __put_unaligned_cpu32(u32 val, void *p) in __put_unaligned_cpu32() 41 static inline void __put_unaligned_cpu64(u64 val, void *p) in __put_unaligned_cpu64()
|
/tools/include/asm-generic/ |
D | unaligned.h | 14 #define __put_unaligned_t(type, val, ptr) do { \ argument 20 #define put_unaligned(val, ptr) __put_unaligned_t(typeof(*(ptr)), (val), (ptr)) argument
|