Home
last modified time | relevance | path

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

/linux-4.19.296/fs/quota/
Dquota_v1.c59 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v1_read_dqblk() local
61 if (!dqopt->files[type]) in v1_read_dqblk()
160 struct quota_info *dqopt = sb_dqopt(sb); in v1_read_file_info() local
164 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 …]
Dquota_v2.c95 struct quota_info *dqopt = sb_dqopt(sb); in v2_read_file_info() local
96 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() local
196 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() local
333 down_read(&dqopt->dqio_sem); in v2_read_dquot()
[all …]
Ddquot.c453 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_acquire() local
457 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() local
504 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() local
525 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 …]
/linux-4.19.296/fs/ocfs2/
Dquota_global.c448 struct quota_info *dqopt = sb_dqopt(sb); in ocfs2_global_write_info() local
449 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()
/linux-4.19.296/fs/f2fs/
Dsuper.c1798 struct quota_info *dqopt = sb_dqopt(sb); in f2fs_quota_sync() local
1816 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() local
1909 if (!dqopt->files[type]) in f2fs_truncate_quota_inode_pages()
1911 f2fs_inode_synced(dqopt->files[type]); in f2fs_truncate_quota_inode_pages()