/linux-master/kernel/ |
H A D | workqueue.c | 172 * WO: wq->mutex protected for writes. Updated with WRITE_ONCE() and can be read 1418 WRITE_ONCE(worker->sleeping, 0); 1447 WRITE_ONCE(worker->sleeping, 1); 4024 WRITE_ONCE(wq->first_flusher, NULL); 5497 WRITE_ONCE(wq->max_active, new_max); 5498 WRITE_ONCE(wq->min_active, new_min); 6417 * WRITE_ONCE() is necessary because @worker->flags may be 6426 WRITE_ONCE(worker->flags, worker_flags);
|
/linux-master/kernel/sched/ |
H A D | fair.c | 2115 WRITE_ONCE(rq->numa_migrate_on, 0); 2535 WRITE_ONCE(best_rq->numa_migrate_on, 0); 2542 WRITE_ONCE(best_rq->numa_migrate_on, 0); 3165 * statistical sampling. Use READ_ONCE/WRITE_ONCE, which are not 3168 WRITE_ONCE(p->mm->numa_scan_seq, READ_ONCE(p->mm->numa_scan_seq) + 1); 3630 WRITE_ONCE(*ptr, res); \ 3647 WRITE_ONCE(*ptr, res); \ 4864 WRITE_ONCE(cfs_rq->avg.util_est, enqueued); 4880 WRITE_ONCE(cfs_rq->avg.util_est, enqueued); 4969 WRITE_ONCE( [all...] |
/linux-master/arch/riscv/include/asm/ |
H A D | pgtable.h | 245 WRITE_ONCE(*pmdp, pmd); 513 WRITE_ONCE(*ptep, pteval);
|
/linux-master/net/unix/ |
H A D | garbage.c | 128 WRITE_ONCE(unix_tot_inflight, unix_tot_inflight + 1); 131 WRITE_ONCE(user->unix_inflight, user->unix_inflight + 1); 151 WRITE_ONCE(unix_tot_inflight, unix_tot_inflight - 1); 154 WRITE_ONCE(user->unix_inflight, user->unix_inflight - 1); 372 WRITE_ONCE(gc_in_progress, false); 381 WRITE_ONCE(gc_in_progress, true); 393 * Paired with the WRITE_ONCE() in unix_inflight(),
|
/linux-master/net/tls/ |
H A D | tls_strp.c | 23 WRITE_ONCE(strp->sk->sk_err, -err); 363 WRITE_ONCE(strp->msg_ready, 1); 531 WRITE_ONCE(strp->msg_ready, 1); 583 WRITE_ONCE(strp->msg_ready, 0);
|
/linux-master/net/openvswitch/ |
H A D | conntrack.c | 347 WRITE_ONCE(ct->mark, new_mark);
|
/linux-master/net/ipv6/ |
H A D | udp.c | 1137 WRITE_ONCE(up->pending, 0); 1315 WRITE_ONCE(up->pending, 0); 1596 WRITE_ONCE(up->pending, AF_INET6); 1610 WRITE_ONCE(up->pending, 0);
|
/linux-master/net/ipv4/ |
H A D | udp.c | 814 WRITE_ONCE(up->pending, 0); 1002 WRITE_ONCE(up->pending, 0); 1279 WRITE_ONCE(up->pending, AF_INET); 1291 WRITE_ONCE(up->pending, 0); 2643 WRITE_ONCE(udp_sk(sk)->gro_receive, xfrm4_gro_udp_encap_rcv); 2645 WRITE_ONCE(udp_sk(sk)->gro_receive, ipv6_stub->xfrm6_gro_udp_encap_rcv); 2668 WRITE_ONCE(up->forward_threshold, sk->sk_rcvbuf >> 2); 2704 WRITE_ONCE(up->encap_rcv, 2708 WRITE_ONCE(up->encap_rcv, 2713 WRITE_ONCE(u [all...] |
H A D | tcp_ao.c | 986 WRITE_ONCE(info->current_key, key); 1154 WRITE_ONCE(ao->risn, tcp_hdr(skb)->seq); 1720 WRITE_ONCE(ao_info->current_key, key); 1722 WRITE_ONCE(ao_info->rnext_key, key); 1765 WRITE_ONCE(ao_info->current_key, new_current); 1767 WRITE_ONCE(ao_info->rnext_key, new_rnext); 1999 WRITE_ONCE(ao_info->current_key, new_current); 2001 WRITE_ONCE(ao_info->rnext_key, new_rnext); 2366 WRITE_ONCE(ao->lisn, cmd.snt_isn); 2367 WRITE_ONCE(a [all...] |
H A D | icmp.c | 246 * with the following WRITE_ONCE() in this same function. 259 WRITE_ONCE(icmp_global.stamp, now); 270 WRITE_ONCE(icmp_global.credit, credit);
|
/linux-master/net/bridge/ |
H A D | br_netlink.c | 1078 WRITE_ONCE(p->backup_nhid, backup_nhid); 1550 WRITE_ONCE(br->fdb_max_learned, val);
|
/linux-master/net/bluetooth/ |
H A D | mgmt.c | 5117 WRITE_ONCE(params->flags, current_flags);
|
H A D | hci_sync.c | 2274 WRITE_ONCE(p->privacy_mode, HCI_NETWORK_PRIVACY);
|
H A D | hci_event.c | 1579 WRITE_ONCE(params->privacy_mode, cp->mode);
|
/linux-master/lib/ |
H A D | stackdepot.c | 258 WRITE_ONCE(new_pool, *prealloc); 277 WRITE_ONCE(new_pool, NULL); 279 WRITE_ONCE(new_pool, STACK_DEPOT_POISON); 282 WRITE_ONCE(pools_num, pools_num + 1); 302 WRITE_ONCE(new_pool, *prealloc);
|
/linux-master/include/net/ |
H A D | sock.h | 685 WRITE_ONCE(sk->sk_peek_off, off); 1006 WRITE_ONCE(sk->sk_ack_backlog, sk->sk_ack_backlog - 1); 1011 WRITE_ONCE(sk->sk_ack_backlog, sk->sk_ack_backlog + 1); 1038 WRITE_ONCE(sk->sk_wmem_queued, sk->sk_wmem_queued + val); 1044 WRITE_ONCE(sk->sk_forward_alloc, sk->sk_forward_alloc + val); 1056 WRITE_ONCE(sk->sk_backlog.head, skb); 1060 WRITE_ONCE(sk->sk_backlog.tail, skb); 1117 WRITE_ONCE(sk->sk_incoming_cpu, cpu); 1125 /* The following WRITE_ONCE() is paired with the READ_ONCE() 1129 WRITE_ONCE(s [all...] |
/linux-master/include/linux/ |
H A D | page-flags.h | 857 WRITE_ONCE(page->compound_head, (unsigned long)head + 1); 862 WRITE_ONCE(page->compound_head, 0);
|
H A D | mm.h | 732 * We should use WRITE_ONCE() here because we can have concurrent reads 735 * we should use WRITE_ONCE() for cleanliness and to keep KCSAN happy. 737 WRITE_ONCE(vma->vm_lock_seq, mm_lock_seq); 854 WRITE_ONCE(ACCESS_PRIVATE(vma, __vm_flags), flags);
|
/linux-master/drivers/net/ |
H A D | gtp.c | 633 WRITE_ONCE(udp_sk(sk)->encap_type, 0);
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 11623 WRITE_ONCE(vsi->tx_rings[i], NULL); 11624 WRITE_ONCE(vsi->rx_rings[i], NULL); 11626 WRITE_ONCE(vsi->xdp_rings[i], NULL); 11660 WRITE_ONCE(vsi->tx_rings[i], ring++); 11678 WRITE_ONCE(vsi->xdp_rings[i], ring++); 11691 WRITE_ONCE(vsi->rx_rings[i], ring); 13303 WRITE_ONCE(vsi->rx_rings[i]->xdp_prog, vsi->xdp_prog);
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 588 WRITE_ONCE(txr->tx_prod, prod); 707 WRITE_ONCE(txr->tx_prod, prod); 826 WRITE_ONCE(txr->tx_cons, cons); 4557 WRITE_ONCE(token->state, BNXT_HWRM_CANCELLED); 9464 WRITE_ONCE(*sw, sw_tmp); 10664 WRITE_ONCE(txr->dev_state, BNXT_DEV_STATE_CLOSING); 10682 WRITE_ONCE(txr->dev_state, 0);
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_svm.c | 1676 WRITE_ONCE(p->svms.faulting_task, current); 1680 WRITE_ONCE(p->svms.faulting_task, NULL); 2869 WRITE_ONCE(pdd->faults, pdd->faults + 1); 3442 WRITE_ONCE(fence->svm_bo->evicting, 1);
|
H A D | kfd_process.c | 2141 WRITE_ONCE(p->irq_drain_is_open, false);
|
H A D | kfd_migrate.c | 460 WRITE_ONCE(pdd->page_in, pdd->page_in + mpages); 767 WRITE_ONCE(pdd->page_out, pdd->page_out + mpages);
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | sdma_v4_4_2.c | 219 WRITE_ONCE(*wb, (ring->wptr << 2)); 277 WRITE_ONCE(*wb, (ring->wptr << 2));
|