Home
last modified time | relevance | path

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

123

/linux-6.6.21/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); \
325 rcu_dereference_raw((&__tracepoint_##_name)->funcs); \
Drhashtable.h500 pos = rcu_dereference_raw(pos->next))
516 pos = rcu_dereference_raw(pos->next))
563 for (pos = list; pos; pos = rcu_dereference_raw(pos->next))
577 pos = rcu_dereference_raw(pos->next))
/linux-6.6.21/lib/
Dradix-tree.c89 void __rcu **entry = rcu_dereference_raw(parent->slots[offset]); in radix_tree_descend()
391 struct radix_tree_node *node = rcu_dereference_raw(root->xa_head); in radix_tree_load_root()
420 entry = rcu_dereference_raw(root->xa_head); in radix_tree_extend()
473 struct radix_tree_node *node = rcu_dereference_raw(root->xa_head); in radix_tree_shrink()
486 child = rcu_dereference_raw(node->slots[0]); in radix_tree_shrink()
553 rcu_dereference_raw(root->xa_head)) in delete_node()
617 child = rcu_dereference_raw(root->xa_head); in __radix_tree_create()
662 void *entry = rcu_dereference_raw(child->slots[offset]); in radix_tree_free_nodes()
879 void *old = rcu_dereference_raw(*slot); in __radix_tree_replace()
1208 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.6.21/net/netfilter/
Dnft_set_rbtree.c65 parent = rcu_dereference_raw(priv->root.rb_node); in __nft_rbtree_lookup()
74 parent = rcu_dereference_raw(parent->rb_left); in __nft_rbtree_lookup()
82 parent = rcu_dereference_raw(parent->rb_right); in __nft_rbtree_lookup()
85 parent = rcu_dereference_raw(parent->rb_left); in __nft_rbtree_lookup()
95 parent = rcu_dereference_raw(parent->rb_left); in __nft_rbtree_lookup()
146 parent = rcu_dereference_raw(priv->root.rb_node); in __nft_rbtree_get()
156 parent = rcu_dereference_raw(parent->rb_left); in __nft_rbtree_get()
160 parent = rcu_dereference_raw(parent->rb_right); in __nft_rbtree_get()
165 parent = rcu_dereference_raw(parent->rb_left); in __nft_rbtree_get()
182 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.c203 p = rcu_dereference_raw(*pp); in nf_hook_entries_insert_raw()
549 p = rcu_dereference_raw(*pp); in nf_hook_entries_delete_raw()
/linux-6.6.21/net/rxrpc/
Dconn_service.c41 p = rcu_dereference_raw(peer->service_conns.rb_node); in rxrpc_find_service_conn_rcu()
46 p = rcu_dereference_raw(p->rb_left); in rxrpc_find_service_conn_rcu()
48 p = rcu_dereference_raw(p->rb_right); in rxrpc_find_service_conn_rcu()
/linux-6.6.21/fs/afs/
Dcallback.c123 p = rcu_dereference_raw(cell->volumes.rb_node); in afs_lookup_volume_rcu()
128 p = rcu_dereference_raw(p->rb_left); in afs_lookup_volume_rcu()
130 p = rcu_dereference_raw(p->rb_right); in afs_lookup_volume_rcu()
/linux-6.6.21/tools/testing/radix-tree/linux/
Drcupdate.h7 #define rcu_dereference_raw(p) rcu_dereference(p) macro
/linux-6.6.21/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.6.21/kernel/
Dnotifier.c80 nb = rcu_dereference_raw(*nl); in notifier_call_chain()
83 next_nb = rcu_dereference_raw(nb->next); in notifier_call_chain()
/linux-6.6.21/fs/
Dfile.c419 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in close_files()
861 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in __fget_files_rcu()
868 file = rcu_dereference_raw(*fdentry); in __fget_files_rcu()
896 if (unlikely(rcu_dereference_raw(files->fdt) != fdt) || in __fget_files_rcu()
897 unlikely(rcu_dereference_raw(*fdentry) != file)) { in __fget_files_rcu()
/linux-6.6.21/drivers/target/
Dtarget_core_device.c129 se_cmd->se_dev = rcu_dereference_raw(se_lun->lun_se_dev); in transport_lookup_cmd_lun()
177 se_cmd->se_dev = rcu_dereference_raw(se_lun->lun_se_dev); in transport_lookup_tmr_lun()
178 se_tmr->tmr_dev = rcu_dereference_raw(se_lun->lun_se_dev); in transport_lookup_tmr_lun()
410 struct se_device *dev = rcu_dereference_raw(lun->lun_se_dev); in core_disable_device_list_for_node()
598 struct se_device *dev = rcu_dereference_raw(lun->lun_se_dev); in core_dev_add_initiator_node_lun_acl()
/linux-6.6.21/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.6.21/net/openvswitch/
Dflow_table.c518 struct table_instance *ti = rcu_dereference_raw(table->ti); in ovs_flow_tbl_destroy()
519 struct table_instance *ufid_ti = rcu_dereference_raw(table->ufid_ti); in ovs_flow_tbl_destroy()
520 struct mask_cache *mc = rcu_dereference_raw(table->mask_cache); in ovs_flow_tbl_destroy()
521 struct mask_array *ma = rcu_dereference_raw(table->mask_array); in ovs_flow_tbl_destroy()
Dmeter.c759 struct dp_meter_instance *ti = rcu_dereference_raw(tbl->ti); in ovs_meters_exit()
763 ovs_meter_free(rcu_dereference_raw(ti->dp_meters[i])); in ovs_meters_exit()
/linux-6.6.21/net/ipv4/
Dinetpeer.c107 next = rcu_dereference_raw(*pp); in lookup()
/linux-6.6.21/Documentation/RCU/
Drcu_dereference.rst387 First, please avoid using rcu_dereference_raw() and also please avoid
426 to this code, that is the rare case when rcu_dereference_raw()
427 is appropriate. In addition, rcu_dereference_raw() might be
433 so rcu_dereference_raw() does have its place.
/linux-6.6.21/kernel/bpf/
Ddevmap.c226 dev = rcu_dereference_raw(dtab->netdev_map[i]); in dev_map_free()
295 next_dev = hlist_entry_safe(rcu_dereference_raw(hlist_next_rcu(&dev->index_hlist)), in dev_map_hash_get_next_key()
310 next_dev = hlist_entry_safe(rcu_dereference_raw(hlist_first_rcu(head)), in dev_map_hash_get_next_key()

123