Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dhelpers.c2076 if (rec && rec->refcount_off >= 0 && in __bpf_obj_drop_impl()
2077 !refcount_dec_and_test((refcount_t *)(p + rec->refcount_off))) { in __bpf_obj_drop_impl()
2116 ref = (struct bpf_refcount *)(p__refcounted_kptr + meta->record->refcount_off); in bpf_refcount_acquire_impl()
H A Dbtf.c3832 rec->refcount_off = -EINVAL; in btf_parse_fields()
3868 WARN_ON_ONCE(rec->refcount_off >= 0); in btf_parse_fields()
3870 rec->refcount_off = rec->fields[i].offset; in btf_parse_fields()
3906 if (rec->refcount_off < 0 && in btf_parse_fields()
H A Dverifier.c11336 if (rec->refcount_off >= 0) in ref_set_non_owning()
12170 if (rec->refcount_off < 0) { in check_kfunc_args()
/linux/include/linux/
H A Dbpf.h243 int refcount_off; member