Home
last modified time | relevance | path

Searched refs:membarrier_state (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/kernel/sched/
H A Dmembarrier.c228 atomic_set(&mm->membarrier_state, 0); in membarrier_exec_mmap()
239 int membarrier_state = 0; in membarrier_update_current_mm() local
242 membarrier_state = atomic_read(&next_mm->membarrier_state); in membarrier_update_current_mm()
243 if (READ_ONCE(rq->membarrier_state) == membarrier_state) in membarrier_update_current_mm()
245 WRITE_ONCE(rq->membarrier_state, membarrier_state); in membarrier_update_current_mm()
433 int membarrier_state = atomic_read(&mm->membarrier_state); in sync_runqueues_membarrier_state() local
438 this_cpu_write(runqueues.membarrier_state, membarrier_state); in sync_runqueues_membarrier_state()
503 &mm->membarrier_state); in membarrier_register_global_expedited()
573 membarrier_state = atomic_read(&mm->membarrier_state); in membarrier_get_registrations()
575 if (membarrier_state & states[i]) { in membarrier_get_registrations()
[all …]
H A Dsched.h1045 int membarrier_state; member
3243 int membarrier_state; in membarrier_switch_mm() local
3248 membarrier_state = atomic_read(&next_mm->membarrier_state); in membarrier_switch_mm()
3249 if (READ_ONCE(rq->membarrier_state) == membarrier_state) in membarrier_switch_mm()
3252 WRITE_ONCE(rq->membarrier_state, membarrier_state); in membarrier_switch_mm()
/openbmc/linux/arch/powerpc/include/asm/
H A Dmembarrier.h16 likely(!(atomic_read(&next->membarrier_state) & in membarrier_arch_switch_mm()
/openbmc/linux/arch/riscv/include/asm/
H A Dmembarrier.h17 likely(!(atomic_read(&next->membarrier_state) & in membarrier_arch_switch_mm()
/openbmc/linux/include/linux/sched/
H A Dmm.h457 if (likely(!(atomic_read(&mm->membarrier_state) & in membarrier_mm_sync_core_before_usermode()
/openbmc/linux/include/linux/
H A Dmm_types.h740 atomic_t membarrier_state; member