Lines Matching refs:dq_count
587 if (atomic_read(&dquot->dq_count)) {
588 atomic_inc(&dquot->dq_count);
595 * Otherwise dq_count would be > 1 and we would never
599 atomic_read(&dquot->dq_count) == 1);
644 atomic_inc(&dquot->dq_count);
832 WARN_ON_ONCE(atomic_read(&dquot->dq_count));
864 if (!atomic_read(&dquot->dq_count)) {
874 if (atomic_read(&dquot->dq_count) > 1) {
876 atomic_dec(&dquot->dq_count);
879 atomic_read(&dquot->dq_count) == 1)
891 atomic_dec(&dquot->dq_count);
918 atomic_set(&dquot->dq_count, 1);
972 if (!atomic_read(&dquot->dq_count))
974 atomic_inc(&dquot->dq_count);
980 * already finished or it will be canceled due to dq_count > 0 test */