Searched refs:KF_RCU (Results 1 – 9 of 9) sorted by relevance
| /linux-6.15/kernel/bpf/ |
| H A D | cpumask.c | 481 BTF_ID_FLAGS(func, bpf_cpumask_first, KF_RCU) 489 BTF_ID_FLAGS(func, bpf_cpumask_setall, KF_RCU) 490 BTF_ID_FLAGS(func, bpf_cpumask_clear, KF_RCU) 491 BTF_ID_FLAGS(func, bpf_cpumask_and, KF_RCU) 492 BTF_ID_FLAGS(func, bpf_cpumask_or, KF_RCU) 493 BTF_ID_FLAGS(func, bpf_cpumask_xor, KF_RCU) 494 BTF_ID_FLAGS(func, bpf_cpumask_equal, KF_RCU) 496 BTF_ID_FLAGS(func, bpf_cpumask_subset, KF_RCU) 497 BTF_ID_FLAGS(func, bpf_cpumask_empty, KF_RCU) 498 BTF_ID_FLAGS(func, bpf_cpumask_full, KF_RCU) [all …]
|
| H A D | crypto.c | 351 BTF_ID_FLAGS(func, bpf_crypto_ctx_acquire, KF_ACQUIRE | KF_RCU | KF_RET_NULL) 360 BTF_ID_FLAGS(func, bpf_crypto_decrypt, KF_RCU) 361 BTF_ID_FLAGS(func, bpf_crypto_encrypt, KF_RCU)
|
| H A D | helpers.c | 3207 BTF_ID_FLAGS(func, bpf_refcount_acquire_impl, KF_ACQUIRE | KF_RET_NULL | KF_RCU) 3212 BTF_ID_FLAGS(func, bpf_task_acquire, KF_ACQUIRE | KF_RCU | KF_RET_NULL) 3219 BTF_ID_FLAGS(func, bpf_cgroup_acquire, KF_ACQUIRE | KF_RCU | KF_RET_NULL) 3221 BTF_ID_FLAGS(func, bpf_cgroup_ancestor, KF_ACQUIRE | KF_RCU | KF_RET_NULL) 3223 BTF_ID_FLAGS(func, bpf_task_under_cgroup, KF_RCU) 3224 BTF_ID_FLAGS(func, bpf_task_get_cgroup1, KF_ACQUIRE | KF_RCU | KF_RET_NULL) 3258 BTF_ID_FLAGS(func, bpf_iter_task_vma_new, KF_ITER_NEW | KF_RCU)
|
| H A D | verifier.c | 11816 return meta->kfunc_flags & KF_RCU; in is_kfunc_rcu()
|
| /linux-6.15/kernel/sched/ |
| H A D | ext_idle.c | 1139 BTF_ID_FLAGS(func, scx_bpf_pick_idle_cpu_node, KF_RCU) 1140 BTF_ID_FLAGS(func, scx_bpf_pick_idle_cpu, KF_RCU) 1141 BTF_ID_FLAGS(func, scx_bpf_pick_any_cpu_node, KF_RCU) 1142 BTF_ID_FLAGS(func, scx_bpf_pick_any_cpu, KF_RCU) 1151 BTF_ID_FLAGS(func, scx_bpf_select_cpu_dfl, KF_RCU)
|
| H A D | ext.c | 6255 BTF_ID_FLAGS(func, scx_bpf_dsq_insert, KF_RCU) 6256 BTF_ID_FLAGS(func, scx_bpf_dsq_insert_vtime, KF_RCU) 6257 BTF_ID_FLAGS(func, scx_bpf_dispatch, KF_RCU) 6258 BTF_ID_FLAGS(func, scx_bpf_dispatch_vtime, KF_RCU) 6573 BTF_ID_FLAGS(func, scx_bpf_dsq_move, KF_RCU) 6574 BTF_ID_FLAGS(func, scx_bpf_dsq_move_vtime, KF_RCU) 6577 BTF_ID_FLAGS(func, scx_bpf_dispatch_from_dsq, KF_RCU) 6681 BTF_ID_FLAGS(func, scx_bpf_dsq_move, KF_RCU) 6682 BTF_ID_FLAGS(func, scx_bpf_dsq_move_vtime, KF_RCU) 7378 BTF_ID_FLAGS(func, scx_bpf_task_running, KF_RCU) [all …]
|
| /linux-6.15/Documentation/bpf/ |
| H A D | kfuncs.rst | 252 guaranteed to be valid (trusted or rcu, as in KF_RCU description below) as long 310 2.4.7 KF_RCU flag 313 The KF_RCU flag is a weaker version of KF_TRUSTED_ARGS. The kfuncs marked with 314 KF_RCU expect either PTR_TRUSTED or MEM_RCU arguments. The verifier guarantees 318 pointer. Note as well that a KF_ACQUIRE kfunc that is KF_RCU should very likely
|
| /linux-6.15/include/linux/ |
| H A D | btf.h | 72 #define KF_RCU (1 << 7) /* kfunc takes either rcu or trusted pointer arguments */ macro
|
| /linux-6.15/tools/testing/selftests/bpf/test_kmods/ |
| H A D | bpf_testmod.c | 621 BTF_ID_FLAGS(func, bpf_kfunc_rcu_task_test, KF_RCU) 1078 BTF_ID_FLAGS(func, bpf_kfunc_call_test_ref, KF_TRUSTED_ARGS | KF_RCU) in BTF_ID_FLAGS()
|