/tools/include/linux/ |
A D | ctype.h | 27 #define iscntrl(c) ((__ismask(c)&(_C)) != 0) argument 29 #define islower(c) ((__ismask(c)&(_L)) != 0) argument 31 #define ispunct(c) ((__ismask(c)&(_P)) != 0) argument 33 #define isspace(c) ((__ismask(c)&(_S)) != 0) argument 41 #define isdigit(c) __builtin_isdigit(c) argument 43 static inline int __isdigit(int c) in __isdigit() 47 #define isdigit(c) __isdigit(c) argument 64 #define tolower(c) __tolower(c) argument 65 #define toupper(c) __toupper(c) argument 71 static inline char _tolower(const char c) in _tolower() [all …]
|
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()
|
/tools/include/nolibc/ |
A D | ctype.h | 20 int isascii(int c) in isascii() 27 int isblank(int c) in isblank() 33 int iscntrl(int c) in iscntrl() 40 int isdigit(int c) in isdigit() 46 int isgraph(int c) in isgraph() 53 int islower(int c) in islower() 59 int isprint(int c) in isprint() 66 int isspace(int c) in isspace() 73 int isupper(int c) in isupper() 85 int isalpha(int c) in isalpha() [all …]
|
A D | string.h | 97 char *strchr(const char *s, int c) in strchr() 110 unsigned int c; in strcmp() local 261 unsigned int c; in strncmp() local 283 char *strrchr(const char *s, int c) in strrchr() 316 int tolower(int c) in tolower() 324 int toupper(int c) in toupper()
|
/tools/testing/selftests/bpf/progs/ |
A D | exceptions.c | 201 __noinline int assert_nz_gfunc(u64 c) in assert_nz_gfunc() 209 __noinline int assert_zero_gfunc(u64 c) in assert_zero_gfunc() 217 __noinline int assert_neg_gfunc(s64 c) in assert_neg_gfunc() 225 __noinline int assert_pos_gfunc(s64 c) in assert_pos_gfunc() 233 __noinline int assert_negeq_gfunc(s64 c) in assert_negeq_gfunc() 241 __noinline int assert_poseq_gfunc(s64 c) in assert_poseq_gfunc() 249 __noinline int assert_nz_gfunc_with(u64 c) in assert_nz_gfunc_with() 257 __noinline int assert_zero_gfunc_with(u64 c) in assert_zero_gfunc_with() 265 __noinline int assert_neg_gfunc_with(s64 c) in assert_neg_gfunc_with() 273 __noinline int assert_pos_gfunc_with(s64 c) in assert_pos_gfunc_with() [all …]
|
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 | tracing_struct.c | 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 | btf_data.c | 6 int c; member 12 int c; member 18 int c; member 24 int c; member
|
A D | fentry_test.c | 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 | fexit_test.c | 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 | tracing_struct_many_args.c | 14 int c; 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
|
A D | fentry_many_args.c | 11 int BPF_PROG(test1, __u64 a, void *b, short c, int d, void *e, char f, in BPF_PROG() 21 int BPF_PROG(test2, __u64 a, void *b, short c, int d, void *e, char f, in BPF_PROG() 32 int BPF_PROG(test3, __u64 a, __u64 b, __u64 c, __u64 d, __u64 e, __u64 f, in BPF_PROG()
|
A D | test_core_reloc_flavors.c | 19 int c; member 24 int c; member 39 int c; member
|
A D | bpf_iter_ksym.c | 10 static inline char to_lower(char c) in to_lower() 17 static inline char to_upper(char c) in to_upper()
|
A D | fexit_many_args.c | 11 int BPF_PROG(test1, __u64 a, void *b, short c, int d, void *e, char f, in BPF_PROG() 21 int BPF_PROG(test2, __u64 a, void *b, short c, int d, void *e, char f, in BPF_PROG() 33 int BPF_PROG(test3, __u64 a, __u64 b, __u64 c, __u64 d, __u64 e, __u64 f, in BPF_PROG()
|
/tools/testing/selftests/kvm/ |
A D | get-reg-list.c | 57 static const char *config_name(struct vcpu_reg_list *c) in config_name() 114 void __weak finalize_vcpu(struct kvm_vcpu *vcpu, struct vcpu_reg_list *c) in finalize_vcpu() 119 static void prepare_vcpu_init(struct vcpu_reg_list *c, struct kvm_vcpu_init *init) in prepare_vcpu_init() 128 static struct kvm_vcpu *vcpu_config_get_vcpu(struct vcpu_reg_list *c, struct kvm_vm *vm) in vcpu_config_get_vcpu() 140 static struct kvm_vcpu *vcpu_config_get_vcpu(struct vcpu_reg_list *c, struct kvm_vm *vm) in vcpu_config_get_vcpu() 146 static void check_supported(struct vcpu_reg_list *c) in check_supported() 163 static void run_test(struct vcpu_reg_list *c) in run_test() 312 struct vcpu_reg_list *c; in help() local 337 struct vcpu_reg_list *c = NULL; in parse_config() local 357 struct vcpu_reg_list *c, *sel = NULL; in main() local
|
/tools/testing/selftests/bpf/ |
A D | sdt.h | 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 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 63 # define _SDT_DEPAREN_9(a,b,c,d,e,f,g,h,i) a b c d e f g h i argument 85 # define _SDT_ASM_3(a, b, c) _SDT_S(a) "," _SDT_S(b) "," \ argument [all …]
|
/tools/perf/scripts/python/Perf-Trace-Util/ |
A D | Context.c | 55 struct scripting_context *c = get_scripting_context(args); in perf_trace_context_common_pc() local 66 struct scripting_context *c = get_scripting_context(args); in perf_trace_context_common_flags() local 77 struct scripting_context *c = get_scripting_context(args); in perf_trace_context_common_lock_depth() local 88 struct scripting_context *c = get_scripting_context(args); in perf_sample_insn() local 106 struct scripting_context *c; in perf_set_itrace_options() local 132 struct scripting_context *c = get_scripting_context(args); in perf_sample_src() local
|
/tools/testing/selftests/mm/ |
A D | khugepaged.c | 641 static void collapse_full(struct collapse_context *c, struct mem_ops *ops) in collapse_full() 655 static void collapse_empty(struct collapse_context *c, struct mem_ops *ops) in collapse_empty() 664 static void collapse_single_pte_entry(struct collapse_context *c, struct mem_ops *ops) in collapse_single_pte_entry() 675 static void collapse_max_ptes_none(struct collapse_context *c, struct mem_ops *ops) in collapse_max_ptes_none() 737 static void collapse_max_ptes_swap(struct collapse_context *c, struct mem_ops *ops) in collapse_max_ptes_swap() 884 static void collapse_fork(struct collapse_context *c, struct mem_ops *ops) in collapse_fork() 930 static void collapse_fork_compound(struct collapse_context *c, struct mem_ops *ops) in collapse_fork_compound() 979 static void collapse_max_ptes_shared(struct collapse_context *c, struct mem_ops *ops) in collapse_max_ptes_shared() 1039 static void madvise_collapse_existing_thps(struct collapse_context *c, in madvise_collapse_existing_thps() 1059 static void madvise_retracted_page_tables(struct collapse_context *c, in madvise_retracted_page_tables() [all …]
|
/tools/testing/selftests/powerpc/stringloops/ |
A D | strlen.c | 66 char c; in testcase() local 79 char c; in testcase() local 93 char c; in testcase() local
|
/tools/testing/selftests/powerpc/pmu/ |
A D | lib.c | 22 char c = PARENT_TOKEN; in sync_with_child() local 34 char c; in wait_for_parent() local 44 char c = CHILD_TOKEN; in notify_parent() local 53 char c = ~CHILD_TOKEN; in notify_parent_of_error() local
|
/tools/lib/bpf/ |
A D | bpf_core_read.h | 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 370 #define ___nolast4(a, b, c, _) a, b, c argument 371 #define ___nolast5(a, b, c, d, _) a, b, c, d argument 381 #define ___arrow3(a, b, c) a->b->c argument 382 #define ___arrow4(a, b, c, d) a->b->c->d argument [all …]
|
/tools/testing/selftests/kvm/include/arm64/ |
A D | processor.h | 236 #define writel_relaxed(v,c) ((void)__raw_writel((__force u32)cpu_to_le32(v),(c))) argument 237 #define readl_relaxed(c) ({ u32 __r = le32_to_cpu((__force __le32)__raw_readl(c)); __r; }) argument 238 #define writeq_relaxed(v,c) ((void)__raw_writeq((__force u64)cpu_to_le64(v),(c))) argument 239 #define readq_relaxed(c) ({ u64 __r = le64_to_cpu((__force __le64)__raw_readq(c)); __r; }) argument 241 #define writel(v,c) ({ __iowmb(); writel_relaxed((v),(c));}) argument 242 #define readl(c) ({ u32 __v = readl_relaxed(c); __iormb(__v); __v; }) argument 243 #define writeq(v,c) ({ __iowmb(); writeq_relaxed((v),(c));}) argument 244 #define readq(c) ({ u64 __v = readq_relaxed(c); __iormb(__v); __v; }) argument
|
/tools/testing/selftests/bpf/prog_tests/ |
A D | sockmap_ktls.c | 17 static int init_ktls_pairs(int c, int p) in init_ktls_pairs() 50 static int create_ktls_pairs(int family, int sotype, int *c, int *p) in create_ktls_pairs() 137 int c = 0, p = 0, sent, recvd; in test_sockmap_ktls_offload() local 168 int c = 0, p = 0, one = 1, sent, recvd; in test_sockmap_ktls_tx_cork() local 245 int c = -1, p = -1, one = 1, two = 2; in test_sockmap_ktls_tx_no_buf() local 320 int c = 0, p = 0, one = 1, sent, recvd; in test_sockmap_ktls_tx_pop() local
|
/tools/perf/ |
A D | perf.c | 105 static bool same_cmd_with_prefix(const char *var, struct pager_config *c, in same_cmd_with_prefix() 113 struct pager_config *c = data; in pager_command_config() local 123 struct pager_config c; in check_pager_config() local 132 struct pager_config *c = data; in browser_command_config() local 147 struct pager_config c; in check_browser_config() local
|