Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/
Dquota_v1.c153 struct quota_info *dqopt = sb_dqopt(sb); in v1_read_file_info() local
156 struct file *filp = dqopt->files[type]; in v1_read_file_info()
160 down(&dqopt->dqio_sem); in v1_read_file_info()
170 dqopt->info[type].dqi_igrace = dqblk.dqb_itime ? dqblk.dqb_itime : MAX_IQ_TIME; in v1_read_file_info()
171 dqopt->info[type].dqi_bgrace = dqblk.dqb_btime ? dqblk.dqb_btime : MAX_DQ_TIME; in v1_read_file_info()
173 up(&dqopt->dqio_sem); in v1_read_file_info()
180 struct quota_info *dqopt = sb_dqopt(sb); in v1_write_file_info() local
182 struct file *filp = dqopt->files[type]; in v1_write_file_info()
187 down(&dqopt->dqio_sem); in v1_write_file_info()
188 dqopt->info[type].dqi_flags &= ~DQF_INFO_DIRTY; in v1_write_file_info()
[all …]
Ddquot.c320 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in read_dqblk() local
323 down(&dqopt->dqio_sem); in read_dqblk()
324 ret = dqopt->ops[dquot->dq_type]->read_dqblk(dquot); in read_dqblk()
325 up(&dqopt->dqio_sem); in read_dqblk()
333 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in commit_dqblk() local
335 down(&dqopt->dqio_sem); in commit_dqblk()
336 ret = dqopt->ops[dquot->dq_type]->commit_dqblk(dquot); in commit_dqblk()
337 up(&dqopt->dqio_sem); in commit_dqblk()
377 struct quota_info *dqopt = sb_dqopt(sb); in vfs_quota_sync() local
409 dqopt->info[cnt].dqi_flags &= ~DQF_ANY_DQUOT_DIRTY; in vfs_quota_sync()
[all …]
/linux-2.4.37.9/include/linux/
Dquota.h297 static inline int is_enabled(struct quota_info *dqopt, int type) in is_enabled() argument
301 return dqopt->flags & DQUOT_USR_ENABLED; in is_enabled()
303 return dqopt->flags & DQUOT_GRP_ENABLED; in is_enabled()