/linux-6.1.9/kernel/bpf/ |
D | lpm_trie.c | 367 rcu_assign_pointer(*slot, new_node); in trie_update_elem() 381 rcu_assign_pointer(*slot, new_node); in trie_update_elem() 392 rcu_assign_pointer(new_node->child[next_bit], node); in trie_update_elem() 393 rcu_assign_pointer(*slot, new_node); in trie_update_elem() 409 rcu_assign_pointer(im_node->child[0], node); in trie_update_elem() 410 rcu_assign_pointer(im_node->child[1], new_node); in trie_update_elem() 412 rcu_assign_pointer(im_node->child[0], new_node); in trie_update_elem() 413 rcu_assign_pointer(im_node->child[1], node); in trie_update_elem() 417 rcu_assign_pointer(*slot, im_node); in trie_update_elem() 501 rcu_assign_pointer( in trie_delete_elem() [all …]
|
/linux-6.1.9/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_next_rcu(last), n); in hlist_nulls_add_tail_rcu()
|
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()
|
D | rcuwait.h | 47 rcu_assign_pointer(w->task, current); in prepare_to_rcuwait()
|
/linux-6.1.9/net/ipv6/ |
D | ip6_fib.c | 246 rcu_assign_pointer(table->tb6_root.leaf, in fib6_alloc_table() 847 rcu_assign_pointer(pn->right, ln); in fib6_add_1() 849 rcu_assign_pointer(pn->left, ln); in fib6_add_1() 908 rcu_assign_pointer(pn->right, in); in fib6_add_1() 910 rcu_assign_pointer(pn->left, in); in fib6_add_1() 915 rcu_assign_pointer(fn->parent, in); in fib6_add_1() 918 rcu_assign_pointer(in->right, ln); in fib6_add_1() 919 rcu_assign_pointer(in->left, fn); in fib6_add_1() 921 rcu_assign_pointer(in->left, ln); in fib6_add_1() 922 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.1.9/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()
|
D | topology.c | 452 rcu_assign_pointer(rd->pd, pd); in build_perf_domains() 461 rcu_assign_pointer(rd->pd, NULL); in build_perf_domains() 687 rcu_assign_pointer(per_cpu(sd_llc, cpu), sd); in update_top_cache_domain() 690 rcu_assign_pointer(per_cpu(sd_llc_shared, cpu), sds); in update_top_cache_domain() 693 rcu_assign_pointer(per_cpu(sd_numa, cpu), sd); in update_top_cache_domain() 696 rcu_assign_pointer(per_cpu(sd_asym_packing, cpu), sd); in update_top_cache_domain() 699 rcu_assign_pointer(per_cpu(sd_asym_cpucapacity, cpu), sd); in update_top_cache_domain() 758 rcu_assign_pointer(rq->sd, sd); in cpu_attach_domain() 1853 rcu_assign_pointer(sched_domains_numa_distance, distances); in sched_init_numa() 1908 rcu_assign_pointer(sched_domains_numa_masks, masks); in sched_init_numa() [all …]
|
/linux-6.1.9/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.1.9/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.1.9/net/openvswitch/ |
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() 318 rcu_assign_pointer(ma->masks[i], ma->masks[ma_count - 1]); in tbl_mask_array_del_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() 635 rcu_assign_pointer(flow_table->ufid_ti, new_ufid_ti); in ovs_flow_tbl_flush() [all …]
|
/linux-6.1.9/drivers/iommu/ |
D | ioasid.c | 161 rcu_assign_pointer(active_allocator, ia_data); in ioasid_register_allocator() 232 rcu_assign_pointer(active_allocator, &default_allocator); in ioasid_unregister_allocator() 234 rcu_assign_pointer(active_allocator, in ioasid_unregister_allocator() 276 rcu_assign_pointer(ioasid_data->private, data); in ioasid_set_data()
|
/linux-6.1.9/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.1.9/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.1.9/net/sched/ |
D | sch_generic.c | 1116 rcu_assign_pointer(dev_queue->qdisc, &noop_qdisc); in dev_graft_qdisc() 1132 rcu_assign_pointer(dev_queue->qdisc, qdisc_default); in shutdown_scheduler_queue() 1171 rcu_assign_pointer(dev->qdisc, qdisc); in attach_default_qdiscs() 1176 rcu_assign_pointer(dev->qdisc, qdisc); in attach_default_qdiscs() 1190 rcu_assign_pointer(dev->qdisc, qdisc); in attach_default_qdiscs() 1211 rcu_assign_pointer(dev_queue->qdisc, new_qdisc); in transition_one_qdisc() 1264 rcu_assign_pointer(dev_queue->qdisc, qdisc_default); in dev_deactivate_queue() 1451 rcu_assign_pointer(dev_queue->qdisc, qdisc); in dev_init_scheduler_queue() 1457 rcu_assign_pointer(dev->qdisc, &noop_qdisc); in dev_init_scheduler() 1471 rcu_assign_pointer(dev->qdisc, &noop_qdisc); in dev_shutdown() [all …]
|
D | cls_route.c | 249 rcu_assign_pointer(tp->root, head); in route4_init() 439 rcu_assign_pointer(head->table[h1], b); in route4_set_parms() 536 rcu_assign_pointer(f->next, f1); in route4_change() 537 rcu_assign_pointer(*fp, f); in route4_change() 548 rcu_assign_pointer(*fp, fold->next); in route4_change()
|
/linux-6.1.9/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() 647 rcu_assign_pointer(fdt->fd[fd], NULL); in pick_file() 841 rcu_assign_pointer(fdt->fd[fd], NULL); in do_close_on_exec() 1114 rcu_assign_pointer(fdt->fd[fd], file); in do_dup2()
|
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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() 437 rcu_assign_pointer(net->nf.nf_loggers[tindex], logger); in nf_log_proc_dostring()
|
/linux-6.1.9/tools/include/linux/ |
D | rcu.h | 22 #define rcu_assign_pointer(p, v) do { (p) = (v); } while (0) macro
|
/linux-6.1.9/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.1.9/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()
|