/tools/testing/selftests/bpf/ |
A D | sdt.h | 49 # define _SDT_ASM_2(a, b) a,b; argument 50 # define _SDT_ASM_3(a, b, c) a,b,c; argument 51 # define _SDT_ASM_5(a, b, c, d, e) a,b,c,d,e; argument 56 # define _SDT_DEPAREN_2(a,b) a b argument 57 # define _SDT_DEPAREN_3(a,b,c) a b c argument 58 # define _SDT_DEPAREN_4(a,b,c,d) a b c d argument 59 # define _SDT_DEPAREN_5(a,b,c,d,e) a b c d e argument 60 # define _SDT_DEPAREN_6(a,b,c,d,e,f) a b c d e f argument 61 # define _SDT_DEPAREN_7(a,b,c,d,e,f,g) a b c d e f g argument 62 # define _SDT_DEPAREN_8(a,b,c,d,e,f,g,h) a b c d e f g h argument [all …]
|
/tools/include/linux/ |
A D | jhash.h | 35 #define __jhash_mix(a, b, c) \ argument 46 #define __jhash_final(a, b, c) \ argument 72 u32 a, b, c; in jhash() local 119 u32 a, b, c; in jhash2() local 149 static inline u32 __jhash_nwords(u32 a, u32 b, u32 c, u32 initval) in __jhash_nwords() 160 static inline u32 jhash_3words(u32 a, u32 b, u32 c, u32 initval) in jhash_3words() 165 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words()
|
A D | math64.h | 8 static inline u64 mul_u64_u64_div64(u64 a, u64 b, u64 c) in mul_u64_u64_div64() 22 static inline u64 mul_u64_u32_shr(u64 a, u32 b, unsigned int shift) in mul_u64_u32_shr() 30 static inline u64 mul_u32_u32(u32 a, u32 b) in mul_u32_u32() 40 static inline u64 mul_u32_u32(u32 a, u32 b) in mul_u32_u32() 46 static inline u64 mul_u64_u32_shr(u64 a, u32 b, unsigned int shift) in mul_u64_u32_shr() 64 static inline u64 mul_u64_u64_div64(u64 a, u64 b, u64 c) in mul_u64_u64_div64()
|
A D | overflow.h | 44 #define check_add_overflow(a, b, d) ({ \ argument 53 #define check_sub_overflow(a, b, d) ({ \ argument 62 #define check_mul_overflow(a, b, d) ({ \ argument 82 static inline __must_check size_t array_size(size_t a, size_t b) in array_size() 104 static inline __must_check size_t array3_size(size_t a, size_t b, size_t c) in array3_size()
|
/tools/gpio/ |
A D | gpio-utils.h | 45 static inline void gpiotools_set_bit(__u64 *b, int n) in gpiotools_set_bit() 50 static inline void gpiotools_change_bit(__u64 *b, int n) in gpiotools_change_bit() 55 static inline void gpiotools_clear_bit(__u64 *b, int n) in gpiotools_clear_bit() 60 static inline int gpiotools_test_bit(__u64 b, int n) in gpiotools_test_bit() 65 static inline void gpiotools_assign_bit(__u64 *b, int n, bool value) in gpiotools_assign_bit()
|
/tools/testing/selftests/bpf/progs/ |
A D | btf_dump_test_case_packing.c | 11 short b; member 16 short b; member 21 int b; member 26 int b; member 32 long b; member 41 char b; member 48 int b; member 122 char b; member 127 struct nested_packed_struct b; member 132 struct nested_packed_struct b; member
|
A D | modify_return.c | 18 int BPF_PROG(fentry_test, int a, __u64 b) in BPF_PROG() 27 int BPF_PROG(fmod_ret_test, int a, int *b, int ret) in BPF_PROG() 37 int BPF_PROG(fexit_test, int a, __u64 b, int ret) in BPF_PROG() 55 int BPF_PROG(fentry_test2, int a, int *b, short c, int d, void *e, char f, in BPF_PROG() 65 int BPF_PROG(fmod_ret_test2, int a, int *b, short c, int d, void *e, char f, in BPF_PROG() 76 int BPF_PROG(fexit_test2, int a, int *b, short c, int d, void *e, char f, in BPF_PROG()
|
A D | tracing_struct.c | 13 long b; member 18 int b[]; member 30 int BPF_PROG2(test_struct_arg_1, struct bpf_testmod_struct_arg_2, a, int, b, int, c) in BPF_PROG2() argument 40 int BPF_PROG2(test_struct_arg_2, struct bpf_testmod_struct_arg_2, a, int, b, int, c, int, ret) in BPF_PROG2() argument 59 int BPF_PROG2(test_struct_arg_3, int, a, struct bpf_testmod_struct_arg_2, b, int, c) in BPF_PROG2() argument 69 int BPF_PROG2(test_struct_arg_4, int, a, struct bpf_testmod_struct_arg_2, b, int, c, int, ret) in BPF_PROG2() argument 76 int BPF_PROG2(test_struct_arg_5, int, a, int, b, struct bpf_testmod_struct_arg_2, c) in BPF_PROG2() argument 86 int BPF_PROG2(test_struct_arg_6, int, a, int, b, struct bpf_testmod_struct_arg_2, c, int, ret) in BPF_PROG2() argument 93 int BPF_PROG2(test_struct_arg_7, struct bpf_testmod_struct_arg_1, a, int, b, in BPF_PROG2() argument 106 int BPF_PROG2(test_struct_arg_8, struct bpf_testmod_struct_arg_1, a, int, b, in BPF_PROG2() argument
|
A D | test_jhash.h | 12 #define __jhash_mix(a, b, c) \ argument 22 #define __jhash_final(a, b, c) \ argument 38 u32 a, b, c; in jhash() local 75 u32 a, b, c; in jhash2() local
|
A D | fentry_test.c | 19 int BPF_PROG(test2, int a, __u64 b) in BPF_PROG() 27 int BPF_PROG(test3, char a, int b, __u64 c) in BPF_PROG() 35 int BPF_PROG(test4, void *a, char b, int c, __u64 d) in BPF_PROG() 43 int BPF_PROG(test5, __u64 a, void *b, short c, int d, __u64 e) in BPF_PROG() 52 int BPF_PROG(test6, __u64 a, void *b, short c, int d, void * e, __u64 f) in BPF_PROG()
|
A D | test_trampoline_count.c | 7 int BPF_PROG(fentry_test, int a, int *b) in BPF_PROG() 13 int BPF_PROG(fmod_ret_test, int a, int *b, int ret) in BPF_PROG() 19 int BPF_PROG(fexit_test, int a, int *b, int ret) in BPF_PROG()
|
A D | fexit_test.c | 19 int BPF_PROG(test2, int a, __u64 b, int ret) in BPF_PROG() 27 int BPF_PROG(test3, char a, int b, __u64 c, int ret) in BPF_PROG() 35 int BPF_PROG(test4, void *a, char b, int c, __u64 d, int ret) in BPF_PROG() 44 int BPF_PROG(test5, __u64 a, void *b, short c, int d, __u64 e, int ret) in BPF_PROG() 53 int BPF_PROG(test6, __u64 a, void *b, short c, int d, void *e, __u64 f, int ret) in BPF_PROG()
|
A D | rbtree_fail.c | 20 static bool less(struct bpf_rb_node *a, const struct bpf_rb_node *b) in less() 231 static bool less__bad_fn_call_add(struct bpf_rb_node *a, const struct bpf_rb_node *b) in less__bad_fn_call_add() 243 static bool less__bad_fn_call_remove(struct bpf_rb_node *a, const struct bpf_rb_node *b) in less__bad_fn_call_remove() 255 static bool less__bad_fn_call_first_unlock_after(struct bpf_rb_node *a, const struct bpf_rb_node *b) in less__bad_fn_call_first_unlock_after() 269 long add_with_cb(bool (cb)(struct bpf_rb_node *a, const struct bpf_rb_node *b)) in add_with_cb()
|
A D | btf_data.c | 5 int b; member 11 int b; member 17 int b; member 23 int b; member
|
A D | btf_dump_test_case_padding.c | 12 long b; member 32 int b; member 40 int b; member 63 int b __attribute__((aligned(32))); member 88 short b; member 102 short b; member 127 char b; member
|
A D | tracing_struct_many_args.c | 8 int b; member 13 short b; member 23 int BPF_PROG2(test_struct_many_args_1, __u64, a, void *, b, short, c, int, d, in BPF_PROG2() argument 37 int BPF_PROG2(test_struct_many_args_2, __u64, a, void *, b, short, c, int, d, in BPF_PROG2() argument 45 int BPF_PROG2(test_struct_many_args_3, __u64, a, void *, b, short, c, int, d, in BPF_PROG2() argument 60 int BPF_PROG2(test_struct_many_args_4, __u64, a, void *, b, short, c, int, d, in BPF_PROG2() argument 69 int BPF_PROG2(test_struct_many_args_5, __u64, a, void *, b, short, c, int, d, void *, e, in BPF_PROG2() argument 88 int BPF_PROG2(test_struct_many_args_6, __u64, a, void *, b, short, c, int, d, void *, e, in BPF_PROG2() argument
|
/tools/perf/util/ |
A D | perf_regs.h | 15 #define SMPL_REG_MASK(b) (1ULL << (b)) argument 16 #define SMPL_REG(n, b) { .name = #n, .mask = SMPL_REG_MASK(b) } argument 17 #define SMPL_REG2_MASK(b) (3ULL << (b)) argument 18 #define SMPL_REG2(n, b) { .name = #n, .mask = SMPL_REG2_MASK(b) } argument
|
/tools/perf/tests/ |
A D | time-utils-test.c | 159 u64 b = 1234567123456789ULL; in test__time_utils() local 172 u64 b = 1234567123456789ULL; in test__time_utils() local 189 u64 b = 7654321ULL * NSEC_PER_SEC; in test__time_utils() local 204 u64 b = 7654321ULL * NSEC_PER_SEC; in test__time_utils() local 219 u64 b = 11223344ULL * NSEC_PER_SEC; in test__time_utils() local 234 u64 b = 11223344ULL * NSEC_PER_SEC; in test__time_utils() local
|
/tools/testing/shared/trace/events/ |
A D | maple_tree.h | 3 #define trace_ma_op(a, b) do {} while (0) argument 4 #define trace_ma_read(a, b) do {} while (0) argument 5 #define trace_ma_write(a, b, c, d) do {} while (0) argument
|
/tools/testing/selftests/net/lib/py/ |
A D | ksft.py | 58 def ksft_eq(a, b, comment=""): argument 64 def ksft_ne(a, b, comment=""): argument 75 def ksft_in(a, b, comment=""): argument 80 def ksft_not_in(a, b, comment=""): argument 85 def ksft_is(a, b, comment=""): argument 90 def ksft_ge(a, b, comment=""): argument 95 def ksft_lt(a, b, comment=""): argument
|
/tools/lib/bpf/ |
A D | bpf_core_read.h | 340 #define ___concat(a, b) a ## b argument 358 #define ___last3(a, b, x) x argument 359 #define ___last4(a, b, c, x) x argument 360 #define ___last5(a, b, c, d, x) x argument 361 #define ___last6(a, b, c, d, e, x) x argument 362 #define ___last7(a, b, c, d, e, f, x) x argument 369 #define ___nolast3(a, b, _) a, b argument 370 #define ___nolast4(a, b, c, _) a, b, c argument 380 #define ___arrow2(a, b) a->b argument 381 #define ___arrow3(a, b, c) a->b->c argument [all …]
|
/tools/testing/selftests/proc/ |
A D | proc-self-map-files-001.c | 26 static void pass(const char *fmt, unsigned long a, unsigned long b) in pass() 36 static void fail(const char *fmt, unsigned long a, unsigned long b) in fail() 52 unsigned long a, b; in main() local
|
A D | proc-self-map-files-002.c | 26 static void pass(const char *fmt, unsigned long a, unsigned long b) in pass() 36 static void fail(const char *fmt, unsigned long a, unsigned long b) in fail() 58 unsigned long a, b; in main() local
|
/tools/testing/selftests/powerpc/nx-gzip/include/ |
A D | copy-paste.h | 12 #define ___PPC_RB(b) (((b) & 0x1f) << 11) argument 17 #define PPC_COPY(a, b) stringify_in_c(.long PPC_INST_COPY | \ argument 19 #define PPC_PASTE(a, b) stringify_in_c(.long PPC_INST_PASTE | \ argument
|
/tools/lib/ |
A D | list_sort.c | 14 struct list_head *a, struct list_head *b) in merge() 50 struct list_head *a, struct list_head *b) in merge_final() 210 struct list_head *a = *tail, *b = a->prev; in list_sort() local
|