| /tools/testing/selftests/powerpc/include/ |
| D | instructions.h | 77 #define __PPC_RA(a) (((a) & 0x1f) << 16) argument 98 #define PREFIX_MLS(instr, t, a, r, d) stringify_in_c(.balign 64, , 4;) \ argument 107 #define PREFIX_8LS(instr, t, a, r, d) stringify_in_c(.balign 64, , 4;) \ argument 117 #define PLBZ(t, a, r, d) PREFIX_MLS(PPC_INST_LBZ, t, a, r, d) argument 118 #define PLHZ(t, a, r, d) PREFIX_MLS(PPC_INST_LHZ, t, a, r, d) argument 119 #define PLHA(t, a, r, d) PREFIX_MLS(PPC_INST_LHA, t, a, r, d) argument 120 #define PLWZ(t, a, r, d) PREFIX_MLS(PPC_INST_LWZ, t, a, r, d) argument 121 #define PLWA(t, a, r, d) PREFIX_8LS(0xa4000000, t, a, r, d) argument 122 #define PLD(t, a, r, d) PREFIX_8LS(0xe4000000, t, a, r, d) argument 123 #define PLQ(t, a, r, d) PREFIX_8LS(0xe0000000, t, a, r, d) argument [all …]
|
| /tools/include/linux/ |
| 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() 170 static inline u32 jhash_1word(u32 a, u32 initval) in jhash_1word()
|
| 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()
|
| 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()
|
| D | align.h | 8 #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) argument 9 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a)) argument 10 #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) argument
|
| D | compiler-gcc.h | 26 #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) argument 41 #define __printf(a, b) __attribute__((format(printf, a, b))) argument 42 #define __scanf(a, b) __attribute__((format(scanf, a, b))) argument
|
| /tools/lib/bpf/ |
| D | bpf_core_read.h | 340 #define ___concat(a, b) a ## b argument 357 #define ___last2(a, x) x 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 363 #define ___last8(a, b, c, d, e, f, g, x) x argument 364 #define ___last9(a, b, c, d, e, f, g, h, x) x argument 365 #define ___last10(a, b, c, d, e, f, g, h, i, x) x argument [all …]
|
| /tools/testing/selftests/bpf/ |
| 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 55 # define _SDT_DEPAREN_1(a) a 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 [all …]
|
| /tools/testing/selftests/bpf/progs/ |
| D | btf_dump_test_case_packing.c | 10 int a; member 15 int a; member 20 short a; member 25 short a; member 31 int a: 4; member 40 int a: 4; member 47 long a; member 121 int a; member 126 short a; member 131 short a; member
|
| D | fentry_test.c | 11 int BPF_PROG(test1, int a) in BPF_PROG() 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() 60 struct bpf_fentry_test_t *a; member
|
| D | fexit_test.c | 11 int BPF_PROG(test1, int a, int ret) in BPF_PROG() 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() 61 struct bpf_fentry_test *a; member
|
| D | tracing_struct.c | 9 int a; member 12 long a; member 17 int a; 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 [all …]
|
| 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()
|
| 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
|
| D | tailcall_poke.c | 16 int BPF_PROG(test, int a) in BPF_PROG() 23 int BPF_PROG(call1, int a) in BPF_PROG() 29 int BPF_PROG(call2, int a) in BPF_PROG()
|
| 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()
|
| D | btf_dump_test_case_padding.c | 11 int a; member 30 int a; member 37 int a; member 62 int a; member 87 int a; member 99 int a; member 123 char a; member 213 struct nested_unpacked a; member
|
| /tools/perf/util/ |
| D | affinity.c | 24 int affinity__setup(struct affinity *a) in affinity__setup() 48 void affinity__set(struct affinity *a, int cpu) in affinity__set() 71 static void __affinity__cleanup(struct affinity *a) in __affinity__cleanup() 81 void affinity__cleanup(struct affinity *a) in affinity__cleanup()
|
| D | genelf.h | 70 #define ELF_ST_TYPE(a) ELF64_ST_TYPE(a) argument 71 #define ELF_ST_BIND(a) ELF64_ST_BIND(a) argument 72 #define ELF_ST_VIS(a) ELF64_ST_VISIBILITY(a) argument 81 #define ELF_ST_TYPE(a) ELF32_ST_TYPE(a) argument 82 #define ELF_ST_BIND(a) ELF32_ST_BIND(a) argument 83 #define ELF_ST_VIS(a) ELF32_ST_VISIBILITY(a) argument
|
| /tools/virtio/linux/ |
| D | dma-mapping.h | 27 #define dma_map_single_attrs(d, p, s, dir, a) (virt_to_phys(p)) argument 30 #define dma_unmap_single(d, a, s, r) do { (void)(d); (void)(a); (void)(s); (void)(r); } while (0) argument 31 #define dma_unmap_page(d, a, s, r) do { (void)(d); (void)(a); (void)(s); (void)(r); } while (0) argument 34 #define dma_need_sync(v, a) (0) argument 35 #define dma_unmap_single_attrs(d, a, s, r, t) do { \ argument 38 #define dma_sync_single_range_for_cpu(d, a, o, s, r) do { \ argument 41 #define dma_sync_single_range_for_device(d, a, o, s, r) do { \ argument
|
| /tools/testing/shared/trace/events/ |
| 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/bpf/bpf_testmod/ |
| D | bpf_testmod.c | 41 int a; member 44 long a; member 49 int a; member 54 u64 a; member 59 char a; member 68 bpf_testmod_test_struct_arg_1(struct bpf_testmod_struct_arg_2 a, int b, int c) { in bpf_testmod_test_struct_arg_1() 74 bpf_testmod_test_struct_arg_2(int a, struct bpf_testmod_struct_arg_2 b, int c) { in bpf_testmod_test_struct_arg_2() 80 bpf_testmod_test_struct_arg_3(int a, int b, struct bpf_testmod_struct_arg_2 c) { in bpf_testmod_test_struct_arg_3() 86 bpf_testmod_test_struct_arg_4(struct bpf_testmod_struct_arg_1 a, int b, in bpf_testmod_test_struct_arg_4() 99 bpf_testmod_test_struct_arg_6(struct bpf_testmod_struct_arg_3 *a) { in bpf_testmod_test_struct_arg_6() [all …]
|
| /tools/testing/selftests/net/lib/py/ |
| D | ksft.py | 52 def ksft_eq(a, b, comment=""): argument 58 def ksft_ne(a, b, comment=""): argument 64 def ksft_true(a, comment=""): argument 69 def ksft_in(a, b, comment=""): argument 74 def ksft_ge(a, b, comment=""): argument 79 def ksft_lt(a, b, comment=""): argument
|
| /tools/testing/selftests/proc/ |
| 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
|
| /tools/testing/scatterlist/linux/ |
| D | mm.h | 33 #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1) argument 35 #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) argument 36 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a)) argument 62 #define ___PASTE(a,b) a##b argument 63 #define __PASTE(a,b) ___PASTE(a,b) argument 126 #define kmemleak_alloc(a, b, c, d) argument 127 #define kmemleak_free(a) argument
|