Searched refs:btf_record (Results 1 – 6 of 6) sorted by relevance
/linux/include/linux/ |
H A D | bpf.h | 224 struct btf_record *value_rec; 237 struct btf_record { struct 272 struct btf_record *record; 474 static inline void bpf_obj_memcpy(struct btf_record *rec, in bpf_obj_memcpy() 2216 struct btf_field *btf_record_find(const struct btf_record *rec, 2218 void btf_record_free(struct btf_record *rec); 2220 struct btf_record *btf_record_dup(const struct btf_record *rec); 2221 bool btf_record_equal(const struct btf_record *rec_a, const struct btf_record *rec_b); 2222 void bpf_obj_free_timer(const struct btf_record *rec, void *obj); 2223 void bpf_obj_free_workqueue(const struct btf_record *rec, void *obj); [all …]
|
H A D | btf.h | 130 struct btf_record *record; 220 struct btf_record *btf_parse_fields(const struct btf *btf, const struct btf_type *t, 222 int btf_check_and_fixup_fields(const struct btf *btf, struct btf_record *rec);
|
/linux/kernel/bpf/ |
H A D | syscall.c | 527 struct btf_field *btf_record_find(const struct btf_record *rec, u32 offset, in btf_record_find() 540 void btf_record_free(struct btf_record *rec) in btf_record_free() 579 struct btf_record *btf_record_dup(const struct btf_record *rec) in btf_record_dup() 582 struct btf_record *new_rec; in btf_record_dup() 587 size = offsetof(struct btf_record, fields[rec->cnt]); in btf_record_dup() 628 bool btf_record_equal(const struct btf_record *rec_a, const struct btf_record *rec_b) in btf_record_equal() 639 size = offsetof(struct btf_record, fields[rec_a->cnt]); in btf_record_equal() 657 void bpf_obj_free_timer(const struct btf_record *rec, void *obj) in bpf_obj_free_timer() 664 void bpf_obj_free_workqueue(const struct btf_record *rec, void *obj) in bpf_obj_free_workqueue() 671 void bpf_obj_free_fields(const struct btf_record *rec, void *obj) in bpf_obj_free_fields() [all …]
|
H A D | helpers.c | 2072 void __bpf_obj_drop_impl(void *p, const struct btf_record *rec, bool percpu) in __bpf_obj_drop_impl() 2128 bool tail, struct btf_record *rec, u64 off) in __bpf_list_add() 2230 void *less, struct btf_record *rec, u64 off) in __bpf_rbtree_add()
|
H A D | btf.c | 3807 struct btf_record *btf_parse_fields(const struct btf *btf, const struct btf_type *t, in btf_parse_fields() 3812 struct btf_record *rec; in btf_parse_fields() 3825 rec = kzalloc(offsetof(struct btf_record, fields[cnt]), GFP_KERNEL | __GFP_NOWARN); in btf_parse_fields() 3922 int btf_check_and_fixup_fields(const struct btf *btf, struct btf_record *rec) in btf_check_and_fixup_fields() 5438 struct btf_record *record; in btf_parse_struct_metas() 6686 struct btf_record *rec; in btf_struct_access()
|
H A D | verifier.c | 409 static struct btf_record *reg_btf_record(const struct bpf_reg_state *reg) in reg_btf_record() 411 struct btf_record *rec = NULL; in reg_btf_record() 5325 static struct btf_record *kptr_pointee_btf_record(struct btf_field *kptr_field) in kptr_pointee_btf_record() 5348 struct btf_record *rec; in btf_ld_kptr_type() 5432 struct btf_record *rec; in check_map_access() 7523 struct btf_record *rec; in process_spin_lock() 8423 struct btf_record *rec; in reg_find_field_offset() 11323 struct btf_record *rec = reg_btf_record(reg); in ref_set_non_owning() 11562 struct btf_record *rec; in __process_kf_arg_ptr_to_graph_root() 11731 struct btf_record *rec; in check_kfunc_args()
|