Home
last modified time | relevance | path

Searched defs:type_id (Results 1 – 25 of 47) sorted by relevance

12

/linux/tools/bpf/bpftool/
H A Dbtf_dumper.c135 static int btf_dumper_modifier(const struct btf_dumper *d, __u32 type_id, in btf_dumper_modifier()
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()
598 int btf_dumper_type(const struct btf_dumper *d, __u32 type_id, in btf_dumper_type()
619 static int __btf_dumper_type_only(const struct btf *btf, __u32 type_id, in __btf_dumper_type_only()
747 void btf_dumper_type_only(const struct btf *btf, __u32 type_id, char *func_sig, in btf_dumper_type_only()
H A Dgen.c2082 static void btfgen_mark_member(struct btfgen_info *info, int type_id, int idx) in btfgen_mark_member()
2091 btfgen_mark_type(struct btfgen_info *info, unsigned int type_id, bool follow_pointers) in btfgen_mark_type()
2171 unsigned int type_id = targ_spec->root_type_id; in btfgen_record_field_relo() local
2227 static int btfgen_mark_type_match(struct btfgen_info *info, __u32 type_id, bool behind_ptr) in btfgen_mark_type_match()
2570 __u32 *type_id; in btfgen_get_btf() local
/linux/tools/lib/bpf/
H A Dbtf.c458 static int btf_validate_str(const struct btf *btf, __u32 str_off, const char *what, __u32 type_id) in btf_validate_str()
628 struct btf_type *btf_type_by_id(const struct btf *btf, __u32 type_id) in btf_type_by_id()
637 const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 type_id) in btf__type_by_id()
770 __s64 btf__resolve_size(const struct btf *btf, __u32 type_id) in btf__resolve_size()
880 int btf__resolve_type(const struct btf *btf, __u32 type_id) in btf__resolve_type()
1981 __u32 *type_id, *str_off; in btf__add_btf() local
2318 int btf__add_field(struct btf *btf, const char *name, int type_id, in btf__add_field()
2751 int btf__add_func_param(struct btf *btf, const char *name, int type_id) in btf__add_func_param()
2804 int btf__add_var(struct btf *btf, const char *name, int linkage, int type_id) in btf__add_var()
3666 static int btf_dedup_table_add(struct btf_dedup *d, long hash, __u32 type_id) in btf_dedup_table_add()
[all …]
H A Drelo_core.h24 __u32 type_id; /* struct/union type or array element type */ member
H A Drelo_core.c32 static s64 btf__resolve_size(const struct btf *btf, u32 type_id) in btf__resolve_size()
680 __u64 *val, __u32 *field_sz, __u32 *type_id, in bpf_core_calc_field_relo()
1175 __u32 type_id; in bpf_core_format_spec() local
H A Dbtf_dump.c1858 static bool ptr_is_aligned(const struct btf *btf, __u32 type_id, in ptr_is_aligned()
1871 __u32 type_id, in btf_dump_int_data()
1970 __u32 type_id, in btf_dump_float_data()
2008 __u32 type_id; in btf_dump_var_data() local
/linux/kernel/bpf/
H A Dbtf.c186 #define BTF_TYPE_ID_VALID(type_id) ((type_id) <= BTF_MAX_TYPE) argument
288 u32 type_id; member
429 u32 type_id; member
848 const struct btf_type *btf_type_by_id(const struct btf *btf, u32 type_id) in btf_type_by_id()
1329 u32 type_id, void *data) in btf_show_start_type()
1347 u32 type_id, void *data) in btf_show_start_aggr_type()
1395 u32 type_id, in btf_show_start_array_type()
1413 u32 type_id, in btf_show_start_struct_type()
1868 u32 type_id) in env_type_is_resolved()
1878 const struct btf_type *t, u32 type_id) in env_stack_push()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_module.c13 __s32 type_id; in test_btf_module() local
H A Dresolve_btfids.c101 int type_id; in resolve_symbols() local
H A Dbtf_dump.c345 __s32 type_id; in btf_dump_data() local
645 __s32 type_id; in test_btf_dump_struct_data() local
1005 __s32 type_id; in test_btf_datasec() local
H A Dbtf_tag.c58 __s32 type_id; in load_btfs() local
/linux/arch/x86/events/intel/
H A Duncore_discovery.c56 const u16 *type_id = key; in __type_cmp() local
67 search_uncore_discovery_type(u16 type_id) in search_uncore_discovery_type()
712 static bool uncore_update_uncore_type(enum uncore_access_type type_id, in uncore_update_uncore_type()
743 intel_uncore_generic_init_uncores(enum uncore_access_type type_id, int num_extra) in intel_uncore_generic_init_uncores()
/linux/tools/perf/util/
H A Dbtf.c13 int type_id, const char *member_name) in __btf_type__find_member_by_name()
H A Dbpf_off_cpu.c118 u32 type_id; in check_sched_switch_args() local
/linux/tools/testing/selftests/bpf/progs/
H A Dbtf_ptr.h18 __u32 type_id; member
/linux/net/bpf/
H A Dbpf_dummy_struct_ops.c141 s32 type_id; in bpf_struct_ops_test_run() local
242 s32 type_id; in bpf_dummy_ops_btf_struct_access() local
/linux/tools/testing/selftests/bpf/
H A Dbtf_helpers.c216 const char *btf_type_raw_dump(const struct btf *btf, int type_id) in btf_type_raw_dump()
/linux/drivers/net/wireless/ath/
H A Ddfs_pattern_detector.h72 u8 type_id; member
/linux/net/netfilter/
H A Dnf_bpf_link.c276 s32 type_id; in nf_ptr_to_btf_id() local
/linux/drivers/hid/bpf/
H A Dhid_bpf_struct_ops.c93 s32 type_id; in hid_bpf_ops_btf_struct_access() local
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_err.h211 enum hclge_err_type_list type_id; member
229 u8 type_id; member
/linux/include/linux/
H A Dbtf.h538 static inline const struct bpf_struct_ops_desc *bpf_struct_ops_find(struct btf *btf, u32 type_id) in bpf_struct_ops_find()
609 u32 type_id) in btf_type_by_id()
/linux/net/ipv4/
H A Dbpf_tcp_ca.c23 s32 type_id; in bpf_tcp_ca_init() local
/linux/net/tipc/
H A Dbearer.h126 u32 type_id; member
/linux/drivers/media/usb/pwc/
H A Dpwc-if.c775 int vendor_id, product_id, type_id; in usb_pwc_probe() local

12