Searched refs:btf_field (Results 1 – 6 of 6) sorted by relevance
| /linux/include/linux/ |
| H A D | bpf_verifier.h | 1599 struct btf_field *field; 1602 struct btf_field *field; 1613 struct btf_field *kptr_field;
|
| H A D | bpf.h | 252 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, 2758 struct btf_field *btf_record_find(const struct btf_record *rec,
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 175 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 D | btf.c | 3974 static int btf_parse_kptr(const struct btf *btf, struct btf_field *field, in btf_parse_kptr() 4065 struct btf_field *field, in btf_parse_graph_root() 4108 static int btf_parse_list_head(const struct btf *btf, struct btf_field *field, in btf_parse_list_head() 4115 static int btf_parse_rb_root(const struct btf *btf, struct btf_field *field, in btf_parse_rb_root() 4124 const struct btf_field *a = (const struct btf_field *)_a; in btf_field_cmp() 4125 const struct btf_field *b = (const struct btf_field *)_b; in btf_field_cmp() 4258 sort_r(rec->fields, rec->cnt, sizeof(struct btf_field), btf_field_cmp, in btf_parse_fields() 4310 const struct btf_field *field) in btf_owned_type_idx() 7454 struct btf_field *field = &rec->fields[i]; in btf_struct_access()
|
| H A D | verifier.c | 4487 struct btf_field *kptr_field, in map_kptr_match_type() 4617 static struct btf_record *kptr_pointee_btf_record(struct btf_field *kptr_field) in kptr_pointee_btf_record() 4630 static bool rcu_safe_kptr(const struct btf_field *field) in rcu_safe_kptr() 4638 static u32 btf_ld_kptr_type(struct bpf_verifier_env *env, struct btf_field *kptr_field) in btf_ld_kptr_type() 4662 struct btf_field *field) in mark_uptr_ld_reg() 4679 struct btf_field *kptr_field) in check_map_kptr_access() 4778 struct btf_field *field = &rec->fields[i]; in check_map_access() 6415 struct btf_field *kptr_field = NULL; in check_mem_access() 7536 struct btf_field *kptr_field; in process_kptr_func() 8473 static struct btf_field * [all …]
|
| H A D | helpers.c | 2247 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()
|