Home
last modified time | relevance | path

Searched refs:dqopt (Results 1 – 3 of 3) sorted by relevance

/fs/quota/
Ddquot.c406 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_acquire() local
409 mutex_lock(&dqopt->dqio_mutex); in dquot_acquire()
411 ret = dqopt->ops[dquot->dq_id.type]->read_dqblk(dquot); in dquot_acquire()
419 ret = dqopt->ops[dquot->dq_id.type]->commit_dqblk(dquot); in dquot_acquire()
421 if (info_dirty(&dqopt->info[dquot->dq_id.type])) { in dquot_acquire()
422 ret2 = dqopt->ops[dquot->dq_id.type]->write_file_info( in dquot_acquire()
439 mutex_unlock(&dqopt->dqio_mutex); in dquot_acquire()
451 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_commit() local
453 mutex_lock(&dqopt->dqio_mutex); in dquot_commit()
463 ret = dqopt->ops[dquot->dq_id.type]->commit_dqblk(dquot); in dquot_commit()
[all …]
Dquota_v1.c159 struct quota_info *dqopt = sb_dqopt(sb); in v1_read_file_info() local
172 dqopt->info[type].dqi_max_spc_limit = 0xffffffffULL << QUOTABLOCK_BITS; in v1_read_file_info()
173 dqopt->info[type].dqi_max_ino_limit = 0xffffffff; in v1_read_file_info()
174 dqopt->info[type].dqi_igrace = in v1_read_file_info()
176 dqopt->info[type].dqi_bgrace = in v1_read_file_info()
184 struct quota_info *dqopt = sb_dqopt(sb); in v1_write_file_info() local
188 dqopt->info[type].dqi_flags &= ~DQF_INFO_DIRTY; in v1_write_file_info()
196 dqblk.dqb_itime = dqopt->info[type].dqi_igrace; in v1_write_file_info()
197 dqblk.dqb_btime = dqopt->info[type].dqi_bgrace; in v1_write_file_info()
/fs/f2fs/
Dsuper.c1757 struct quota_info *dqopt = sb_dqopt(sb); in f2fs_quota_sync() local
1775 ret = filemap_write_and_wait(dqopt->files[cnt]->i_mapping); in f2fs_quota_sync()
1779 inode_lock(dqopt->files[cnt]); in f2fs_quota_sync()
1780 truncate_inode_pages(&dqopt->files[cnt]->i_data, 0); in f2fs_quota_sync()
1781 inode_unlock(dqopt->files[cnt]); in f2fs_quota_sync()