Lines Matching full:atomic
57 * change the start state to atomic with the latter setting the initial refcount
193 * time is equivalent and saves us atomic operations: in percpu_ref_switch_to_atomic_rcu()
198 "percpu ref (%ps) <= 0 (%ld) after switching to atomic", in percpu_ref_switch_to_atomic_rcu()
222 /* switching from percpu to atomic */ in __percpu_ref_switch_to_atomic()
273 * If the previous ATOMIC switching hasn't finished yet, wait for in __percpu_ref_switch_mode()
274 * its completion. If the caller ensures that ATOMIC switching in __percpu_ref_switch_mode()
287 * percpu_ref_switch_to_atomic - switch a percpu_ref to atomic mode
288 * @ref: percpu_ref to switch to atomic mode
294 * Schedule switching of @ref to atomic mode. All its percpu counts will
295 * be collected to the main atomic counter. On completion, when all CPUs
296 * are guaraneed to be in atomic mode, @confirm_switch, which may not
299 * operations. Note that @ref will stay in atomic mode across kill/reinit
302 * This function may block if @ref is in the process of switching to atomic
304 * switching to atomic mode, this function can be called from any context.
321 * percpu_ref_switch_to_atomic_sync - switch a percpu_ref to atomic mode
322 * @ref: percpu_ref to switch to atomic mode
324 * Schedule switching the ref to atomic mode, and wait for the
344 * reinit operations. This function reverses the sticky atomic state set
349 * This function may block if @ref is in the process of switching to atomic
351 * switching to atomic mode, this function can be called from any context.
379 * process of switching to atomic mode by percpu_ref_switch_to_atomic().