/linux/kernel/bpf/ |
A D | lpm_trie.c | 366 rcu_assign_pointer(*slot, new_node); in trie_update_elem() 380 rcu_assign_pointer(*slot, new_node); in trie_update_elem() 391 rcu_assign_pointer(new_node->child[next_bit], node); in trie_update_elem() 392 rcu_assign_pointer(*slot, new_node); in trie_update_elem() 408 rcu_assign_pointer(im_node->child[0], node); in trie_update_elem() 409 rcu_assign_pointer(im_node->child[1], new_node); in trie_update_elem() 411 rcu_assign_pointer(im_node->child[0], new_node); in trie_update_elem() 412 rcu_assign_pointer(im_node->child[1], node); in trie_update_elem() 416 rcu_assign_pointer(*slot, im_node); in trie_update_elem() 500 rcu_assign_pointer( in trie_delete_elem() [all …]
|
/linux/include/linux/ |
A D | rculist.h | 84 rcu_assign_pointer(list_next_rcu(prev), new); in __list_add_rcu() 202 rcu_assign_pointer(list_next_rcu(new->prev), new); in list_replace_rcu() 262 rcu_assign_pointer(list_next_rcu(prev), first); in __list_splice_init_rcu() 531 rcu_assign_pointer(*(struct hlist_node __rcu **)new->pprev, new); in hlist_replace_rcu() 552 rcu_assign_pointer(left->first, node2); in hlists_swap_heads_rcu() 553 rcu_assign_pointer(right->first, node1); in hlists_swap_heads_rcu() 591 rcu_assign_pointer(hlist_first_rcu(h), n); in hlist_add_head_rcu() 627 rcu_assign_pointer(hlist_next_rcu(last), n); in hlist_add_tail_rcu() 656 rcu_assign_pointer(hlist_pprev_rcu(n), n); in hlist_add_before_rcu() 683 rcu_assign_pointer(hlist_next_rcu(prev), n); in hlist_add_behind_rcu()
|
A D | rcuwait.h | 47 rcu_assign_pointer(w->task, current); in prepare_to_rcuwait() 52 rcu_assign_pointer(w->task, NULL); in finish_rcuwait()
|
A D | rculist_nulls.h | 106 rcu_assign_pointer(hlist_nulls_first_rcu(h), n); in hlist_nulls_add_head_rcu() 142 rcu_assign_pointer(hlist_next_rcu(last), n); in hlist_nulls_add_tail_rcu()
|
A D | rbtree_augmented.h | 187 rcu_assign_pointer(parent->rb_left, new); in __rb_change_child_rcu() 189 rcu_assign_pointer(parent->rb_right, new); in __rb_change_child_rcu() 191 rcu_assign_pointer(root->rb_node, new); in __rb_change_child_rcu()
|
/linux/net/ipv6/ |
A D | ip6_fib.c | 845 rcu_assign_pointer(pn->right, ln); in fib6_add_1() 847 rcu_assign_pointer(pn->left, ln); in fib6_add_1() 906 rcu_assign_pointer(pn->right, in); in fib6_add_1() 908 rcu_assign_pointer(pn->left, in); in fib6_add_1() 917 rcu_assign_pointer(in->left, fn); in fib6_add_1() 919 rcu_assign_pointer(in->left, ln); in fib6_add_1() 949 rcu_assign_pointer(pn->left, ln); in fib6_add_1() 1248 rcu_assign_pointer(*ins, rt); in fib6_add_rt2node() 1279 rcu_assign_pointer(*ins, rt); in fib6_add_rt2node() 1426 rcu_assign_pointer(sfn->leaf, in fib6_add() [all …]
|
A D | mcast.c | 466 rcu_assign_pointer(pmc->sflist, psl); in ip6_mc_source() 573 rcu_assign_pointer(pmc->sflist, newpsl); in ip6_mc_msfilter() 754 rcu_assign_pointer(pmc->mca_tomb, in mld_add_delrec() 756 rcu_assign_pointer(pmc->mca_sources, in mld_add_delrec() 766 rcu_assign_pointer(idev->mc_tomb, pmc); in mld_add_delrec() 944 rcu_assign_pointer(idev->mc_list, mc); in __ipv6_dev_mc_inc() 1975 rcu_assign_pointer(*psf_list, in add_grec() 2051 rcu_assign_pointer(*ppsf, in mld_clear_zeros() 2305 rcu_assign_pointer(pmc->mca_sources, in ip6_mc_del1_src() 2311 rcu_assign_pointer(psf->sf_next, in ip6_mc_del1_src() [all …]
|
/linux/kernel/sched/ |
A D | cpufreq.c | 43 rcu_assign_pointer(per_cpu(cpufreq_update_util_data, cpu), data); in cpufreq_add_update_util_hook() 59 rcu_assign_pointer(per_cpu(cpufreq_update_util_data, cpu), NULL); in cpufreq_remove_update_util_hook()
|
/linux/net/openvswitch/ |
A D | flow_table.c | 267 rcu_assign_pointer(tbl->mask_array, new); in tbl_mask_array_realloc() 294 rcu_assign_pointer(ma->masks[ma_count], new); in tbl_mask_array_add_mask() 407 rcu_assign_pointer(table->mask_cache, new); in ovs_flow_tbl_masks_cache_resize() 435 rcu_assign_pointer(table->ti, ti); in ovs_flow_tbl_init() 436 rcu_assign_pointer(table->ufid_ti, ufid_ti); in ovs_flow_tbl_init() 437 rcu_assign_pointer(table->mask_array, ma); in ovs_flow_tbl_init() 438 rcu_assign_pointer(table->mask_cache, mc); in ovs_flow_tbl_init() 634 rcu_assign_pointer(flow_table->ti, new_ti); in ovs_flow_tbl_flush() 1054 rcu_assign_pointer(table->ti, new_ti); in flow_key_insert() 1076 rcu_assign_pointer(table->ufid_ti, new_ti); in flow_ufid_insert() [all …]
|
/linux/sound/soc/dwc/ |
A D | dwc-pcm.c | 205 rcu_assign_pointer(dev->tx_substream, substream); in dw_pcm_trigger() 208 rcu_assign_pointer(dev->rx_substream, substream); in dw_pcm_trigger() 215 rcu_assign_pointer(dev->tx_substream, NULL); in dw_pcm_trigger() 217 rcu_assign_pointer(dev->rx_substream, NULL); in dw_pcm_trigger()
|
/linux/tools/memory-model/litmus-tests/ |
A D | MP+onceassign+derefonce.litmus | 6 * This litmus test demonstrates that rcu_assign_pointer() and 19 rcu_assign_pointer(*p, x);
|
/linux/net/core/ |
A D | sock_reuseport.c | 153 rcu_assign_pointer(sk->sk_reuseport_cb, reuse); in reuseport_alloc() 206 rcu_assign_pointer(reuse->socks[i]->sk_reuseport_cb, in reuseport_grow() 273 rcu_assign_pointer(sk->sk_reuseport_cb, reuse); in reuseport_add_sock() 334 rcu_assign_pointer(sk->sk_reuseport_cb, reuse); in reuseport_resurrect() 364 rcu_assign_pointer(sk->sk_reuseport_cb, NULL); in reuseport_detach_sock() 608 rcu_assign_pointer(reuse->prog, prog); in reuseport_attach_prog()
|
/linux/drivers/iommu/ |
A D | ioasid.c | 162 rcu_assign_pointer(active_allocator, ia_data); in ioasid_register_allocator() 233 rcu_assign_pointer(active_allocator, &default_allocator); in ioasid_unregister_allocator() 235 rcu_assign_pointer(active_allocator, in ioasid_unregister_allocator() 277 rcu_assign_pointer(ioasid_data->private, data); in ioasid_set_data()
|
/linux/fs/ |
A D | file.c | 182 rcu_assign_pointer(files->fdt, new_fdt); in expand_fdtable() 366 rcu_assign_pointer(*new_fds++, f); in dup_fd() 373 rcu_assign_pointer(newf->fdt, new_fdt); in dup_fd() 519 rcu_assign_pointer(fdt->fd[fd], NULL); in alloc_fd() 585 rcu_assign_pointer(fdt->fd[fd], file); in fd_install() 593 rcu_assign_pointer(fdt->fd[fd], file); in fd_install() 625 rcu_assign_pointer(fdt->fd[fd], NULL); in pick_file() 781 rcu_assign_pointer(fdt->fd[fd], NULL); in __close_fd_get_file() 832 rcu_assign_pointer(fdt->fd[fd], NULL); in do_close_on_exec() 1102 rcu_assign_pointer(fdt->fd[fd], file); in do_dup2()
|
/linux/net/802/ |
A D | stp.c | 75 rcu_assign_pointer(stp_proto, proto); in stp_proto_register() 77 rcu_assign_pointer(garp_protos[proto->group_address[5] - in stp_proto_register()
|
/linux/net/bridge/ |
A D | br_mrp.c | 460 rcu_assign_pointer(mrp->p_port, NULL); in br_mrp_del_impl() 472 rcu_assign_pointer(mrp->s_port, NULL); in br_mrp_del_impl() 484 rcu_assign_pointer(mrp->i_port, NULL); in br_mrp_del_impl() 531 rcu_assign_pointer(mrp->p_port, p); in br_mrp_add() 538 rcu_assign_pointer(mrp->s_port, p); in br_mrp_add() 632 rcu_assign_pointer(mrp->p_port, p); in br_mrp_set_port_role() 635 rcu_assign_pointer(mrp->s_port, p); in br_mrp_set_port_role() 790 rcu_assign_pointer(mrp->i_port, NULL); in br_mrp_set_in_role() 814 rcu_assign_pointer(mrp->i_port, p); in br_mrp_set_in_role()
|
/linux/kernel/ |
A D | tracepoint.c | 360 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_add_func() 373 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_add_func() 421 rcu_assign_pointer(tp->funcs, NULL); in tracepoint_remove_func() 429 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_remove_func() 446 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_remove_func()
|
/linux/net/netfilter/ |
A D | nf_log.c | 55 rcu_assign_pointer(net->nf.nf_loggers[pf], logger); in nf_log_set() 97 rcu_assign_pointer(loggers[i][logger->type], logger); in nf_log_register() 103 rcu_assign_pointer(loggers[pf][logger->type], logger); in nf_log_register() 138 rcu_assign_pointer(net->nf.nf_loggers[pf], logger); in nf_log_bind_pf() 437 rcu_assign_pointer(net->nf.nf_loggers[tindex], logger); in nf_log_proc_dostring()
|
/linux/mm/ |
A D | mmap_lock.c | 66 rcu_assign_pointer(memcg_path->buf, NULL); in free_memcg_path_bufs() 101 rcu_assign_pointer(per_cpu_ptr(&memcg_paths, cpu)->buf, new); in trace_mmap_lock_reg()
|
/linux/net/sched/ |
A D | cls_route.c | 249 rcu_assign_pointer(tp->root, head); in route4_init() 434 rcu_assign_pointer(head->table[h1], b); in route4_set_parms() 526 rcu_assign_pointer(f->next, f1); in route4_change() 527 rcu_assign_pointer(*fp, f); in route4_change() 538 rcu_assign_pointer(*fp, fold->next); in route4_change()
|
/linux/Documentation/RCU/ |
A D | whatisRCU.rst | 141 d. rcu_assign_pointer() 227 rcu_assign_pointer() 229 void rcu_assign_pointer(p, typeof(p) v); 244 rcu_assign_pointer() is most frequently used indirectly, via 301 As with rcu_assign_pointer(), an important function of 305 And, again like rcu_assign_pointer(), rcu_dereference() is 335 rcu_assign_pointer() 436 rcu_assign_pointer(gbl_foo, new_fp); 539 rcu_assign_pointer(gbl_foo, new_fp); 642 #define rcu_assign_pointer(p, v) \ [all …]
|
A D | NMI-RCU.rst | 67 rcu_assign_pointer(nmi_callback, callback); 73 writes, the rcu_assign_pointer() ensures that the NMI handler sees the 78 rcu_assign_pointer(nmi_callback, dummy_nmi_callback);
|
/linux/net/netlabel/ |
A D | netlabel_domainhash.c | 385 rcu_assign_pointer(netlbl_domhsh, hsh_tbl); in netlbl_domhsh_init() 443 rcu_assign_pointer(netlbl_domhsh_def_ipv4, in netlbl_domhsh_add() 447 rcu_assign_pointer(netlbl_domhsh_def_ipv6, in netlbl_domhsh_add() 465 rcu_assign_pointer(netlbl_domhsh_def_ipv4, in netlbl_domhsh_add() 467 rcu_assign_pointer(netlbl_domhsh_def_ipv6, in netlbl_domhsh_add()
|
/linux/drivers/target/ |
A D | target_core_device.c | 358 rcu_assign_pointer(new->se_lun, lun); in core_enable_device_list_for_node() 359 rcu_assign_pointer(new->se_lun_acl, lun_acl); in core_enable_device_list_for_node() 377 rcu_assign_pointer(new->se_lun, lun); in core_enable_device_list_for_node() 378 rcu_assign_pointer(new->se_lun_acl, lun_acl); in core_enable_device_list_for_node() 437 rcu_assign_pointer(orig->se_lun, NULL); in core_disable_device_list_for_node() 438 rcu_assign_pointer(orig->se_lun_acl, NULL); in core_disable_device_list_for_node() 814 rcu_assign_pointer(xcopy_lun->lun_se_dev, dev); in target_alloc_device()
|
/linux/tools/include/linux/ |
A D | rcu.h | 22 #define rcu_assign_pointer(p, v) do { (p) = (v); } while (0) macro
|