/tools/testing/selftests/powerpc/include/ |
A D | instructions.h | 77 #define __PPC_RA(a) (((a) & 0x1f) << 16) 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 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 127 #define PSTD(s, a, r, d) PREFIX_8LS(0xf4000000, s, a, r, d) argument 128 #define PSTQ(s, a, r, d) PREFIX_8LS(0xf0000000, s, a, r, d) argument 139 #define PLXV0(s, a, r, d) PREFIX_8LS(0xc8000000, s, a, r, d) 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() 170 static inline u32 jhash_1word(u32 a, u32 initval) in jhash_1word()
|
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()
|
A 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
|
A 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/ |
A 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 368 #define ___nolast2(a, _) a argument 369 #define ___nolast3(a, b, _) a, b argument 379 #define ___arrow1(a) a argument 380 #define ___arrow2(a, b) a->b argument [all …]
|
/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 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/ |
A 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
|
A 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
|
A 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
|
A 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 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 [all …]
|
A D | struct_ops_private_stack.c | 20 __noinline static int subprog2(int *a, int *b) in subprog2() 25 __noinline static int subprog1(int *a) in subprog1() 39 int a[100] = {}; in BPF_PROG() local 51 int a[50] = {}; in BPF_PROG() local
|
A D | struct_ops_private_stack_fail.c | 20 __noinline static int subprog2(int *a, int *b) in subprog2() 25 __noinline static int subprog1(int *a) in subprog1() 39 int a[25] = {}; in BPF_PROG() local 51 int a[100] = {}; in BPF_PROG() local
|
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 | 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 | 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()
|
A D | struct_ops_private_stack_recur.c | 20 __noinline static int subprog2(int *a, int *b) in subprog2() 25 __noinline static int subprog1(int *a) in subprog1() 39 int a[5] = {}; in BPF_PROG() local
|
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()
|
/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 70 def ksft_true(a, 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/perf/util/ |
A D | affinity.c | 25 int affinity__setup(struct affinity *a) in affinity__setup() 49 void affinity__set(struct affinity *a, int cpu) in affinity__set() 72 static void __affinity__cleanup(struct affinity *a) in __affinity__cleanup() 82 void affinity__cleanup(struct affinity *a) in affinity__cleanup()
|
A 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/ |
A 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 35 #define dma_need_sync(v, a) (0) argument 36 #define dma_unmap_single_attrs(d, a, s, r, t) do { \ argument 39 #define dma_sync_single_range_for_cpu(d, a, o, s, r) do { \ argument 42 #define dma_sync_single_range_for_device(d, a, o, s, r) do { \ argument
|
/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/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
|