Searched refs:dqopt (Results 1 – 3 of 3) sorted by relevance
153 struct quota_info *dqopt = sb_dqopt(sb); in v1_read_file_info() local156 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() local182 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 …]
320 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in read_dqblk() local323 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() local335 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() local409 dqopt->info[cnt].dqi_flags &= ~DQF_ANY_DQUOT_DIRTY; in vfs_quota_sync()[all …]
297 static inline int is_enabled(struct quota_info *dqopt, int type) in is_enabled() argument301 return dqopt->flags & DQUOT_USR_ENABLED; in is_enabled()303 return dqopt->flags & DQUOT_GRP_ENABLED; in is_enabled()