Searched refs:membarrier_state (Results 1 – 2 of 2) sorted by relevance
208 this_cpu_write(runqueues.membarrier_state, in ipi_sync_rq_state()209 atomic_read(&mm->membarrier_state)); in ipi_sync_rq_state()227 atomic_set(&mm->membarrier_state, 0); in membarrier_exec_mmap()232 this_cpu_write(runqueues.membarrier_state, 0); in membarrier_exec_mmap()238 int membarrier_state = 0; in membarrier_update_current_mm() local241 membarrier_state = atomic_read(&next_mm->membarrier_state); in membarrier_update_current_mm()242 if (READ_ONCE(rq->membarrier_state) == membarrier_state) in membarrier_update_current_mm()244 WRITE_ONCE(rq->membarrier_state, membarrier_state); in membarrier_update_current_mm()281 if (!(READ_ONCE(cpu_rq(cpu)->membarrier_state) & in membarrier_global_expedited()322 if (!(atomic_read(&mm->membarrier_state) & in membarrier_private_expedited()[all …]
1055 int membarrier_state; member3230 int membarrier_state; in membarrier_switch_mm() local3235 membarrier_state = atomic_read(&next_mm->membarrier_state); in membarrier_switch_mm()3236 if (READ_ONCE(rq->membarrier_state) == membarrier_state) in membarrier_switch_mm()3239 WRITE_ONCE(rq->membarrier_state, membarrier_state); in membarrier_switch_mm()