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()324 if (!(atomic_read(&mm->membarrier_state) & in membarrier_private_expedited()[all …]
1016 int membarrier_state; member3196 int membarrier_state; in membarrier_switch_mm() local3201 membarrier_state = atomic_read(&next_mm->membarrier_state); in membarrier_switch_mm()3202 if (READ_ONCE(rq->membarrier_state) == membarrier_state) in membarrier_switch_mm()3205 WRITE_ONCE(rq->membarrier_state, membarrier_state); in membarrier_switch_mm()