Searched refs:btf_field (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/include/linux/ |
D | bpf.h | 227 struct btf_field { struct 244 struct btf_field fields[]; argument 399 static inline void bpf_obj_init_field(const struct btf_field *field, void *addr) in bpf_obj_init_field() 539 void bpf_list_head_free(const struct btf_field *field, void *list_head, 541 void bpf_rb_root_free(const struct btf_field *field, void *rb_root, 2244 struct btf_field *btf_record_find(const struct btf_record *rec,
|
/linux-6.12.1/kernel/bpf/ |
D | btf.c | 3766 static int btf_parse_kptr(const struct btf *btf, struct btf_field *field, in btf_parse_kptr() 3857 struct btf_field *field, in btf_parse_graph_root() 3900 static int btf_parse_list_head(const struct btf *btf, struct btf_field *field, in btf_parse_list_head() 3907 static int btf_parse_rb_root(const struct btf *btf, struct btf_field *field, in btf_parse_rb_root() 3916 const struct btf_field *a = (const struct btf_field *)_a; in btf_field_cmp() 3917 const struct btf_field *b = (const struct btf_field *)_b; in btf_field_cmp() 4032 sort_r(rec->fields, rec->cnt, sizeof(struct btf_field), btf_field_cmp, in btf_parse_fields() 6906 struct btf_field *field = &rec->fields[i]; in btf_struct_access()
|
D | syscall.c | 518 const struct btf_field *f1 = a, *f2 = b; in btf_field_cmp() 527 struct btf_field *btf_record_find(const struct btf_record *rec, u32 offset, in btf_record_find() 530 struct btf_field *field; in btf_record_find() 582 const struct btf_field *fields; in btf_record_dup() 675 const struct btf_field *fields; in bpf_obj_free_fields() 683 const struct btf_field *field = &fields[i]; in bpf_obj_free_fields()
|
D | verifier.c | 286 struct btf_field *kptr_field; 323 struct btf_field *field; 326 struct btf_field *field; 5339 struct btf_field *kptr_field, in map_kptr_match_type() 5450 static struct btf_record *kptr_pointee_btf_record(struct btf_field *kptr_field) in kptr_pointee_btf_record() 5463 static bool rcu_safe_kptr(const struct btf_field *field) in rcu_safe_kptr() 5471 static u32 btf_ld_kptr_type(struct bpf_verifier_env *env, struct btf_field *kptr_field) in btf_ld_kptr_type() 5496 struct btf_field *kptr_field) in check_map_kptr_access() 5569 struct btf_field *field = &rec->fields[i]; in check_map_access() 6937 struct btf_field *kptr_field = NULL; in check_mem_access() [all …]
|
D | helpers.c | 2039 void bpf_list_head_free(const struct btf_field *field, void *list_head, in bpf_list_head_free() 2088 void bpf_rb_root_free(const struct btf_field *field, void *rb_root, in bpf_rb_root_free()
|