Searched refs:WRITE_ONCE (Results 101 - 125 of 791) sorted by relevance

1234567891011>>

/linux-master/drivers/firmware/efi/libstub/
H A Defi-stub-entry.c43 WRITE_ONCE(efi_system_table, systab);
/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_cccb.c28 WRITE_ONCE(ctrl->write_offset, 0);
29 WRITE_ONCE(ctrl->read_offset, 0);
30 WRITE_ONCE(ctrl->dep_offset, 0);
31 WRITE_ONCE(ctrl->wrap_mask, pvr_cccb->wrap_mask);
H A Dpvr_ccb.c83 WRITE_ONCE(pvr_ccb->ctrl->write_offset, 0);
84 WRITE_ONCE(pvr_ccb->ctrl->read_offset, 0);
85 WRITE_ONCE(pvr_ccb->ctrl->wrap_mask, num_cmds - 1);
86 WRITE_ONCE(pvr_ccb->ctrl->cmd_size, cmd_size);
174 WRITE_ONCE(ctrl->read_offset, (read_offset + 1) & READ_ONCE(ctrl->wrap_mask));
268 WRITE_ONCE(pvr_dev->kccb.rtn[old_write_offset],
272 WRITE_ONCE(ctrl->write_offset, new_write_offset);
/linux-master/include/net/
H A Drps.h77 /* The following WRITE_ONCE() is paired with the READ_ONCE()
81 WRITE_ONCE(table->ents[index], val);
116 /* This READ_ONCE() is paired with the WRITE_ONCE()
H A Dinet_frag.h131 WRITE_ONCE(fqdir->high_thresh, 0);
136 WRITE_ONCE(fqdir->dead, true);
/linux-master/drivers/md/dm-vdo/
H A Dfunnel-queue.c128 WRITE_ONCE(oldest->next, NULL);
/linux-master/include/linux/
H A Dpage_counter.h72 WRITE_ONCE(counter->high, nr_pages);
H A Dlist_bl.h99 WRITE_ONCE(*pprev,
123 WRITE_ONCE(*pprev,
H A Dstatic_call.h257 WRITE_ONCE(key->func, func);
333 WRITE_ONCE(key->func, func);
/linux-master/drivers/md/
H A Ddm-zone.c382 WRITE_ONCE(md->zwp_offset[zno], zwp_offset);
436 WRITE_ONCE(md->zwp_offset[zno], 0);
439 WRITE_ONCE(md->zwp_offset[zno],
444 WRITE_ONCE(md->zwp_offset[zno], zwp_offset + nr_sectors);
455 WRITE_ONCE(md->zwp_offset[zno], zwp_offset + nr_sectors);
631 WRITE_ONCE(md->zwp_offset[zno], DM_ZONE_INVALID_WP_OFST);
639 WRITE_ONCE(md->zwp_offset[zno],
/linux-master/arch/x86/kernel/
H A Dnmi.c521 WRITE_ONCE(nsp->idt_seq, nsp->idt_seq + 1);
523 WRITE_ONCE(nsp->recv_jiffies, jiffies);
539 WRITE_ONCE(nsp->idt_ignored, nsp->idt_ignored + 1);
542 WRITE_ONCE(nsp->idt_nmi_seq, nsp->idt_nmi_seq + 1);
547 WRITE_ONCE(nsp->idt_nmi_seq, nsp->idt_nmi_seq + 1);
561 WRITE_ONCE(nsp->idt_seq, nsp->idt_seq + 1);
563 WRITE_ONCE(nsp->recv_jiffies, jiffies);
/linux-master/net/mptcp/
H A Dprotocol.c79 WRITE_ONCE(msk->first, ssock->sk);
87 WRITE_ONCE(subflow->local_id, 0);
122 WRITE_ONCE(mptcp_sk(sk)->rmem_fwd_alloc,
369 WRITE_ONCE(msk->ack_seq, msk->ack_seq + copy_len);
428 WRITE_ONCE(msk->snd_data_fin_enable, 0);
590 WRITE_ONCE(msk->ack_seq, msk->ack_seq + 1);
591 WRITE_ONCE(msk->rcv_data_fin, 0);
593 WRITE_ONCE(sk->sk_shutdown, sk->sk_shutdown | RCV_SHUTDOWN);
638 WRITE_ONCE(sk->sk_rcvbuf, ssk_rbuf);
700 WRITE_ONCE(t
[all...]
H A Dsubflow.c436 WRITE_ONCE(msk->write_seq, subflow->idsn + 1);
437 WRITE_ONCE(msk->snd_nxt, msk->write_seq);
458 WRITE_ONCE(msk->remote_key, subflow->remote_key);
459 WRITE_ONCE(msk->ack_seq, subflow->iasn);
460 WRITE_ONCE(msk->can_ack, true);
475 WRITE_ONCE(msk->snd_una, subflow->idsn + 1);
476 WRITE_ONCE(msk->wnd_end, subflow->idsn + 1 + tcp_sk(ssk)->snd_wnd);
519 WRITE_ONCE(msk->csum_enabled, true);
521 WRITE_ONCE(msk->pm.remote_deny_join_id0, true);
537 WRITE_ONCE(subflo
[all...]
/linux-master/mm/kasan/
H A Dquarantine.c219 WRITE_ONCE(quarantine_size, quarantine_size + temp.bytes);
271 WRITE_ONCE(quarantine_max_size, new_quarantine_size);
273 WRITE_ONCE(quarantine_batch_size, max((size_t)QUARANTINE_PERCPU_SIZE,
278 WRITE_ONCE(quarantine_size, quarantine_size - to_free.bytes);
398 WRITE_ONCE(q->offline, true);
/linux-master/kernel/events/
H A Dring_buffer.c62 WRITE_ONCE(rb->nest, nest - 1);
110 WRITE_ONCE(rb->user_page->data_head, head);
118 WRITE_ONCE(rb->nest, 0);
126 WRITE_ONCE(rb->nest, 1);
410 WRITE_ONCE(rb->aux_nest, nest + 1);
439 WRITE_ONCE(rb->aux_nest, 0);
516 WRITE_ONCE(rb->user_page->aux_head, rb->aux_head);
528 WRITE_ONCE(rb->aux_nest, 0);
548 WRITE_ONCE(rb->user_page->aux_head, rb->aux_head);
/linux-master/kernel/rcu/
H A Dtree_exp.h142 WRITE_ONCE(rnp->expmask, rnp->expmaskinit);
211 WRITE_ONCE(rnp->expmask, rnp->expmask & ~mask);
243 WRITE_ONCE(rnp->expmask, rnp->expmask & ~mask);
259 WRITE_ONCE(rdp->cpu_no_qs.b.exp, false);
318 WRITE_ONCE(rnp->exp_seq_rq, s); /* Followers can wait on us. */
375 WRITE_ONCE(rnp->exp_tasks, rnp->blkd_tasks.next);
655 WRITE_ONCE(rnp->exp_seq_rq, s);
705 WRITE_ONCE(rdp->cpu_no_qs.b.exp, true);
727 WRITE_ONCE(rdp->cpu_no_qs.b.exp, true);
H A Dsrcutree.c266 WRITE_ONCE(ssp->srcu_sup->srcu_size_state, SRCU_SIZE_BIG);
631 WRITE_ONCE(sup->srcu_n_exp_nodelay, READ_ONCE(sup->srcu_n_exp_nodelay) + 1);
699 WRITE_ONCE(sdp->srcu_nmi_safety, nmi_safe_mask);
779 WRITE_ONCE(ssp->srcu_sup->srcu_gp_start, jiffies);
780 WRITE_ONCE(ssp->srcu_sup->srcu_n_exp_nodelay, 0);
868 WRITE_ONCE(sup->srcu_last_gp_end, ktime_get_mono_fast_ns());
872 WRITE_ONCE(sup->srcu_gp_seq_needed_exp, gpseq);
894 WRITE_ONCE(snp->srcu_gp_seq_needed_exp, gpseq);
967 WRITE_ONCE(snp->srcu_gp_seq_needed_exp, s);
972 WRITE_ONCE(ss
[all...]
H A Dtree_stall.h46 WRITE_ONCE(rcu_exp_cpu_stall_timeout, jiffies_to_msecs(till_stall_check));
67 WRITE_ONCE(rcu_cpu_stall_timeout, 3);
70 WRITE_ONCE(rcu_cpu_stall_timeout, 300);
162 WRITE_ONCE(rcu_state.nr_fqs_jiffies_stall, 3);
163 WRITE_ONCE(rcu_state.jiffies_stall, ULONG_MAX);
176 WRITE_ONCE(rcu_state.gp_start, j);
179 WRITE_ONCE(rcu_state.nr_fqs_jiffies_stall, 0);
180 WRITE_ONCE(rcu_state.jiffies_stall, j + j1);
190 WRITE_ONCE(rdp->last_fqs_resched, jiffies);
210 WRITE_ONCE(rcu_stat
[all...]
/linux-master/drivers/gpu/drm/xe/
H A Dxe_hw_engine_class_sysfs.c63 WRITE_ONCE(eclass->sched_props.job_timeout_max, timeout);
99 WRITE_ONCE(eclass->sched_props.job_timeout_min, timeout);
132 WRITE_ONCE(eclass->sched_props.job_timeout_ms, timeout);
198 WRITE_ONCE(eclass->sched_props.timeslice_us, duration);
223 WRITE_ONCE(eclass->sched_props.timeslice_max, duration);
261 WRITE_ONCE(eclass->sched_props.timeslice_min, duration);
341 WRITE_ONCE(eclass->sched_props.preempt_timeout_us, timeout);
413 WRITE_ONCE(eclass->sched_props.preempt_timeout_max, timeout);
450 WRITE_ONCE(eclass->sched_props.preempt_timeout_min, timeout);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dmap_kptr.c118 #define WRITE_ONCE(x, val) ((*(volatile typeof(x) *) &(x)) = (val)) macro
126 WRITE_ONCE(v->unref_ptr, p);
132 WRITE_ONCE(v->unref_ptr, p);
134 WRITE_ONCE(v->unref_ptr, NULL);
143 WRITE_ONCE(v->unref_ptr, p);
168 WRITE_ONCE(v->unref_ptr, p);
/linux-master/tools/testing/selftests/kvm/
H A Dsteal_time.c51 WRITE_ONCE(guest_stolen_time[cpu], st->steal);
58 WRITE_ONCE(guest_stolen_time[cpu], st->steal);
151 WRITE_ONCE(guest_stolen_time[cpu], st->st_time);
155 WRITE_ONCE(guest_stolen_time[cpu], st->st_time);
257 WRITE_ONCE(guest_stolen_time[cpu], st->steal);
264 WRITE_ONCE(guest_stolen_time[cpu], st->steal);
/linux-master/arch/arc/include/asm/
H A Dspinlock.h71 WRITE_ONCE(lock->slock, __ARCH_SPIN_LOCK_UNLOCKED__);
217 WRITE_ONCE(rw->counter, __ARCH_RW_LOCK_UNLOCKED__);
/linux-master/kernel/sched/
H A Dloadavg.c323 WRITE_ONCE(calc_load_update, sample_window + n * LOAD_FREQ);
372 WRITE_ONCE(calc_load_update, sample_window + LOAD_FREQ);
/linux-master/drivers/net/ethernet/cavium/liquidio/
H A Docteon_nic.c183 WRITE_ONCE(sc->caller_is_done, true);
197 WRITE_ONCE(sc->caller_is_done, true);
/linux-master/kernel/
H A Dfreezer.c137 WRITE_ONCE(p->__state, TASK_FROZEN);
189 WRITE_ONCE(p->__state, state);

Completed in 437 milliseconds

1234567891011>>