Lines Matching refs:dq_count
589 if (atomic_read(&dquot->dq_count)) {
590 atomic_inc(&dquot->dq_count);
597 * Otherwise dq_count would be > 1 and we would never
601 atomic_read(&dquot->dq_count) == 1);
646 atomic_inc(&dquot->dq_count);
834 WARN_ON_ONCE(atomic_read(&dquot->dq_count));
866 if (!atomic_read(&dquot->dq_count)) {
876 if (atomic_read(&dquot->dq_count) > 1) {
878 atomic_dec(&dquot->dq_count);
881 atomic_read(&dquot->dq_count) == 1)
893 atomic_dec(&dquot->dq_count);
920 atomic_set(&dquot->dq_count, 1);
974 if (!atomic_read(&dquot->dq_count))
976 atomic_inc(&dquot->dq_count);
982 * already finished or it will be canceled due to dq_count > 0 test */