/linux/Documentation/translations/ko_KR/ |
A D | memory-barriers.txt | 592 WRITE_ONCE(P, &B) 619 WRITE_ONCE(P, &B); 649 WRITE_ONCE(P, &B); 807 WRITE_ONCE(b, 2); 842 WRITE_ONCE(b, 1); 941 WRITE_ONCE(a, 1); 1697 WRITE_ONCE() 가 좀 더 안목 높은 선택입니다: READ_ONCE() 와 WRITE_ONCE()는 2260 WRITE_ONCE(*A, a); WRITE_ONCE(*E, e); 2262 WRITE_ONCE(*B, b); WRITE_ONCE(*F, f); 2263 WRITE_ONCE(*C, c); WRITE_ONCE(*G, g); [all …]
|
/linux/kernel/rcu/ |
A D | rcu_segcblist.c | 32 WRITE_ONCE(rclp->len, rclp->len + 1); in rcu_cblist_enqueue() 59 WRITE_ONCE(srclp->len, 1); in rcu_cblist_flush_enqueue() 87 WRITE_ONCE(rsclp->len, v); in rcu_segcblist_set_len() 112 WRITE_ONCE(rsclp->seglen[seg], v); in rcu_segcblist_set_seglen() 218 WRITE_ONCE(rsclp->len, rsclp->len + v); in rcu_segcblist_add_len() 348 WRITE_ONCE(*rsclp->tails[RCU_NEXT_TAIL], rhp); in rcu_segcblist_enqueue() 376 WRITE_ONCE(*rsclp->tails[i], rhp); in rcu_segcblist_entrain() 378 WRITE_ONCE(rsclp->tails[i], &rhp->next); in rcu_segcblist_entrain() 401 WRITE_ONCE(rsclp->tails[i], &rsclp->head); in rcu_segcblist_extract_done_cbs() 453 WRITE_ONCE(rsclp->head, rclp->head); in rcu_segcblist_insert_done_cbs() [all …]
|
A D | tree.c | 511 WRITE_ONCE(jiffies_to_sched_qs, j); in adjust_jiffies_till_sched_qs() 878 WRITE_ONCE(rdp->dynticks_nesting, 1); in rcu_eqs_exit() 1192 WRITE_ONCE(rdp->gpwrap, true); in rcu_gpnum_ovf() 1661 WRITE_ONCE(rdp->gpwrap, false); in __note_gp_changes() 1919 WRITE_ONCE(rcu_state.gp_flags, in rcu_gp_fqs() 2046 WRITE_ONCE(rnp->gp_seq, new_gp_seq); in rcu_gp_cleanup() 2089 WRITE_ONCE(rcu_state.gp_flags, in rcu_gp_cleanup() 2151 WRITE_ONCE(rcu_state.gp_flags, in rcu_report_qs_rsp() 2688 WRITE_ONCE(rcu_state.gp_flags, in rcu_force_quiescent_state() 3221 WRITE_ONCE(krcp->nr_bkv_objs, 0); in drain_page_cache() [all …]
|
A D | sync.c | 86 WRITE_ONCE(rsp->gp_state, GP_PASSED); in rcu_sync_func() 93 WRITE_ONCE(rsp->gp_state, GP_EXIT); in rcu_sync_func() 101 WRITE_ONCE(rsp->gp_state, GP_IDLE); in rcu_sync_func() 128 WRITE_ONCE(rsp->gp_state, GP_ENTER); in rcu_sync_enter() 176 WRITE_ONCE(rsp->gp_state, GP_EXIT); in rcu_sync_exit() 179 WRITE_ONCE(rsp->gp_state, GP_REPLAY); in rcu_sync_exit() 198 WRITE_ONCE(rsp->gp_state, GP_EXIT); in rcu_sync_dtor()
|
A D | srcutiny.c | 101 WRITE_ONCE(ssp->srcu_lock_nesting[idx], newval); in __srcu_read_unlock() 124 WRITE_ONCE(ssp->srcu_gp_running, true); in srcu_drive_gp() 131 WRITE_ONCE(ssp->srcu_idx, ssp->srcu_idx + 1); in srcu_drive_gp() 132 WRITE_ONCE(ssp->srcu_gp_waiting, true); /* srcu_read_unlock() wakes! */ in srcu_drive_gp() 134 WRITE_ONCE(ssp->srcu_gp_waiting, false); /* srcu_read_unlock() cheap. */ in srcu_drive_gp() 135 WRITE_ONCE(ssp->srcu_idx, ssp->srcu_idx + 1); in srcu_drive_gp() 152 WRITE_ONCE(ssp->srcu_gp_running, false); in srcu_drive_gp() 165 WRITE_ONCE(ssp->srcu_idx_max, cookie); in srcu_gp_start_if_needed()
|
/linux/tools/lib/ |
A D | rbtree.c | 155 WRITE_ONCE(parent->rb_right, tmp); in __rb_insert() 156 WRITE_ONCE(node->rb_left, parent); in __rb_insert() 199 WRITE_ONCE(parent->rb_left, tmp); in __rb_insert() 200 WRITE_ONCE(node->rb_right, parent); in __rb_insert() 253 WRITE_ONCE(parent->rb_right, tmp1); in ____rb_erase_color() 320 WRITE_ONCE(sibling->rb_left, tmp1); in ____rb_erase_color() 322 WRITE_ONCE(parent->rb_right, tmp2); in ____rb_erase_color() 343 WRITE_ONCE(parent->rb_right, tmp2); in ____rb_erase_color() 357 WRITE_ONCE(parent->rb_left, tmp1); in ____rb_erase_color() 386 WRITE_ONCE(parent->rb_left, tmp2); in ____rb_erase_color() [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
A D | ar9003_mac.c | 42 WRITE_ONCE(ads->info, val); 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() 81 WRITE_ONCE(ads->ctl13, 0); in ar9003_set_txdesc() 82 WRITE_ONCE(ads->ctl14, 0); in ar9003_set_txdesc() 92 WRITE_ONCE(ads->ctl11, 0); in ar9003_set_txdesc() 94 WRITE_ONCE(ads->ctl15, 0); in ar9003_set_txdesc() 95 WRITE_ONCE(ads->ctl16, 0); in ar9003_set_txdesc() [all …]
|
A 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() 292 WRITE_ONCE(ads->ds_ctl1, ctl1); in ar9002_set_txdesc() [all …]
|
/linux/lib/ |
A D | rbtree.c | 155 WRITE_ONCE(parent->rb_right, tmp); in __rb_insert() 156 WRITE_ONCE(node->rb_left, parent); in __rb_insert() 199 WRITE_ONCE(parent->rb_left, tmp); in __rb_insert() 200 WRITE_ONCE(node->rb_right, parent); in __rb_insert() 253 WRITE_ONCE(parent->rb_right, tmp1); in ____rb_erase_color() 320 WRITE_ONCE(sibling->rb_left, tmp1); in ____rb_erase_color() 322 WRITE_ONCE(parent->rb_right, tmp2); in ____rb_erase_color() 343 WRITE_ONCE(parent->rb_right, tmp2); in ____rb_erase_color() 357 WRITE_ONCE(parent->rb_left, tmp1); in ____rb_erase_color() 386 WRITE_ONCE(parent->rb_left, tmp2); in ____rb_erase_color() [all …]
|
/linux/arch/xtensa/platforms/xtfpga/ |
A 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/include/linux/ |
A D | rculist.h | 24 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD_RCU() 25 WRITE_ONCE(list->prev, list); in INIT_LIST_HEAD_RCU() 185 WRITE_ONCE(n->pprev, NULL); in hlist_del_init_rcu() 514 WRITE_ONCE(n->pprev, LIST_POISON2); in hlist_del_rcu() 530 WRITE_ONCE(new->pprev, old->pprev); in hlist_replace_rcu() 590 WRITE_ONCE(n->pprev, &h->first); in hlist_add_head_rcu() 593 WRITE_ONCE(first->pprev, &n->next); in hlist_add_head_rcu() 626 WRITE_ONCE(n->pprev, &last->next); in hlist_add_tail_rcu() 654 WRITE_ONCE(n->pprev, next->pprev); in hlist_add_before_rcu() 657 WRITE_ONCE(next->pprev, &n->next); in hlist_add_before_rcu() [all …]
|
A D | list.h | 37 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD() 75 WRITE_ONCE(prev->next, new); in __list_add() 115 WRITE_ONCE(prev->next, next); in __list_del() 840 WRITE_ONCE(*pprev, next); in __hlist_del() 842 WRITE_ONCE(next->pprev, pprev); in __hlist_del() 884 WRITE_ONCE(n->next, first); in hlist_add_head() 887 WRITE_ONCE(h->first, n); in hlist_add_head() 888 WRITE_ONCE(n->pprev, &h->first); in hlist_add_head() 900 WRITE_ONCE(n->next, next); in hlist_add_before() 902 WRITE_ONCE(*(n->pprev), n); in hlist_add_before() [all …]
|
A D | list_nulls.h | 97 WRITE_ONCE(n->pprev, &h->first); in hlist_nulls_add_head() 100 WRITE_ONCE(first->pprev, &n->next); in hlist_nulls_add_head() 108 WRITE_ONCE(*pprev, next); in __hlist_nulls_del() 110 WRITE_ONCE(next->pprev, pprev); in __hlist_nulls_del() 116 WRITE_ONCE(n->pprev, LIST_POISON2); in hlist_nulls_del()
|
/linux/tools/memory-model/Documentation/ |
A D | control-dependencies.txt | 37 WRITE_ONCE(b, 1); 65 WRITE_ONCE(b, 1); 69 WRITE_ONCE(b, 1); 108 WRITE_ONCE(b, 1); 111 WRITE_ONCE(b, 2); 125 WRITE_ONCE(b, 1); 128 WRITE_ONCE(b, 2); 138 WRITE_ONCE(b, 2); 151 WRITE_ONCE(b, 1); 154 WRITE_ONCE(b, 2); [all …]
|
/linux/kernel/locking/ |
A D | spinlock_debug.c | 93 WRITE_ONCE(lock->owner_cpu, raw_smp_processor_id()); in debug_spin_lock_after() 94 WRITE_ONCE(lock->owner, current); in debug_spin_lock_after() 104 WRITE_ONCE(lock->owner, SPINLOCK_OWNER_INIT); in debug_spin_unlock() 105 WRITE_ONCE(lock->owner_cpu, -1); in debug_spin_unlock() 193 WRITE_ONCE(lock->owner_cpu, raw_smp_processor_id()); in debug_write_lock_after() 194 WRITE_ONCE(lock->owner, current); in debug_write_lock_after() 203 WRITE_ONCE(lock->owner, SPINLOCK_OWNER_INIT); in debug_write_unlock() 204 WRITE_ONCE(lock->owner_cpu, -1); in debug_write_unlock()
|
A D | qspinlock_paravirt.h | 111 WRITE_ONCE(lock->pending, 1); in set_pending() 221 WRITE_ONCE(he->node, node); in pv_hash() 248 WRITE_ONCE(he->lock, NULL); in pv_unhash() 391 WRITE_ONCE(lock->locked, _Q_SLOW_VAL); in pv_kick_node() 427 WRITE_ONCE(pn->state, vcpu_running); in pv_wait_head_or_lock() 462 WRITE_ONCE(lock->locked, _Q_LOCKED_VAL); in pv_wait_head_or_lock() 463 WRITE_ONCE(*lp, NULL); in pv_wait_head_or_lock() 467 WRITE_ONCE(pn->state, vcpu_hashed); in pv_wait_head_or_lock()
|
A D | osq_lock.c | 126 WRITE_ONCE(prev->next, node); in osq_lock() 201 WRITE_ONCE(next->prev, prev); in osq_lock() 202 WRITE_ONCE(prev->next, next); in osq_lock() 225 WRITE_ONCE(next->locked, 1); in osq_unlock() 231 WRITE_ONCE(next->locked, 1); in osq_unlock()
|
/linux/net/mptcp/ |
A D | pm.c | 40 WRITE_ONCE(msk->pm.addr_signal, add_addr); in mptcp_pm_announce_addr() 57 WRITE_ONCE(msk->pm.addr_signal, rm_addr); in mptcp_pm_remove_addr() 80 WRITE_ONCE(pm->server_side, server_side); in mptcp_pm_new_connection() 103 WRITE_ONCE(pm->accept_subflow, false); in mptcp_pm_allow_new_subflow() 297 WRITE_ONCE(msk->pm.addr_signal, add_addr); in mptcp_pm_add_addr_signal() 320 WRITE_ONCE(msk->pm.addr_signal, rm_addr); in mptcp_pm_rm_addr_signal() 327 WRITE_ONCE(msk->pm.addr_signal, rm_addr); in mptcp_pm_rm_addr_signal() 367 WRITE_ONCE(msk->pm.work_pending, false); in mptcp_pm_data_init() 368 WRITE_ONCE(msk->pm.addr_signal, 0); in mptcp_pm_data_init() 369 WRITE_ONCE(msk->pm.accept_addr, false); in mptcp_pm_data_init() [all …]
|
/linux/drivers/iommu/intel/ |
A D | pasid.c | 289 WRITE_ONCE(pe->val[0], 0); in pasid_clear_entry() 290 WRITE_ONCE(pe->val[1], 0); in pasid_clear_entry() 291 WRITE_ONCE(pe->val[2], 0); in pasid_clear_entry() 292 WRITE_ONCE(pe->val[3], 0); in pasid_clear_entry() 293 WRITE_ONCE(pe->val[4], 0); in pasid_clear_entry() 294 WRITE_ONCE(pe->val[5], 0); in pasid_clear_entry() 295 WRITE_ONCE(pe->val[6], 0); in pasid_clear_entry() 296 WRITE_ONCE(pe->val[7], 0); in pasid_clear_entry() 302 WRITE_ONCE(pe->val[1], 0); in pasid_clear_entry_with_fpd() 303 WRITE_ONCE(pe->val[2], 0); in pasid_clear_entry_with_fpd() [all …]
|
/linux/tools/memory-model/litmus-tests/ |
A 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);
|
A 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);
|
A 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);
|
A 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);
|
/linux/include/vdso/ |
A D | helpers.h | 37 WRITE_ONCE(vd[CS_HRES_COARSE].seq, vd[CS_HRES_COARSE].seq + 1); in vdso_write_begin() 38 WRITE_ONCE(vd[CS_RAW].seq, vd[CS_RAW].seq + 1); in vdso_write_begin() 50 WRITE_ONCE(vd[CS_HRES_COARSE].seq, vd[CS_HRES_COARSE].seq + 1); in vdso_write_end() 51 WRITE_ONCE(vd[CS_RAW].seq, vd[CS_RAW].seq + 1); in vdso_write_end()
|
/linux/arch/arm64/include/asm/ |
A D | preempt.h | 18 WRITE_ONCE(current_thread_info()->preempt.count, pc); in preempt_count_set() 48 WRITE_ONCE(current_thread_info()->preempt.count, pc); in __preempt_count_add() 55 WRITE_ONCE(current_thread_info()->preempt.count, pc); in __preempt_count_sub() 64 WRITE_ONCE(ti->preempt.count, --pc); in __preempt_count_dec_and_test()
|