Searched refs:KF_TRUSTED_ARGS (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_bpf.c | 479 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 D | nf_nat_bpf.c | 60 BTF_ID_FLAGS(func, bpf_ct_set_nat_info, KF_TRUSTED_ARGS)
|
/openbmc/linux/kernel/bpf/ |
H A D | map_iter.c | 219 BTF_ID_FLAGS(func, bpf_map_sum_elem_count, KF_TRUSTED_ARGS)
|
H A D | cpumask.c | 415 BTF_ID_FLAGS(func, bpf_cpumask_acquire, KF_ACQUIRE | KF_TRUSTED_ARGS)
|
H A D | verifier.c | 10441 return (meta->kfunc_flags & KF_TRUSTED_ARGS) || is_kfunc_release(meta); in is_kfunc_trusted_args()
|
/openbmc/linux/Documentation/bpf/ |
H A D | kfuncs.rst | 206 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 D | bpf_testmod.c | 515 BTF_ID_FLAGS(func, bpf_kfunc_call_test_ref, KF_TRUSTED_ARGS | KF_RCU)
|
/openbmc/linux/include/linux/ |
H A D | btf.h | 69 #define KF_TRUSTED_ARGS (1 << 4) /* kfunc only takes trusted pointer arguments */ macro
|
/openbmc/linux/net/core/ |
H A D | xdp.c | 740 #define XDP_METADATA_KFUNC(_, name) BTF_ID_FLAGS(func, name, KF_TRUSTED_ARGS)
|
H A D | filter.c | 12005 BTF_ID_FLAGS(func, bpf_sock_destroy, KF_TRUSTED_ARGS) in BTF_SET8_START()
|