Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dbpf.h247 struct btf_field { struct
266 struct btf_field fields[]; argument
451 static inline void bpf_obj_init_field(const struct btf_field *field, void *addr) in bpf_obj_init_field()
568 const struct btf_field *field; in bpf_obj_swap_uptrs()
614 void bpf_list_head_free(const struct btf_field *field, void *list_head,
616 void bpf_rb_root_free(const struct btf_field *field, void *rb_root,
2589 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()
642 const struct btf_field *f1 = a, *f2 = b; in btf_field_cmp()
651 struct btf_field *btf_record_find(const struct btf_record *rec, u32 offset, in btf_record_find()
654 struct btf_field *field; in btf_record_find()
709 const struct btf_field *fields; in btf_record_dup()
812 const struct btf_field *fields; in bpf_obj_free_fields()
820 const struct btf_field *field = &fields[i]; in bpf_obj_free_fields()
H A Dbtf.c3912 static int btf_parse_kptr(const struct btf *btf, struct btf_field *field, in btf_parse_kptr()
4003 struct btf_field *field, in btf_parse_graph_root()
4046 static int btf_parse_list_head(const struct btf *btf, struct btf_field *field, in btf_parse_list_head()
4053 static int btf_parse_rb_root(const struct btf *btf, struct btf_field *field, in btf_parse_rb_root()
4062 const struct btf_field *a = (const struct btf_field *)_a; in btf_field_cmp()
4063 const struct btf_field *b = (const struct btf_field *)_b; in btf_field_cmp()
4196 sort_r(rec->fields, rec->cnt, sizeof(struct btf_field), btf_field_cmp, in btf_parse_fields()
7376 struct btf_field *field = &rec->fields[i]; in btf_struct_access()
H A Dverifier.c250 struct btf_field *kptr_field;
4545 struct btf_field *kptr_field, in map_kptr_match_type()
4662 static struct btf_record *kptr_pointee_btf_record(struct btf_field *kptr_field) in kptr_pointee_btf_record()
4675 static bool rcu_safe_kptr(const struct btf_field *field) in rcu_safe_kptr()
4683 static u32 btf_ld_kptr_type(struct bpf_verifier_env *env, struct btf_field *kptr_field) in btf_ld_kptr_type()
4707 struct btf_field *field) in mark_uptr_ld_reg()
4724 struct btf_field *kptr_field) in check_map_kptr_access()
4819 struct btf_field *field = &rec->fields[i]; in check_map_access()
6352 struct btf_field *kptr_field = NULL; in check_mem_access()
7386 struct btf_field *kptr_field; in process_kptr_func()
[all …]