/linux-master/arch/arm64/kvm/ |
H A D | psci.c | 113 WRITE_ONCE(vcpu->arch.mp_state.mp_state, KVM_MP_STATE_RUNNABLE); 180 WRITE_ONCE(tmp->arch.mp_state.mp_state, KVM_MP_STATE_STOPPED);
|
/linux-master/arch/powerpc/kernel/ |
H A D | watchdog.c | 120 WRITE_ONCE(__wd_reporting, 0); 588 WRITE_ONCE(wd_timeout_pct, pct);
|
/linux-master/mm/ |
H A D | page_ext.c | 336 WRITE_ONCE(ms->page_ext, NULL); 351 WRITE_ONCE(ms->page_ext, val);
|
H A D | vmscan.c | 531 WRITE_ONCE(pgdat->nr_reclaim_start, 2728 WRITE_ONCE(mm_state->filters[gen], filter); 2903 WRITE_ONCE(mm_state->stats[hist][i], 2912 WRITE_ONCE(mm_state->stats[hist][i], 0); 2952 WRITE_ONCE(mm_state->seq, mm_state->seq + 1); 2994 WRITE_ONCE(mm_state->seq, mm_state->seq + 1); 3067 WRITE_ONCE(lrugen->avg_refaulted[type][tier], sum / 2); 3073 WRITE_ONCE(lrugen->avg_total[type][tier], sum / 2); 3080 WRITE_ONCE(lrugen->protected[hist][type][tier - 1], 0); 3185 WRITE_ONCE(lruge [all...] |
/linux-master/arch/loongarch/include/asm/ |
H A D | atomic.h | 33 #define arch_atomic_set(v, i) WRITE_ONCE((v)->counter, (i)) 193 #define arch_atomic64_set(v, i) WRITE_ONCE((v)->counter, (i))
|
/linux-master/include/linux/ |
H A D | cgroup-defs.h | 858 WRITE_ONCE(skcd->prioidx, prioidx); 866 WRITE_ONCE(skcd->classid, classid);
|
/linux-master/arch/arm64/kvm/hyp/nvhe/ |
H A D | mm.c | 240 WRITE_ONCE(*ptep, pte); 251 WRITE_ONCE(*ptep, *ptep & ~KVM_PTE_VALID);
|
/linux-master/arch/riscv/include/asm/ |
H A D | atomic.h | 33 WRITE_ONCE(v->counter, i); 44 WRITE_ONCE(v->counter, i);
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_gt_tlb_invalidation.c | 116 WRITE_ONCE(gt->tlb_invalidation.seqno_recv, pending_seqno); 395 WRITE_ONCE(gt->tlb_invalidation.seqno_recv, msg[0]);
|
/linux-master/kernel/ |
H A D | kcov.c | 180 * interrupts, there are paired barrier()/WRITE_ONCE() in 221 WRITE_ONCE(area[0], pos); 255 WRITE_ONCE(area[0], count + 1); 358 WRITE_ONCE(t->kcov_mode, mode); 363 WRITE_ONCE(t->kcov_mode, KCOV_MODE_DISABLED); 971 WRITE_ONCE(*(unsigned long *)dst_area, dst_len + entries_moved); 974 WRITE_ONCE(*(u64 *)dst_area, dst_len + entries_moved);
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_lib.c | 927 WRITE_ONCE(adapter->tx_ring[txr_idx], ring); 955 WRITE_ONCE(adapter->xdp_ring[xdp_idx], ring); 998 WRITE_ONCE(adapter->rx_ring[rxr_idx], ring); 1027 WRITE_ONCE(adapter->xdp_ring[ring->queue_index], NULL); 1029 WRITE_ONCE(adapter->tx_ring[ring->queue_index], NULL); 1033 WRITE_ONCE(adapter->rx_ring[ring->queue_index], NULL);
|
/linux-master/drivers/dma/mediatek/ |
H A D | mtk-hsdma.c | 446 * the helper macro WRITE_ONCE can ensure the data written to 450 WRITE_ONCE(txd->desc1, hvd->src); 451 WRITE_ONCE(txd->desc2, 455 WRITE_ONCE(rxd->desc1, hvd->dest); 456 WRITE_ONCE(rxd->desc2, MTK_HSDMA_DESC_PLEN(tlen)); 606 * Recycle the RXD with the helper WRITE_ONCE that can ensure 609 WRITE_ONCE(rxd->desc1, 0); 610 WRITE_ONCE(rxd->desc2, 0);
|
/linux-master/mm/kfence/ |
H A D | core.c | 43 WRITE_ONCE(kfence_enabled, false); \ 74 WRITE_ONCE(kfence_enabled, false); 305 WRITE_ONCE(meta->state, next); 456 WRITE_ONCE(meta->cache, cache); 878 WRITE_ONCE(kfence_enabled, true); 974 WRITE_ONCE(kfence_enabled, true);
|
H A D | kfence_test.c | 71 WRITE_ONCE(observed.nlines, nlines); /* Publish new nlines. */ 365 WRITE_ONCE(*expect.addr, 42); 433 WRITE_ONCE(*expect.addr, 42); 439 WRITE_ONCE(*expect.addr, 42); 504 WRITE_ONCE(*expect.addr, READ_ONCE(*expect.addr) + 1);
|
/linux-master/drivers/gpu/drm/imagination/ |
H A D | pvr_mmu.c | 447 WRITE_ONCE(entry->val, 456 WRITE_ONCE(entry->val, 0); 568 WRITE_ONCE(entry->val, 585 WRITE_ONCE(entry->val, 0); 733 WRITE_ONCE(entry->val, PVR_PAGE_TABLE_FIELD_PREP(0, PT, VALID, true) | 742 WRITE_ONCE(entry->val, 0);
|
/linux-master/net/ipv4/ |
H A D | tcp_minisocks.c | 61 WRITE_ONCE(ao->rcv_sne, ao->rcv_sne + 1); 536 WRITE_ONCE(newtp->copied_seq, seq); 537 WRITE_ONCE(newtp->rcv_nxt, seq); 542 WRITE_ONCE(newtp->snd_nxt, seq); 558 WRITE_ONCE(newtp->write_seq, newtp->pushed_seq = treq->snt_isn + 1); 805 WRITE_ONCE(req->ts_recent, tmp_opt.rcv_tsval);
|
H A D | tcp_metrics.c | 56 /* Paired with the WRITE_ONCE() in tcpm_new() */ 63 /* Paired with WRITE_ONCE() in tcpm_suck_dst() */ 70 /* Paired with WRITE_ONCE() in tcp_metric_set() */ 79 WRITE_ONCE(tm->tcpm_vals[idx], val); 105 WRITE_ONCE(tm->tcpm_stamp, jiffies); 119 WRITE_ONCE(tm->tcpm_lock, val); 205 WRITE_ONCE(tm->tcpm_net, net); 457 WRITE_ONCE(tm->tcpm_stamp, jiffies);
|
/linux-master/net/9p/ |
H A D | trans_fd.c | 203 WRITE_ONCE(req->status, REQ_STATUS_ERROR); 207 WRITE_ONCE(req->status, REQ_STATUS_ERROR); 468 WRITE_ONCE(req->status, REQ_STATUS_SENT); 681 WRITE_ONCE(req->status, REQ_STATUS_UNSENT); 708 WRITE_ONCE(req->status, REQ_STATUS_FLSHD); 737 WRITE_ONCE(req->status, REQ_STATUS_FLSHD);
|
/linux-master/drivers/accel/ivpu/ |
H A D | ivpu_mmu.c | 661 WRITE_ONCE(entry[1], str[1]); 662 WRITE_ONCE(entry[0], str[0]); 733 WRITE_ONCE(entry[1], cd[1]); 734 WRITE_ONCE(entry[2], cd[2]); 735 WRITE_ONCE(entry[3], cd[3]); 736 WRITE_ONCE(entry[0], cd[0]);
|
/linux-master/net/netlink/ |
H A D | af_netlink.c | 355 WRITE_ONCE(sk->sk_err, ENOBUFS); 582 WRITE_ONCE(nlk_sk(sk)->portid, portid); 604 WRITE_ONCE(nlk_sk(sk)->bound, portid); 1030 /* Paired with WRITE_ONCE() in netlink_insert() */ 1101 WRITE_ONCE(sk->sk_state, NETLINK_UNCONNECTED); 1103 WRITE_ONCE(nlk->dst_portid, 0); 1104 WRITE_ONCE(nlk->dst_group, 0); 1119 * Paired with WRITE_ONCE() in netlink_insert(). 1126 WRITE_ONCE(sk->sk_state, NETLINK_CONNECTED); 1128 WRITE_ONCE(nl [all...] |
/linux-master/net/core/ |
H A D | neighbour.c | 291 WRITE_ONCE(tbl->last_flush, jiffies); 421 WRITE_ONCE(n->output, neigh_blackhole); 931 WRITE_ONCE(neigh->output, neigh->ops->output); 943 WRITE_ONCE(neigh->output, neigh->ops->connected_output); 967 WRITE_ONCE(tbl->last_rand, jiffies); 1107 WRITE_ONCE(neigh->nud_state, NUD_DELAY); 1113 WRITE_ONCE(neigh->nud_state, NUD_STALE); 1123 WRITE_ONCE(neigh->nud_state, NUD_REACHABLE); 1130 WRITE_ONCE(neigh->nud_state, NUD_PROBE); 1144 WRITE_ONCE(neig [all...] |
/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_core.c | 1261 WRITE_ONCE(sc->caller_is_done, true); 1268 WRITE_ONCE(sc->caller_is_done, true); 1453 WRITE_ONCE(sc->caller_is_done, 1); 1517 WRITE_ONCE(sc->caller_is_done, true); 1586 WRITE_ONCE(sc->caller_is_done, true); 1599 WRITE_ONCE(sc->caller_is_done, true); 1672 WRITE_ONCE(sc->caller_is_done, true); 1756 WRITE_ONCE(sc->caller_is_done, true); 1820 WRITE_ONCE(sc->caller_is_done, true);
|
/linux-master/drivers/md/dm-vdo/indexer/ |
H A D | volume.c | 119 WRITE_ONCE(cache->search_pending_counters[zone_number].atomic_value, 209 WRITE_ONCE(page->last_used, 0); 219 WRITE_ONCE(page->last_used, atomic64_inc_return(&cache->clock)); 246 WRITE_ONCE(cache->index[page->physical_page], cache->cache_slots); 278 WRITE_ONCE(cache->index[physical_page], page - cache->cache); 296 WRITE_ONCE(cache->index[physical_page], cache->cache_slots); 335 WRITE_ONCE(cache->index[physical_page], 388 WRITE_ONCE(cache->index[entry->physical_page], cache->cache_slots); 1038 WRITE_ONCE(cache->index[page->physical_page], cache->cache_slots);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | htb.c | 392 WRITE_ONCE(node->qid, MLX5E_QOS_QID_INNER); 504 WRITE_ONCE(node->qid, MLX5E_QOS_QID_INNER); 518 WRITE_ONCE(node->qid, qid); 572 WRITE_ONCE(node->qid, MLX5E_QOS_QID_INNER); 591 WRITE_ONCE(node->qid, qid);
|
/linux-master/arch/x86/events/intel/ |
H A D | bts.c | 254 WRITE_ONCE(bts->state, BTS_STATE_ACTIVE); 296 WRITE_ONCE(bts->state, state); 499 WRITE_ONCE(bts->state, BTS_STATE_STOPPED);
|