Searched refs:KF_RCU (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/kernel/bpf/ |
H A D | cpumask.c | 416 BTF_ID_FLAGS(func, bpf_cpumask_first, KF_RCU) 417 BTF_ID_FLAGS(func, bpf_cpumask_first_zero, KF_RCU) 418 BTF_ID_FLAGS(func, bpf_cpumask_first_and, KF_RCU) 419 BTF_ID_FLAGS(func, bpf_cpumask_set_cpu, KF_RCU) 420 BTF_ID_FLAGS(func, bpf_cpumask_clear_cpu, KF_RCU) 421 BTF_ID_FLAGS(func, bpf_cpumask_test_cpu, KF_RCU) 422 BTF_ID_FLAGS(func, bpf_cpumask_test_and_set_cpu, KF_RCU) 423 BTF_ID_FLAGS(func, bpf_cpumask_test_and_clear_cpu, KF_RCU) 424 BTF_ID_FLAGS(func, bpf_cpumask_setall, KF_RCU) 425 BTF_ID_FLAGS(func, bpf_cpumask_clear, KF_RCU) [all …]
|
H A D | helpers.c | 2545 BTF_ID_FLAGS(func, bpf_task_acquire, KF_ACQUIRE | KF_RCU | KF_RET_NULL) 2552 BTF_ID_FLAGS(func, bpf_cgroup_acquire, KF_ACQUIRE | KF_RCU | KF_RET_NULL) 2554 BTF_ID_FLAGS(func, bpf_cgroup_ancestor, KF_ACQUIRE | KF_RCU | KF_RET_NULL) 2556 BTF_ID_FLAGS(func, bpf_task_under_cgroup, KF_RCU)
|
H A D | verifier.c | 10456 return meta->kfunc_flags & KF_RCU; in is_kfunc_rcu()
|
/openbmc/linux/Documentation/bpf/ |
H A D | kfuncs.rst | 230 guaranteed to be valid (trusted or rcu, as in KF_RCU description below) as long 288 2.4.7 KF_RCU flag 291 The KF_RCU flag is a weaker version of KF_TRUSTED_ARGS. The kfuncs marked with 292 KF_RCU expect either PTR_TRUSTED or MEM_RCU arguments. The verifier guarantees 296 pointer. Note as well that a KF_ACQUIRE kfunc that is KF_RCU should very likely
|
/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 | 72 #define KF_RCU (1 << 7) /* kfunc takes either rcu or trusted pointer arguments */ macro
|