Searched refs:btf_record (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | bpf.h | 213 struct btf_record *value_rec; 226 struct btf_record { struct 263 struct btf_record *record; 411 static inline bool btf_record_has_field(const struct btf_record *rec, enum btf_field_type type) in btf_record_has_field() 418 static inline void bpf_obj_init(const struct btf_record *rec, void *obj) in bpf_obj_init() 457 static inline void bpf_obj_memcpy(struct btf_record *rec, in bpf_obj_memcpy() 492 static inline void bpf_obj_memzero(struct btf_record *rec, void *dst, u32 size) in bpf_obj_memzero() 2081 struct btf_field *btf_record_find(const struct btf_record *rec, 2083 void btf_record_free(struct btf_record *rec); 2085 struct btf_record *btf_record_dup(const struct btf_record *rec); [all …]
|
H A D | btf.h | 118 struct btf_record *record; 207 struct btf_record *btf_parse_fields(const struct btf *btf, const struct btf_type *t, 209 int btf_check_and_fixup_fields(const struct btf *btf, struct btf_record *rec);
|
/openbmc/linux/kernel/bpf/ |
H A D | syscall.c | 494 struct btf_field *btf_record_find(const struct btf_record *rec, u32 offset, in btf_record_find() 507 void btf_record_free(struct btf_record *rec) in btf_record_free() 544 struct btf_record *btf_record_dup(const struct btf_record *rec) in btf_record_dup() 547 struct btf_record *new_rec; in btf_record_dup() 552 size = offsetof(struct btf_record, fields[rec->cnt]); in btf_record_dup() 591 bool btf_record_equal(const struct btf_record *rec_a, const struct btf_record *rec_b) in btf_record_equal() 602 size = offsetof(struct btf_record, fields[rec_a->cnt]); in btf_record_equal() 620 void bpf_obj_free_timer(const struct btf_record *rec, void *obj) in bpf_obj_free_timer() 627 extern void __bpf_obj_drop_impl(void *p, const struct btf_record *rec); 629 void bpf_obj_free_fields(const struct btf_record *rec, void *obj) in bpf_obj_free_fields() [all …]
|
H A D | helpers.c | 1899 void __bpf_obj_drop_impl(void *p, const struct btf_record *rec); 1995 void __bpf_obj_drop_impl(void *p, const struct btf_record *rec) in __bpf_obj_drop_impl() 2042 bool tail, struct btf_record *rec, u64 off) in __bpf_list_add() 2144 void *less, struct btf_record *rec, u64 off) in __bpf_rbtree_add()
|
H A D | btf.c | 3725 struct btf_record *btf_parse_fields(const struct btf *btf, const struct btf_type *t, in btf_parse_fields() 3730 struct btf_record *rec; in btf_parse_fields() 3743 rec = kzalloc(offsetof(struct btf_record, fields[cnt]), GFP_KERNEL | __GFP_NOWARN); in btf_parse_fields() 3836 int btf_check_and_fixup_fields(const struct btf *btf, struct btf_record *rec) in btf_check_and_fixup_fields() 5352 struct btf_record *record; in btf_parse_struct_metas() 6405 struct btf_record *rec; in btf_struct_access()
|
H A D | verifier.c | 476 static struct btf_record *reg_btf_record(const struct bpf_reg_state *reg) in reg_btf_record() 478 struct btf_record *rec = NULL; in reg_btf_record() 5414 struct btf_record *rec; in check_map_access() 7428 struct btf_record *rec; in process_spin_lock() 8287 struct btf_record *rec; in reg_find_field_offset() 10905 struct btf_record *rec = reg_btf_record(reg); in ref_set_non_owning() 11122 struct btf_record *rec; in __process_kf_arg_ptr_to_graph_root() 11269 struct btf_record *rec; in check_kfunc_args()
|