Home
last modified time | relevance | path

Searched refs:bpf_rcu_lock_held (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/kernel/bpf/
Dbpf_inode_storage.c49 rcu_dereference_check(bsb->storage, bpf_rcu_lock_held()); in inode_storage_lookup()
178 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_5()
211 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_2()
Dbpf_task_storage.c64 rcu_dereference_check(task->bpf_storage, bpf_rcu_lock_held()); in task_storage_lookup()
236 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_5()
268 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_2()
Dbpf_local_storage.c115 smap = rcu_dereference_check(SDATA(selem)->smap, bpf_rcu_lock_held()); in bpf_selem_unlink_storage_nolock()
173 bpf_rcu_lock_held()); in __bpf_selem_unlink_storage()
206 smap = rcu_dereference_check(SDATA(selem)->smap, bpf_rcu_lock_held()); in bpf_selem_unlink_map()
246 bpf_rcu_lock_held()); in bpf_local_storage_lookup()
382 bpf_rcu_lock_held()); in bpf_local_storage_update()
/Linux-v6.1/net/core/
Dbpf_sk_storage.c27 rcu_dereference_check(sk->sk_bpf_storage, bpf_rcu_lock_held()); in bpf_sk_storage_lookup()
264 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_5()
295 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_2()
427 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_5()
438 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_2()
/Linux-v6.1/include/linux/
Dbpf_local_storage.h20 #define bpf_rcu_lock_held() \ macro