Lines Matching refs:dq_sb
279 head = dquot_hash + hashfn(dquot->dq_sb, dquot->dq_id); in insert_dquot_hash()
294 if (dquot->dq_sb == sb && qid_eq(dquot->dq_id, qid)) in find_dquot()
345 return dquot->dq_sb->dq_op->mark_dirty(dquot); in mark_dquot_dirty()
356 if (sb_dqopt(dquot->dq_sb)->flags & DQUOT_NOLIST_DIRTY) in dquot_mark_dquot_dirty()
365 list_add(&dquot->dq_dirty, &sb_dqopt(dquot->dq_sb)-> in dquot_mark_dquot_dirty()
400 if (sb_dqopt(dquot->dq_sb)->flags & DQUOT_NOLIST_DIRTY) in clear_dquot_dirty()
428 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_acquire()
445 dquot->dq_sb, dquot->dq_id.type); in dquot_acquire()
472 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_commit()
495 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_release()
506 dquot->dq_sb, dquot->dq_id.type); in dquot_release()
526 dquot->dq_sb->dq_op->destroy_dquot(dquot); in do_destroy_dquot()
542 if (dquot->dq_sb != sb) in invalidate_dquots()
592 if (dquot->dq_sb != sb) in dquot_scan_active()
759 quota_error(dquot->dq_sb, "trying to free free dquot of %s %d", in dqput()
772 if (!sb_has_quota_active(dquot->dq_sb, dquot->dq_id.type) && in dqput()
782 ret = dquot->dq_sb->dq_op->write_dquot(dquot); in dqput()
784 quota_error(dquot->dq_sb, "Can't write quota structure" in dqput()
797 dquot->dq_sb->dq_op->release_dquot(dquot); in dqput()
829 dquot->dq_sb = sb; in get_empty_dquot()
912 BUG_ON(!dquot->dq_sb); /* Has somebody invalidated entry under us? */ in dqget()
1118 if (sb_dqopt(dquot->dq_sb)->flags & DQUOT_NEGATIVE_USAGE || in dquot_decr_inodes()
1130 if (sb_dqopt(dquot->dq_sb)->flags & DQUOT_NEGATIVE_USAGE || in dquot_decr_space()
1231 warn->w_sb = dquot->dq_sb; in prepare_warning()
1257 struct mem_dqinfo *info = &sb_dqopt(dquot->dq_sb)->info[dquot->dq_id.type]; in ignore_hardlimit()
1272 if (!sb_has_quota_limits_enabled(dquot->dq_sb, dquot->dq_id.type) || in dquot_add_inodes()
1299 sb_dqopt(dquot->dq_sb)->info[dquot->dq_id.type].dqi_igrace; in dquot_add_inodes()
1314 struct super_block *sb = dquot->dq_sb; in dquot_add_space()
1383 !sb_has_quota_limits_enabled(dquot->dq_sb, dquot->dq_id.type)) in info_idq_free()
2654 struct mem_dqinfo *dqi = &sb_dqopt(dquot->dq_sb)->info[dquot->dq_id.type]; in do_set_dqblk()