/linux-master/tools/testing/selftests/kvm/include/aarch64/ |
H A D | ucall.h | 17 WRITE_ONCE(*ucall_exit_mmio_addr, uc);
|
/linux-master/arch/xtensa/platforms/xtfpga/ |
H A D | lcd.c | 37 WRITE_ONCE(*addr, data); 39 WRITE_ONCE(*addr, data & 0xf0); 40 WRITE_ONCE(*addr, (data << 4) & 0xf0); 46 WRITE_ONCE(*LCD_INSTR_ADDR, LCD_DISPLAY_MODE8BIT); 48 WRITE_ONCE(*LCD_INSTR_ADDR, LCD_DISPLAY_MODE8BIT); 50 WRITE_ONCE(*LCD_INSTR_ADDR, LCD_DISPLAY_MODE8BIT); 53 WRITE_ONCE(*LCD_INSTR_ADDR, LCD_DISPLAY_MODE4BIT);
|
/linux-master/arch/x86/include/asm/ |
H A D | clocksource.h | 18 WRITE_ONCE(vclocks_used, READ_ONCE(vclocks_used) | (1 << which));
|
H A D | pgtable-3level.h | 38 WRITE_ONCE(ptep->pte_high, pte.pte_high); 40 WRITE_ONCE(ptep->pte_low, pte.pte_low); 69 WRITE_ONCE(ptep->pte_low, 0); 71 WRITE_ONCE(ptep->pte_high, 0); 76 WRITE_ONCE(pmdp->pmd_low, 0); 78 WRITE_ONCE(pmdp->pmd_high, 0); 139 WRITE_ONCE(pmdp->pmd_high, pmd.pmd_high);
|
/linux-master/tools/virtio/linux/ |
H A D | compiler.h | 7 #define WRITE_ONCE(var, val) \ macro
|
/linux-master/arch/s390/kernel/ |
H A D | facility.c | 17 WRITE_ONCE(size, r);
|
/linux-master/include/vdso/ |
H A D | helpers.h | 33 * WRITE_ONCE() is required otherwise the compiler can validly tear 37 WRITE_ONCE(vd[CS_HRES_COARSE].seq, vd[CS_HRES_COARSE].seq + 1); 38 WRITE_ONCE(vd[CS_RAW].seq, vd[CS_RAW].seq + 1); 46 * WRITE_ONCE() is required otherwise the compiler can validly tear 50 WRITE_ONCE(vd[CS_HRES_COARSE].seq, vd[CS_HRES_COARSE].seq + 1); 51 WRITE_ONCE(vd[CS_RAW].seq, vd[CS_RAW].seq + 1);
|
/linux-master/kernel/rcu/ |
H A D | sync.c | 70 WRITE_ONCE(rsp->gp_state, GP_PASSED); 77 WRITE_ONCE(rsp->gp_state, GP_EXIT); 85 WRITE_ONCE(rsp->gp_state, GP_IDLE); 112 WRITE_ONCE(rsp->gp_state, GP_ENTER); 125 WRITE_ONCE(rsp->gp_count, rsp->gp_count + 1); 161 WRITE_ONCE(rsp->gp_count, gpc); 164 WRITE_ONCE(rsp->gp_state, GP_EXIT); 167 WRITE_ONCE(rsp->gp_state, GP_REPLAY); 186 WRITE_ONCE(rsp->gp_state, GP_EXIT);
|
H A D | rcu_segcblist.c | 32 WRITE_ONCE(rclp->len, rclp->len + 1); 59 WRITE_ONCE(srclp->len, 1); 87 WRITE_ONCE(rsclp->len, v); 112 WRITE_ONCE(rsclp->seglen[seg], v); 118 WRITE_ONCE(rsclp->seglen[seg], rsclp->seglen[seg] + v); 218 WRITE_ONCE(rsclp->len, rsclp->len + v); 334 * field may be accessed locklessly, hence the WRITE_ONCE(). 346 WRITE_ONCE(*rsclp->tails[RCU_NEXT_TAIL], rhp); 347 WRITE_ONCE(rsclp->tails[RCU_NEXT_TAIL], &rhp->next); 374 WRITE_ONCE(*rscl [all...] |
/linux-master/include/linux/ |
H A D | rculist_nulls.h | 37 WRITE_ONCE(n->pprev, NULL); 77 WRITE_ONCE(n->pprev, LIST_POISON2); 104 WRITE_ONCE(n->next, first); 105 WRITE_ONCE(n->pprev, &h->first); 108 WRITE_ONCE(first->pprev, &n->next); 140 WRITE_ONCE(n->next, last->next);
|
H A D | list_nulls.h | 97 WRITE_ONCE(n->pprev, &h->first); 100 WRITE_ONCE(first->pprev, &n->next); 108 WRITE_ONCE(*pprev, next); 110 WRITE_ONCE(next->pprev, pprev); 116 WRITE_ONCE(n->pprev, LIST_POISON2);
|
H A D | rcupdate_trace.h | 52 WRITE_ONCE(t->trc_reader_nesting, READ_ONCE(t->trc_reader_nesting) + 1); 78 WRITE_ONCE(t->trc_reader_nesting, INT_MIN + nesting); 80 WRITE_ONCE(t->trc_reader_nesting, nesting);
|
/linux-master/drivers/iommu/intel/ |
H A D | pasid.h | 91 WRITE_ONCE(pe->val[0], 0); 92 WRITE_ONCE(pe->val[1], 0); 93 WRITE_ONCE(pe->val[2], 0); 94 WRITE_ONCE(pe->val[3], 0); 95 WRITE_ONCE(pe->val[4], 0); 96 WRITE_ONCE(pe->val[5], 0); 97 WRITE_ONCE(pe->val[6], 0); 98 WRITE_ONCE(pe->val[7], 0); 103 WRITE_ONCE(pe->val[0], PASID_PTE_FPD); 104 WRITE_ONCE(p [all...] |
/linux-master/tools/arch/powerpc/include/asm/ |
H A D | barrier.h | 36 WRITE_ONCE(*p, v); \
|
/linux-master/tools/arch/s390/include/asm/ |
H A D | barrier.h | 34 WRITE_ONCE(*p, v); \
|
/linux-master/tools/arch/sparc/include/asm/ |
H A D | barrier_64.h | 46 WRITE_ONCE(*p, v); \
|
/linux-master/arch/arm64/include/asm/ |
H A D | preempt.h | 19 WRITE_ONCE(current_thread_info()->preempt.count, pc); 49 WRITE_ONCE(current_thread_info()->preempt.count, pc); 56 WRITE_ONCE(current_thread_info()->preempt.count, pc); 65 WRITE_ONCE(ti->preempt.count, --pc); 71 * interrupt occurring between the non-atomic READ_ONCE/WRITE_ONCE
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | bpf_arena_list.h | 49 WRITE_ONCE(n->next, first); 54 WRITE_ONCE(first->pprev, tmp); 57 WRITE_ONCE(h->first, n); 62 WRITE_ONCE(n->pprev, tmp); 74 WRITE_ONCE(tmp, next); 78 WRITE_ONCE(next->pprev, pprev);
|
/linux-master/drivers/md/dm-vdo/ |
H A D | funnel-queue.h | 95 WRITE_ONCE(entry->next, NULL); 101 WRITE_ONCE(previous->next, entry);
|
/linux-master/arch/riscv/kernel/ |
H A D | cpu_ops_spinwait.c | 37 WRITE_ONCE(__cpu_spinwait_stack_pointer[hartid], task_pt_regs(tidle)); 38 WRITE_ONCE(__cpu_spinwait_task_pointer[hartid], tidle);
|
/linux-master/lib/ |
H A D | rbtree.c | 39 * WRITE_ONCE(). And we must not inadvertently cause (temporary) loops in the 155 WRITE_ONCE(parent->rb_right, tmp); 156 WRITE_ONCE(node->rb_left, parent); 176 WRITE_ONCE(gparent->rb_left, tmp); /* == parent->rb_right */ 177 WRITE_ONCE(parent->rb_right, gparent); 199 WRITE_ONCE(parent->rb_left, tmp); 200 WRITE_ONCE(node->rb_right, parent); 211 WRITE_ONCE(gparent->rb_right, tmp); /* == parent->rb_left */ 212 WRITE_ONCE(parent->rb_left, gparent); 253 WRITE_ONCE(paren [all...] |
/linux-master/tools/lib/ |
H A D | rbtree.c | 39 * WRITE_ONCE(). And we must not inadvertently cause (temporary) loops in the 155 WRITE_ONCE(parent->rb_right, tmp); 156 WRITE_ONCE(node->rb_left, parent); 176 WRITE_ONCE(gparent->rb_left, tmp); /* == parent->rb_right */ 177 WRITE_ONCE(parent->rb_right, gparent); 199 WRITE_ONCE(parent->rb_left, tmp); 200 WRITE_ONCE(node->rb_right, parent); 211 WRITE_ONCE(gparent->rb_right, tmp); /* == parent->rb_left */ 212 WRITE_ONCE(parent->rb_left, gparent); 253 WRITE_ONCE(paren [all...] |
/linux-master/tools/arch/x86/include/asm/ |
H A D | barrier.h | 36 WRITE_ONCE(*p, v); \
|
/linux-master/arch/sh/include/asm/ |
H A D | atomic.h | 23 #define arch_atomic_set(v,i) WRITE_ONCE((v)->counter, (i))
|
/linux-master/kernel/locking/ |
H A D | osq_lock.c | 129 WRITE_ONCE(prev->next, node); 204 WRITE_ONCE(next->prev, prev); 205 WRITE_ONCE(prev->next, next); 228 WRITE_ONCE(next->locked, 1); 234 WRITE_ONCE(next->locked, 1);
|