Searched refs:WRITE_ONCE (Results 51 - 75 of 791) sorted by relevance

1234567891011>>

/linux-master/arch/s390/include/asm/
H A Dbarrier.h42 WRITE_ONCE(*p, v); \
/linux-master/mm/
H A Dpage_counter.c84 WRITE_ONCE(c->watermark, new);
137 WRITE_ONCE(c->watermark, new);
214 WRITE_ONCE(counter->min, nr_pages);
231 WRITE_ONCE(counter->low, nr_pages);
/linux-master/kernel/time/
H A Dclocksource-wdtest.c62 WRITE_ONCE(wdtest_ktime_read_ndelays, wkrn - 1);
151 WRITE_ONCE(wdtest_ktime_read_ndelays, i);
161 WRITE_ONCE(wdtest_ktime_read_fuzz, true);
165 WRITE_ONCE(wdtest_ktime_read_fuzz, false);
/linux-master/kernel/rcu/
H A Dtiny.c61 WRITE_ONCE(rcu_ctrlblk.gp_seq, rcu_ctrlblk.gp_seq + 2);
101 WRITE_ONCE(head->func, (rcu_callback_t)0L);
158 WRITE_ONCE(rcu_ctrlblk.gp_seq, rcu_ctrlblk.gp_seq + 2);
183 WRITE_ONCE(head->func, tiny_rcu_leak_callback);
H A Dtree.c426 WRITE_ONCE(jiffies_to_sched_qs, jiffies_till_sched_qs);
435 WRITE_ONCE(jiffies_to_sched_qs, j);
444 WRITE_ONCE(*(ulong *)kp->arg, (j > HZ) ? HZ : j);
456 WRITE_ONCE(*(ulong *)kp->arg, (j > HZ) ? HZ : (j ?: 1));
639 WRITE_ONCE(rdp->rcu_forced_tick, true);
672 WRITE_ONCE(rdp->rcu_urgent_qs, false);
673 WRITE_ONCE(rdp->rcu_need_heavy_qs, false);
676 WRITE_ONCE(rdp->rcu_forced_tick, false);
736 WRITE_ONCE(rdp->gpwrap, true);
837 WRITE_ONCE(rd
[all...]
/linux-master/tools/testing/selftests/livepatch/test_modules/
H A Dtest_klp_callbacks_busy.c61 WRITE_ONCE(block_transition, false);
/linux-master/arch/riscv/include/asm/
H A Dbarrier.h35 WRITE_ONCE(*p, v); \
/linux-master/include/asm-generic/
H A Dbarrier.h127 #define __smp_store_mb(var, value) do { WRITE_ONCE(var, value); __smp_mb(); } while (0)
143 WRITE_ONCE(*p, v); \
182 #define smp_store_mb(var, value) do { WRITE_ONCE(var, value); barrier(); } while (0)
197 WRITE_ONCE(*p, v); \
/linux-master/arch/x86/include/asm/
H A Dbarrier.h67 WRITE_ONCE(*p, v); \
H A Dpgtable_64.h67 WRITE_ONCE(*ptep, pte);
83 WRITE_ONCE(*pmdp, pmd);
119 WRITE_ONCE(*pudp, pud);
148 WRITE_ONCE(*p4dp, p4d);
154 WRITE_ONCE(*p4dp, native_make_p4d(native_pgd_val(pgd)));
164 WRITE_ONCE(*pgdp, pti_set_user_pgtbl(pgdp, pgd));
/linux-master/arch/s390/kernel/
H A Didle.c46 WRITE_ONCE(idle->idle_time, READ_ONCE(idle->idle_time) + idle_time);
47 WRITE_ONCE(idle->idle_count, READ_ONCE(idle->idle_count) + 1);
/linux-master/arch/sparc/include/asm/
H A Datomic_64.h20 #define arch_atomic_set(v, i) WRITE_ONCE(((v)->counter), (i))
21 #define arch_atomic64_set(v, i) WRITE_ONCE(((v)->counter), (i))
/linux-master/arch/riscv/kvm/
H A Dvmid.c93 WRITE_ONCE(vmid_version, READ_ONCE(vmid_version) + 1);
117 WRITE_ONCE(vmid->vmid_version, READ_ONCE(vmid_version));
/linux-master/drivers/net/wireless/realtek/rtw89/
H A Dchan.h57 WRITE_ONCE(hal->entity_active, active);
73 WRITE_ONCE(hal->entity_mode, mode);
/linux-master/tools/include/linux/
H A Drbtree_augmented.h176 WRITE_ONCE(parent->rb_left, new);
178 WRITE_ONCE(parent->rb_right, new);
180 WRITE_ONCE(root->rb_node, new);
258 WRITE_ONCE(parent->rb_left, child2);
259 WRITE_ONCE(successor->rb_right, child);
267 WRITE_ONCE(successor->rb_left, tmp);
/linux-master/fs/smb/server/
H A Dconnection.h203 WRITE_ONCE(conn->status, KSMBD_SESS_NEW);
208 WRITE_ONCE(conn->status, KSMBD_SESS_GOOD);
213 WRITE_ONCE(conn->status, KSMBD_SESS_NEED_NEGOTIATE);
218 WRITE_ONCE(conn->status, KSMBD_SESS_NEED_RECONNECT);
223 WRITE_ONCE(conn->status, KSMBD_SESS_EXITING);
228 WRITE_ONCE(conn->status, KSMBD_SESS_RELEASING);
/linux-master/io_uring/
H A Dnapi.c233 WRITE_ONCE(ctx->napi_busy_poll_to, napi.busy_poll_to);
234 WRITE_ONCE(ctx->napi_prefer_busy_poll, !!napi.prefer_busy_poll);
235 WRITE_ONCE(ctx->napi_enabled, true);
257 WRITE_ONCE(ctx->napi_busy_poll_to, 0);
258 WRITE_ONCE(ctx->napi_prefer_busy_poll, false);
259 WRITE_ONCE(ctx->napi_enabled, false);
/linux-master/net/unix/
H A Dgarbage.c128 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/drivers/cpufreq/
H A Damd-pstate.c191 WRITE_ONCE(cpudata->cppc_req_cached, value);
313 WRITE_ONCE(cpudata->highest_perf, highest_perf);
314 WRITE_ONCE(cpudata->max_limit_perf, highest_perf);
315 WRITE_ONCE(cpudata->nominal_perf, AMD_CPPC_NOMINAL_PERF(cap1));
316 WRITE_ONCE(cpudata->lowest_nonlinear_perf, AMD_CPPC_LOWNONLIN_PERF(cap1));
317 WRITE_ONCE(cpudata->lowest_perf, AMD_CPPC_LOWEST_PERF(cap1));
318 WRITE_ONCE(cpudata->prefcore_ranking, AMD_CPPC_HIGHEST_PERF(cap1));
319 WRITE_ONCE(cpudata->min_limit_perf, AMD_CPPC_LOWEST_PERF(cap1));
337 WRITE_ONCE(cpudata->highest_perf, highest_perf);
338 WRITE_ONCE(cpudat
[all...]
/linux-master/kernel/bpf/
H A Dpercpu_freelist.c34 WRITE_ONCE(head->first, node);
134 WRITE_ONCE(head->first, node->next);
147 WRITE_ONCE(s->extralist.first, node->next);
166 WRITE_ONCE(head->first, node->next);
179 WRITE_ONCE(s->extralist.first, node->next);
/linux-master/drivers/gpu/drm/i915/gt/
H A Dselftest_ring_submission.c110 WRITE_ONCE(*result, 0);
121 WRITE_ONCE(*result, 0);
132 WRITE_ONCE(*result, 0);
157 WRITE_ONCE(*result, 0);
184 WRITE_ONCE(*result, 0);
/linux-master/include/linux/
H A Dlist.h37 WRITE_ONCE(list->next, list);
38 WRITE_ONCE(list->prev, list);
156 WRITE_ONCE(prev->next, new);
196 WRITE_ONCE(prev->next, next);
204 * WRITE_ONCE() overhead of a regular list_del_init(). The code that uses this
390 WRITE_ONCE(entry->prev, entry);
967 * various WRITE_ONCE() in hlist helpers that are defined below.
988 WRITE_ONCE(*pprev, next);
990 WRITE_ONCE(next->pprev, pprev);
1032 WRITE_ONCE(
[all...]
/linux-master/drivers/net/wireless/quantenna/qtnfmac/
H A Dshm_ipc.c75 WRITE_ONCE(ipc->waiting_for_ack, 0);
141 WRITE_ONCE(ipc->waiting_for_ack, 1);
159 WRITE_ONCE(ipc->waiting_for_ack, 0);
/linux-master/drivers/net/ethernet/cavium/liquidio/
H A Docteon_main.h203 WRITE_ONCE(sc->caller_is_done, true);
208 WRITE_ONCE(sc->caller_is_done, true);
213 WRITE_ONCE(sc->caller_is_done, true);
/linux-master/net/netfilter/
H A Dnf_conntrack_sane.c105 WRITE_ONCE(ct_sane_info->state, SANE_STATE_NORMAL);
110 WRITE_ONCE(ct_sane_info->state, SANE_STATE_START_REQUESTED);
121 WRITE_ONCE(ct_sane_info->state, SANE_STATE_NORMAL);

Completed in 220 milliseconds

1234567891011>>