Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/bpf/
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()
254 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_5()
271 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_2()
291 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_2()
Dbpf_local_storage.c261 smap = rcu_dereference_check(SDATA(selem)->smap, bpf_rcu_lock_held()); in bpf_selem_unlink_storage_nolock()
331 bpf_rcu_lock_held()); in check_storage_bpf_ma()
337 selem_smap = rcu_dereference_check(SDATA(selem)->smap, bpf_rcu_lock_held()); in check_storage_bpf_ma()
355 bpf_rcu_lock_held()); in bpf_selem_unlink_storage()
357 bpf_rcu_lock_held()); in bpf_selem_unlink_storage()
387 smap = rcu_dereference_check(SDATA(selem)->smap, bpf_rcu_lock_held()); in bpf_selem_unlink_map()
428 bpf_rcu_lock_held()); in bpf_local_storage_lookup()
572 bpf_rcu_lock_held()); in bpf_local_storage_update()
738 storage_smap = rcu_dereference_check(local_storage->smap, bpf_rcu_lock_held()); in bpf_local_storage_destroy()
Dbpf_inode_storage.c49 rcu_dereference_check(bsb->storage, bpf_rcu_lock_held()); in inode_storage_lookup()
143 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_5()
176 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_2()
Dbpf_cgrp_storage.c70 bpf_rcu_lock_held()); in cgroup_storage_lookup()
166 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_5()
195 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_2()
/linux-6.6.21/net/core/
Dbpf_sk_storage.c27 rcu_dereference_check(sk->sk_bpf_storage, bpf_rcu_lock_held()); in bpf_sk_storage_lookup()
229 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_5()
260 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_2()
392 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_5()
403 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_2()
/linux-6.6.21/include/linux/
Dbpf_local_storage.h21 #define bpf_rcu_lock_held() \ macro