Home
last modified time | relevance | path

Searched refs:refcount_off (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/kernel/bpf/
H A Dhelpers.c1997 if (rec && rec->refcount_off >= 0 && in __bpf_obj_drop_impl()
1998 !refcount_dec_and_test((refcount_t *)(p + rec->refcount_off))) { in __bpf_obj_drop_impl()
2008 if (rec && rec->refcount_off >= 0) in __bpf_obj_drop_impl()
2030 ref = (struct bpf_refcount *)(p__refcounted_kptr + meta->record->refcount_off); in bpf_refcount_acquire_impl()
H A Dbtf.c3749 rec->refcount_off = -EINVAL; in btf_parse_fields()
3780 WARN_ON_ONCE(rec->refcount_off >= 0); in btf_parse_fields()
3782 rec->refcount_off = rec->fields[i].offset; in btf_parse_fields()
3817 if (rec->refcount_off < 0 && in btf_parse_fields()
H A Dverifier.c10918 if (rec->refcount_off >= 0) in ref_set_non_owning()
11653 if (rec->refcount_off < 0) { in check_kfunc_args()
/openbmc/linux/include/linux/
H A Dbpf.h231 int refcount_off; member