Searched refs:WRITE_ONCE (Results 76 - 100 of 791) sorted by relevance

1234567891011>>

/linux-master/net/netfilter/
H A Dnft_last.c63 WRITE_ONCE(last->jiffies, jiffies);
65 WRITE_ONCE(last->set, 1);
78 WRITE_ONCE(last->set, 0);
/linux-master/include/linux/
H A Drbtree_augmented.h200 WRITE_ONCE(parent->rb_left, new);
202 WRITE_ONCE(parent->rb_right, new);
204 WRITE_ONCE(root->rb_node, new);
295 WRITE_ONCE(parent->rb_left, child2);
296 WRITE_ONCE(successor->rb_right, child);
304 WRITE_ONCE(successor->rb_left, tmp);
H A Daverage.h65 WRITE_ONCE(e->internal, internal ? \
H A Dvirtio_ring.h54 WRITE_ONCE(*p, v); \
/linux-master/tools/testing/selftests/kvm/lib/
H A Dmemstress.c277 WRITE_ONCE(vcpu->running, true);
299 WRITE_ONCE(all_vcpu_threads_running, false);
300 WRITE_ONCE(memstress_args.stop_vcpus, false);
306 WRITE_ONCE(vcpu->running, false);
316 WRITE_ONCE(all_vcpu_threads_running, true);
323 WRITE_ONCE(memstress_args.stop_vcpus, true);
/linux-master/block/
H A Dblk-timeout.c86 WRITE_ONCE(req->deadline, jiffies);
143 WRITE_ONCE(req->deadline, expiry);
/linux-master/arch/x86/mm/
H A Dpkeys.c164 WRITE_ONCE(init_pkru_value, new_init_pkru);
193 WRITE_ONCE(init_pkru_value, new_init_pkru);
/linux-master/arch/m68k/virt/
H A Dints.c96 WRITE_ONCE(in_nmi, 1);
101 WRITE_ONCE(in_nmi, 0);
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_lrc.h126 WRITE_ONCE(stats->active, intel_context_clock());
137 WRITE_ONCE(stats->active, 0);
/linux-master/kernel/rcu/
H A Drcu_segcblist.h61 WRITE_ONCE(rsclp->flags, rsclp->flags | flags);
67 WRITE_ONCE(rsclp->flags, rsclp->flags & ~flags);
H A Dtree_plugin.h244 WRITE_ONCE(rnp->gp_tasks, &t->rcu_node_entry);
248 WRITE_ONCE(rnp->exp_tasks, &t->rcu_node_entry);
295 WRITE_ONCE(current->rcu_read_unlock_special.b.need_qs, false);
379 WRITE_ONCE(current->rcu_read_lock_nesting, READ_ONCE(current->rcu_read_lock_nesting) + 1);
386 WRITE_ONCE(current->rcu_read_lock_nesting, ret);
392 WRITE_ONCE(current->rcu_read_lock_nesting, val);
406 WRITE_ONCE(current->rcu_read_unlock_special.b.need_qs, true);
532 WRITE_ONCE(rnp->gp_tasks, np);
534 WRITE_ONCE(rnp->exp_tasks, np);
539 WRITE_ONCE(rn
[all...]
H A Dtree_nocb.h230 WRITE_ONCE(rdp_gp->nocb_defer_wakeup, RCU_NOCB_WAKE_NOT);
235 WRITE_ONCE(rdp_gp->nocb_gp_sleep, false);
303 WRITE_ONCE(rdp_gp->nocb_defer_wakeup, waketype);
306 WRITE_ONCE(rdp_gp->nocb_defer_wakeup, waketype);
311 WRITE_ONCE(rdp_gp->nocb_defer_wakeup, waketype);
358 WRITE_ONCE(rdp->lazy_len, 0);
361 WRITE_ONCE(rdp->nocb_bypass_first, j);
455 WRITE_ONCE(rdp->nocb_nobypass_last, j);
463 WRITE_ONCE(rdp->nocb_nobypass_count, c);
520 WRITE_ONCE(rd
[all...]
/linux-master/samples/bpf/
H A Dxdp_sample.bpf.h105 #define WRITE_ONCE(x, val) \ macro
116 #define NO_TEAR_ADD(x, val) WRITE_ONCE((x), READ_ONCE(x) + (val))
/linux-master/io_uring/
H A Dnotif.c44 WRITE_ONCE(nd->zc_used, true);
46 WRITE_ONCE(nd->zc_copied, true);
/linux-master/drivers/net/wireguard/
H A Dqueueing.c68 WRITE_ONCE(NEXT(skb), NULL);
69 WRITE_ONCE(NEXT(xchg_release(&queue->head, skb)), skb);
/linux-master/net/smc/
H A Dsmc_sysctl.c120 WRITE_ONCE(net->smc.sysctl_wmem, net_smc_wmem_init);
121 WRITE_ONCE(net->smc.sysctl_rmem, net_smc_rmem_init);
/linux-master/arch/x86/include/asm/
H A Dresctrl.h138 WRITE_ONCE(tsk->closid, closid);
139 WRITE_ONCE(tsk->rmid, rmid);
/linux-master/lib/
H A Ddebugobjects.c141 * READ_ONCE()s pair with the WRITE_ONCE()s in pool_lock critical
153 WRITE_ONCE(obj_nr_tofree, obj_nr_tofree - 1);
155 WRITE_ONCE(obj_pool_free, obj_pool_free + 1);
179 WRITE_ONCE(obj_pool_free, obj_pool_free + 1);
237 WRITE_ONCE(obj_pool_free, obj_pool_free - 1);
256 WRITE_ONCE(obj_pool_free, obj_pool_free - 1);
292 WRITE_ONCE(obj_freeing, false);
310 WRITE_ONCE(obj_pool_free, obj_pool_free + 1);
311 WRITE_ONCE(obj_nr_tofree, obj_nr_tofree - 1);
325 WRITE_ONCE(obj_nr_tofre
[all...]
/linux-master/kernel/kcsan/
H A Ddebugfs.c75 WRITE_ONCE(kcsan_enabled, false);
90 WRITE_ONCE(kcsan_enabled, was_enabled);
236 WRITE_ONCE(kcsan_enabled, true);
238 WRITE_ONCE(kcsan_enabled, false);
/linux-master/kernel/locking/
H A Dqspinlock.c151 WRITE_ONCE(lock->pending, 0);
164 WRITE_ONCE(lock->locked_pending, _Q_LOCKED_VAL);
264 WRITE_ONCE(lock->locked, _Q_LOCKED_VAL);
452 * @node into the waitqueue via WRITE_ONCE(prev->next, node) below.
474 WRITE_ONCE(prev->next, node);
/linux-master/arch/powerpc/include/asm/
H A Dbarrier.h76 WRITE_ONCE(*p, v); \
/linux-master/kernel/bpf/
H A Dreuseport_array.c29 WRITE_ONCE(sk->sk_user_data, NULL);
81 WRITE_ONCE(sk->sk_user_data, NULL);
131 * No need for WRITE_ONCE(). At this point,
295 WRITE_ONCE(nsk->sk_user_data, (void *)sk_user_data);
305 WRITE_ONCE(free_osk->sk_user_data, NULL);
H A Dbpf_lru_list.h68 WRITE_ONCE(node->ref, 1);
/linux-master/kernel/
H A Dpid_sysctl.h30 WRITE_ONCE(ns->memfd_noexec_scope, scope);
/linux-master/arch/arm64/include/asm/
H A Dsmp.h116 WRITE_ONCE(secondary_data.status, val);

Completed in 269 milliseconds

1234567891011>>