Home
last modified time | relevance | path

Searched refs:rcu_dereference_raw (Results 1 – 25 of 75) sorted by relevance

123

/linux-6.1.9/include/linux/
Drculist_nulls.h169 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; });)
Drculist.h706 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( \
Drbtree_latch.h109 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()
Dfdtable.h85 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()
Drculist_bl.h99 pos = rcu_dereference_raw(pos->next))
Dtracepoint.h170 rcu_dereference_raw((&__tracepoint_##name)->funcs); \
315 rcu_dereference_raw((&__tracepoint_##_name)->funcs); \
Drhashtable.h492 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))
/linux-6.1.9/lib/
Dradix-tree.c87 void __rcu **entry = rcu_dereference_raw(parent->slots[offset]); in radix_tree_descend()
389 struct radix_tree_node *node = rcu_dereference_raw(root->xa_head); in radix_tree_load_root()
418 entry = rcu_dereference_raw(root->xa_head); in radix_tree_extend()
471 struct radix_tree_node *node = rcu_dereference_raw(root->xa_head); in radix_tree_shrink()
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()
660 void *entry = rcu_dereference_raw(child->slots[offset]); in radix_tree_free_nodes()
877 void *old = rcu_dereference_raw(*slot); in __radix_tree_replace()
1207 void *slot = rcu_dereference_raw( in radix_tree_next_chunk()
[all …]
Didr.c208 ret = fn(id, rcu_dereference_raw(*slot), data); in idr_for_each()
237 entry = rcu_dereference_raw(*slot); in idr_get_next_ul()
/linux-6.1.9/net/netfilter/
Dnft_set_rbtree.c59 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()
Dnf_conncount.c411 parent = rcu_dereference_raw(root->rb_node); in count_tree()
419 parent = rcu_dereference_raw(parent->rb_left); in count_tree()
421 parent = rcu_dereference_raw(parent->rb_right); in count_tree()
Dcore.c191 p = rcu_dereference_raw(*pp); in nf_hook_entries_insert_raw()
537 p = rcu_dereference_raw(*pp); in nf_hook_entries_delete_raw()
/linux-6.1.9/fs/afs/
Dcallback.c122 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-6.1.9/net/rxrpc/
Dconn_service.c46 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-6.1.9/tools/testing/radix-tree/linux/
Drcupdate.h7 #define rcu_dereference_raw(p) rcu_dereference(p) macro
/linux-6.1.9/drivers/net/wireguard/selftest/
Dallowedips.c51 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-6.1.9/kernel/
Dnotifier.c75 nb = rcu_dereference_raw(*nl); in notifier_call_chain()
78 next_nb = rcu_dereference_raw(nb->next); in notifier_call_chain()
/linux-6.1.9/fs/
Dfile.c419 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in close_files()
858 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in __fget_files_rcu()
865 file = rcu_dereference_raw(*fdentry); in __fget_files_rcu()
893 if (unlikely(rcu_dereference_raw(files->fdt) != fdt) || in __fget_files_rcu()
894 unlikely(rcu_dereference_raw(*fdentry) != file)) { in __fget_files_rcu()
/linux-6.1.9/drivers/target/
Dtarget_core_device.c129 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()
415 struct se_device *dev = rcu_dereference_raw(lun->lun_se_dev); in core_disable_device_list_for_node()
644 struct se_device *dev = rcu_dereference_raw(lun->lun_se_dev); in core_dev_add_initiator_node_lun_acl()
/linux-6.1.9/net/ipv6/
Dseg6.c442 kfree(rcu_dereference_raw(sdata->tun_src)); in seg6_net_init()
459 kfree(rcu_dereference_raw(sdata->tun_src)); in seg6_net_exit()
/linux-6.1.9/fs/nfs/
Dsysfs.c129 kfree(rcu_dereference_raw(c->identifier)); in nfs_netns_client_release()
/linux-6.1.9/net/openvswitch/
Dflow_table.c517 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-6.1.9/net/ipv4/
Dinetpeer.c107 next = rcu_dereference_raw(*pp); in lookup()
/linux-6.1.9/kernel/bpf/
Ddevmap.c230 dev = rcu_dereference_raw(dtab->netdev_map[i]); in dev_map_free()
299 next_dev = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu(&dev->index_hlist)), in dev_map_hash_get_next_key()
314 next_dev = hlist_entry_safe(rcu_dereference_raw(hlist_first_rcu(head)), in dev_map_hash_get_next_key()
/linux-6.1.9/Documentation/RCU/
Drcu_dereference.rst376 First, please avoid using rcu_dereference_raw() and also please avoid
415 to this code, that is the rare case when rcu_dereference_raw()
416 is appropriate. In addition, rcu_dereference_raw() might be
422 so rcu_dereference_raw() does have its place.

123