Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dbpf_task_storage.c61 rcu_dereference_check(task->bpf_storage, bpf_rcu_lock_held()); in task_storage_lookup()
237 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_5()
255 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_5()
272 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_2()
292 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_2()
H A Dbpf_local_storage.c276 smap = rcu_dereference_check(SDATA(selem)->smap, bpf_rcu_lock_held()); in bpf_selem_free_list()
293 smap = rcu_dereference_check(SDATA(selem)->smap, bpf_rcu_lock_held()); in bpf_selem_unlink_storage_nolock()
363 bpf_rcu_lock_held()); in check_storage_bpf_ma()
369 selem_smap = rcu_dereference_check(SDATA(selem)->smap, bpf_rcu_lock_held()); in check_storage_bpf_ma()
388 bpf_rcu_lock_held()); in bpf_selem_unlink_storage()
390 bpf_rcu_lock_held()); in bpf_selem_unlink_storage()
422 smap = rcu_dereference_check(SDATA(selem)->smap, bpf_rcu_lock_held()); in bpf_selem_unlink_map()
578 bpf_rcu_lock_held()); in bpf_local_storage_update()
740 storage_smap = rcu_dereference_check(local_storage->smap, bpf_rcu_lock_held()); in bpf_local_storage_destroy()
H A Dbpf_inode_storage.c48 rcu_dereference_check(bsb->storage, bpf_rcu_lock_held()); in inode_storage_lookup()
135 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_5()
168 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_2()
H A Dbpf_cgrp_storage.c69 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/include/linux/
H A Dbpf_local_storage.h21 #define bpf_rcu_lock_held() \ macro
152 bpf_rcu_lock_held()); in bpf_local_storage_lookup()
/linux/net/core/
H A Dbpf_sk_storage.c27 rcu_dereference_check(sk->sk_bpf_storage, bpf_rcu_lock_held()); in bpf_sk_storage_lookup()
232 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_5()
263 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_2()
385 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_5()
396 WARN_ON_ONCE(!bpf_rcu_lock_held()); in BPF_CALL_2()