Home
last modified time | relevance | path

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

12345678

/tools/lib/bpf/
Dbtf.h356 static inline __u16 btf_kind(const struct btf_type *t) in btf_kind()
361 static inline __u16 btf_vlen(const struct btf_type *t) in btf_vlen()
366 static inline bool btf_kflag(const struct btf_type *t) in btf_kflag()
371 static inline bool btf_is_void(const struct btf_type *t) in btf_is_void()
376 static inline bool btf_is_int(const struct btf_type *t) in btf_is_int()
381 static inline bool btf_is_ptr(const struct btf_type *t) in btf_is_ptr()
386 static inline bool btf_is_array(const struct btf_type *t) in btf_is_array()
391 static inline bool btf_is_struct(const struct btf_type *t) in btf_is_struct()
396 static inline bool btf_is_union(const struct btf_type *t) in btf_is_union()
401 static inline bool btf_is_composite(const struct btf_type *t) in btf_is_composite()
[all …]
Dbtf_dump.c317 const struct btf_type *t; in btf_dump_mark_referenced() local
486 const struct btf_type *t; in btf_dump_order_type() local
657 const struct btf_type *t = btf__type_by_id(d->btf, id); in btf_dump_is_blacklisted() local
692 const struct btf_type *t; in btf_dump_emit_type() local
837 const struct btf_type *t) in btf_is_struct_packed()
958 const struct btf_type *t) in btf_dump_emit_struct_fwd()
968 const struct btf_type *t, in btf_dump_emit_struct_def()
1044 const struct btf_type *t) in btf_dump_emit_missing_aliases()
1059 const struct btf_type *t) in btf_dump_emit_enum_fwd()
1065 const struct btf_type *t, in btf_dump_emit_enum32_val()
[all …]
Dbtf.c291 static int btf_type_size(const struct btf_type *t) in btf_type_size()
332 static void btf_bswap_type_base(struct btf_type *t) in btf_bswap_type_base()
339 static int btf_bswap_type_rest(struct btf_type *t) in btf_bswap_type_rest()
469 const struct btf_type *t; in btf_validate_id() local
480 static int btf_validate_type(const struct btf *btf, const struct btf_type *t, __u32 id) in btf_validate_type()
600 const struct btf_type *t; in btf_sanity_check() local
655 const struct btf_type *t; in determine_ptr_size() local
754 static bool btf_type_is_void(const struct btf_type *t) in btf_type_is_void()
759 static bool btf_type_is_void_or_null(const struct btf_type *t) in btf_type_is_void_or_null()
769 const struct btf_type *t; in btf__resolve_size() local
[all …]
Dbpf_tracing.h696 #define ___bpf_treg_cnt(t) \ argument
705 #define ___bpf_reg_cnt1(t, x) (___bpf_reg_cnt0() + ___bpf_treg_cnt(t)) argument
706 #define ___bpf_reg_cnt2(t, x, args...) (___bpf_reg_cnt1(args) + ___bpf_treg_cnt(t)) argument
707 #define ___bpf_reg_cnt3(t, x, args...) (___bpf_reg_cnt2(args) + ___bpf_treg_cnt(t)) argument
708 #define ___bpf_reg_cnt4(t, x, args...) (___bpf_reg_cnt3(args) + ___bpf_treg_cnt(t)) argument
709 #define ___bpf_reg_cnt5(t, x, args...) (___bpf_reg_cnt4(args) + ___bpf_treg_cnt(t)) argument
710 #define ___bpf_reg_cnt6(t, x, args...) (___bpf_reg_cnt5(args) + ___bpf_treg_cnt(t)) argument
711 #define ___bpf_reg_cnt7(t, x, args...) (___bpf_reg_cnt6(args) + ___bpf_treg_cnt(t)) argument
712 #define ___bpf_reg_cnt8(t, x, args...) (___bpf_reg_cnt7(args) + ___bpf_treg_cnt(t)) argument
713 #define ___bpf_reg_cnt9(t, x, args...) (___bpf_reg_cnt8(args) + ___bpf_treg_cnt(t)) argument
[all …]
Dbtf_iter.c9 #define btf_var_secinfos(t) (struct btf_var_secinfo *)btf_type_var_secinfo(t) argument
16 int btf_field_iter_init(struct btf_field_iter *it, struct btf_type *t, in btf_field_iter_init()
/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.h52 #define pr_time_N(n, var, t, fmt, ...) \ argument
55 #define pr_oe_time(t, fmt, ...) pr_time_N(1, debug_ordered_events, t, pr_fmt(fmt), ##__VA_ARGS__) argument
56 #define pr_oe_time2(t, fmt, ...) pr_time_N(2, debug_ordered_events, t, pr_fmt(fmt), ##__VA_ARGS__) argument
/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
101 struct task_struct *t = (void *)bpf_get_current_task(); in prog3() local
117 struct task_struct *t = (void *)bpf_get_current_task(); in prog4() local
Dtest_log_fixup.c17 static struct task_struct___bad *t; in bad_relo() local
24 static struct task_struct___bad *t; in bad_subprog() local
33 static struct task_struct___bad *t; in bad_relo_subprog() local
Dverifier_global_ptr_args.c79 struct task_struct *t = bpf_get_current_task_btf(); in trusted_task_arg_nonnull_fail2() local
100 struct task_struct *t = bpf_get_current_task_btf(); in trusted_task_arg_nonnull() local
124 struct task_struct___local *t = (void *)bpf_get_current_task_btf(); in flavor_ptr_nullable() local
142 struct task_struct *t = bpf_get_current_task_btf(); in flavor_ptr_nonnull() local
Dsetget_sockopt.c84 const struct sockopt_test *t, in bpf_test_sockopt_flip()
111 const struct sockopt_test *t, in bpf_test_sockopt_int()
143 const struct sockopt_test *t; in bpf_test_socket_sockopt() local
160 const struct sockopt_test *t; in bpf_test_ip_sockopt() local
177 const struct sockopt_test *t; in bpf_test_ipv6_sockopt() local
194 const struct sockopt_test *t; in bpf_test_tcp_sockopt() local
/tools/testing/nvdimm/test/
Dnfit.c231 static int nd_intel_test_get_fw_info(struct nfit_test *t, in nd_intel_test_get_fw_info()
257 static int nd_intel_test_start_update(struct nfit_test *t, in nd_intel_test_start_update()
287 static int nd_intel_test_send_data(struct nfit_test *t, in nd_intel_test_send_data()
338 static int nd_intel_test_finish_fw(struct nfit_test *t, in nd_intel_test_finish_fw()
389 static int nd_intel_test_finish_query(struct nfit_test *t, in nd_intel_test_finish_query()
568 static int nfit_test_cmd_ars_start(struct nfit_test *t, in nfit_test_cmd_ars_start()
614 static int nfit_test_cmd_clear_error(struct nfit_test *t, in nfit_test_cmd_clear_error()
818 struct nfit_test *t = container_of(work, typeof(*t), work); in uc_error_notify() local
823 static int nfit_test_cmd_ars_error_inject(struct nfit_test *t, in nfit_test_cmd_ars_error_inject()
854 static int nfit_test_cmd_ars_inject_clear(struct nfit_test *t, in nfit_test_cmd_ars_inject_clear()
[all …]
/tools/perf/tests/
Dbuiltin-test.c158 static int num_subtests(const struct test_suite *t) in num_subtests()
172 static bool has_subtests(const struct test_suite *t) in has_subtests()
177 static const char *skip_reason(const struct test_suite *t, int subtest) in skip_reason()
185 static const char *test_description(const struct test_suite *t, int subtest) in test_description()
193 static test_fnptr test_function(const struct test_suite *t, int subtest) in test_function()
245 static int print_test_result(struct test_suite *t, int i, int subtest, int result, int width) in print_test_result()
278 struct test_suite *t = child_test->test; in finish_test() local
386 #define for_each_test(j, k, t) \ argument
392 struct test_suite *t; in __cmd_test() local
482 struct test_suite *t; in perf_test__list() local
/tools/perf/util/scripting-engines/
Dtrace-event-python.c215 PyObject *t; in define_value() local
256 PyObject *t; in define_field() local
667 PyObject *t; in get_sample_value_as_tuple() local
711 PyObject *t = get_sample_value_as_tuple(v, read_format); in set_sample_read_in_dict() local
716 PyObject *t = get_sample_value_as_tuple(&sample->read.one, in set_sample_read_in_dict() local
950 PyObject *handler, *context, *t, *obj = NULL, *callchain; in python_process_tracepoint() local
1089 PyObject *t; in tuple_new() local
1097 static int tuple_set_s64(PyObject *t, unsigned int pos, s64 val) in tuple_set_s64()
1113 static int tuple_set_u64(PyObject *t, unsigned int pos, u64 val) in tuple_set_u64()
1123 static int tuple_set_u32(PyObject *t, unsigned int pos, u32 val) in tuple_set_u32()
[all …]
/tools/testing/selftests/bpf/prog_tests/
Dcgroup_ancestor.c49 static int setup_network(struct test_data *t) in setup_network()
85 static void cleanup_network(struct test_data *t) in cleanup_network()
93 static void check_ancestors_ids(struct test_data *t) in check_ancestors_ids()
114 struct test_data t; in test_cgroup_ancestor() local
Dreg_bounds.c67 static __always_inline u64 min_t(enum num_t t, u64 x, u64 y) in min_t()
78 static __always_inline u64 max_t(enum num_t t, u64 x, u64 y) in max_t()
89 static __always_inline u64 cast_t(enum num_t t, u64 x) in cast_t()
100 static const char *t_str(enum num_t t) in t_str()
111 static enum num_t t_is_32(enum num_t t) in t_is_32()
122 static enum num_t t_signed(enum num_t t) in t_signed()
133 static enum num_t t_unsigned(enum num_t t) in t_unsigned()
148 static bool num_is_small(enum num_t t, u64 x) in num_is_small()
159 static void snprintf_num(enum num_t t, struct strbuf *sb, u64 x) in snprintf_num()
222 static void snprintf_range(enum num_t t, struct strbuf *sb, struct range x) in snprintf_range()
[all …]
Dlibbpf_str.c24 const struct btf_type *t; in test_libbpf_bpf_attach_type_str() local
69 const struct btf_type *t; in test_libbpf_bpf_link_type_str() local
114 const struct btf_type *t; in test_libbpf_bpf_map_type_str() local
171 const struct btf_type *t; in test_libbpf_bpf_prog_type_str() local
/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/testing/selftests/kvm/s390x/
Dmemop.c247 struct test_default t; in test_default_init() local
368 struct test_default t = test_default_init(guest_copy); in test_copy() local
379 struct test_default t = test_default_init(guest_copy); in test_copy_access_register() local
440 struct test_default t = test_default_init(guest_copy_key); in test_copy_key() local
471 struct test_default t = test_default_init(guest_copy_key); in test_cmpxchg_key() local
672 struct test_default t = test_default_init(guest_cmpxchg_key); in test_cmpxchg_key_concurrent() local
733 struct test_default t = test_default_init(guest_copy_key_fetch_prot); in test_copy_key_storage_prot_override() local
748 struct test_default t = test_default_init(guest_copy_key_fetch_prot); in test_copy_key_fetch_prot() local
779 struct test_default t = test_default_init(guest_error_key); in test_errors_key() local
795 struct test_default t = test_default_init(guest_copy_key_fetch_prot); in test_errors_cmpxchg_key() local
[all …]
/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.c108 const struct btf_type *t, in btf_dumper_ptr()
148 const struct btf_type *t, in btf_dumper_enum()
186 const struct btf_type *t, in btf_dumper_enum64()
250 const struct btf_type *t = btf__type_by_id(d->btf, type_id); in btf_dumper_array() local
395 static int btf_dumper_int(const struct btf_type *t, __u8 bit_offset, in btf_dumper_int()
468 const struct btf_type *t; in btf_dumper_struct() local
516 const struct btf_type *t = btf__type_by_id(d->btf, type_id); in btf_dumper_var() local
531 const struct btf_type *t; in btf_dumper_datasec() local
558 const struct btf_type *t = btf__type_by_id(d->btf, type_id); in btf_dumper_do_type() local
625 const struct btf_type *t; in __btf_dumper_type_only() local
Dbtf.c86 static const char *btf_func_linkage_str(const struct btf_type *t) in btf_func_linkage_str()
113 const struct btf_type *t) in dump_btf_type()
431 const struct btf_type *t; in dump_btf_raw() local
477 const struct btf_type *t = btf__type_by_id(btf, i); in dump_btf_kfuncs() local
518 const struct btf_type *t = btf__type_by_id(btf, index); in btf_type_rank() local
558 const struct btf_type *t = btf__type_by_id(btf, index); in btf_type_sort_name() local
603 const struct btf_type *t = btf__type_by_id(btf, id); in btf_type_disambig_hash() local
684 const struct btf_type *t = btf__type_by_id(btf, i); in sort_btf_c() local
/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/testing/selftests/bpf/benchs/
Dbench_local_storage_create.c117 struct thread *t = &threads[i]; in setup() local
148 struct thread *t = &threads[(long)(input)]; in sk_producer() local
175 struct thread *t = &threads[(long)(input)]; in task_producer() 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

12345678