Home
last modified time | relevance | path

Searched refs:smp_store_mb (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.12.1/include/asm-generic/
Dbarrier.h159 #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-6.12.1/drivers/firmware/arm_scmi/transports/
Dvirtio.c520 smp_store_mb(xfer->priv, msg); in virtio_send_message()
534 smp_store_mb(xfer->priv, NULL); in virtio_send_message()
610 smp_store_mb(xfer->priv, NULL); in virtio_mark_txdone()
871 smp_store_mb(scmi_vdev, vdev); in scmi_vio_probe()
878 smp_store_mb(scmi_vdev, NULL); in scmi_vio_probe()
900 smp_store_mb(scmi_vdev, NULL); in scmi_vio_remove()
Doptee.c591 smp_store_mb(scmi_optee_private, NULL); in scmi_optee_service_remove()
/linux-6.12.1/kernel/kcsan/
Dselftest.c149 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()
Dkcsan_test.c582 KCSAN_EXPECT_READ_BARRIER(smp_store_mb(test_var, 0), true); in test_barrier_nothreads()
627 KCSAN_EXPECT_WRITE_BARRIER(smp_store_mb(test_var, 0), true); in test_barrier_nothreads()
672 KCSAN_EXPECT_RW_BARRIER(smp_store_mb(test_var, 0), true); in test_barrier_nothreads()
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_gt_irq.h62 smp_store_mb(engine->irq_handler, fn); in intel_engine_set_irq_handler()
/linux-6.12.1/drivers/gpu/drm/i915/selftests/
Dintel_uncore.c203 smp_store_mb(domain->active, false); in live_forcewake_ops()
240 smp_store_mb(domain->active, false); in live_forcewake_ops()
Di915_sw_fence.c519 smp_store_mb(ipc->value, 1); in task_ipc()
/linux-6.12.1/drivers/infiniband/sw/siw/
Dsiw_qp.c964 smp_store_mb(sqe->flags, 0); in siw_activate_tx_from_sq()
1028 smp_store_mb(irqe->flags, 0); in siw_activate_tx()
1097 smp_store_mb(sqe->flags, 0); in siw_sqe_complete()
1116 smp_store_mb(sqe->flags, 0); in siw_sqe_complete()
1159 smp_store_mb(rqe->flags, 0); in siw_rqe_complete()
1178 smp_store_mb(rqe->flags, 0); in siw_rqe_complete()
Dsiw_qp_rx.c375 smp_store_mb(rqe->flags, 0); in siw_rqe_get()
713 smp_store_mb(resp->flags, SIW_WQE_VALID); in siw_init_rresp()
Dsiw_verbs.c1268 smp_store_mb(cq->notify->flags, SIW_NOTIFY_SOLICITED); in siw_req_notify_cq()
1274 smp_store_mb(cq->notify->flags, SIW_NOTIFY_ALL); in siw_req_notify_cq()
/linux-6.12.1/drivers/dma-buf/
Dst-dma-fence.c157 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()
Ddma-resv.c324 smp_store_mb(fobj->num_fences, count); in dma_resv_add_fence()
/linux-6.12.1/tools/memory-model/Documentation/
Dherd-representation.txt38 | smp_store_mb | W[once] ->po F[mb] |
/linux-6.12.1/kernel/locking/
Dqspinlock_paravirt.h317 smp_store_mb(pn->state, vcpu_halted); in pv_wait_node()
/linux-6.12.1/kernel/sched/
Dwait.c432 smp_store_mb(wq_entry->flags, wq_entry->flags & ~WQ_FLAG_WOKEN); /* B */ in wait_woken()
/linux-6.12.1/tools/memory-model/
Dlinux-kernel.def17 smp_store_mb(X,V) { __store{once}(X,V); __fence{mb}; }
/linux-6.12.1/drivers/firmware/arm_scmi/
Draw_mode.c641 smp_store_mb(xfer->state, SCMI_XFER_SENT_OK); in scmi_do_xfer_raw_start()
1444 smp_store_mb(xfer.priv, priv); in scmi_raw_error_report()
Ddriver.c1085 smp_store_mb(xfer->priv, priv); in scmi_handle_notification()
1134 smp_store_mb(xfer->priv, priv); in scmi_handle_response()
/linux-6.12.1/Documentation/translations/ko_KR/
Dmemory-barriers.txt1842 (*) smp_store_mb(var, value)
2130 smp_store_mb();
2173 smp_store_mb(); wake_up();
/linux-6.12.1/arch/mips/kvm/
Dmips.c452 smp_store_mb(vcpu->mode, IN_GUEST_MODE); in kvm_arch_vcpu_ioctl_run()
1334 smp_store_mb(vcpu->mode, IN_GUEST_MODE); in __kvm_mips_handle_exit()
/linux-6.12.1/arch/loongarch/kvm/
Dvcpu.c280 smp_store_mb(vcpu->mode, IN_GUEST_MODE); in kvm_pre_enter_guest()
296 smp_store_mb(vcpu->mode, OUTSIDE_GUEST_MODE); in kvm_pre_enter_guest()
/linux-6.12.1/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c981 smp_store_mb(i915->gem.mmap_singleton, file); in mmap_singleton()
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_active.c1008 smp_store_mb(*ll_to_fence_slot(node), &rq->fence); in i915_request_add_active_barriers()
/linux-6.12.1/include/linux/
Dsched.h235 smp_store_mb(current->__state, (state_value)); \

12