Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dbpf.h230 struct btf_field { struct
248 struct btf_field fields[]; argument
413 static inline void bpf_obj_init_field(const struct btf_field *field, void *addr) in bpf_obj_init_field()
529 const struct btf_field *field; in bpf_obj_swap_uptrs()
574 void bpf_list_head_free(const struct btf_field *field, void *list_head,
576 void bpf_rb_root_free(const struct btf_field *field, void *rb_root,
2325 struct btf_field *btf_record_find(const struct btf_record *rec,
/linux-6.15/kernel/bpf/
H A Dsyscall.c167 const struct btf_field *field; in __bpf_obj_unpin_uptrs()
190 const struct btf_field *field; in bpf_obj_pin_uptrs()
624 const struct btf_field *f1 = a, *f2 = b; in btf_field_cmp()
633 struct btf_field *btf_record_find(const struct btf_record *rec, u32 offset, in btf_record_find()
636 struct btf_field *field; in btf_record_find()
690 const struct btf_field *fields; in btf_record_dup()
785 const struct btf_field *fields; in bpf_obj_free_fields()
793 const struct btf_field *field = &fields[i]; in bpf_obj_free_fields()
H A Dbtf.c3782 static int btf_parse_kptr(const struct btf *btf, struct btf_field *field, in btf_parse_kptr()
3873 struct btf_field *field, in btf_parse_graph_root()
3916 static int btf_parse_list_head(const struct btf *btf, struct btf_field *field, in btf_parse_list_head()
3923 static int btf_parse_rb_root(const struct btf *btf, struct btf_field *field, in btf_parse_rb_root()
3932 const struct btf_field *a = (const struct btf_field *)_a; in btf_field_cmp()
3933 const struct btf_field *b = (const struct btf_field *)_b; in btf_field_cmp()
4061 sort_r(rec->fields, rec->cnt, sizeof(struct btf_field), btf_field_cmp, in btf_parse_fields()
7192 struct btf_field *field = &rec->fields[i]; in btf_struct_access()
H A Dverifier.c289 struct btf_field *kptr_field;
327 struct btf_field *field;
330 struct btf_field *field;
5882 struct btf_field *field) in mark_uptr_ld_reg()
5899 struct btf_field *kptr_field) in check_map_kptr_access()
8445 struct btf_field *kptr_field; in process_kptr_func()
9249 static struct btf_field *
9252 struct btf_field *field; in reg_find_field_offset()
10778 struct btf_field *field; in set_rbtree_add_callback_state()
12711 struct btf_field *field; in __process_kf_arg_ptr_to_graph_root()
[all …]
H A Dhelpers.c2066 void bpf_list_head_free(const struct btf_field *field, void *list_head, in bpf_list_head_free()
2113 void bpf_rb_root_free(const struct btf_field *field, void *rb_root, in bpf_rb_root_free()