Lines Matching refs:localcount_drain
69 * The caller must call localcount_drain and then localcount_fini
81 * localcount_drain(lc, cv, interlock)
84 * hold interlock; localcount_drain releases it during cross-calls
89 * with localcount_acquire before calling localcount_drain. For
91 * must be removed from the list before localcount_drain.
98 localcount_drain(struct localcount *lc, kcondvar_t *cv, kmutex_t *interlock)
155 * localcount_drain() has started, we only maintain the total
211 * localcount_drain. For example, any object that may be found in
213 * localcount_drain.
231 * localcount_drain and this may be the last reference, notify
232 * localcount_drain by acquiring interlock, waking cv, and
234 * the same as are passed to localcount_drain for this lc.
237 * concurrent localcount_drain in progress.
248 * Otherwise, localcount_drain may notice an extant reference
251 * localcount_drain.
258 * Slow path -- wake localcount_drain in case this is