/linux-master/net/core/ |
H A D | dev.h | 109 WRITE_ONCE(dev->gso_max_size, size); 111 WRITE_ONCE(dev->gso_ipv4_max_size, size); 118 WRITE_ONCE(dev->gso_max_segs, segs); 125 WRITE_ONCE(dev->gro_max_size, size); 127 WRITE_ONCE(dev->gro_ipv4_max_size, size); 134 WRITE_ONCE(dev->gso_ipv4_max_size, size); 141 WRITE_ONCE(dev->gro_ipv4_max_size, size);
|
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | ar9002_mac.c | 223 WRITE_ONCE(ads->ds_link, i->link); 224 WRITE_ONCE(ads->ds_data, i->buf_addr[0]); 238 WRITE_ONCE(ads->ds_ctl2, set11nTries(i->rates, 0) 245 WRITE_ONCE(ads->ds_ctl3, set11nRate(i->rates, 0) 250 WRITE_ONCE(ads->ds_ctl2, 0); 251 WRITE_ONCE(ads->ds_ctl3, 0); 255 WRITE_ONCE(ads->ds_ctl0, 0); 256 WRITE_ONCE(ads->ds_ctl1, ctl1); 257 WRITE_ONCE(ads->ds_ctl6, ctl6); 282 WRITE_ONCE(ad [all...] |
H A D | ar9003_mac.c | 42 WRITE_ONCE(ads->info, val); 45 WRITE_ONCE(ads->link, i->link); 48 WRITE_ONCE(ads->data0, i->buf_addr[0]); 50 WRITE_ONCE(ads->data1, i->buf_addr[1]); 52 WRITE_ONCE(ads->data2, i->buf_addr[2]); 54 WRITE_ONCE(ads->data3, i->buf_addr[3]); 57 WRITE_ONCE(ads->ctl3, val); 59 WRITE_ONCE(ads->ctl5, val); 61 WRITE_ONCE(ads->ctl7, val); 63 WRITE_ONCE(ad [all...] |
/linux-master/arch/sparc/include/asm/ |
H A D | barrier_64.h | 45 WRITE_ONCE(*p, v); \
|
/linux-master/tools/virtio/linux/ |
H A D | uaccess.h | 13 WRITE_ONCE(*(__pu_ptr), x); \
|
/linux-master/sound/firewire/fireface/ |
H A D | ff-midi.c | 24 WRITE_ONCE(ff->rx_midi_substreams[substream->number], substream); 40 WRITE_ONCE(ff->rx_midi_substreams[substream->number], NULL); 54 WRITE_ONCE(ff->tx_midi_substreams[substream->number], 57 WRITE_ONCE(ff->tx_midi_substreams[substream->number], NULL);
|
/linux-master/include/linux/ |
H A D | rculist.h | 24 WRITE_ONCE(list->next, list); 25 WRITE_ONCE(list->prev, list); 185 WRITE_ONCE(n->pprev, NULL); 514 WRITE_ONCE(n->pprev, LIST_POISON2); 530 WRITE_ONCE(new->pprev, old->pprev); 533 WRITE_ONCE(new->next->pprev, &new->next); 534 WRITE_ONCE(old->pprev, LIST_POISON2); 554 WRITE_ONCE(node2->pprev, &left->first); 555 WRITE_ONCE(node1->pprev, &right->first); 590 WRITE_ONCE( [all...] |
H A D | dynamic_queue_limits.h | 125 WRITE_ONCE(dql->history_head, now_hi); 128 /* __set_bit() does not guarantee WRITE_ONCE() semantics */ 133 WRITE_ONCE(DQL_HIST_ENT(dql, now_hi), map | BIT_MASK(now));
|
/linux-master/include/drm/ |
H A D | spsc_queue.h | 74 WRITE_ONCE(*tail, node); 102 WRITE_ONCE(queue->head, next);
|
/linux-master/kernel/rcu/ |
H A D | srcutiny.c | 101 WRITE_ONCE(ssp->srcu_lock_nesting[idx], newval); 124 WRITE_ONCE(ssp->srcu_gp_running, true); 131 WRITE_ONCE(ssp->srcu_idx, ssp->srcu_idx + 1); 132 WRITE_ONCE(ssp->srcu_gp_waiting, true); /* srcu_read_unlock() wakes! */ 134 WRITE_ONCE(ssp->srcu_gp_waiting, false); /* srcu_read_unlock() cheap. */ 135 WRITE_ONCE(ssp->srcu_idx, ssp->srcu_idx + 1); 153 WRITE_ONCE(ssp->srcu_gp_running, false); 166 WRITE_ONCE(ssp->srcu_idx_max, cookie);
|
/linux-master/kernel/locking/ |
H A D | spinlock_debug.c | 94 WRITE_ONCE(lock->owner_cpu, raw_smp_processor_id()); 95 WRITE_ONCE(lock->owner, current); 105 WRITE_ONCE(lock->owner, SPINLOCK_OWNER_INIT); 106 WRITE_ONCE(lock->owner_cpu, -1); 194 WRITE_ONCE(lock->owner_cpu, raw_smp_processor_id()); 195 WRITE_ONCE(lock->owner, current); 204 WRITE_ONCE(lock->owner, SPINLOCK_OWNER_INIT); 205 WRITE_ONCE(lock->owner_cpu, -1);
|
H A D | qspinlock_paravirt.h | 111 WRITE_ONCE(lock->pending, 1); 221 WRITE_ONCE(he->node, node); 248 WRITE_ONCE(he->lock, NULL); 391 WRITE_ONCE(lock->locked, _Q_SLOW_VAL); 427 WRITE_ONCE(pn->state, vcpu_running); 462 WRITE_ONCE(lock->locked, _Q_LOCKED_VAL); 463 WRITE_ONCE(*lp, NULL); 467 WRITE_ONCE(pn->state, vcpu_hashed);
|
H A D | mcs_spinlock.h | 91 WRITE_ONCE(prev->next, node);
|
/linux-master/arch/s390/include/asm/ |
H A D | pai.h | 62 WRITE_ONCE(S390_lowcore.ccd, S390_lowcore.ccd | PAI_CRYPTO_KERNEL_OFFSET); 75 WRITE_ONCE(S390_lowcore.ccd, S390_lowcore.ccd & ~PAI_CRYPTO_KERNEL_OFFSET);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | bpf_arena_common.h | 5 #ifndef WRITE_ONCE 6 #define WRITE_ONCE(x, val) ((*(volatile typeof(x) *) &(x)) = (val)) macro
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | ucall_common.c | 88 WRITE_ONCE(uc->args[GUEST_ERROR_STRING], (uint64_t)(exp)); 89 WRITE_ONCE(uc->args[GUEST_FILE], (uint64_t)(file)); 90 WRITE_ONCE(uc->args[GUEST_LINE], line); 126 WRITE_ONCE(uc->cmd, cmd); 132 WRITE_ONCE(uc->args[i], va_arg(va, uint64_t));
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | sync_regs_test.c | 97 WRITE_ONCE(events->exception.nr, UD_VECTOR); 100 WRITE_ONCE(run->kvm_dirty_regs, KVM_SYNC_X86_EVENTS); 101 WRITE_ONCE(events->flags, 0); 102 WRITE_ONCE(events->exception.injected, 1); 103 WRITE_ONCE(events->exception.pending, 1); 121 WRITE_ONCE(run->kvm_dirty_regs, KVM_SYNC_X86_EVENTS); 122 WRITE_ONCE(events->flags, 0); 123 WRITE_ONCE(events->exception.nr, UD_VECTOR); 124 WRITE_ONCE(events->exception.pending, 1); 125 WRITE_ONCE(event [all...] |
H A D | vmx_dirty_log_test.c | 34 WRITE_ONCE(*a, 1); 38 WRITE_ONCE(*b, 1); 40 WRITE_ONCE(*b, 1);
|
/linux-master/kernel/ |
H A D | context_tracking.c | 45 WRITE_ONCE(current->rcu_tasks_idle_cpu, smp_processor_id()); 53 WRITE_ONCE(current->rcu_tasks_idle_cpu, -1); 129 WRITE_ONCE(ct->dynticks_nmi_nesting, 0); 148 WRITE_ONCE(ct->dynticks_nesting, 0); /* Avoid irq-access tearing. */ 187 WRITE_ONCE(ct->dynticks_nesting, 1); 189 WRITE_ONCE(ct->dynticks_nmi_nesting, DYNTICK_IRQ_NONIDLE); 224 WRITE_ONCE(ct->dynticks_nmi_nesting, /* No store tearing. */ 232 WRITE_ONCE(ct->dynticks_nmi_nesting, 0); /* Avoid store tearing. */ 301 WRITE_ONCE(ct->dynticks_nmi_nesting, /* Prevent store tearing. */
|
/linux-master/io_uring/ |
H A D | slist.h | 39 WRITE_ONCE(list->first, node); 52 WRITE_ONCE(list->first, node); 61 WRITE_ONCE(list->first, last->next);
|
/linux-master/include/net/ |
H A D | busy_poll.h | 139 WRITE_ONCE(sk->sk_napi_id, skb->napi_id); 152 WRITE_ONCE(sk->sk_napi_id, skb->napi_id); 161 WRITE_ONCE(sk->sk_napi_id, napi_id);
|
/linux-master/net/mptcp/ |
H A D | pm.c | 40 WRITE_ONCE(msk->pm.addr_signal, add_addr); 58 WRITE_ONCE(msk->pm.addr_signal, rm_addr); 81 WRITE_ONCE(pm->server_side, server_side); 114 WRITE_ONCE(pm->accept_subflow, false); 325 WRITE_ONCE(subflow->fail_tout, 0); 370 WRITE_ONCE(msk->pm.addr_signal, add_addr); 393 WRITE_ONCE(msk->pm.addr_signal, rm_addr); 400 WRITE_ONCE(msk->pm.addr_signal, rm_addr); 521 WRITE_ONCE(pm->pm_type, pm_type); 529 WRITE_ONCE(p [all...] |
/linux-master/include/asm-generic/ |
H A D | rwonce.h | 5 * READ_ONCE and WRITE_ONCE, but only when the compiler is aware of some 7 * put the two invocations of READ_ONCE or WRITE_ONCE in different C 58 #define WRITE_ONCE(x, val) \ macro
|
/linux-master/tools/virtio/asm/ |
H A D | barrier.h | 24 #define virt_store_mb(var, value) do { WRITE_ONCE(var, value); dmb(ish); } while (0)
|
/linux-master/tools/include/asm/ |
H A D | barrier.h | 52 WRITE_ONCE(*p, v); \
|