Home
last modified time | relevance | path

Searched refs:KF_TRUSTED_ARGS (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/net/netfilter/
H A Dnf_conntrack_bpf.c479 BTF_ID_FLAGS(func, bpf_ct_set_timeout, KF_TRUSTED_ARGS)
480 BTF_ID_FLAGS(func, bpf_ct_change_timeout, KF_TRUSTED_ARGS)
481 BTF_ID_FLAGS(func, bpf_ct_set_status, KF_TRUSTED_ARGS)
482 BTF_ID_FLAGS(func, bpf_ct_change_status, KF_TRUSTED_ARGS)
H A Dnf_nat_bpf.c60 BTF_ID_FLAGS(func, bpf_ct_set_nat_info, KF_TRUSTED_ARGS)
/openbmc/linux/kernel/bpf/
H A Dmap_iter.c219 BTF_ID_FLAGS(func, bpf_map_sum_elem_count, KF_TRUSTED_ARGS)
H A Dcpumask.c415 BTF_ID_FLAGS(func, bpf_cpumask_acquire, KF_ACQUIRE | KF_TRUSTED_ARGS)
H A Dverifier.c10441 return (meta->kfunc_flags & KF_TRUSTED_ARGS) || is_kfunc_release(meta); in is_kfunc_trusted_args()
/openbmc/linux/Documentation/bpf/
H A Dkfuncs.rst206 protection afforded by the KF_TRUSTED_ARGS flag described below.
208 2.4.4 KF_TRUSTED_ARGS flag
211 The KF_TRUSTED_ARGS flag is used for kfuncs taking pointer arguments. It
223 KF_TRUSTED_ARGS kfuncs, and may have a non-zero offset.
291 The KF_RCU flag is a weaker version of KF_TRUSTED_ARGS. The kfuncs marked with
/openbmc/linux/tools/testing/selftests/bpf/bpf_testmod/
H A Dbpf_testmod.c515 BTF_ID_FLAGS(func, bpf_kfunc_call_test_ref, KF_TRUSTED_ARGS | KF_RCU)
/openbmc/linux/include/linux/
H A Dbtf.h69 #define KF_TRUSTED_ARGS (1 << 4) /* kfunc only takes trusted pointer arguments */ macro
/openbmc/linux/net/core/
H A Dxdp.c740 #define XDP_METADATA_KFUNC(_, name) BTF_ID_FLAGS(func, name, KF_TRUSTED_ARGS)
H A Dfilter.c12005 BTF_ID_FLAGS(func, bpf_sock_destroy, KF_TRUSTED_ARGS) in BTF_SET8_START()