Home
last modified time | relevance | path

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

/linux-6.12.1/fs/quota/
Dquota_v1.c60 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v1_read_dqblk() local
62 if (!dqopt->files[type]) in v1_read_dqblk()
161 struct quota_info *dqopt = sb_dqopt(sb); in v1_read_file_info() local
166 down_read(&dqopt->dqio_sem); in v1_read_file_info()
177 dqopt->info[type].dqi_max_spc_limit = 0xffffffffULL << QUOTABLOCK_BITS; in v1_read_file_info()
178 dqopt->info[type].dqi_max_ino_limit = 0xffffffff; in v1_read_file_info()
179 dqopt->info[type].dqi_igrace = in v1_read_file_info()
181 dqopt->info[type].dqi_bgrace = in v1_read_file_info()
185 up_read(&dqopt->dqio_sem); in v1_read_file_info()
191 struct quota_info *dqopt = sb_dqopt(sb); in v1_write_file_info() local
[all …]
Dquota_v2.c94 struct quota_info *dqopt = sb_dqopt(sb); in v2_read_file_info() local
95 struct mem_dqinfo *info = &dqopt->info[type]; in v2_read_file_info()
102 down_read(&dqopt->dqio_sem); in v2_read_file_info()
192 up_read(&dqopt->dqio_sem); in v2_read_file_info()
200 struct quota_info *dqopt = sb_dqopt(sb); in v2_write_file_info() local
201 struct mem_dqinfo *info = &dqopt->info[type]; in v2_write_file_info()
206 down_write(&dqopt->dqio_sem); in v2_write_file_info()
221 up_write(&dqopt->dqio_sem); in v2_write_file_info()
338 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_read_dquot() local
342 down_read(&dqopt->dqio_sem); in v2_read_dquot()
[all …]
Ddquot.c457 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_acquire() local
462 ret = dqopt->ops[dquot->dq_id.type]->read_dqblk(dquot); in dquot_acquire()
471 ret = dqopt->ops[dquot->dq_id.type]->commit_dqblk(dquot); in dquot_acquire()
473 if (info_dirty(&dqopt->info[dquot->dq_id.type])) { in dquot_acquire()
474 ret2 = dqopt->ops[dquot->dq_id.type]->write_file_info( in dquot_acquire()
504 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_commit() local
513 ret = dqopt->ops[dquot->dq_id.type]->commit_dqblk(dquot); in dquot_commit()
530 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_release() local
537 if (dqopt->ops[dquot->dq_id.type]->release_dqblk) { in dquot_release()
538 ret = dqopt->ops[dquot->dq_id.type]->release_dqblk(dquot); in dquot_release()
[all …]
/linux-6.12.1/mm/
Dshmem_quota.c67 struct quota_info *dqopt = sb_dqopt(sb); in shmem_read_file_info() local
68 struct mem_dqinfo *info = &dqopt->info[type]; in shmem_read_file_info()
119 struct quota_info *dqopt = sb_dqopt(sb); in shmem_get_next_id() local
126 down_read(&dqopt->dqio_sem); in shmem_get_next_id()
156 up_read(&dqopt->dqio_sem); in shmem_get_next_id()
172 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in shmem_acquire_dquot() local
177 down_write(&dqopt->dqio_sem); in shmem_acquire_dquot()
232 up_write(&dqopt->dqio_sem); in shmem_acquire_dquot()
270 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in shmem_release_dquot() local
278 down_write(&dqopt->dqio_sem); in shmem_release_dquot()
[all …]
/linux-6.12.1/fs/ocfs2/
Dquota_global.c451 struct quota_info *dqopt = sb_dqopt(sb); in ocfs2_global_write_info() local
452 struct ocfs2_mem_dqinfo *info = dqopt->info[type].dqi_priv; in ocfs2_global_write_info()
455 down_write(&dqopt->dqio_sem); in ocfs2_global_write_info()
464 up_write(&dqopt->dqio_sem); in ocfs2_global_write_info()
/linux-6.12.1/fs/f2fs/
Dsuper.c2854 struct quota_info *dqopt = sb_dqopt(sbi->sb); in f2fs_quota_sync_file() local
2855 struct address_space *mapping = dqopt->files[type]->i_mapping; in f2fs_quota_sync_file()
2872 truncate_inode_pages(&dqopt->files[type]->i_data, 0); in f2fs_quota_sync_file()
2882 struct quota_info *dqopt = sb_dqopt(sb); in f2fs_quota_sync() local
2899 inode_lock(dqopt->files[cnt]); in f2fs_quota_sync()
2919 inode_unlock(dqopt->files[cnt]); in f2fs_quota_sync()
3037 struct quota_info *dqopt = sb_dqopt(sb); in f2fs_truncate_quota_inode_pages() local
3041 if (!dqopt->files[type]) in f2fs_truncate_quota_inode_pages()
3043 f2fs_inode_synced(dqopt->files[type]); in f2fs_truncate_quota_inode_pages()