/kernel/linux/linux-5.10/kernel/bpf/ |
D | lpm_trie.c | 364 rcu_assign_pointer(*slot, new_node); in trie_update_elem() 378 rcu_assign_pointer(*slot, new_node); in trie_update_elem() 389 rcu_assign_pointer(new_node->child[next_bit], node); in trie_update_elem() 390 rcu_assign_pointer(*slot, new_node); in trie_update_elem() 406 rcu_assign_pointer(im_node->child[0], node); in trie_update_elem() 407 rcu_assign_pointer(im_node->child[1], new_node); in trie_update_elem() 409 rcu_assign_pointer(im_node->child[0], new_node); in trie_update_elem() 410 rcu_assign_pointer(im_node->child[1], node); in trie_update_elem() 414 rcu_assign_pointer(*slot, im_node); in trie_update_elem() 498 rcu_assign_pointer( in trie_delete_elem() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | rculist.h | 93 rcu_assign_pointer(list_next_rcu(prev), new); in __list_add_rcu() 211 rcu_assign_pointer(list_next_rcu(new->prev), new); in list_replace_rcu() 271 rcu_assign_pointer(list_next_rcu(prev), first); in __list_splice_init_rcu() 532 rcu_assign_pointer(*(struct hlist_node __rcu **)new->pprev, new); in hlist_replace_rcu() 553 rcu_assign_pointer(left->first, node2); in hlists_swap_heads_rcu() 554 rcu_assign_pointer(right->first, node1); in hlists_swap_heads_rcu() 592 rcu_assign_pointer(hlist_first_rcu(h), n); in hlist_add_head_rcu() 628 rcu_assign_pointer(hlist_next_rcu(last), n); in hlist_add_tail_rcu() 657 rcu_assign_pointer(hlist_pprev_rcu(n), n); in hlist_add_before_rcu() 684 rcu_assign_pointer(hlist_next_rcu(prev), n); in hlist_add_behind_rcu()
|
D | rcuwait.h | 47 rcu_assign_pointer(w->task, current); in prepare_to_rcuwait() 52 rcu_assign_pointer(w->task, NULL); in finish_rcuwait()
|
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()
|
/kernel/linux/linux-5.10/kernel/sched/ |
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()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | ip6_fib.c | 244 rcu_assign_pointer(table->tb6_root.leaf, in fib6_alloc_table() 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() 913 rcu_assign_pointer(fn->parent, in); in fib6_add_1() 916 rcu_assign_pointer(in->right, ln); 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() 920 rcu_assign_pointer(in->right, fn); in fib6_add_1() [all …]
|
/kernel/linux/linux-5.10/tools/memory-model/litmus-tests/ |
D | MP+onceassign+derefonce.litmus | 6 * This litmus test demonstrates that rcu_assign_pointer() and 20 rcu_assign_pointer(*y, x);
|
/kernel/linux/linux-5.10/net/core/ |
D | sock_reuseport.c | 94 rcu_assign_pointer(sk->sk_reuseport_cb, reuse); in reuseport_alloc() 127 rcu_assign_pointer(reuse->socks[i]->sk_reuseport_cb, in reuseport_grow() 189 rcu_assign_pointer(sk->sk_reuseport_cb, reuse); in reuseport_add_sock() 218 rcu_assign_pointer(sk->sk_reuseport_cb, NULL); in reuseport_detach_sock() 347 rcu_assign_pointer(reuse->prog, prog); in reuseport_attach_prog()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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() 573 rcu_assign_pointer(fdt->fd[fd], NULL); in __alloc_fd() 648 rcu_assign_pointer(fdt->fd[fd], file); in __fd_install() 656 rcu_assign_pointer(fdt->fd[fd], file); in __fd_install() 684 rcu_assign_pointer(fdt->fd[fd], NULL); in pick_file() 801 rcu_assign_pointer(fdt->fd[fd], NULL); in __close_fd_get_file() 852 rcu_assign_pointer(fdt->fd[fd], NULL); in do_close_on_exec() 1086 rcu_assign_pointer(fdt->fd[fd], file); in do_dup2()
|
/kernel/linux/linux-5.10/net/sched/ |
D | sch_generic.c | 1052 rcu_assign_pointer(dev_queue->qdisc, &noop_qdisc); in dev_graft_qdisc() 1068 rcu_assign_pointer(dev_queue->qdisc, qdisc_default); in shutdown_scheduler_queue() 1107 rcu_assign_pointer(dev->qdisc, qdisc); in attach_default_qdiscs() 1112 rcu_assign_pointer(dev->qdisc, qdisc); in attach_default_qdiscs() 1126 rcu_assign_pointer(dev->qdisc, qdisc); in attach_default_qdiscs() 1147 rcu_assign_pointer(dev_queue->qdisc, new_qdisc); in transition_one_qdisc() 1200 rcu_assign_pointer(dev_queue->qdisc, qdisc_default); in dev_deactivate_queue() 1362 rcu_assign_pointer(dev_queue->qdisc, qdisc); in dev_init_scheduler_queue() 1368 rcu_assign_pointer(dev->qdisc, &noop_qdisc); in dev_init_scheduler() 1382 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() 535 rcu_assign_pointer(f->next, f1); in route4_change() 536 rcu_assign_pointer(*fp, f); in route4_change() 547 rcu_assign_pointer(*fp, fold->next); in route4_change()
|
/kernel/linux/linux-5.10/net/bridge/ |
D | br_mrp.c | 419 rcu_assign_pointer(mrp->p_port, NULL); in br_mrp_del_impl() 431 rcu_assign_pointer(mrp->s_port, NULL); in br_mrp_del_impl() 443 rcu_assign_pointer(mrp->i_port, NULL); in br_mrp_del_impl() 487 rcu_assign_pointer(mrp->p_port, p); in br_mrp_add() 494 rcu_assign_pointer(mrp->s_port, p); in br_mrp_add() 585 rcu_assign_pointer(mrp->p_port, p); in br_mrp_set_port_role() 588 rcu_assign_pointer(mrp->s_port, p); in br_mrp_set_port_role() 738 rcu_assign_pointer(mrp->i_port, NULL); in br_mrp_set_in_role() 762 rcu_assign_pointer(mrp->i_port, p); in br_mrp_set_in_role()
|
/kernel/linux/linux-5.10/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() 447 rcu_assign_pointer(net->nf.nf_loggers[tindex], logger); in nf_log_proc_dostring()
|
/kernel/linux/linux-5.10/kernel/ |
D | tracepoint.c | 381 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_add_func() 394 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_add_func() 442 rcu_assign_pointer(tp->funcs, NULL); in tracepoint_remove_func() 450 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_remove_func() 467 rcu_assign_pointer(tp->funcs, tp_funcs); in tracepoint_remove_func()
|
/kernel/linux/linux-5.10/tools/include/linux/ |
D | rcu.h | 22 #define rcu_assign_pointer(p, v) do { (p) = (v); } while (0) macro
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | tcp_fastopen.c | 62 rcu_assign_pointer(net->ipv4.tcp_fastopen_ctx, NULL); in tcp_fastopen_ctx_destroy() 97 rcu_assign_pointer(q->ctx, ctx); in tcp_fastopen_reset_cipher() 101 rcu_assign_pointer(net->ipv4.tcp_fastopen_ctx, ctx); in tcp_fastopen_reset_cipher() 279 rcu_assign_pointer(tp->fastopen_rsk, req); in tcp_fastopen_create_child()
|
/kernel/linux/linux-5.10/Documentation/RCU/ |
D | whatisRCU.rst | 141 d. rcu_assign_pointer() 227 rcu_assign_pointer() 229 void rcu_assign_pointer(p, typeof(p) v); 231 Yes, rcu_assign_pointer() **is** implemented as a macro, though it 244 rcu_assign_pointer() is most frequently used indirectly, via 251 Like rcu_assign_pointer(), rcu_dereference() must be implemented 301 As with rcu_assign_pointer(), an important function of 305 And, again like rcu_assign_pointer(), rcu_dereference() is 335 rcu_assign_pointer() 362 above shows the most common one. On the updater side, the rcu_assign_pointer(), [all …]
|
D | NMI-RCU.rst | 68 rcu_assign_pointer(nmi_callback, callback); 74 writes, the rcu_assign_pointer() ensures that the NMI handler sees the 79 rcu_assign_pointer(nmi_callback, dummy_nmi_callback);
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/lib/math/ |
D | prime_numbers.c | 152 rcu_assign_pointer(primes, new); in expand_to_next_prime() 168 rcu_assign_pointer(primes, &small_primes); in free_primes()
|