Searched refs:btf_record (Results 1 – 7 of 7) sorted by relevance
| /linux/include/linux/ |
| H A D | bpf.h | 249 struct btf_record *value_rec; 262 struct btf_record { struct 315 struct btf_record *record; 489 static inline bool btf_record_has_field(const struct btf_record *rec, enum btf_field_type type) in btf_record_has_field() 512 static inline bool btf_record_has_nmi_unsafe_fields(const struct btf_record *rec) in btf_record_has_nmi_unsafe_fields() 525 static inline void bpf_obj_init(const struct btf_record *rec, void *obj) in bpf_obj_init() 564 static inline void bpf_obj_memcpy(struct btf_record *rec, in bpf_obj_memcpy() 599 static inline void bpf_obj_swap_uptrs(const struct btf_record *rec, void *dst, void *src) in bpf_obj_swap_uptrs() 618 static inline void bpf_obj_memzero(struct btf_record *rec, void *dst, u32 size) in bpf_obj_memzero() 2719 struct btf_field *btf_record_find(const struct btf_record *rec, [all …]
|
| H A D | btf.h | 135 struct btf_record *record; 234 struct btf_record *btf_parse_fields(const struct btf *btf, const struct btf_type *t, 236 int btf_check_and_fixup_fields(const struct btf *btf, struct btf_record *rec);
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 173 static void __bpf_obj_unpin_uptrs(struct btf_record *rec, u32 cnt, void *obj) in __bpf_obj_unpin_uptrs() 188 static void bpf_obj_unpin_uptrs(struct btf_record *rec, void *obj) in bpf_obj_unpin_uptrs() 196 static int bpf_obj_pin_uptrs(struct btf_record *rec, void *obj) in bpf_obj_pin_uptrs() 650 struct btf_field *btf_record_find(const struct btf_record *rec, u32 offset, in btf_record_find() 663 void btf_record_free(struct btf_record *rec) in btf_record_free() 706 struct btf_record *btf_record_dup(const struct btf_record *rec) in btf_record_dup() 709 struct btf_record *new_rec; in btf_record_dup() 759 bool btf_record_equal(const struct btf_record *rec_a, const struct btf_record *rec_b) in btf_record_equal() 788 void bpf_obj_free_timer(const struct btf_record *rec, void *obj) in bpf_obj_free_timer() 795 void bpf_obj_free_workqueue(const struct btf_record *rec, void *obj) in bpf_obj_free_workqueue() [all …]
|
| H A D | helpers.c | 2394 void __bpf_obj_drop_impl(void *p, const struct btf_record *rec, bool percpu) in __bpf_obj_drop_impl() 2489 struct btf_record *rec, u64 off) in __bpf_list_add() 2727 void *less, struct btf_record *rec, u64 off) in __bpf_rbtree_add()
|
| H A D | verifier.c | 366 static struct btf_record *reg_btf_record(const struct bpf_reg_state *reg) in reg_btf_record() 368 struct btf_record *rec = NULL; in reg_btf_record() 4587 static struct btf_record *kptr_pointee_btf_record(struct btf_field *kptr_field) in kptr_pointee_btf_record() 4610 struct btf_record *rec; in btf_ld_kptr_type() 4730 struct btf_record *rec; in check_map_access() 7268 struct btf_record *rec; in process_spin_lock() 7479 struct btf_record *rec; in process_kptr_func() 8417 struct btf_record *rec; in reg_find_field_offset() 8658 struct btf_record *rec = meta->map.ptr->record; in process_map_ptr_arg() 12148 struct btf_record *rec = reg_btf_record(reg); in ref_set_non_owning() [all …]
|
| H A D | btf.c | 4119 struct btf_record *btf_parse_fields(const struct btf *btf, const struct btf_type *t, in btf_parse_fields() 4124 struct btf_record *rec; in btf_parse_fields() 4252 int btf_check_and_fixup_fields(const struct btf *btf, struct btf_record *rec) in btf_check_and_fixup_fields() 5851 struct btf_record *record; in btf_parse_struct_metas() 7386 struct btf_record *rec; in btf_struct_access()
|
| H A D | hashtab.c | 130 struct btf_record *record;
|