/Linux-v4.19/arch/xtensa/platforms/xtfpga/ |
D | lcd.c | 37 WRITE_ONCE(*addr, data); in lcd_put_byte() 39 WRITE_ONCE(*addr, data & 0xf0); in lcd_put_byte() 40 WRITE_ONCE(*addr, (data << 4) & 0xf0); in lcd_put_byte() 46 WRITE_ONCE(*LCD_INSTR_ADDR, LCD_DISPLAY_MODE8BIT); in lcd_init() 48 WRITE_ONCE(*LCD_INSTR_ADDR, LCD_DISPLAY_MODE8BIT); in lcd_init() 50 WRITE_ONCE(*LCD_INSTR_ADDR, LCD_DISPLAY_MODE8BIT); in lcd_init() 53 WRITE_ONCE(*LCD_INSTR_ADDR, LCD_DISPLAY_MODE4BIT); in lcd_init()
|
/Linux-v4.19/Documentation/translations/ko_KR/ |
D | memory-barriers.txt | 279 a = READ_ONCE(*X); WRITE_ONCE(*X, b); 287 WRITE_ONCE(*X, c); d = READ_ONCE(*X); 298 (*) 컴파일러가 READ_ONCE() 나 WRITE_ONCE() 로 보호되지 않은 메모리 액세스를 597 WRITE_ONCE(P, &B) 624 WRITE_ONCE(P, &B); 654 WRITE_ONCE(P, &B); 656 WRITE_ONCE(*Q, 5); 719 WRITE_ONCE(b, 1); 723 하나, READ_ONCE() 도 WRITE_ONCE() 도 선택사항이 아니라 필수사항임을 부디 725 또다른 로드와 조합할 수 있습니다. WRITE_ONCE() 가 없다면, 컴파일러는 'b' 로의 [all …]
|
/Linux-v4.19/drivers/net/wireless/ath/ath9k/ |
D | ar9003_mac.c | 42 WRITE_ONCE(ads->info, val); in ar9003_set_txdesc() 45 WRITE_ONCE(ads->link, i->link); in ar9003_set_txdesc() 48 WRITE_ONCE(ads->data0, i->buf_addr[0]); in ar9003_set_txdesc() 50 WRITE_ONCE(ads->data1, i->buf_addr[1]); in ar9003_set_txdesc() 52 WRITE_ONCE(ads->data2, i->buf_addr[2]); in ar9003_set_txdesc() 54 WRITE_ONCE(ads->data3, i->buf_addr[3]); in ar9003_set_txdesc() 57 WRITE_ONCE(ads->ctl3, val); in ar9003_set_txdesc() 59 WRITE_ONCE(ads->ctl5, val); in ar9003_set_txdesc() 61 WRITE_ONCE(ads->ctl7, val); in ar9003_set_txdesc() 63 WRITE_ONCE(ads->ctl9, val); in ar9003_set_txdesc() [all …]
|
D | ar9002_mac.c | 223 WRITE_ONCE(ads->ds_link, i->link); in ar9002_set_txdesc() 224 WRITE_ONCE(ads->ds_data, i->buf_addr[0]); in ar9002_set_txdesc() 238 WRITE_ONCE(ads->ds_ctl2, set11nTries(i->rates, 0) in ar9002_set_txdesc() 245 WRITE_ONCE(ads->ds_ctl3, set11nRate(i->rates, 0) in ar9002_set_txdesc() 250 WRITE_ONCE(ads->ds_ctl2, 0); in ar9002_set_txdesc() 251 WRITE_ONCE(ads->ds_ctl3, 0); in ar9002_set_txdesc() 255 WRITE_ONCE(ads->ds_ctl0, 0); in ar9002_set_txdesc() 256 WRITE_ONCE(ads->ds_ctl1, ctl1); in ar9002_set_txdesc() 257 WRITE_ONCE(ads->ds_ctl6, ctl6); in ar9002_set_txdesc() 282 WRITE_ONCE(ads->ds_ctl0, (i->pkt_len & AR_FrameLen) in ar9002_set_txdesc() [all …]
|
/Linux-v4.19/lib/ |
D | rbtree.c | 171 WRITE_ONCE(parent->rb_right, tmp); in __rb_insert() 172 WRITE_ONCE(node->rb_left, parent); in __rb_insert() 192 WRITE_ONCE(gparent->rb_left, tmp); /* == parent->rb_right */ in __rb_insert() 193 WRITE_ONCE(parent->rb_right, gparent); in __rb_insert() 215 WRITE_ONCE(parent->rb_left, tmp); in __rb_insert() 216 WRITE_ONCE(node->rb_right, parent); in __rb_insert() 227 WRITE_ONCE(gparent->rb_right, tmp); /* == parent->rb_left */ in __rb_insert() 228 WRITE_ONCE(parent->rb_left, gparent); in __rb_insert() 269 WRITE_ONCE(parent->rb_right, tmp1); in ____rb_erase_color() 270 WRITE_ONCE(sibling->rb_left, parent); in ____rb_erase_color() [all …]
|
/Linux-v4.19/tools/memory-model/litmus-tests/ |
D | S+poonceonces.litmus | 8 * is replaced by WRITE_ONCE() and the smp_load_acquire() replaced by 16 WRITE_ONCE(*x, 2); 17 WRITE_ONCE(*y, 1); 25 WRITE_ONCE(*x, 1);
|
D | ISA2+poonceonces.litmus | 8 * smp_store_release() invocations are replaced by WRITE_ONCE() and all 16 WRITE_ONCE(*x, 1); 17 WRITE_ONCE(*y, 1); 25 WRITE_ONCE(*z, 1);
|
D | Z6.0+pooncelock+poonceLock+pombonce.litmus | 17 WRITE_ONCE(*x, 1); 18 WRITE_ONCE(*y, 1); 29 WRITE_ONCE(*z, 1); 37 WRITE_ONCE(*z, 2);
|
D | Z6.0+pooncelock+pooncelock+pombonce.litmus | 16 WRITE_ONCE(*x, 1); 17 WRITE_ONCE(*y, 1); 27 WRITE_ONCE(*z, 1); 35 WRITE_ONCE(*z, 2);
|
D | S+fencewmbonceonce+poacquireonce.litmus | 14 WRITE_ONCE(*x, 2); 16 WRITE_ONCE(*y, 1); 24 WRITE_ONCE(*x, 1);
|
D | R+poonceonces.litmus | 15 WRITE_ONCE(*x, 1); 16 WRITE_ONCE(*y, 1); 23 WRITE_ONCE(*y, 2);
|
D | R+fencembonceonces.litmus | 16 WRITE_ONCE(*x, 1); 18 WRITE_ONCE(*y, 1); 25 WRITE_ONCE(*y, 2);
|
D | ISA2+pooncelock+pooncelock+pombonce.litmus | 16 WRITE_ONCE(*x, 1); 17 WRITE_ONCE(*y, 1); 27 WRITE_ONCE(*z, 1);
|
D | CoWW+poonceonce.litmus | 14 WRITE_ONCE(*x, 1); 15 WRITE_ONCE(*x, 2);
|
/Linux-v4.19/kernel/locking/ |
D | osq_lock.c | 126 WRITE_ONCE(prev->next, node); in osq_lock() 200 WRITE_ONCE(next->prev, prev); in osq_lock() 201 WRITE_ONCE(prev->next, next); in osq_lock() 224 WRITE_ONCE(next->locked, 1); in osq_unlock() 230 WRITE_ONCE(next->locked, 1); in osq_unlock()
|
D | qspinlock_paravirt.h | 113 WRITE_ONCE(lock->pending, 1); in set_pending() 223 WRITE_ONCE(he->node, node); in pv_hash() 250 WRITE_ONCE(he->lock, NULL); in pv_unhash() 392 WRITE_ONCE(lock->locked, _Q_SLOW_VAL); in pv_kick_node() 428 WRITE_ONCE(pn->state, vcpu_running); in pv_wait_head_or_lock() 463 WRITE_ONCE(lock->locked, _Q_LOCKED_VAL); in pv_wait_head_or_lock() 464 WRITE_ONCE(*lp, NULL); in pv_wait_head_or_lock() 468 WRITE_ONCE(pn->state, vcpu_hashed); in pv_wait_head_or_lock()
|
D | rwsem.h | 39 WRITE_ONCE(sem->owner, current); in rwsem_set_owner() 44 WRITE_ONCE(sem->owner, NULL); in rwsem_clear_owner() 55 WRITE_ONCE(sem->owner, RWSEM_READER_OWNED); in rwsem_set_reader_owned()
|
/Linux-v4.19/kernel/rcu/ |
D | srcutiny.c | 111 WRITE_ONCE(sp->srcu_lock_nesting[idx], newval); in __srcu_read_unlock() 134 WRITE_ONCE(sp->srcu_gp_running, true); in srcu_drive_gp() 141 WRITE_ONCE(sp->srcu_idx, !sp->srcu_idx); in srcu_drive_gp() 142 WRITE_ONCE(sp->srcu_gp_waiting, true); /* srcu_read_unlock() wakes! */ in srcu_drive_gp() 144 WRITE_ONCE(sp->srcu_gp_waiting, false); /* srcu_read_unlock() cheap. */ in srcu_drive_gp() 161 WRITE_ONCE(sp->srcu_gp_running, false); in srcu_drive_gp()
|
/Linux-v4.19/arch/x86/include/asm/ |
D | pgtable_64.h | 61 WRITE_ONCE(*ptep, pte); in native_set_pte() 77 WRITE_ONCE(*pmdp, pmd); in native_set_pmd() 113 WRITE_ONCE(*pudp, pud); in native_set_pud() 141 WRITE_ONCE(*p4dp, p4d); in native_set_p4d() 147 WRITE_ONCE(*p4dp, native_make_p4d(native_pgd_val(pgd))); in native_set_p4d() 157 WRITE_ONCE(*pgdp, pti_set_user_pgtbl(pgdp, pgd)); in native_set_pgd()
|
/Linux-v4.19/sound/firewire/fireface/ |
D | ff-midi.c | 25 WRITE_ONCE(ff->rx_midi_substreams[substream->number], substream); in midi_playback_open() 41 WRITE_ONCE(ff->rx_midi_substreams[substream->number], NULL); in midi_playback_close() 55 WRITE_ONCE(ff->tx_midi_substreams[substream->number], in midi_capture_trigger() 58 WRITE_ONCE(ff->tx_midi_substreams[substream->number], NULL); in midi_capture_trigger()
|
/Linux-v4.19/include/asm-generic/ |
D | barrier.h | 112 #define __smp_store_mb(var, value) do { WRITE_ONCE(var, value); __smp_mb(); } while (0) 128 WRITE_ONCE(*p, v); \ 167 #define smp_store_mb(var, value) do { WRITE_ONCE(var, value); barrier(); } while (0) 183 WRITE_ONCE(*p, v); \
|
/Linux-v4.19/tools/memory-model/Documentation/ |
D | recipes.txt | 45 use READ_ONCE() and WRITE_ONCE() or stronger to prevent load/store 58 need not use WRITE_ONCE(). 75 WRITE_ONCE(x, 1); 77 WRITE_ONCE(y, 1); 110 WRITE_ONCE(x, 1); 112 WRITE_ONCE(y, 1); 133 WRITE_ONCE(x, 1); 134 WRITE_ONCE(y, 1); 142 WRITE_ONCE(z, 1); 148 WRITE_ONCE(z, 2); [all …]
|
/Linux-v4.19/include/linux/ |
D | rbtree_augmented.h | 140 WRITE_ONCE(parent->rb_left, new); in __rb_change_child() 142 WRITE_ONCE(parent->rb_right, new); in __rb_change_child() 144 WRITE_ONCE(root->rb_node, new); in __rb_change_child() 239 WRITE_ONCE(parent->rb_left, child2); in __rb_erase_augmented() 240 WRITE_ONCE(successor->rb_right, child); in __rb_erase_augmented() 248 WRITE_ONCE(successor->rb_left, tmp); in __rb_erase_augmented()
|
/Linux-v4.19/drivers/misc/mic/scif/ |
D | scif_rb.c | 141 WRITE_ONCE(*rb->write_ptr, rb->current_write_offset); in scif_rb_commit() 150 WRITE_ONCE(*rb->write_ptr, rb->current_write_offset); in scif_rb_commit() 213 WRITE_ONCE(*rb->read_ptr, new_offset); in scif_rb_update_read_ptr() 222 WRITE_ONCE(*rb->read_ptr, new_offset); in scif_rb_update_read_ptr()
|
/Linux-v4.19/net/xdp/ |
D | xsk_queue.h | 108 WRITE_ONCE(q->ring->consumer, q->cons_tail); in xskq_peek_addr() 135 WRITE_ONCE(q->ring->producer, q->prod_tail); in xskq_produce_addr() 157 WRITE_ONCE(q->ring->producer, q->prod_tail); in xskq_produce_flush_addr_n() 206 WRITE_ONCE(q->ring->consumer, q->cons_tail); in xskq_peek_desc() 243 WRITE_ONCE(q->ring->producer, q->prod_tail); in xskq_produce_flush_desc()
|