Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dbpf_verifier.h1574 struct btf_field *field;
1577 struct btf_field *field;
1588 struct btf_field *kptr_field;
H A Dbpf.h252 struct btf_field { struct
271 struct btf_field fields[]; argument
456 static inline void bpf_obj_init_field(const struct btf_field *field, void *addr) in bpf_obj_init_field()
602 const struct btf_field *field; in bpf_obj_swap_uptrs()
648 void bpf_list_head_free(const struct btf_field *field, void *list_head,
650 void bpf_rb_root_free(const struct btf_field *field, void *rb_root,
2719 struct btf_field *btf_record_find(const struct btf_record *rec,
/linux/kernel/bpf/
H A Dsyscall.c175 const struct btf_field *field; in __bpf_obj_unpin_uptrs()
198 const struct btf_field *field; in bpf_obj_pin_uptrs()
641 const struct btf_field *f1 = a, *f2 = b; in btf_field_cmp()
650 struct btf_field *btf_record_find(const struct btf_record *rec, u32 offset, in btf_record_find()
653 struct btf_field *field; in btf_record_find()
708 const struct btf_field *fields; in btf_record_dup()
816 const struct btf_field *fields; in bpf_obj_free_fields()
824 const struct btf_field *field = &fields[i]; in bpf_obj_free_fields()
H A Dbtf.c3959 static int btf_parse_kptr(const struct btf *btf, struct btf_field *field, in btf_parse_kptr()
4050 struct btf_field *field, in btf_parse_graph_root()
4093 static int btf_parse_list_head(const struct btf *btf, struct btf_field *field, in btf_parse_list_head()
4100 static int btf_parse_rb_root(const struct btf *btf, struct btf_field *field, in btf_parse_rb_root()
4109 const struct btf_field *a = (const struct btf_field *)_a; in btf_field_cmp()
4110 const struct btf_field *b = (const struct btf_field *)_b; in btf_field_cmp()
4243 sort_r(rec->fields, rec->cnt, sizeof(struct btf_field), btf_field_cmp, in btf_parse_fields()
7394 struct btf_field *field = &rec->fields[i]; in btf_struct_access()
H A Dverifier.c4464 struct btf_field *kptr_field, in map_kptr_match_type()
4587 static struct btf_record *kptr_pointee_btf_record(struct btf_field *kptr_field) in kptr_pointee_btf_record()
4600 static bool rcu_safe_kptr(const struct btf_field *field) in rcu_safe_kptr()
4608 static u32 btf_ld_kptr_type(struct bpf_verifier_env *env, struct btf_field *kptr_field) in btf_ld_kptr_type()
4632 struct btf_field *field) in mark_uptr_ld_reg()
4649 struct btf_field *kptr_field) in check_map_kptr_access()
4741 struct btf_field *field = &rec->fields[i]; in check_map_access()
6363 struct btf_field *kptr_field = NULL; in check_mem_access()
7477 struct btf_field *kptr_field; in process_kptr_func()
8413 static struct btf_field *
[all …]
H A Dhelpers.c2247 void bpf_list_head_free(const struct btf_field *field, void *list_head, in bpf_list_head_free()
2305 void bpf_rb_root_free(const struct btf_field *field, void *rb_root, in bpf_rb_root_free()