Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A Dbtf.h111 struct btf_record *record;
205 struct btf_record *btf_parse_fields(const struct btf *btf, const struct btf_type *t,
207 int btf_check_and_fixup_fields(const struct btf *btf, struct btf_record *rec);
208 struct btf_field_offs *btf_parse_field_offs(struct btf_record *rec);
A Dbpf.h201 struct btf_record *value_rec;
213 struct btf_record { struct
243 struct btf_record *record;
349 static inline bool btf_record_has_field(const struct btf_record *rec, enum btf_field_type type) in btf_record_has_field()
1883 struct btf_field *btf_record_find(const struct btf_record *rec,
1885 void btf_record_free(struct btf_record *rec);
1887 struct btf_record *btf_record_dup(const struct btf_record *rec);
1888 bool btf_record_equal(const struct btf_record *rec_a, const struct btf_record *rec_b);
1889 void bpf_obj_free_timer(const struct btf_record *rec, void *obj);
1890 void bpf_obj_free_fields(const struct btf_record *rec, void *obj);
/linux-6.3-rc2/kernel/bpf/
A Dsyscall.c519 struct btf_field *btf_record_find(const struct btf_record *rec, u32 offset, in btf_record_find()
532 void btf_record_free(struct btf_record *rec) in btf_record_free()
568 struct btf_record *btf_record_dup(const struct btf_record *rec) in btf_record_dup()
571 struct btf_record *new_rec; in btf_record_dup()
576 size = offsetof(struct btf_record, fields[rec->cnt]); in btf_record_dup()
614 bool btf_record_equal(const struct btf_record *rec_a, const struct btf_record *rec_b) in btf_record_equal()
625 size = offsetof(struct btf_record, fields[rec_a->cnt]); in btf_record_equal()
643 void bpf_obj_free_timer(const struct btf_record *rec, void *obj) in bpf_obj_free_timer()
650 void bpf_obj_free_fields(const struct btf_record *rec, void *obj) in bpf_obj_free_fields()
699 struct btf_record *rec = map->record; in bpf_map_free_deferred()
A Dbtf.c3687 struct btf_record *btf_parse_fields(const struct btf *btf, const struct btf_type *t, in btf_parse_fields()
3691 struct btf_record *rec; in btf_parse_fields()
3705 rec = kzalloc(offsetof(struct btf_record, fields[cnt]), GFP_KERNEL | __GFP_NOWARN); in btf_parse_fields()
3804 int btf_check_and_fixup_fields(const struct btf *btf, struct btf_record *rec) in btf_check_and_fixup_fields()
3902 struct btf_field_offs *btf_parse_field_offs(struct btf_record *rec) in btf_parse_field_offs()
5375 struct btf_record *record; in btf_parse_struct_metas()
6405 struct btf_record *rec; in btf_struct_access()
A Dverifier.c469 static struct btf_record *reg_btf_record(const struct bpf_reg_state *reg) in reg_btf_record()
471 struct btf_record *rec = NULL; in reg_btf_record()
4309 struct btf_record *rec; in check_map_access()
6040 struct btf_record *rec; in process_spin_lock()
6575 struct btf_record *rec; in reg_find_field_offset()
9319 struct btf_record *rec; in __process_kf_arg_ptr_to_graph_root()

Completed in 65 milliseconds