Home
last modified time | relevance | path

Searched defs:t (Results 1 – 25 of 119) sorted by relevance

12345

/tools/lib/bpf/
Dbtf.h215 static inline __u16 btf_kind(const struct btf_type *t) in btf_kind()
220 static inline __u16 btf_vlen(const struct btf_type *t) in btf_vlen()
225 static inline bool btf_kflag(const struct btf_type *t) in btf_kflag()
230 static inline bool btf_is_void(const struct btf_type *t) in btf_is_void()
235 static inline bool btf_is_int(const struct btf_type *t) in btf_is_int()
240 static inline bool btf_is_ptr(const struct btf_type *t) in btf_is_ptr()
245 static inline bool btf_is_array(const struct btf_type *t) in btf_is_array()
250 static inline bool btf_is_struct(const struct btf_type *t) in btf_is_struct()
255 static inline bool btf_is_union(const struct btf_type *t) in btf_is_union()
260 static inline bool btf_is_composite(const struct btf_type *t) in btf_is_composite()
[all …]
Dbtf_dump.c309 const struct btf_type *t; in btf_dump_mark_referenced() local
475 const struct btf_type *t; in btf_dump_order_type() local
643 const struct btf_type *t = btf__type_by_id(d->btf, id); in btf_dump_is_blacklisted() local
678 const struct btf_type *t; in btf_dump_emit_type() local
821 const struct btf_type *t) in btf_is_struct_packed()
942 const struct btf_type *t) in btf_dump_emit_struct_fwd()
952 const struct btf_type *t, in btf_dump_emit_struct_def()
1028 const struct btf_type *t) in btf_dump_emit_missing_aliases()
1043 const struct btf_type *t) in btf_dump_emit_enum_fwd()
1049 const struct btf_type *t, in btf_dump_emit_enum_def()
[all …]
Dbtf.c283 static int btf_type_size(const struct btf_type *t) in btf_type_size()
319 static void btf_bswap_type_base(struct btf_type *t) in btf_bswap_type_base()
326 static int btf_bswap_type_rest(struct btf_type *t) in btf_bswap_type_rest()
458 const struct btf_type *t; in determine_ptr_size() local
556 static bool btf_type_is_void(const struct btf_type *t) in btf_type_is_void()
561 static bool btf_type_is_void_or_null(const struct btf_type *t) in btf_type_is_void_or_null()
571 const struct btf_type *t; in btf__resolve_size() local
622 const struct btf_type *t = btf__type_by_id(btf, id); in btf__align_of() local
675 const struct btf_type *t; in btf__resolve_type() local
701 const struct btf_type *t = btf__type_by_id(btf, i); in btf__find_by_name() local
[all …]
/tools/perf/util/
Dtrigger.h36 #define TRIGGER_WARN_ONCE(t, exp) \ argument
40 static inline bool trigger_is_available(struct trigger *t) in trigger_is_available()
45 static inline bool trigger_is_error(struct trigger *t) in trigger_is_error()
50 static inline void trigger_on(struct trigger *t) in trigger_on()
56 static inline void trigger_ready(struct trigger *t) in trigger_ready()
63 static inline void trigger_hit(struct trigger *t) in trigger_hit()
71 static inline void trigger_off(struct trigger *t) in trigger_off()
78 static inline void trigger_error(struct trigger *t) in trigger_error()
83 static inline bool trigger_is_ready(struct trigger *t) in trigger_is_ready()
88 static inline bool trigger_is_hit(struct trigger *t) in trigger_is_hit()
Ddebug.h50 #define pr_time_N(n, var, t, fmt, ...) \ argument
53 #define pr_oe_time(t, fmt, ...) pr_time_N(1, debug_ordered_events, t, pr_fmt(fmt), ##__VA_ARGS__) argument
54 #define pr_oe_time2(t, fmt, ...) pr_time_N(2, debug_ordered_events, t, pr_fmt(fmt), ##__VA_ARGS__) argument
Dtrace-event.c28 int trace_event__init(struct trace_event *t) in trace_event__init()
65 void trace_event__cleanup(struct trace_event *t) in trace_event__cleanup()
/tools/testing/selftests/bpf/progs/
Dtest_subprogs.c54 __noinline int get_task_tgid(uintptr_t t) in get_task_tgid()
71 struct task_struct *t = (void *)bpf_get_current_task(); in prog1() local
83 struct task_struct *t = (void *)bpf_get_current_task(); in prog2() local
96 struct task_struct *t = (void *)bpf_get_current_task(); in prog3() local
109 struct task_struct *t = (void *)bpf_get_current_task(); in prog4() local
/tools/testing/nvdimm/test/
Dnfit.c233 static int nd_intel_test_get_fw_info(struct nfit_test *t, in nd_intel_test_get_fw_info()
259 static int nd_intel_test_start_update(struct nfit_test *t, in nd_intel_test_start_update()
289 static int nd_intel_test_send_data(struct nfit_test *t, in nd_intel_test_send_data()
340 static int nd_intel_test_finish_fw(struct nfit_test *t, in nd_intel_test_finish_fw()
391 static int nd_intel_test_finish_query(struct nfit_test *t, in nd_intel_test_finish_query()
570 static int nfit_test_cmd_ars_start(struct nfit_test *t, in nfit_test_cmd_ars_start()
616 static int nfit_test_cmd_clear_error(struct nfit_test *t, in nfit_test_cmd_clear_error()
820 struct nfit_test *t = container_of(work, typeof(*t), work); in uc_error_notify() local
825 static int nfit_test_cmd_ars_error_inject(struct nfit_test *t, in nfit_test_cmd_ars_error_inject()
856 static int nfit_test_cmd_ars_inject_clear(struct nfit_test *t, in nfit_test_cmd_ars_inject_clear()
[all …]
/tools/perf/util/scripting-engines/
Dtrace-event-python.c207 PyObject *t; in define_value() local
248 PyObject *t; in define_field() local
627 PyObject *t; in get_sample_value_as_tuple() local
665 PyObject *t = get_sample_value_as_tuple(&sample->read.group.values[i]); in set_sample_read_in_dict() local
669 PyObject *t = get_sample_value_as_tuple(&sample->read.one); in set_sample_read_in_dict() local
863 PyObject *handler, *context, *t, *obj = NULL, *callchain; in python_process_tracepoint() local
987 PyObject *t; in tuple_new() local
995 static int tuple_set_s64(PyObject *t, unsigned int pos, s64 val) in tuple_set_s64()
1011 static int tuple_set_u64(PyObject *t, unsigned int pos, u64 val) in tuple_set_u64()
1021 static int tuple_set_u32(PyObject *t, unsigned int pos, u32 val) in tuple_set_u32()
[all …]
/tools/arch/x86/lib/
Dinsn.c23 #define leXX_to_cpu(t, r) \ argument
37 #define validate_next(t, insn, n) \ argument
40 #define __get_next(t, insn) \ argument
43 #define __peek_nbyte_next(t, insn, n) \ argument
46 #define get_next(t, insn) \ argument
49 #define peek_nbyte_next(t, insn, n) \ argument
52 #define peek_next(t, insn) peek_nbyte_next(t, insn, 0) argument
/tools/perf/pmu-events/
Djson.c132 int json_line(char *map, jsmntok_t *t) in json_line()
147 const char *json_name(jsmntok_t *t) in json_name()
152 int json_len(jsmntok_t *t) in json_len()
158 int json_streq(char *map, jsmntok_t *t, const char *s) in json_streq()
/tools/testing/selftests/powerpc/include/
Dinstructions.h79 #define __PPC_RT(t) __PPC_RS(t) 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
/tools/bpf/bpftool/
Dbtf_dumper.c100 const struct btf_type *t, in btf_dumper_ptr()
140 const struct btf_type *t, in btf_dumper_enum()
216 const struct btf_type *t = btf__type_by_id(d->btf, type_id); in btf_dumper_array() local
361 static int btf_dumper_int(const struct btf_type *t, __u8 bit_offset, in btf_dumper_int()
434 const struct btf_type *t; in btf_dumper_struct() local
482 const struct btf_type *t = btf__type_by_id(d->btf, type_id); in btf_dumper_var() local
497 const struct btf_type *t; in btf_dumper_datasec() local
524 const struct btf_type *t = btf__type_by_id(d->btf, type_id); in btf_dumper_do_type() local
589 const struct btf_type *t; in __btf_dumper_type_only() local
Dnet.c202 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_class_nlmsg() local
218 struct tcmsg t; in netlink_get_class() member
241 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_qdisc_nlmsg() local
257 struct tcmsg t; in netlink_get_qdisc() member
280 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_filter_nlmsg() local
296 struct tcmsg t; in netlink_get_filter() member
/tools/usb/
Dffs-test.c379 static void init_thread(struct thread *t) in init_thread()
390 struct thread *t = arg; in cleanup_thread() local
422 struct thread *t = arg; in start_thread_helper() local
464 static void start_thread(struct thread *t) in start_thread()
472 static void join_thread(struct thread *t) in join_thread()
483 static ssize_t read_wrap(struct thread *t, void *buf, size_t nbytes) in read_wrap()
488 static ssize_t write_wrap(struct thread *t, const void *buf, size_t nbytes) in write_wrap()
626 static void ep0_init(struct thread *t, bool legacy_descriptors) in ep0_init()
/tools/perf/tests/
Dbuiltin-test.c453 #define for_each_test(j, t) \ argument
457 static int test_and_print(struct test *t, bool force_skip, int subtest) in test_and_print()
653 struct test *t; in __cmd_test() local
762 struct test t = { in perf_test__list_shell() local
782 struct test *t; in perf_test__list() local
/tools/firewire/
Dnosy-dump.c162 struct link_transaction *t; in link_transaction_lookup() local
186 link_transaction_destroy(struct link_transaction *t) in link_transaction_destroy()
213 handle_transaction(struct link_transaction *t) in handle_transaction()
252 struct link_transaction *t; in clear_pending_transaction_list() local
486 struct link_transaction *t; in handle_request_packet() local
551 struct link_transaction *t; in handle_response_packet() local
Ddecode-fcp.c145 decode_avc(struct link_transaction *t) in decode_avc()
174 decode_fcp(struct link_transaction *t) in decode_fcp()
/tools/accounting/
Dgetdelays.c195 #define average_ms(t, c) (t / 1000000ULL / (c ? c : 1)) argument
197 static void print_delayacct(struct taskstats *t) in print_delayacct()
234 static void task_context_switch_counts(struct taskstats *t) in task_context_switch_counts()
253 static void print_ioacct(struct taskstats *t) in print_ioacct()
/tools/testing/selftests/bpf/prog_tests/
Dsk_lookup.c599 static void run_lookup_prog(const struct test *t) in run_lookup_prog()
858 const struct test *t; in test_redirect_lookup() local
866 static void drop_on_lookup(const struct test *t) in drop_on_lookup()
941 const struct test *t; in test_drop_on_lookup() local
949 static void drop_on_reuseport(const struct test *t) in drop_on_reuseport()
1044 const struct test *t; in test_drop_on_reuseport() local
1188 static void run_multi_prog_lookup(const struct test_multi_prog *t) in run_multi_prog_lookup()
1318 struct test_multi_prog *t; in test_multi_prog_lookup() local
Dbtf_write.c9 const struct btf_type *t; in test_btf_write() local
/tools/testing/selftests/powerpc/signal/
Dsigfuz.c203 pid_t t; in sigfuz_test() local
251 int t, rc; in signal_fuzzer() local
/tools/testing/selftests/bpf/
Dbtf_helpers.c64 static const char *btf_func_linkage_str(const struct btf_type *t) in btf_func_linkage_str()
87 const struct btf_type *t; in fprintf_btf_type_raw() local
/tools/lib/lockdep/tests/
DABBA_2threads.c26 pthread_t t; in main() local
/tools/perf/arch/arm64/util/
Dmem-events.c5 #define E(t, n, s) { .tag = t, .name = n, .sysfs_name = s } argument

12345