Home
last modified time | relevance | path

Searched refs:kfunc_flags (Results 1 – 2 of 2) sorted by relevance

/linux/kernel/bpf/
H A Dverifier.c295 u32 kfunc_flags; member
8139 return meta->kfunc_flags & (KF_ITER_NEW | KF_ITER_NEXT | KF_ITER_DESTROY); in is_iter_kfunc()
8144 return meta->kfunc_flags & KF_ITER_NEW; in is_iter_new_kfunc()
8149 return meta->kfunc_flags & KF_ITER_NEXT; in is_iter_next_kfunc()
8154 return meta->kfunc_flags & KF_ITER_DESTROY; in is_iter_destroy_kfunc()
11186 return meta->kfunc_flags & KF_ACQUIRE; in is_kfunc_acquire()
11191 return meta->kfunc_flags & KF_RELEASE; in is_kfunc_release()
11196 return (meta->kfunc_flags & KF_TRUSTED_ARGS) || is_kfunc_release(meta); in is_kfunc_trusted_args()
11201 return meta->kfunc_flags & KF_SLEEPABLE; in is_kfunc_sleepable()
11206 return meta->kfunc_flags & KF_DESTRUCTIVE; in is_kfunc_destructive()
[all …]
H A Dbtf.c8582 u32 *kfunc_flags; in btf_kfunc_id_set_contains() local
8584 kfunc_flags = __btf_kfunc_id_set_contains(btf, BTF_KFUNC_HOOK_COMMON, kfunc_btf_id, prog); in btf_kfunc_id_set_contains()
8585 if (kfunc_flags) in btf_kfunc_id_set_contains()
8586 return kfunc_flags; in btf_kfunc_id_set_contains()