Home
last modified time | relevance | path

Searched refs:KF_RCU (Results 1 – 8 of 8) sorted by relevance

/linux/kernel/bpf/
H A Dcpumask.c429 BTF_ID_FLAGS(func, bpf_cpumask_first, KF_RCU)
430 BTF_ID_FLAGS(func, bpf_cpumask_first_zero, KF_RCU)
431 BTF_ID_FLAGS(func, bpf_cpumask_first_and, KF_RCU)
432 BTF_ID_FLAGS(func, bpf_cpumask_set_cpu, KF_RCU)
433 BTF_ID_FLAGS(func, bpf_cpumask_clear_cpu, KF_RCU)
434 BTF_ID_FLAGS(func, bpf_cpumask_test_cpu, KF_RCU)
435 BTF_ID_FLAGS(func, bpf_cpumask_test_and_set_cpu, KF_RCU)
436 BTF_ID_FLAGS(func, bpf_cpumask_test_and_clear_cpu, KF_RCU)
437 BTF_ID_FLAGS(func, bpf_cpumask_setall, KF_RCU)
438 BTF_ID_FLAGS(func, bpf_cpumask_clear, KF_RCU)
[all …]
H A Dcrypto.c351 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 Dhelpers.c3095 BTF_ID_FLAGS(func, bpf_refcount_acquire_impl, KF_ACQUIRE | KF_RET_NULL | KF_RCU)
3100 BTF_ID_FLAGS(func, bpf_task_acquire, KF_ACQUIRE | KF_RCU | KF_RET_NULL)
3107 BTF_ID_FLAGS(func, bpf_cgroup_acquire, KF_ACQUIRE | KF_RCU | KF_RET_NULL)
3109 BTF_ID_FLAGS(func, bpf_cgroup_ancestor, KF_ACQUIRE | KF_RCU | KF_RET_NULL)
3111 BTF_ID_FLAGS(func, bpf_task_under_cgroup, KF_RCU)
3112 BTF_ID_FLAGS(func, bpf_task_get_cgroup1, KF_ACQUIRE | KF_RCU | KF_RET_NULL)
3146 BTF_ID_FLAGS(func, bpf_iter_task_vma_new, KF_ITER_NEW | KF_RCU)
H A Dverifier.c11510 return meta->kfunc_flags & KF_RCU; in is_kfunc_rcu()
/linux/kernel/sched/
H A Dext.c6446 BTF_ID_FLAGS(func, scx_bpf_select_cpu_dfl, KF_RCU)
6605 BTF_ID_FLAGS(func, scx_bpf_dsq_insert, KF_RCU)
6606 BTF_ID_FLAGS(func, scx_bpf_dsq_insert_vtime, KF_RCU)
6607 BTF_ID_FLAGS(func, scx_bpf_dispatch, KF_RCU)
6608 BTF_ID_FLAGS(func, scx_bpf_dispatch_vtime, KF_RCU)
6923 BTF_ID_FLAGS(func, scx_bpf_dsq_move, KF_RCU)
6924 BTF_ID_FLAGS(func, scx_bpf_dsq_move_vtime, KF_RCU)
6927 BTF_ID_FLAGS(func, scx_bpf_dispatch_from_dsq, KF_RCU)
6928 BTF_ID_FLAGS(func, scx_bpf_dispatch_vtime_from_dsq, KF_RCU)
7027 BTF_ID_FLAGS(func, scx_bpf_dsq_move, KF_RCU)
[all …]
/linux/Documentation/bpf/
H A Dkfuncs.rst252 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/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_testmod.c621 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()
/linux/include/linux/
H A Dbtf.h72 #define KF_RCU (1 << 7) /* kfunc takes either rcu or trusted pointer arguments */ macro