Home
last modified time | relevance | path

Searched refs:btf_field (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/include/linux/
H A Dbpf.h216 struct btf_field { struct
232 struct btf_field fields[]; argument
382 static inline void bpf_obj_init_field(const struct btf_field *field, void *addr) in bpf_obj_init_field()
519 void bpf_list_head_free(const struct btf_field *field, void *list_head,
521 void bpf_rb_root_free(const struct btf_field *field, void *rb_root,
2072 struct btf_field *btf_record_find(const struct btf_record *rec,
/openbmc/linux/kernel/bpf/
H A Dbtf.c3564 static int btf_parse_kptr(const struct btf *btf, struct btf_field *field, in btf_parse_kptr()
3656 struct btf_field *field, in btf_parse_graph_root()
3699 static int btf_parse_list_head(const struct btf *btf, struct btf_field *field, in btf_parse_list_head()
3706 static int btf_parse_rb_root(const struct btf *btf, struct btf_field *field, in btf_parse_rb_root()
3715 const struct btf_field *a = (const struct btf_field *)_a; in btf_field_cmp()
3716 const struct btf_field *b = (const struct btf_field *)_b; in btf_field_cmp()
3824 sort_r(rec->fields, rec->cnt, sizeof(struct btf_field), btf_field_cmp, in btf_parse_fields()
6407 struct btf_field *field = &rec->fields[i]; in btf_struct_access()
H A Dsyscall.c485 const struct btf_field *f1 = a, *f2 = b; in btf_field_cmp()
494 struct btf_field *btf_record_find(const struct btf_record *rec, u32 offset, in btf_record_find()
497 struct btf_field *field; in btf_record_find()
546 const struct btf_field *fields; in btf_record_dup()
631 const struct btf_field *fields; in bpf_obj_free_fields()
639 const struct btf_field *field = &fields[i]; in bpf_obj_free_fields()
H A Dverifier.c282 struct btf_field *kptr_field;
319 struct btf_field *field;
322 struct btf_field *field;
5342 struct btf_field *kptr_field) in check_map_kptr_access()
7539 struct btf_field *kptr_field; in process_kptr_func()
8293 static struct btf_field *
8296 struct btf_field *field; in reg_find_field_offset()
9577 struct btf_field *field; in set_rbtree_add_callback_state()
11130 struct btf_field **head_field) in __process_kf_arg_ptr_to_graph_root()
11133 struct btf_field *field; in __process_kf_arg_ptr_to_graph_root()
[all …]
H A Dhelpers.c1825 void bpf_list_head_free(const struct btf_field *field, void *list_head, in bpf_list_head_free()
1874 void bpf_rb_root_free(const struct btf_field *field, void *rb_root, in bpf_rb_root_free()