Searched refs:dqopt (Results 1 – 6 of 6) sorted by relevance
60 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v1_read_dqblk() local62 if (!dqopt->files[type]) in v1_read_dqblk()161 struct quota_info *dqopt = sb_dqopt(sb); in v1_read_file_info() local166 down_read(&dqopt->dqio_sem); in v1_read_file_info()177 dqopt->info[type].dqi_max_spc_limit = 0xffffffffULL << QUOTABLOCK_BITS; in v1_read_file_info()178 dqopt->info[type].dqi_max_ino_limit = 0xffffffff; in v1_read_file_info()179 dqopt->info[type].dqi_igrace = in v1_read_file_info()181 dqopt->info[type].dqi_bgrace = in v1_read_file_info()185 up_read(&dqopt->dqio_sem); in v1_read_file_info()191 struct quota_info *dqopt = sb_dqopt(sb); in v1_write_file_info() local[all …]
94 struct quota_info *dqopt = sb_dqopt(sb); in v2_read_file_info() local95 struct mem_dqinfo *info = &dqopt->info[type]; in v2_read_file_info()102 down_read(&dqopt->dqio_sem); in v2_read_file_info()192 up_read(&dqopt->dqio_sem); in v2_read_file_info()200 struct quota_info *dqopt = sb_dqopt(sb); in v2_write_file_info() local201 struct mem_dqinfo *info = &dqopt->info[type]; in v2_write_file_info()206 down_write(&dqopt->dqio_sem); in v2_write_file_info()221 up_write(&dqopt->dqio_sem); in v2_write_file_info()338 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_read_dquot() local342 down_read(&dqopt->dqio_sem); in v2_read_dquot()[all …]
457 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_acquire() local462 ret = dqopt->ops[dquot->dq_id.type]->read_dqblk(dquot); in dquot_acquire()471 ret = dqopt->ops[dquot->dq_id.type]->commit_dqblk(dquot); in dquot_acquire()473 if (info_dirty(&dqopt->info[dquot->dq_id.type])) { in dquot_acquire()474 ret2 = dqopt->ops[dquot->dq_id.type]->write_file_info( in dquot_acquire()504 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_commit() local513 ret = dqopt->ops[dquot->dq_id.type]->commit_dqblk(dquot); in dquot_commit()530 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_release() local537 if (dqopt->ops[dquot->dq_id.type]->release_dqblk) { in dquot_release()538 ret = dqopt->ops[dquot->dq_id.type]->release_dqblk(dquot); in dquot_release()[all …]
67 struct quota_info *dqopt = sb_dqopt(sb); in shmem_read_file_info() local68 struct mem_dqinfo *info = &dqopt->info[type]; in shmem_read_file_info()119 struct quota_info *dqopt = sb_dqopt(sb); in shmem_get_next_id() local126 down_read(&dqopt->dqio_sem); in shmem_get_next_id()156 up_read(&dqopt->dqio_sem); in shmem_get_next_id()172 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in shmem_acquire_dquot() local177 down_write(&dqopt->dqio_sem); in shmem_acquire_dquot()232 up_write(&dqopt->dqio_sem); in shmem_acquire_dquot()270 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in shmem_release_dquot() local278 down_write(&dqopt->dqio_sem); in shmem_release_dquot()[all …]
451 struct quota_info *dqopt = sb_dqopt(sb); in ocfs2_global_write_info() local452 struct ocfs2_mem_dqinfo *info = dqopt->info[type].dqi_priv; in ocfs2_global_write_info()455 down_write(&dqopt->dqio_sem); in ocfs2_global_write_info()464 up_write(&dqopt->dqio_sem); in ocfs2_global_write_info()
2854 struct quota_info *dqopt = sb_dqopt(sbi->sb); in f2fs_quota_sync_file() local2855 struct address_space *mapping = dqopt->files[type]->i_mapping; in f2fs_quota_sync_file()2872 truncate_inode_pages(&dqopt->files[type]->i_data, 0); in f2fs_quota_sync_file()2882 struct quota_info *dqopt = sb_dqopt(sb); in f2fs_quota_sync() local2899 inode_lock(dqopt->files[cnt]); in f2fs_quota_sync()2919 inode_unlock(dqopt->files[cnt]); in f2fs_quota_sync()3037 struct quota_info *dqopt = sb_dqopt(sb); in f2fs_truncate_quota_inode_pages() local3041 if (!dqopt->files[type]) in f2fs_truncate_quota_inode_pages()3043 f2fs_inode_synced(dqopt->files[type]); in f2fs_truncate_quota_inode_pages()