Home
last modified time | relevance | path

Searched refs:rcu_dereference_check (Results 1 – 25 of 51) sorted by relevance

123

/linux-5.19.10/kernel/bpf/
Dbpf_local_storage.c115 smap = rcu_dereference_check(SDATA(selem)->smap, bpf_rcu_lock_held()); in bpf_selem_unlink_storage_nolock()
172 local_storage = rcu_dereference_check(selem->local_storage, in __bpf_selem_unlink_storage()
206 smap = rcu_dereference_check(SDATA(selem)->smap, bpf_rcu_lock_held()); in bpf_selem_unlink_map()
245 sdata = rcu_dereference_check(local_storage->cache[smap->cache_idx], in bpf_local_storage_lookup()
381 local_storage = rcu_dereference_check(*owner_storage(smap, owner), in bpf_local_storage_update()
Dbpf_inode_storage.c49 rcu_dereference_check(bsb->storage, bpf_rcu_lock_held()); in inode_storage_lookup()
Dlpm_trie.c236 for (node = rcu_dereference_check(trie->root, rcu_read_lock_bh_held()); in trie_lookup_elem()
269 node = rcu_dereference_check(node->child[next_bit], in trie_lookup_elem()
Dbpf_task_storage.c64 rcu_dereference_check(task->bpf_storage, bpf_rcu_lock_held()); in task_storage_lookup()
Ddevmap.c437 obj = rcu_dereference_check(dtab->netdev_map[key], in __dev_map_lookup_elem()
603 dst = rcu_dereference_check(dtab->netdev_map[i], in dev_map_enqueue_multi()
721 dst = rcu_dereference_check(dtab->netdev_map[i], in dev_map_redirect_multi()
/linux-5.19.10/tools/testing/radix-tree/linux/
Drcupdate.h9 #define rcu_dereference_check(p, cond) rcu_dereference(p) macro
/linux-5.19.10/Documentation/RCU/
Dlockdep.rst38 rcu_dereference_check(p, c):
67 The rcu_dereference_check() check expression can be any boolean
72 file = rcu_dereference_check(fdt->fd[fd],
Drcu_dereference.rst371 using rcu_dereference_check() and rcu_dereference_protected() with a
385 use rcu_dereference_check(), for example::
387 p1 = rcu_dereference_check(p->rcu_protected_pointer,
393 the other, again use rcu_dereference_check(), for example::
395 p1 = rcu_dereference_check(p->rcu_protected_pointer,
420 Ditto for its synonym, rcu_dereference_check( ... , 1), and
/linux-5.19.10/include/linux/
Drculist_bl.h24 ((unsigned long)rcu_dereference_check(h->first, hlist_bl_is_locked(h)) & ~LIST_BL_LOCKMASK); in hlist_bl_first_rcu()
Dnetfilter_netdev.h97 e = rcu_dereference_check(dev->nf_hooks_egress, rcu_read_lock_bh_held()); in nf_hook_egress()
Dfdtable.h75 rcu_dereference_check((fdtfd), lockdep_is_held(&(files)->file_lock))
Drtnetlink.h61 rcu_dereference_check(p, lockdep_rtnl_is_held())
Drcupdate.h531 #define rcu_dereference_check(p, c) \ macro
604 #define rcu_dereference(p) rcu_dereference_check(p, 0)
Dxarray.h1167 return rcu_dereference_check(xa->xa_head, in xa_head()
1183 return rcu_dereference_check(node->slots[offset], in xa_entry()
1200 return rcu_dereference_check(node->parent, in xa_parent()
Ddmar.h100 #define dmar_rcu_dereference(p) rcu_dereference_check((p), dmar_rcu_check())
Drhashtable.h275 rcu_dereference_check(p, lockdep_rht_mutex_is_held(ht))
281 rcu_dereference_check(p, lockdep_rht_bucket_is_held(tbl, hash))
/linux-5.19.10/drivers/crypto/nx/
Dnx-common-pseries.c752 old_devdata = rcu_dereference_check(devdata, in nx842_OF_upd()
1047 old_devdata = rcu_dereference_check(devdata, in nx842_probe()
1124 old_devdata = rcu_dereference_check(devdata, in nx842_remove()
1256 old_devdata = rcu_dereference_check(devdata, in nx842_pseries_exit()
/linux-5.19.10/net/openvswitch/
Ddatapath.h191 rcu_dereference_check(p, lockdep_ovsl_is_held())
/linux-5.19.10/drivers/dma-buf/
Ddma-resv.c76 tmp = (long)rcu_dereference_check(list->table[index], in dma_resv_list_entry()
159 return rcu_dereference_check(obj->fences, dma_resv_held(obj)); in dma_resv_fences_list()
/linux-5.19.10/drivers/target/
Dtarget_core_device.c247 struct se_lun *lun = rcu_dereference_check(deve->se_lun, in core_free_device_list_for_node()
337 struct se_lun *orig_lun = rcu_dereference_check(orig->se_lun, in core_enable_device_list_for_node()
460 struct se_lun *tmp_lun = rcu_dereference_check(deve->se_lun, in core_clear_lun_from_tpg()
Dtarget_core_pr.c742 lacl_tmp = rcu_dereference_check(deve_tmp->se_lun_acl, in __core_scsi3_alloc_registration()
787 dest_lun = rcu_dereference_check(deve_tmp->se_lun, in __core_scsi3_alloc_registration()
1445 lun_acl = rcu_dereference_check(se_deve->se_lun_acl, in core_scsi3_lunacl_depend_item()
1460 lun_acl = rcu_dereference_check(se_deve->se_lun_acl, in core_scsi3_lunacl_undepend_item()
1754 dest_lun = rcu_dereference_check(dest_se_deve->se_lun, in core_scsi3_decode_spec_i_port()
3449 struct se_lun *dest_lun = rcu_dereference_check(dest_se_deve->se_lun, in core_scsi3_emulate_pro_register_and_move()
Dtarget_core_alua.c937 lacl = rcu_dereference_check(se_deve->se_lun_acl, in core_alua_queue_state_change_ua()
1845 tg_pt_gp = rcu_dereference_check(lun->lun_tg_pt_gp, in target_detach_tg_pt_gp()
1936 tg_pt_gp = rcu_dereference_check(lun->lun_tg_pt_gp, in core_alua_store_tg_pt_gp_info()
Dtarget_core_tpg.c117 dev = rcu_dereference_check(lun->lun_se_dev, in core_tpg_add_node_to_devs()
/linux-5.19.10/kernel/cgroup/
Ddebug.c217 css = rcu_dereference_check(cgrp->subsys[ss->id], true); in cgroup_subsys_states_read()
/linux-5.19.10/net/xdp/
Dxskmap.c140 return rcu_dereference_check(m->xsk_map[key], rcu_read_lock_bh_held()); in __xsk_map_lookup_elem()

123