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
383 static inline void bpf_obj_init_field(const struct btf_field *field, void *addr) in bpf_obj_init_field()
520 void bpf_list_head_free(const struct btf_field *field, void *list_head,
522 void bpf_rb_root_free(const struct btf_field *field, void *rb_root,
2084 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;
5350 struct btf_field *kptr_field) in check_map_kptr_access()
7537 struct btf_field *kptr_field; in process_kptr_func()
8282 static struct btf_field *
8285 struct btf_field *field; in reg_find_field_offset()
9564 struct btf_field *field; in set_rbtree_add_callback_state()
11117 struct btf_field **head_field) in __process_kf_arg_ptr_to_graph_root()
11120 struct btf_field *field; in __process_kf_arg_ptr_to_graph_root()
[all …]
H A Dhelpers.c1901 void bpf_list_head_free(const struct btf_field *field, void *list_head, in bpf_list_head_free()
1950 void bpf_rb_root_free(const struct btf_field *field, void *rb_root, in bpf_rb_root_free()