Searched refs:sb_dqopt (Results 1 – 18 of 18) sorted by relevance
60 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v1_read_dqblk()92 sb_dqopt(dquot->dq_sb)->info[type].dqi_bgrace; in v1_commit_dqblk()94 sb_dqopt(dquot->dq_sb)->info[type].dqi_igrace; in v1_commit_dqblk()97 if (sb_dqopt(dquot->dq_sb)->files[type]) in v1_commit_dqblk()129 struct inode *inode = sb_dqopt(sb)->files[type]; in v1_check_quota_file()161 struct quota_info *dqopt = sb_dqopt(sb); in v1_read_file_info()191 struct quota_info *dqopt = sb_dqopt(sb); in v1_write_file_info()
94 struct quota_info *dqopt = sb_dqopt(sb); in v2_read_file_info()165 i_size_read(sb_dqopt(sb)->files[type])) { in v2_read_file_info()168 i_size_read(sb_dqopt(sb)->files[type])); in v2_read_file_info()200 struct quota_info *dqopt = sb_dqopt(sb); in v2_write_file_info()338 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_read_dquot()354 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_write_dquot()385 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_release_dquot()406 struct quota_info *dqopt = sb_dqopt(sb); in v2_get_next_id()
685 struct quota_info *dqopt = sb_dqopt(sb); in dquot_writeback_dquots()741 struct quota_info *dqopt = sb_dqopt(sb); in dquot_quota_sync()2176 struct quota_info *dqopt = sb_dqopt(sb); in dquot_commit_info()2184 struct quota_info *dqopt = sb_dqopt(sb); in dquot_get_next_id()2225 struct quota_info *dqopt = sb_dqopt(sb); in vfs_cleanup_quota_inode()2245 struct quota_info *dqopt = sb_dqopt(sb); in dquot_disable()2360 struct quota_info *dqopt = sb_dqopt(sb); in vfs_setup_quota_inode()2408 struct quota_info *dqopt = sb_dqopt(sb); in dquot_load_quota_sb()2506 struct quota_info *dqopt = sb_dqopt(sb); in dquot_resume()2845 mi = sb_dqopt(sb)->info + type; in dquot_get_state()[all …]
729 if (!sb_dqopt(dquot->dq_sb)->files[type]) { in qtree_read_dquot()
113 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() function124 return sb_dqopt(sb)->info + type; in sb_dqinfo()133 return sb_dqopt(sb)->flags & in sb_has_quota_usage_enabled()139 return sb_dqopt(sb)->flags & in sb_has_quota_limits_enabled()145 return sb_dqopt(sb)->flags & in sb_has_quota_suspended()151 return dquot_state_types(sb_dqopt(sb)->flags, DQUOT_SUSPENDED); in sb_any_quota_suspended()163 return dquot_state_types(sb_dqopt(sb)->flags, DQUOT_USAGE_ENABLED); in sb_any_quota_loaded()
67 struct quota_info *dqopt = sb_dqopt(sb); in shmem_read_file_info()95 struct mem_dqinfo *info = &sb_dqopt(sb)->info[type]; in shmem_free_file_info()119 struct quota_info *dqopt = sb_dqopt(sb); in shmem_get_next_id()172 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in shmem_acquire_dquot()270 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in shmem_release_dquot()
304 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE | DQUOT_NOLIST_DIRTY; in shmem_enable_quotas()
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()558 up_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_recover_local_quota_file()687 struct inode *lqinode = sb_dqopt(sb)->files[type]; in ocfs2_local_read_info()854 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type], in ocfs2_local_free_info()861 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()1220 struct inode *lqinode = sb_dqopt(sb)->files[type]; in ocfs2_create_local_dquot()[all …]
451 struct quota_info *dqopt = sb_dqopt(sb); in ocfs2_global_write_info()627 down_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_sync_dquot_helper()637 up_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_sync_dquot_helper()685 down_write(&sb_dqopt(dquot->dq_sb)->dqio_sem); in ocfs2_write_dquot()689 up_write(&sb_dqopt(dquot->dq_sb)->dqio_sem); in ocfs2_write_dquot()966 down_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_mark_dquot_dirty()977 up_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_mark_dquot_dirty()
920 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE | DQUOT_NEGATIVE_USAGE; in ocfs2_enable_quotas()
697 struct inode *inode = sb_dqopt(sb)->files[type]; in jfs_quota_read()741 struct inode *inode = sb_dqopt(sb)->files[type]; in jfs_quota_write()820 struct inode *inode = sb_dqopt(sb)->files[type]; in jfs_quota_off()
1522 struct inode *inode = sb_dqopt(sb)->files[type]; in ext2_quota_read()1566 struct inode *inode = sb_dqopt(sb)->files[type]; in ext2_quota_write()1637 struct inode *inode = sb_dqopt(sb)->files[type]; in ext2_quota_off()
2690 struct inode *inode = sb_dqopt(sb)->files[type]; in f2fs_quota_read()2745 struct inode *inode = sb_dqopt(sb)->files[type]; in f2fs_quota_write()2896 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE; in f2fs_enable_quotas()2920 struct quota_info *dqopt = sb_dqopt(sbi->sb); in f2fs_quota_sync_file()2948 struct quota_info *dqopt = sb_dqopt(sb); in f2fs_do_quota_sync()3050 struct inode *inode = sb_dqopt(sb)->files[type]; in __f2fs_quota_off()3121 struct quota_info *dqopt = sb_dqopt(sb); in f2fs_truncate_quota_inode_pages()
503 if (sb_dqopt(sb)->files[i]) in ext4_orphan_cleanup()
6897 return sb_dqopt(dquot->dq_sb)->files[dquot->dq_id.type]; in dquot_to_inode()7050 sb_dqopt(sb)->flags |= DQUOT_NOLIST_DIRTY; in ext4_quota_on()7056 sb_dqopt(sb)->flags &= ~DQUOT_NOLIST_DIRTY; in ext4_quota_on()7159 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE | DQUOT_NOLIST_DIRTY; in ext4_enable_quotas()7182 struct inode *inode = sb_dqopt(sb)->files[type]; in ext4_quota_off()7238 struct inode *inode = sb_dqopt(sb)->files[type]; in ext4_quota_read()7274 struct inode *inode = sb_dqopt(sb)->files[type]; in ext4_quota_write()
145 struct mem_dqinfo *info = &sb_dqopt(dquot->dq_sb)->info[dquot->dq_id.type]; in ignore_hardlimit()
1163 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE; in gfs2_fill_super()