Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dbpf.h216 struct btf_field { struct
232 struct btf_field fields[]; argument
380 static inline void bpf_obj_init_field(const struct btf_field *field, void *addr) in bpf_obj_init_field()
517 void bpf_list_head_free(const struct btf_field *field, void *list_head,
519 void bpf_rb_root_free(const struct btf_field *field, void *rb_root,
2056 struct btf_field *btf_record_find(const struct btf_record *rec,
/linux-6.6.21/kernel/bpf/
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()
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()
Dverifier.c282 struct btf_field *kptr_field;
319 struct btf_field *field;
322 struct btf_field *field;
5231 struct btf_field *kptr_field, in map_kptr_match_type()
5329 static bool rcu_safe_kptr(const struct btf_field *field) in rcu_safe_kptr()
5338 struct btf_field *kptr_field) in check_map_kptr_access()
5415 struct btf_field *field = &rec->fields[i]; in check_map_access()
6697 struct btf_field *kptr_field = NULL; in check_mem_access()
7519 struct btf_field *kptr_field; in process_kptr_func()
8273 static struct btf_field *
[all …]
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()