Lines Matching refs:writers
175 atomic_set(&ret->writers, 0);
304 ret = atomic_add_return(nbits, &subpage->writers);
321 * subpage::writers is 0. Handle them in a special way.
323 if (atomic_read(&subpage->writers) == 0)
326 ASSERT(atomic_read(&subpage->writers) >= nbits);
327 return atomic_sub_and_test(nbits, &subpage->writers);
676 * It should not have any subpage::writers count.
702 * without writers number.
704 * Since we own the page lock, no one else could touch subpage::writers
707 if (atomic_read(&subpage->writers) == 0)
708 /* No writers, locked by plain lock_page() */
711 /* Have writers, use proper subpage helper to end it */