Home
last modified time | relevance | path

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

/linux-2.6.39/fs/quota/
Ddquot.c408 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_acquire() local
411 mutex_lock(&dqopt->dqio_mutex); in dquot_acquire()
413 ret = dqopt->ops[dquot->dq_type]->read_dqblk(dquot); in dquot_acquire()
419 ret = dqopt->ops[dquot->dq_type]->commit_dqblk(dquot); in dquot_acquire()
421 if (info_dirty(&dqopt->info[dquot->dq_type])) { in dquot_acquire()
422 ret2 = dqopt->ops[dquot->dq_type]->write_file_info( in dquot_acquire()
434 mutex_unlock(&dqopt->dqio_mutex); in dquot_acquire()
446 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_commit() local
448 mutex_lock(&dqopt->dqio_mutex); in dquot_commit()
458 ret = dqopt->ops[dquot->dq_type]->commit_dqblk(dquot); in dquot_commit()
[all …]
Dquota_v1.c157 struct quota_info *dqopt = sb_dqopt(sb); in v1_read_file_info() local
170 dqopt->info[type].dqi_maxblimit = 0xffffffff; in v1_read_file_info()
171 dqopt->info[type].dqi_maxilimit = 0xffffffff; in v1_read_file_info()
172 dqopt->info[type].dqi_igrace = in v1_read_file_info()
174 dqopt->info[type].dqi_bgrace = in v1_read_file_info()
182 struct quota_info *dqopt = sb_dqopt(sb); in v1_write_file_info() local
186 dqopt->info[type].dqi_flags &= ~DQF_INFO_DIRTY; in v1_write_file_info()
194 dqblk.dqb_itime = dqopt->info[type].dqi_igrace; in v1_write_file_info()
195 dqblk.dqb_btime = dqopt->info[type].dqi_bgrace; in v1_write_file_info()