Lines Matching full:atomic

57  * change the start state to atomic with the latter setting the initial refcount
192 * time is equivalent and saves us atomic operations: in percpu_ref_switch_to_atomic_rcu()
197 "percpu ref (%ps) <= 0 (%ld) after switching to atomic", in percpu_ref_switch_to_atomic_rcu()
221 /* switching from percpu to atomic */ in __percpu_ref_switch_to_atomic()
271 * If the previous ATOMIC switching hasn't finished yet, wait for in __percpu_ref_switch_mode()
272 * its completion. If the caller ensures that ATOMIC switching in __percpu_ref_switch_mode()
285 * percpu_ref_switch_to_atomic - switch a percpu_ref to atomic mode
286 * @ref: percpu_ref to switch to atomic mode
292 * Schedule switching of @ref to atomic mode. All its percpu counts will
293 * be collected to the main atomic counter. On completion, when all CPUs
294 * are guaraneed to be in atomic mode, @confirm_switch, which may not
297 * operations. Note that @ref will stay in atomic mode across kill/reinit
300 * This function may block if @ref is in the process of switching to atomic
302 * switching to atomic mode, this function can be called from any context.
319 * percpu_ref_switch_to_atomic_sync - switch a percpu_ref to atomic mode
320 * @ref: percpu_ref to switch to atomic mode
322 * Schedule switching the ref to atomic mode, and wait for the
342 * reinit operations. This function reverses the sticky atomic state set
347 * This function may block if @ref is in the process of switching to atomic
349 * switching to atomic mode, this function can be called from any context.
377 * process of switching to atomic mode by percpu_ref_switch_to_atomic().