Lines Matching full:running

197     /* Ensure we are not running, or start_exclusive will be blocked. */  in start_exclusive()
198 g_assert(!current_cpu->running); in start_exclusive()
211 /* Write pending_cpus before reading other_cpu->running. */ in start_exclusive()
215 if (qatomic_read(&other_cpu->running)) { in start_exclusive()
252 qatomic_set(&cpu->running, true); in cpu_exec_start()
254 /* Write cpu->running before reading pending_cpus. */ in cpu_exec_start()
257 /* 1. start_exclusive saw cpu->running == true and pending_cpus >= 1. in cpu_exec_start()
262 * 2. start_exclusive saw cpu->running == false but pending_cpus >= 1. in cpu_exec_start()
263 * This includes the case when an exclusive item is running now. in cpu_exec_start()
268 * see cpu->running == true, and it will kick the CPU. in cpu_exec_start()
274 * run. Since we have the lock, just set cpu->running to true in cpu_exec_start()
277 qatomic_set(&cpu->running, false); in cpu_exec_start()
280 qatomic_set(&cpu->running, true); in cpu_exec_start()
292 qatomic_set(&cpu->running, false); in cpu_exec_end()
294 /* Write cpu->running before reading pending_cpus. */ in cpu_exec_end()
297 /* 1. start_exclusive saw cpu->running == true. Then it will increment in cpu_exec_end()
301 * 2. start_exclusive saw cpu->running == false but here pending_cpus >= 1. in cpu_exec_end()
303 * cpu->running to false and before we read pending_cpus. Then we'll see in cpu_exec_end()
309 * see cpu->running == false, and it can ignore this CPU until the in cpu_exec_end()
363 /* Running work items outside the BQL avoids the following deadlock: in process_queued_cpu_work()
365 * CPU is running; 2) cpu_exec in the other CPU tries to takes the in process_queued_cpu_work()