Home
last modified time | relevance | path

Searched refs:KF_RELEASE (Results 1 – 15 of 15) sorted by relevance

/linux-6.15/net/xfrm/
H A Dxfrm_state_bpf.c122 BTF_ID_FLAGS(func, bpf_xdp_xfrm_state_release, KF_RELEASE)
/linux-6.15/net/netfilter/
H A Dnf_conntrack_bpf.c517 BTF_ID_FLAGS(func, bpf_ct_insert_entry, KF_ACQUIRE | KF_RET_NULL | KF_RELEASE)
518 BTF_ID_FLAGS(func, bpf_ct_release, KF_RELEASE)
/linux-6.15/fs/
H A Dbpf_fs_kfuncs.c330 BTF_ID_FLAGS(func, bpf_put_file, KF_RELEASE) in BTF_ID_FLAGS() argument
/linux-6.15/drivers/hid/bpf/
H A Dhid_bpf_dispatch.c575 BTF_ID_FLAGS(func, hid_bpf_release_context, KF_RELEASE | KF_SLEEPABLE)
590 BTF_ID_FLAGS(func, hid_bpf_release_context, KF_RELEASE)
/linux-6.15/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_testmod.c617 BTF_ID_FLAGS(func, bpf_kfunc_nested_release_test, KF_RELEASE)
623 BTF_ID_FLAGS(func, bpf_testmod_ctx_release, KF_RELEASE)
1067 BTF_ID_FLAGS(func, bpf_kfunc_call_memb1_release, KF_RELEASE) in BTF_ID_FLAGS()
1071 BTF_ID_FLAGS(func, bpf_kfunc_call_int_mem_release, KF_RELEASE) in BTF_ID_FLAGS()
/linux-6.15/kernel/bpf/
H A Dcpumask.c479 BTF_ID_FLAGS(func, bpf_cpumask_release, KF_RELEASE)
H A Dcrypto.c350 BTF_ID_FLAGS(func, bpf_crypto_ctx_release, KF_RELEASE)
H A Dhelpers.c3205 BTF_ID_FLAGS(func, bpf_obj_drop_impl, KF_RELEASE)
3206 BTF_ID_FLAGS(func, bpf_percpu_obj_drop_impl, KF_RELEASE)
3213 BTF_ID_FLAGS(func, bpf_task_release, KF_RELEASE)
3220 BTF_ID_FLAGS(func, bpf_cgroup_release, KF_RELEASE)
H A Dverifier.c11796 return meta->kfunc_flags & KF_RELEASE; in is_kfunc_release()
/linux-6.15/Documentation/bpf/
H A Dkfuncs.rst182 BTF_ID_FLAGS(func, bpf_put_pid, KF_RELEASE)
221 2.4.3 KF_RELEASE flag
224 The KF_RELEASE flag is used to indicate that the kfunc releases the pointer
227 invoking kfunc with this flag. KF_RELEASE kfuncs automatically receive the
352 BTF_ID_FLAGS(func, bpf_put_pid, KF_RELEASE)
/linux-6.15/kernel/sched/
H A Dext_idle.c1137 BTF_ID_FLAGS(func, scx_bpf_put_idle_cpumask, KF_RELEASE)
H A Dext.c7377 BTF_ID_FLAGS(func, scx_bpf_put_cpumask, KF_RELEASE)
/linux-6.15/include/linux/
H A Dbtf.h19 #define KF_RELEASE (1 << 1) /* kfunc is a release function */ macro
/linux-6.15/net/bpf/
H A Dtest_run.c653 BTF_ID_FLAGS(func, bpf_kfunc_call_test_release, KF_RELEASE) in BTF_ID_FLAGS() argument
654 BTF_ID_FLAGS(func, bpf_kfunc_call_memb_release, KF_RELEASE) in BTF_ID_FLAGS()
/linux-6.15/kernel/trace/
H A Dbpf_trace.c1407 BTF_ID_FLAGS(func, bpf_key_put, KF_RELEASE)