Searched refs:sb_dqopt (Results 1 – 15 of 15) sorted by relevance
59 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v1_read_dqblk()91 sb_dqopt(dquot->dq_sb)->info[type].dqi_bgrace; in v1_commit_dqblk()93 sb_dqopt(dquot->dq_sb)->info[type].dqi_igrace; in v1_commit_dqblk()96 if (sb_dqopt(dquot->dq_sb)->files[type]) in v1_commit_dqblk()128 struct inode *inode = sb_dqopt(sb)->files[type]; in v1_check_quota_file()160 struct quota_info *dqopt = sb_dqopt(sb); in v1_read_file_info()187 struct quota_info *dqopt = sb_dqopt(sb); in v1_write_file_info()
95 struct quota_info *dqopt = sb_dqopt(sb); in v2_read_file_info()171 struct quota_info *dqopt = sb_dqopt(sb); in v2_write_file_info()305 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_read_dquot()318 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_write_dquot()346 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_release_dquot()364 struct quota_info *dqopt = sb_dqopt(sb); in v2_get_next_id()
352 if (sb_dqopt(dquot->dq_sb)->flags & DQUOT_NOLIST_DIRTY) in dquot_mark_dquot_dirty()361 list_add(&dquot->dq_dirty, &sb_dqopt(dquot->dq_sb)-> in dquot_mark_dquot_dirty()396 if (sb_dqopt(dquot->dq_sb)->flags & DQUOT_NOLIST_DIRTY) in clear_dquot_dirty()412 sb_dqopt(sb)->info[type].dqi_flags |= DQF_INFO_DIRTY; in mark_info_dirty()424 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_acquire()467 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_commit()490 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_release()622 struct quota_info *dqopt = sb_dqopt(sb); in dquot_writeback_dquots()676 struct quota_info *dqopt = sb_dqopt(sb); in dquot_quota_sync()1109 if (sb_dqopt(dquot->dq_sb)->flags & DQUOT_NEGATIVE_USAGE || in dquot_decr_inodes()[all …]
615 if (!sb_dqopt(dquot->dq_sb)->files[type]) { in qtree_read_dquot()
111 fmt = sb_dqopt(sb)->info[type].dqi_format->qf_fmt_id; in quota_getfmt()
17 static inline struct quota_info *sb_dqopt(struct super_block *sb) in sb_dqopt() function113 return sb_dqopt(sb)->info + type; in sb_dqinfo()122 return sb_dqopt(sb)->flags & in sb_has_quota_usage_enabled()128 return sb_dqopt(sb)->flags & in sb_has_quota_limits_enabled()134 return sb_dqopt(sb)->flags & in sb_has_quota_suspended()140 return dquot_state_types(sb_dqopt(sb)->flags, DQUOT_SUSPENDED); in sb_any_quota_suspended()152 return dquot_state_types(sb_dqopt(sb)->flags, DQUOT_USAGE_ENABLED); in sb_any_quota_loaded()
169 struct inode *linode = sb_dqopt(sb)->files[type]; in ocfs2_local_check_quota_file()523 down_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_recover_local_quota_file()556 up_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_recover_local_quota_file()688 struct inode *lqinode = sb_dqopt(sb)->files[type]; in ocfs2_local_read_info()796 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type], bh, olq_update_info, in ocfs2_local_write_info()852 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type], in ocfs2_local_free_info()862 ocfs2_inode_unlock(sb_dqopt(sb)->files[type], 1); in ocfs2_local_free_info()898 struct inode *lqinode = sb_dqopt(sb)->files[dquot->dq_id.type]; in ocfs2_local_write_dquot()967 struct inode *lqinode = sb_dqopt(sb)->files[type]; in ocfs2_local_quota_add_chunk()1099 struct inode *lqinode = sb_dqopt(sb)->files[type]; in ocfs2_extend_local_quota_file()[all …]
448 struct quota_info *dqopt = sb_dqopt(sb); in ocfs2_global_write_info()620 down_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_sync_dquot_helper()628 up_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_sync_dquot_helper()675 down_write(&sb_dqopt(dquot->dq_sb)->dqio_sem); in ocfs2_write_dquot()677 up_write(&sb_dqopt(dquot->dq_sb)->dqio_sem); in ocfs2_write_dquot()948 down_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_mark_dquot_dirty()957 up_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_mark_dquot_dirty()
949 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE | DQUOT_NEGATIVE_USAGE; in ocfs2_enable_quotas()
765 struct inode *inode = sb_dqopt(sb)->files[type]; in jfs_quota_read()810 struct inode *inode = sb_dqopt(sb)->files[type]; in jfs_quota_write()890 struct inode *inode = sb_dqopt(sb)->files[type]; in jfs_quota_off()
1492 struct inode *inode = sb_dqopt(sb)->files[type]; in ext2_quota_read()1537 struct inode *inode = sb_dqopt(sb)->files[type]; in ext2_quota_write()1609 struct inode *inode = sb_dqopt(sb)->files[type]; in ext2_quota_off()
408 if (sb_dqopt(s)->files[i] && quota_enabled[i]) in finish_unfinished()2462 struct inode *inode = sb_dqopt(sb)->files[type]; in reiserfs_quota_off()2493 struct inode *inode = sb_dqopt(sb)->files[type]; in reiserfs_quota_read()2543 struct inode *inode = sb_dqopt(sb)->files[type]; in reiserfs_quota_write()
2629 if (sb_dqopt(sb)->files[i]) in ext4_orphan_cleanup()5455 return sb_dqopt(dquot->dq_sb)->files[dquot->dq_id.type]; in dquot_to_inode()5587 sb_dqopt(sb)->flags |= DQUOT_NOLIST_DIRTY; in ext4_quota_on()5593 sb_dqopt(sb)->flags &= ~DQUOT_NOLIST_DIRTY; in ext4_quota_on()5690 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE | DQUOT_NOLIST_DIRTY; in ext4_enable_quotas()5713 struct inode *inode = sb_dqopt(sb)->files[type]; in ext4_quota_off()5760 struct inode *inode = sb_dqopt(sb)->files[type]; in ext4_quota_read()5797 struct inode *inode = sb_dqopt(sb)->files[type]; in ext4_quota_write()5858 ops = sb_dqopt(sb)->ops[qid->type]; in ext4_get_next_id()
1586 struct inode *inode = sb_dqopt(sb)->files[type]; in f2fs_quota_read()1642 struct inode *inode = sb_dqopt(sb)->files[type]; in f2fs_quota_write()1769 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE | DQUOT_NOLIST_DIRTY; in f2fs_enable_quotas()1792 struct quota_info *dqopt = sb_dqopt(sb); in f2fs_quota_sync()1849 struct inode *inode = sb_dqopt(sb)->files[type]; in f2fs_quota_off()
1065 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE; in fill_super()