| /tools/testing/selftests/powerpc/include/ |
| D | instructions.h | 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 124 #define PSTB(s, a, r, d) PREFIX_MLS(PPC_INST_STB, s, a, r, d) argument [all …]
|
| /tools/perf/util/ |
| D | dlfilter.c | 73 static struct addr_location *get_al(struct dlfilter *d) in get_al() 82 static struct thread *get_thread(struct dlfilter *d) in get_thread() 91 struct dlfilter *d = (struct dlfilter *)ctx; in dlfilter__resolve_ip() local 117 struct dlfilter *d = (struct dlfilter *)ctx; in dlfilter__resolve_addr() local 145 struct dlfilter *d = (struct dlfilter *)ctx; in dlfilter__args() local 166 struct dlfilter *d = (struct dlfilter *)ctx; in dlfilter__resolve_address() local 217 struct dlfilter *d = (struct dlfilter *)ctx; in dlfilter__insn() local 251 struct dlfilter *d = (struct dlfilter *)ctx; in dlfilter__srcline() local 279 struct dlfilter *d = (struct dlfilter *)ctx; in dlfilter__attr() local 299 struct dlfilter *d = (struct dlfilter *)ctx; in dlfilter__object_code() local [all …]
|
| D | util.c | 98 char *d = path; in mkdir_p() local 155 struct dirent *d; in rm_rf_depth_pat() local 221 static bool kcore_dir_filter(const char *name __maybe_unused, struct dirent *d) in kcore_dir_filter() 273 bool lsdir_no_dot_filter(const char *name __maybe_unused, struct dirent *d) in lsdir_no_dot_filter() 284 struct dirent *d; in lsdir() local
|
| /tools/lib/bpf/ |
| D | btf_dump.c | 131 static const char *btf_name_of(const struct btf_dump *d, __u32 name_off) in btf_name_of() 136 static void btf_dump_printf(const struct btf_dump *d, const char *fmt, ...) in btf_dump_printf() 153 struct btf_dump *d; in btf_dump__new() local 194 static int btf_dump_resize(struct btf_dump *d) in btf_dump_resize() 237 void btf_dump__free(struct btf_dump *d) in btf_dump__free() 280 int btf_dump__dump_type(struct btf_dump *d, __u32 id) in btf_dump__dump_type() 314 static int btf_dump_mark_referenced(struct btf_dump *d) in btf_dump_mark_referenced() 380 static int btf_dump_add_emit_queue_id(struct btf_dump *d, __u32 id) in btf_dump_add_emit_queue_id() 472 static int btf_dump_order_type(struct btf_dump *d, __u32 id, bool through_ptr) in btf_dump_order_type() 655 static bool btf_dump_is_blacklisted(struct btf_dump *d, __u32 id) in btf_dump_is_blacklisted() [all …]
|
| D | bpf_core_read.h | 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 371 #define ___nolast5(a, b, c, d, _) a, b, c, d argument 372 #define ___nolast6(a, b, c, d, e, _) a, b, c, d, e argument 373 #define ___nolast7(a, b, c, d, e, f, _) a, b, c, d, e, f argument 374 #define ___nolast8(a, b, c, d, e, f, g, _) a, b, c, d, e, f, g argument [all …]
|
| D | btf.c | 3287 struct btf_dedup *d; in btf__dedup() local 3394 #define for_each_dedup_cand(d, node, hash) \ argument 3397 static int btf_dedup_table_add(struct btf_dedup *d, long hash, __u32 type_id) in btf_dedup_table_add() 3402 static int btf_dedup_hypot_map_add(struct btf_dedup *d, in btf_dedup_hypot_map_add() 3419 static void btf_dedup_clear_hypot_map(struct btf_dedup *d) in btf_dedup_clear_hypot_map() 3429 static void btf_dedup_free(struct btf_dedup *d) in btf_dedup_free() 3463 struct btf_dedup *d = calloc(1, sizeof(struct btf_dedup)); in btf_dedup_new() local 3522 static int btf_for_each_str_off(struct btf_dedup *d, str_off_visit_fn fn, void *ctx) in btf_for_each_str_off() 3554 struct btf_dedup *d = ctx; in strs_dedup_remap_str_off() local 3593 static int btf_dedup_strings(struct btf_dedup *d) in btf_dedup_strings() [all …]
|
| /tools/virtio/linux/ |
| D | dma-mapping.h | 16 #define dma_alloc_coherent(d, s, hp, f) ({ \ argument 22 #define dma_free_coherent(d, s, p, h) kfree(p) argument 24 #define dma_map_page(d, p, o, s, dir) (page_to_phys(p) + (o)) argument 26 #define dma_map_single(d, p, s, dir) (virt_to_phys(p)) argument 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_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/perf/tests/ |
| D | time-utils-test.c | 70 static bool test__perf_time__parse_for_ranges(struct test_data *d) in test__perf_time__parse_for_ranges() 160 struct test_data d = { in test__time_utils() local 175 struct test_data d = { in test__time_utils() local 190 struct test_data d = { in test__time_utils() local 205 struct test_data d = { in test__time_utils() local 220 struct test_data d = { in test__time_utils() local 235 struct test_data d = { in test__time_utils() local
|
| /tools/testing/selftests/proc/ |
| D | read.c | 38 static void f_reg(DIR *d, const char *filename) in f_reg() 55 static void f_reg_write(DIR *d, const char *filename, const char *buf, size_t len) in f_reg_write() 68 static void f_lnk(DIR *d, const char *filename) in f_lnk() 77 static void f(DIR *d, unsigned int level) in f() 129 DIR *d; in main() local
|
| /tools/testing/selftests/bpf/prog_tests/ |
| D | btf_dump.c | 29 struct btf_dump *d; in btf_dump_all_types() local 136 struct btf_dump *d = NULL; in test_btf_dump_incremental() local 269 static int btf_dump_data(struct btf *btf, struct btf_dump *d, in btf_dump_data() 350 static void test_btf_dump_int_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_int_data() 408 static void test_btf_dump_float_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_float_data() 453 static void test_btf_dump_char_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_char_data() 475 static void test_btf_dump_typedef_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_typedef_data() 530 static void test_btf_dump_enum_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_enum_data() 566 static void test_btf_dump_struct_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_struct_data() 801 static void test_btf_dump_var_data(struct btf *btf, struct btf_dump *d, in test_btf_dump_var_data() [all …]
|
| /tools/testing/selftests/bpf/ |
| D | sdt.h | 51 # define _SDT_ASM_5(a, b, c, d, e) a,b,c,d,e; 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 64 # define _SDT_DEPAREN_10(a,b,c,d,e,f,g,h,i,j) a b c d e f g h i j argument 65 # define _SDT_DEPAREN_11(a,b,c,d,e,f,g,h,i,j,k) a b c d e f g h i j k argument 66 # define _SDT_DEPAREN_12(a,b,c,d,e,f,g,h,i,j,k,l) a b c d e f g h i j k l argument [all …]
|
| /tools/bpf/bpftool/ |
| D | btf_dumper.c | 31 static int dump_prog_id_as_func_ptr(const struct btf_dumper *d, in dump_prog_id_as_func_ptr() 107 static void btf_dumper_ptr(const struct btf_dumper *d, in btf_dumper_ptr() 135 static int btf_dumper_modifier(const struct btf_dumper *d, __u32 type_id, in btf_dumper_modifier() 147 static int btf_dumper_enum(const struct btf_dumper *d, in btf_dumper_enum() 185 static int btf_dumper_enum64(const struct btf_dumper *d, in btf_dumper_enum64() 247 static int btf_dumper_array(const struct btf_dumper *d, __u32 type_id, in btf_dumper_array() 465 static int btf_dumper_struct(const struct btf_dumper *d, __u32 type_id, in btf_dumper_struct() 513 static int btf_dumper_var(const struct btf_dumper *d, __u32 type_id, in btf_dumper_var() 527 static int btf_dumper_datasec(const struct btf_dumper *d, __u32 type_id, in btf_dumper_datasec() 555 static int btf_dumper_do_type(const struct btf_dumper *d, __u32 type_id, in btf_dumper_do_type() [all …]
|
| /tools/perf/ |
| D | builtin-diff.c | 84 #define data__for_each_file_start(i, d, s) \ argument 89 #define data__for_each_file(i, d) data__for_each_file_start(i, d, 0) argument 90 #define data__for_each_file_new(i, d) data__for_each_file_start(i, d, 1) argument 500 struct data__file *d = container_of(ptr, struct data__file, fmt); in fmt_to_data_file() local 506 get_pair_data(struct hist_entry *he, struct data__file *d) in get_pair_data() 522 struct data__file *d = fmt_to_data_file(&dfmt->fmt); in get_pair_fmt() local 685 struct data__file *d; in hists__precompute() local 867 struct data__file *d = fmt_to_data_file(fmt); in hist_entry__cmp_delta() local 876 struct data__file *d = fmt_to_data_file(fmt); in hist_entry__cmp_delta_abs() local 885 struct data__file *d = fmt_to_data_file(fmt); in hist_entry__cmp_ratio() local [all …]
|
| /tools/testing/selftests/bpf/progs/ |
| D | tracing_struct_many_args.c | 15 long d; 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
|
| 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()
|
| 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()
|
| D | fentry_test.c | 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()
|
| D | modify_return.c | 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 | fexit_test.c | 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()
|
| D | btf_dump_test_case_bitfields.c | 35 } d: 1; member 62 long d: 8; member
|
| D | test_core_reloc_arrays.c | 26 int d; member 33 struct core_reloc_arrays_substruct d[1][2]; member
|
| /tools/include/linux/ |
| 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
|
| /tools/perf/arch/x86/tests/ |
| D | intel-pt-test.c | 209 static void decoding_failed(const struct test_data *d) in decoding_failed() 216 static int fail(const struct test_data *d, struct intel_pt_pkt *packet, int len, in fail() 245 static int test_ctx_unchanged(const struct test_data *d, struct intel_pt_pkt *packet, in test_ctx_unchanged() 261 static int test_one(const struct test_data *d) in test_one() 310 const struct test_data *d = data; in test__intel_pt_pkt_decoder() local
|
| /tools/net/ynl/samples/ |
| D | netdev.c | 19 static void netdev_print_device(struct netdev_dev_get_rsp *d, unsigned int op) in netdev_print_device() 89 struct netdev_dev_get_rsp *d; in main() local
|
| /tools/perf/arch/x86/util/ |
| D | header.c | 16 unsigned int b, c, d; in get_cpuid_0() local 28 unsigned int a, b, c, d, lvl; in __get_cpuid() local
|