/linux-6.6.21/kernel/bpf/ |
D | lpm_trie.c | 370 rcu_assign_pointer(*slot, new_node); in trie_update_elem() 384 rcu_assign_pointer(*slot, new_node); in trie_update_elem() 395 rcu_assign_pointer(new_node->child[next_bit], node); in trie_update_elem() 396 rcu_assign_pointer(*slot, new_node); in trie_update_elem() 412 rcu_assign_pointer(im_node->child[0], node); in trie_update_elem() 413 rcu_assign_pointer(im_node->child[1], new_node); in trie_update_elem() 415 rcu_assign_pointer(im_node->child[0], new_node); in trie_update_elem() 416 rcu_assign_pointer(im_node->child[1], node); in trie_update_elem() 420 rcu_assign_pointer(*slot, im_node); in trie_update_elem() 504 rcu_assign_pointer( in trie_delete_elem() [all …]
|
/linux-6.6.21/include/linux/ |
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()
|
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_nulls_next_rcu(last), n); in hlist_nulls_add_tail_rcu()
|
D | rbtree_augmented.h | 213 rcu_assign_pointer(parent->rb_left, new); in __rb_change_child_rcu() 215 rcu_assign_pointer(parent->rb_right, new); in __rb_change_child_rcu() 217 rcu_assign_pointer(root->rb_node, new); in __rb_change_child_rcu()
|
/linux-6.6.21/net/ipv6/ |
D | ip6_fib.c | 245 rcu_assign_pointer(table->tb6_root.leaf, in fib6_alloc_table() 846 rcu_assign_pointer(pn->right, ln); in fib6_add_1() 848 rcu_assign_pointer(pn->left, ln); in fib6_add_1() 907 rcu_assign_pointer(pn->right, in); in fib6_add_1() 909 rcu_assign_pointer(pn->left, in); in fib6_add_1() 914 rcu_assign_pointer(fn->parent, in); in fib6_add_1() 917 rcu_assign_pointer(in->right, ln); in fib6_add_1() 918 rcu_assign_pointer(in->left, fn); in fib6_add_1() 920 rcu_assign_pointer(in->left, ln); in fib6_add_1() 921 rcu_assign_pointer(in->right, fn); in fib6_add_1() [all …]
|
D | mcast.c | 228 rcu_assign_pointer(np->ipv6_mc_list, mc_lst); in __ipv6_sock_mc_join() 464 rcu_assign_pointer(pmc->sflist, newpsl); in ip6_mc_source() 571 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() 765 rcu_assign_pointer(pmc->next, idev->mc_tomb); in mld_add_delrec() 766 rcu_assign_pointer(idev->mc_tomb, pmc); in mld_add_delrec() 784 rcu_assign_pointer(pmc_prev->next, pmc->next); in mld_del_delrec() 786 rcu_assign_pointer(idev->mc_tomb, pmc->next); in mld_del_delrec() 795 rcu_assign_pointer(pmc->mca_tomb, tomb); in mld_del_delrec() [all …]
|
/linux-6.6.21/kernel/sched/ |
D | cpufreq.c | 40 rcu_assign_pointer(per_cpu(cpufreq_update_util_data, cpu), data); in cpufreq_add_update_util_hook() 56 rcu_assign_pointer(per_cpu(cpufreq_update_util_data, cpu), NULL); in cpufreq_remove_update_util_hook()
|
/linux-6.6.21/tools/memory-model/litmus-tests/ |
D | MP+onceassign+derefonce.litmus | 6 * This litmus test demonstrates that rcu_assign_pointer() and 19 rcu_assign_pointer(*p, x);
|
/linux-6.6.21/net/sched/ |
D | sch_generic.c | 1123 rcu_assign_pointer(dev_queue->qdisc_sleeping, qdisc); in dev_graft_qdisc() 1124 rcu_assign_pointer(dev_queue->qdisc, &noop_qdisc); in dev_graft_qdisc() 1140 rcu_assign_pointer(dev_queue->qdisc, qdisc_default); in shutdown_scheduler_queue() 1141 rcu_assign_pointer(dev_queue->qdisc_sleeping, qdisc_default); in shutdown_scheduler_queue() 1165 rcu_assign_pointer(dev_queue->qdisc_sleeping, qdisc); in attach_one_default_qdisc() 1179 rcu_assign_pointer(dev->qdisc, qdisc); in attach_default_qdiscs() 1184 rcu_assign_pointer(dev->qdisc, qdisc); in attach_default_qdiscs() 1198 rcu_assign_pointer(dev->qdisc, qdisc); in attach_default_qdiscs() 1219 rcu_assign_pointer(dev_queue->qdisc, new_qdisc); in transition_one_qdisc() 1272 rcu_assign_pointer(dev_queue->qdisc, qdisc_default); in dev_deactivate_queue() [all …]
|
D | cls_route.c | 251 rcu_assign_pointer(tp->root, head); in route4_init() 441 rcu_assign_pointer(head->table[h1], b); in route4_set_parms() 537 rcu_assign_pointer(f->next, f1); in route4_change() 538 rcu_assign_pointer(*fp, f); in route4_change() 549 rcu_assign_pointer(*fp, fold->next); in route4_change()
|
/linux-6.6.21/sound/soc/dwc/ |
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-6.6.21/net/openvswitch/ |
D | flow_table.c | 268 rcu_assign_pointer(tbl->mask_array, new); in tbl_mask_array_realloc() 295 rcu_assign_pointer(ma->masks[ma_count], new); in tbl_mask_array_add_mask() 319 rcu_assign_pointer(ma->masks[i], ma->masks[ma_count - 1]); in tbl_mask_array_del_mask() 408 rcu_assign_pointer(table->mask_cache, new); in ovs_flow_tbl_masks_cache_resize() 436 rcu_assign_pointer(table->ti, ti); in ovs_flow_tbl_init() 437 rcu_assign_pointer(table->ufid_ti, ufid_ti); in ovs_flow_tbl_init() 438 rcu_assign_pointer(table->mask_array, ma); in ovs_flow_tbl_init() 439 rcu_assign_pointer(table->mask_cache, mc); in ovs_flow_tbl_init() 635 rcu_assign_pointer(flow_table->ti, new_ti); in ovs_flow_tbl_flush() 636 rcu_assign_pointer(flow_table->ufid_ti, new_ufid_ti); in ovs_flow_tbl_flush() [all …]
|
/linux-6.6.21/net/802/ |
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-6.6.21/net/core/ |
D | sock_reuseport.c | 238 rcu_assign_pointer(sk->sk_reuseport_cb, reuse); in reuseport_alloc() 292 rcu_assign_pointer(reuse->socks[i]->sk_reuseport_cb, in reuseport_grow() 359 rcu_assign_pointer(sk->sk_reuseport_cb, reuse); in reuseport_add_sock() 420 rcu_assign_pointer(sk->sk_reuseport_cb, reuse); in reuseport_resurrect() 450 rcu_assign_pointer(sk->sk_reuseport_cb, NULL); in reuseport_detach_sock() 708 rcu_assign_pointer(reuse->prog, prog); in reuseport_attach_prog()
|
/linux-6.6.21/net/ipv6/netfilter/ |
D | nf_defrag_ipv6_hooks.c | 125 rcu_assign_pointer(nf_defrag_v6_hook, &defrag_hook); in nf_defrag_init() 137 rcu_assign_pointer(nf_defrag_v6_hook, NULL); in nf_defrag_fini()
|
/linux-6.6.21/net/bridge/ |
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-6.6.21/fs/ |
D | file.c | 198 rcu_assign_pointer(files->fdt, new_fdt); in expand_fdtable() 395 rcu_assign_pointer(*new_fds++, f); in dup_fd() 402 rcu_assign_pointer(newf->fdt, new_fdt); in dup_fd() 548 rcu_assign_pointer(fdt->fd[fd], NULL); in alloc_fd() 614 rcu_assign_pointer(fdt->fd[fd], file); in fd_install() 622 rcu_assign_pointer(fdt->fd[fd], file); in fd_install() 648 rcu_assign_pointer(fdt->fd[fd], NULL); in pick_file() 844 rcu_assign_pointer(fdt->fd[fd], NULL); in do_close_on_exec() 1131 rcu_assign_pointer(fdt->fd[fd], file); in do_dup2()
|
/linux-6.6.21/kernel/ |
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-6.6.21/include/net/ |
D | tcx.h | 68 rcu_assign_pointer(dev->tcx_ingress, entry); in tcx_entry_update() 70 rcu_assign_pointer(dev->tcx_egress, entry); in tcx_entry_update()
|
/linux-6.6.21/net/ipv4/netfilter/ |
D | nf_defrag_ipv4.c | 135 rcu_assign_pointer(nf_defrag_v4_hook, &defrag_hook); in nf_defrag_init() 141 rcu_assign_pointer(nf_defrag_v4_hook, NULL); in nf_defrag_fini()
|
/linux-6.6.21/mm/ |
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-6.6.21/net/netfilter/ |
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() 438 rcu_assign_pointer(net->nf.nf_loggers[tindex], logger); in nf_log_proc_dostring()
|
/linux-6.6.21/tools/include/linux/ |
D | rcu.h | 22 #define rcu_assign_pointer(p, v) do { (p) = (v); } while (0) macro
|
/linux-6.6.21/Documentation/RCU/ |
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-6.6.21/net/netlabel/ |
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()
|