Searched refs:dqopt (Results 1 – 5 of 5) sorted by relevance
59 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v1_read_dqblk() local61 if (!dqopt->files[type]) in v1_read_dqblk()160 struct quota_info *dqopt = sb_dqopt(sb); in v1_read_file_info() local164 down_read(&dqopt->dqio_sem); in v1_read_file_info()174 dqopt->info[type].dqi_max_spc_limit = 0xffffffffULL << QUOTABLOCK_BITS; in v1_read_file_info()175 dqopt->info[type].dqi_max_ino_limit = 0xffffffff; in v1_read_file_info()176 dqopt->info[type].dqi_igrace = in v1_read_file_info()178 dqopt->info[type].dqi_bgrace = in v1_read_file_info()181 up_read(&dqopt->dqio_sem); in v1_read_file_info()187 struct quota_info *dqopt = sb_dqopt(sb); in v1_write_file_info() local[all …]
95 struct quota_info *dqopt = sb_dqopt(sb); in v2_read_file_info() local96 struct mem_dqinfo *info = &dqopt->info[type]; in v2_read_file_info()102 down_read(&dqopt->dqio_sem); in v2_read_file_info()187 up_read(&dqopt->dqio_sem); in v2_read_file_info()195 struct quota_info *dqopt = sb_dqopt(sb); in v2_write_file_info() local196 struct mem_dqinfo *info = &dqopt->info[type]; in v2_write_file_info()200 down_write(&dqopt->dqio_sem); in v2_write_file_info()213 up_write(&dqopt->dqio_sem); in v2_write_file_info()330 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_read_dquot() local333 down_read(&dqopt->dqio_sem); in v2_read_dquot()[all …]
453 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_acquire() local457 ret = dqopt->ops[dquot->dq_id.type]->read_dqblk(dquot); in dquot_acquire()465 ret = dqopt->ops[dquot->dq_id.type]->commit_dqblk(dquot); in dquot_acquire()467 if (info_dirty(&dqopt->info[dquot->dq_id.type])) { in dquot_acquire()468 ret2 = dqopt->ops[dquot->dq_id.type]->write_file_info( in dquot_acquire()496 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_commit() local504 ret = dqopt->ops[dquot->dq_id.type]->commit_dqblk(dquot); in dquot_commit()519 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_release() local525 if (dqopt->ops[dquot->dq_id.type]->release_dqblk) { in dquot_release()526 ret = dqopt->ops[dquot->dq_id.type]->release_dqblk(dquot); in dquot_release()[all …]
448 struct quota_info *dqopt = sb_dqopt(sb); in ocfs2_global_write_info() local449 struct ocfs2_mem_dqinfo *info = dqopt->info[type].dqi_priv; in ocfs2_global_write_info()451 down_write(&dqopt->dqio_sem); in ocfs2_global_write_info()458 up_write(&dqopt->dqio_sem); in ocfs2_global_write_info()
1798 struct quota_info *dqopt = sb_dqopt(sb); in f2fs_quota_sync() local1816 ret = filemap_write_and_wait(dqopt->files[cnt]->i_mapping); in f2fs_quota_sync()1820 inode_lock(dqopt->files[cnt]); in f2fs_quota_sync()1821 truncate_inode_pages(&dqopt->files[cnt]->i_data, 0); in f2fs_quota_sync()1822 inode_unlock(dqopt->files[cnt]); in f2fs_quota_sync()1905 struct quota_info *dqopt = sb_dqopt(sb); in f2fs_truncate_quota_inode_pages() local1909 if (!dqopt->files[type]) in f2fs_truncate_quota_inode_pages()1911 f2fs_inode_synced(dqopt->files[type]); in f2fs_truncate_quota_inode_pages()