| /linux/include/asm-generic/ |
| H A D | barrier.h | 159 #ifndef smp_store_mb 160 #define smp_store_mb(var, value) do { kcsan_mb(); __smp_store_mb(var, value); } while (0) macro 181 #ifndef smp_store_mb 182 #define smp_store_mb(var, value) do { WRITE_ONCE(var, value); barrier(); } while (0) macro
|
| /linux/kernel/kcsan/ |
| H A D | selftest.c | 149 KCSAN_CHECK_READ_BARRIER(smp_store_mb(test_var, 0)); in test_barrier() 178 KCSAN_CHECK_WRITE_BARRIER(smp_store_mb(test_var, 0)); in test_barrier() 210 KCSAN_CHECK_RW_BARRIER(smp_store_mb(test_var, 0)); in test_barrier()
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_gt_irq.h | 62 smp_store_mb(engine->irq_handler, fn); in intel_engine_set_irq_handler()
|
| /linux/drivers/dma-buf/ |
| H A D | st-dma-fence.c | 157 smp_store_mb(container_of(cb, struct simple_cb, cb)->seen, true); in simple_callback() 489 smp_store_mb(cb.seen, false); in thread_signal_callback()
|
| /linux/tools/memory-model/Documentation/ |
| H A D | herd-representation.txt | 43 | smp_store_mb | W[ONCE] ->po F[MB] |
|
| /linux/kernel/locking/ |
| H A D | qspinlock_paravirt.h | 317 smp_store_mb(pn->state, VCPU_HALTED); in pv_wait_node()
|
| /linux/tools/memory-model/ |
| H A D | linux-kernel.def | 17 smp_store_mb(X,V) { __store{ONCE}(X,V); __fence{MB}; }
|
| /linux/kernel/sched/ |
| H A D | wait.c | 451 smp_store_mb(wq_entry->flags, wq_entry->flags & ~WQ_FLAG_WOKEN); /* B */ in wait_woken()
|
| /linux/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_sw_fence.c | 519 smp_store_mb(ipc->value, 1); in task_ipc()
|
| /linux/drivers/firmware/arm_scmi/ |
| H A D | raw_mode.c | 642 smp_store_mb(xfer->state, SCMI_XFER_SENT_OK); in scmi_do_xfer_raw_start() 1508 smp_store_mb(xfer.priv, priv); in scmi_raw_error_report()
|
| H A D | driver.c | 1102 smp_store_mb(xfer->priv, priv); in scmi_handle_notification() 1151 smp_store_mb(xfer->priv, priv); in scmi_handle_response()
|
| /linux/Documentation/translations/ko_KR/ |
| H A D | memory-barriers.txt | 1842 (*) smp_store_mb(var, value) 2130 smp_store_mb(); 2173 smp_store_mb(); wake_up();
|
| /linux/drivers/infiniband/sw/siw/ |
| H A D | siw_qp_rx.c | 375 smp_store_mb(rqe->flags, 0); in siw_rqe_get() 713 smp_store_mb(resp->flags, SIW_WQE_VALID); in siw_init_rresp()
|
| /linux/arch/mips/kvm/ |
| H A D | mips.c | 451 smp_store_mb(vcpu->mode, IN_GUEST_MODE); in kvm_arch_vcpu_ioctl_run() 1333 smp_store_mb(vcpu->mode, IN_GUEST_MODE); in __kvm_mips_handle_exit()
|
| /linux/arch/loongarch/kvm/ |
| H A D | vcpu.c | 287 smp_store_mb(vcpu->mode, IN_GUEST_MODE); in kvm_pre_enter_guest() 307 smp_store_mb(vcpu->mode, OUTSIDE_GUEST_MODE); in kvm_pre_enter_guest()
|
| /linux/include/linux/ |
| H A D | sched.h | 249 smp_store_mb(current->__state, (state_value)); \
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | clock.c | 424 smp_store_mb(clock_info->sign, in mlx5_update_clock_info_page()
|
| /linux/arch/arm64/kvm/ |
| H A D | arm.c | 1226 smp_store_mb(vcpu->mode, IN_GUEST_MODE); in kvm_arch_vcpu_ioctl_run()
|
| /linux/drivers/net/ |
| H A D | veth.c | 988 smp_store_mb(rq->rx_notify_masked, false); in veth_poll()
|
| /linux/Documentation/ |
| H A D | memory-barriers.txt | 1880 (*) smp_store_mb(var, value) 2173 smp_store_mb(); 2218 smp_store_mb(); wake_up();
|
| /linux/net/tls/ |
| H A D | tls_sw.c | 507 smp_store_mb(rec->tx_ready, true); in tls_encrypt_done()
|
| /linux/Documentation/translations/sp_SP/ |
| H A D | memory-barriers.txt | 1957 (*) smp_store_mb(var, valor) 2267 smp_store_mb(); 2312 smp_store_mb(); wake_up();
|
| /linux/arch/x86/kvm/mmu/ |
| H A D | mmu.c | 575 smp_store_mb(vcpu->mode, READING_SHADOW_PAGE_TABLES); in walk_shadow_page_lockless_begin()
|
| /linux/arch/x86/kvm/ |
| H A D | x86.c | 4145 smp_store_mb(vcpu->arch.apf.pageready_pending, false); in kvm_set_msr_common()
|