Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dbpf.h227 struct btf_record *value_rec;
240 struct btf_record { struct
276 struct btf_record *record;
491 static inline void bpf_obj_memcpy(struct btf_record *rec, in bpf_obj_memcpy()
2325 struct btf_field *btf_record_find(const struct btf_record *rec,
2327 void btf_record_free(struct btf_record *rec);
2329 struct btf_record *btf_record_dup(const struct btf_record *rec);
2330 bool btf_record_equal(const struct btf_record *rec_a, const struct btf_record *rec_b);
2331 void bpf_obj_free_timer(const struct btf_record *rec, void *obj);
2332 void bpf_obj_free_workqueue(const struct btf_record *rec, void *obj);
[all …]
H A Dbtf.h134 struct btf_record *record;
227 struct btf_record *btf_parse_fields(const struct btf *btf, const struct btf_type *t,
229 int btf_check_and_fixup_fields(const struct btf *btf, struct btf_record *rec);
/linux-6.15/kernel/bpf/
H A Dsyscall.c180 static void bpf_obj_unpin_uptrs(struct btf_record *rec, void *obj) in bpf_obj_unpin_uptrs()
188 static int bpf_obj_pin_uptrs(struct btf_record *rec, void *obj) in bpf_obj_pin_uptrs()
646 void btf_record_free(struct btf_record *rec) in btf_record_free()
688 struct btf_record *btf_record_dup(const struct btf_record *rec) in btf_record_dup()
691 struct btf_record *new_rec; in btf_record_dup()
696 size = offsetof(struct btf_record, fields[rec->cnt]); in btf_record_dup()
740 bool btf_record_equal(const struct btf_record *rec_a, const struct btf_record *rec_b) in btf_record_equal()
751 size = offsetof(struct btf_record, fields[rec_a->cnt]); in btf_record_equal()
769 void bpf_obj_free_timer(const struct btf_record *rec, void *obj) in bpf_obj_free_timer()
783 void bpf_obj_free_fields(const struct btf_record *rec, void *obj) in bpf_obj_free_fields()
[all …]
H A Dhelpers.c2162 void __bpf_obj_drop_impl(void *p, const struct btf_record *rec, bool percpu) in __bpf_obj_drop_impl()
2218 bool tail, struct btf_record *rec, u64 off) in __bpf_list_add()
2320 void *less, struct btf_record *rec, u64 off) in __bpf_rbtree_add()
H A Dbtf.c3942 struct btf_record *btf_parse_fields(const struct btf *btf, const struct btf_type *t, in btf_parse_fields()
3947 struct btf_record *rec; in btf_parse_fields()
3960 rec = kzalloc(offsetof(struct btf_record, fields[cnt]), GFP_KERNEL | __GFP_NOWARN); in btf_parse_fields()
4070 int btf_check_and_fixup_fields(const struct btf *btf, struct btf_record *rec) in btf_check_and_fixup_fields()
5633 struct btf_record *record; in btf_parse_struct_metas()
7184 struct btf_record *rec; in btf_struct_access()
H A Dverifier.c410 static struct btf_record *reg_btf_record(const struct bpf_reg_state *reg) in reg_btf_record()
412 struct btf_record *rec = NULL; in reg_btf_record()
5837 static struct btf_record *kptr_pointee_btf_record(struct btf_field *kptr_field) in kptr_pointee_btf_record()
5860 struct btf_record *rec; in btf_ld_kptr_type()
5966 struct btf_record *rec; in check_map_access()
8282 struct btf_record *rec; in process_spin_lock()
8447 struct btf_record *rec; in process_kptr_func()
9253 struct btf_record *rec; in reg_find_field_offset()
12452 struct btf_record *rec = reg_btf_record(reg); in ref_set_non_owning()
12712 struct btf_record *rec; in __process_kf_arg_ptr_to_graph_root()
[all …]