Searched refs:KF_RCU (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/kernel/bpf/ |
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 …]
|
D | helpers.c | 2469 BTF_ID_FLAGS(func, bpf_task_acquire, KF_ACQUIRE | KF_RCU | KF_RET_NULL) 2476 BTF_ID_FLAGS(func, bpf_cgroup_acquire, KF_ACQUIRE | KF_RCU | KF_RET_NULL) 2478 BTF_ID_FLAGS(func, bpf_cgroup_ancestor, KF_ACQUIRE | KF_RCU | KF_RET_NULL) 2480 BTF_ID_FLAGS(func, bpf_task_under_cgroup, KF_RCU)
|
D | verifier.c | 10444 return meta->kfunc_flags & KF_RCU; in is_kfunc_rcu()
|
/linux-6.6.21/Documentation/bpf/ |
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
|
/linux-6.6.21/tools/testing/selftests/bpf/bpf_testmod/ |
D | bpf_testmod.c | 514 BTF_ID_FLAGS(func, bpf_kfunc_call_test_ref, KF_TRUSTED_ARGS | KF_RCU)
|
/linux-6.6.21/include/linux/ |
D | btf.h | 72 #define KF_RCU (1 << 7) /* kfunc takes either rcu or trusted pointer arguments */ macro
|