/linux/include/linux/ |
A D | rculist_nulls.h | 169 pos = rcu_dereference_raw(hlist_nulls_first_rcu(head)); \ 172 pos = rcu_dereference_raw(hlist_nulls_next_rcu(pos))) 184 pos = rcu_dereference_raw(hlist_nulls_first_rcu(head)); \ 187 pos = rcu_dereference_raw(hlist_nulls_next_rcu(pos)); 1; });)
|
A D | rculist.h | 706 pos = hlist_entry_safe(rcu_dereference_raw(hlist_first_rcu(head)),\ 709 pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu(\ 727 pos = hlist_entry_safe(rcu_dereference_raw(hlist_first_rcu(head)),\ 730 pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu(\ 776 for (pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu( \ 779 pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu( \ 801 pos = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu( \
|
A D | rbtree_latch.h | 109 struct rb_node *node = rcu_dereference_raw(ltr->tree[idx].rb_node); in __lt_find() 118 node = rcu_dereference_raw(node->rb_left); in __lt_find() 120 node = rcu_dereference_raw(node->rb_right); in __lt_find()
|
A D | fdtable.h | 85 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in files_lookup_fd_raw() 89 return rcu_dereference_raw(fdt->fd[fd]); in files_lookup_fd_raw()
|
A D | rculist_bl.h | 99 pos = rcu_dereference_raw(pos->next))
|
A D | rhashtable.h | 492 pos = rcu_dereference_raw(pos->next)) 508 pos = rcu_dereference_raw(pos->next)) 555 for (pos = list; pos; pos = rcu_dereference_raw(pos->next)) 569 pos = rcu_dereference_raw(pos->next))
|
A D | tracepoint.h | 170 rcu_dereference_raw((&__tracepoint_##name)->funcs); \ 315 rcu_dereference_raw((&__tracepoint_##_name)->funcs); \
|
/linux/lib/ |
A D | radix-tree.c | 418 entry = rcu_dereference_raw(root->xa_head); in radix_tree_extend() 484 child = rcu_dereference_raw(node->slots[0]); in radix_tree_shrink() 551 rcu_dereference_raw(root->xa_head)) in delete_node() 615 child = rcu_dereference_raw(root->xa_head); in __radix_tree_create() 877 void *old = rcu_dereference_raw(*slot); in __radix_tree_replace() 1207 void *slot = rcu_dereference_raw( in radix_tree_next_chunk() 1219 child = rcu_dereference_raw(node->slots[offset]); in radix_tree_next_chunk() 1272 results[ret] = rcu_dereference_raw(*slot); in radix_tree_gang_lookup() 1313 results[ret] = rcu_dereference_raw(*slot); in radix_tree_gang_lookup_tag() 1366 void *old = rcu_dereference_raw(*slot); in __radix_tree_delete() [all …]
|
A D | idr.c | 208 ret = fn(id, rcu_dereference_raw(*slot), data); in idr_for_each() 237 entry = rcu_dereference_raw(*slot); in idr_get_next_ul()
|
/linux/net/netfilter/ |
A D | nft_set_rbtree.c | 58 parent = rcu_dereference_raw(priv->root.rb_node); in __nft_rbtree_lookup() 68 parent = rcu_dereference_raw(parent->rb_left); in __nft_rbtree_lookup() 76 parent = rcu_dereference_raw(parent->rb_right); in __nft_rbtree_lookup() 79 parent = rcu_dereference_raw(parent->rb_left); in __nft_rbtree_lookup() 89 parent = rcu_dereference_raw(parent->rb_left); in __nft_rbtree_lookup() 140 parent = rcu_dereference_raw(priv->root.rb_node); in __nft_rbtree_get() 150 parent = rcu_dereference_raw(parent->rb_left); in __nft_rbtree_get() 154 parent = rcu_dereference_raw(parent->rb_right); in __nft_rbtree_get() 159 parent = rcu_dereference_raw(parent->rb_left); in __nft_rbtree_get() 176 parent = rcu_dereference_raw(parent->rb_left); in __nft_rbtree_get()
|
A D | nf_conncount.c | 400 parent = rcu_dereference_raw(root->rb_node); in count_tree() 408 parent = rcu_dereference_raw(parent->rb_left); in count_tree() 410 parent = rcu_dereference_raw(parent->rb_right); in count_tree()
|
/linux/fs/afs/ |
A D | callback.c | 122 p = rcu_dereference_raw(cell->volumes.rb_node); in afs_lookup_volume_rcu() 127 p = rcu_dereference_raw(p->rb_left); in afs_lookup_volume_rcu() 129 p = rcu_dereference_raw(p->rb_right); in afs_lookup_volume_rcu()
|
/linux/net/rxrpc/ |
A D | conn_service.c | 46 p = rcu_dereference_raw(peer->service_conns.rb_node); in rxrpc_find_service_conn_rcu() 51 p = rcu_dereference_raw(p->rb_left); in rxrpc_find_service_conn_rcu() 53 p = rcu_dereference_raw(p->rb_right); in rxrpc_find_service_conn_rcu()
|
/linux/tools/testing/radix-tree/linux/ |
A D | rcupdate.h | 7 #define rcu_dereference_raw(p) rcu_dereference(p) macro
|
/linux/drivers/net/wireguard/selftest/ |
A D | allowedips.c | 51 wg_allowedips_read_node(rcu_dereference_raw(node->bit[0]), ip2, &cidr2); in print_node() 55 wg_allowedips_read_node(rcu_dereference_raw(node->bit[1]), ip2, &cidr2); in print_node() 59 print_node(rcu_dereference_raw(node->bit[0]), bits); in print_node() 61 print_node(rcu_dereference_raw(node->bit[1]), bits); in print_node() 67 print_node(rcu_dereference_raw(top), bits); in print_tree()
|
/linux/net/decnet/ |
A D | dn_dev.c | 259 dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_forwarding_proc() 838 struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_send_endnode_hello() 904 struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_send_router_hello() 975 struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_send_brd_hello() 1013 struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_eth_up() 1027 struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_eth_down() 1064 struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); in dn_dev_set_timer()
|
/linux/kernel/ |
A D | notifier.c | 71 nb = rcu_dereference_raw(*nl); in notifier_call_chain() 74 next_nb = rcu_dereference_raw(nb->next); in notifier_call_chain()
|
/linux/fs/ |
A D | file.c | 390 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in close_files() 849 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in __fget_files_rcu() 856 file = rcu_dereference_raw(*fdentry); in __fget_files_rcu() 885 if (unlikely(rcu_dereference_raw(files->fdt) != fdt) || in __fget_files_rcu() 886 unlikely(rcu_dereference_raw(*fdentry) != file)) { in __fget_files_rcu()
|
/linux/drivers/target/ |
A D | target_core_device.c | 129 se_cmd->se_dev = rcu_dereference_raw(se_lun->lun_se_dev); in transport_lookup_cmd_lun() 178 se_cmd->se_dev = rcu_dereference_raw(se_lun->lun_se_dev); in transport_lookup_tmr_lun() 179 se_tmr->tmr_dev = rcu_dereference_raw(se_lun->lun_se_dev); in transport_lookup_tmr_lun() 400 struct se_device *dev = rcu_dereference_raw(lun->lun_se_dev); in core_disable_device_list_for_node() 635 struct se_device *dev = rcu_dereference_raw(lun->lun_se_dev); in core_dev_add_initiator_node_lun_acl()
|
/linux/net/ipv6/ |
A D | seg6.c | 437 kfree(rcu_dereference_raw(sdata->tun_src)); in seg6_net_init() 454 kfree(rcu_dereference_raw(sdata->tun_src)); in seg6_net_exit()
|
/linux/fs/nfs/ |
A D | sysfs.c | 129 kfree(rcu_dereference_raw(c->identifier)); in nfs_netns_client_release()
|
/linux/net/openvswitch/ |
A D | flow_table.c | 517 struct table_instance *ti = rcu_dereference_raw(table->ti); in ovs_flow_tbl_destroy() 518 struct table_instance *ufid_ti = rcu_dereference_raw(table->ufid_ti); in ovs_flow_tbl_destroy() 519 struct mask_cache *mc = rcu_dereference_raw(table->mask_cache); in ovs_flow_tbl_destroy() 520 struct mask_array *ma = rcu_dereference_raw(table->mask_array); in ovs_flow_tbl_destroy()
|
/linux/Documentation/RCU/ |
A D | rcu_dereference.rst | 370 First, please avoid using rcu_dereference_raw() and also please avoid 409 to this code, that is the rare case when rcu_dereference_raw() 410 is appropriate. In addition, rcu_dereference_raw() might be 416 so rcu_dereference_raw() does have its place.
|
/linux/kernel/bpf/ |
A D | devmap.c | 229 dev = rcu_dereference_raw(dtab->netdev_map[i]); in dev_map_free() 298 next_dev = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu(&dev->index_hlist)), in dev_map_hash_get_next_key() 313 next_dev = hlist_entry_safe(rcu_dereference_raw(hlist_first_rcu(head)), in dev_map_hash_get_next_key()
|
/linux/net/ipv4/ |
A D | inetpeer.c | 107 next = rcu_dereference_raw(*pp); in lookup()
|