Lines Matching full:atomic
56 * change the start state to atomic with the latter setting the initial refcount
190 * time is equivalent and saves us atomic operations: in percpu_ref_switch_to_atomic_rcu()
195 "percpu ref (%ps) <= 0 (%ld) after switching to atomic", in percpu_ref_switch_to_atomic_rcu()
215 /* switching from percpu to atomic */ in __percpu_ref_switch_to_atomic()
265 * If the previous ATOMIC switching hasn't finished yet, wait for in __percpu_ref_switch_mode()
266 * its completion. If the caller ensures that ATOMIC switching in __percpu_ref_switch_mode()
279 * percpu_ref_switch_to_atomic - switch a percpu_ref to atomic mode
280 * @ref: percpu_ref to switch to atomic mode
286 * Schedule switching of @ref to atomic mode. All its percpu counts will
287 * be collected to the main atomic counter. On completion, when all CPUs
288 * are guaraneed to be in atomic mode, @confirm_switch, which may not
291 * operations. Note that @ref will stay in atomic mode across kill/reinit
294 * This function may block if @ref is in the process of switching to atomic
296 * switching to atomic mode, this function can be called from any context.
313 * percpu_ref_switch_to_atomic_sync - switch a percpu_ref to atomic mode
314 * @ref: percpu_ref to switch to atomic mode
316 * Schedule switching the ref to atomic mode, and wait for the
336 * reinit operations. This function reverses the sticky atomic state set
341 * This function may block if @ref is in the process of switching to atomic
343 * switching to atomic mode, this function can be called from any context.
371 * process of switching to atomic mode by percpu_ref_switch_to_atomic().