Home
last modified time | relevance | path

Searched refs:sb_dqopt (Results 1 - 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/
H A Dquotaops.h17 static inline struct quota_info *sb_dqopt(struct super_block *sb) in sb_dqopt() function
122 return sb_dqopt(sb)->info + type; in sb_dqinfo()
131 return sb_dqopt(sb)->flags & in sb_has_quota_usage_enabled()
137 return sb_dqopt(sb)->flags & in sb_has_quota_limits_enabled()
143 return sb_dqopt(sb)->flags & in sb_has_quota_suspended()
149 return dquot_state_types(sb_dqopt(sb)->flags, DQUOT_SUSPENDED); in sb_any_quota_suspended()
161 return dquot_state_types(sb_dqopt(sb)->flags, DQUOT_USAGE_ENABLED); in sb_any_quota_loaded()
/kernel/linux/linux-5.10/fs/quota/
H A Dquota_v1.c60 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v1_read_dqblk()
92 sb_dqopt(dquot->dq_sb)->info[type].dqi_bgrace; in v1_commit_dqblk()
94 sb_dqopt(dquot->dq_sb)->info[type].dqi_igrace; in v1_commit_dqblk()
97 if (sb_dqopt(dquot->dq_sb)->files[type]) in v1_commit_dqblk()
129 struct inode *inode = sb_dqopt(sb)->files[type]; in v1_check_quota_file()
161 struct quota_info *dqopt = sb_dqopt(sb); in v1_read_file_info()
188 struct quota_info *dqopt = sb_dqopt(sb); in v1_write_file_info()
H A Dquota_v2.c94 struct quota_info *dqopt = sb_dqopt(sb); in v2_read_file_info()
163 i_size_read(sb_dqopt(sb)->files[type])) { in v2_read_file_info()
166 i_size_read(sb_dqopt(sb)->files[type])); in v2_read_file_info()
194 struct quota_info *dqopt = sb_dqopt(sb); in v2_write_file_info()
329 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_read_dquot()
342 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_write_dquot()
370 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_release_dquot()
388 struct quota_info *dqopt = sb_dqopt(sb); in v2_get_next_id()
H A Ddquot.c385 if (sb_dqopt(dquot->dq_sb)->flags & DQUOT_NOLIST_DIRTY) in dquot_mark_dquot_dirty()
394 list_add(&dquot->dq_dirty, &sb_dqopt(dquot->dq_sb)-> in dquot_mark_dquot_dirty()
431 if (sb_dqopt(dquot->dq_sb)->flags & DQUOT_NOLIST_DIRTY) in clear_dquot_dirty()
447 sb_dqopt(sb)->info[type].dqi_flags |= DQF_INFO_DIRTY; in mark_info_dirty()
460 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_acquire()
507 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_commit()
533 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_release()
689 struct quota_info *dqopt = sb_dqopt(sb); in dquot_writeback_dquots()
743 struct quota_info *dqopt = sb_dqopt(sb); in dquot_quota_sync()
1207 if (sb_dqopt(dquo in dquot_decr_inodes()
[all...]
H A Dquota_tree.c669 if (!sb_dqopt(dquot->dq_sb)->files[type]) { in qtree_read_dquot()
/kernel/linux/linux-6.6/fs/quota/
H A Dquota_v1.c60 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v1_read_dqblk()
92 sb_dqopt(dquot->dq_sb)->info[type].dqi_bgrace; in v1_commit_dqblk()
94 sb_dqopt(dquot->dq_sb)->info[type].dqi_igrace; in v1_commit_dqblk()
97 if (sb_dqopt(dquot->dq_sb)->files[type]) in v1_commit_dqblk()
129 struct inode *inode = sb_dqopt(sb)->files[type]; in v1_check_quota_file()
161 struct quota_info *dqopt = sb_dqopt(sb); in v1_read_file_info()
188 struct quota_info *dqopt = sb_dqopt(sb); in v1_write_file_info()
H A Dquota_v2.c94 struct quota_info *dqopt = sb_dqopt(sb); in v2_read_file_info()
163 i_size_read(sb_dqopt(sb)->files[type])) { in v2_read_file_info()
166 i_size_read(sb_dqopt(sb)->files[type])); in v2_read_file_info()
194 struct quota_info *dqopt = sb_dqopt(sb); in v2_write_file_info()
329 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_read_dquot()
342 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_write_dquot()
370 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_release_dquot()
388 struct quota_info *dqopt = sb_dqopt(sb); in v2_get_next_id()
H A Ddquot.c383 if (sb_dqopt(dquot->dq_sb)->flags & DQUOT_NOLIST_DIRTY) in dquot_mark_dquot_dirty()
392 list_add(&dquot->dq_dirty, &sb_dqopt(dquot->dq_sb)-> in dquot_mark_dquot_dirty()
429 if (sb_dqopt(dquot->dq_sb)->flags & DQUOT_NOLIST_DIRTY) in clear_dquot_dirty()
445 sb_dqopt(sb)->info[type].dqi_flags |= DQF_INFO_DIRTY; in mark_info_dirty()
458 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_acquire()
505 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_commit()
531 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_release()
687 struct quota_info *dqopt = sb_dqopt(sb); in dquot_writeback_dquots()
741 struct quota_info *dqopt = sb_dqopt(sb); in dquot_quota_sync()
1155 if (sb_dqopt(dquo in dquot_decr_inodes()
[all...]
H A Dquota_tree.c665 if (!sb_dqopt(dquot->dq_sb)->files[type]) { in qtree_read_dquot()
/kernel/linux/linux-6.6/include/linux/
H A Dquotaops.h17 static inline struct quota_info *sb_dqopt(struct super_block *sb) in sb_dqopt() function
124 return sb_dqopt(sb)->info + type; in sb_dqinfo()
133 return sb_dqopt(sb)->flags & in sb_has_quota_usage_enabled()
139 return sb_dqopt(sb)->flags & in sb_has_quota_limits_enabled()
145 return sb_dqopt(sb)->flags & in sb_has_quota_suspended()
151 return dquot_state_types(sb_dqopt(sb)->flags, DQUOT_SUSPENDED); in sb_any_quota_suspended()
163 return dquot_state_types(sb_dqopt(sb)->flags, DQUOT_USAGE_ENABLED); in sb_any_quota_loaded()
/kernel/linux/linux-6.6/mm/
H A Dshmem_quota.c69 struct quota_info *dqopt = sb_dqopt(sb); in shmem_read_file_info()
97 struct mem_dqinfo *info = &sb_dqopt(sb)->info[type]; in shmem_free_file_info()
121 struct quota_info *dqopt = sb_dqopt(sb); in shmem_get_next_id()
173 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in shmem_acquire_dquot()
269 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in shmem_release_dquot()
/kernel/linux/linux-5.10/fs/ocfs2/
H A Dquota_local.c169 struct inode *linode = sb_dqopt(sb)->files[type]; in ocfs2_local_check_quota_file()
523 down_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_recover_local_quota_file()
556 up_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_recover_local_quota_file()
688 struct inode *lqinode = sb_dqopt(sb)->files[type]; in ocfs2_local_read_info()
796 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type], bh, olq_update_info, in ocfs2_local_write_info()
852 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type], in ocfs2_local_free_info()
862 ocfs2_inode_unlock(sb_dqopt(sb)->files[type], 1); in ocfs2_local_free_info()
898 struct inode *lqinode = sb_dqopt(sb)->files[dquot->dq_id.type]; in ocfs2_local_write_dquot()
967 struct inode *lqinode = sb_dqopt(sb)->files[type]; in ocfs2_local_quota_add_chunk()
1099 struct inode *lqinode = sb_dqopt(s in ocfs2_extend_local_quota_file()
[all...]
H A Dquota_global.c448 struct quota_info *dqopt = sb_dqopt(sb); in ocfs2_global_write_info()
620 down_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_sync_dquot_helper()
628 up_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_sync_dquot_helper()
675 down_write(&sb_dqopt(dquot->dq_sb)->dqio_sem); in ocfs2_write_dquot()
677 up_write(&sb_dqopt(dquot->dq_sb)->dqio_sem); in ocfs2_write_dquot()
948 down_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_mark_dquot_dirty()
957 up_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_mark_dquot_dirty()
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dquota_local.c169 struct inode *linode = sb_dqopt(sb)->files[type]; in ocfs2_local_check_quota_file()
523 down_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_recover_local_quota_file()
556 up_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_recover_local_quota_file()
688 struct inode *lqinode = sb_dqopt(sb)->files[type]; in ocfs2_local_read_info()
796 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type], bh, olq_update_info, in ocfs2_local_write_info()
852 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type], in ocfs2_local_free_info()
859 ocfs2_inode_unlock(sb_dqopt(sb)->files[type], 1); in ocfs2_local_free_info()
895 struct inode *lqinode = sb_dqopt(sb)->files[dquot->dq_id.type]; in ocfs2_local_write_dquot()
964 struct inode *lqinode = sb_dqopt(sb)->files[type]; in ocfs2_local_quota_add_chunk()
1096 struct inode *lqinode = sb_dqopt(s in ocfs2_extend_local_quota_file()
[all...]
H A Dquota_global.c448 struct quota_info *dqopt = sb_dqopt(sb); in ocfs2_global_write_info()
620 down_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_sync_dquot_helper()
628 up_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_sync_dquot_helper()
675 down_write(&sb_dqopt(dquot->dq_sb)->dqio_sem); in ocfs2_write_dquot()
677 up_write(&sb_dqopt(dquot->dq_sb)->dqio_sem); in ocfs2_write_dquot()
948 down_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_mark_dquot_dirty()
957 up_write(&sb_dqopt(sb)->dqio_sem); in ocfs2_mark_dquot_dirty()
/kernel/linux/linux-5.10/fs/jfs/
H A Dsuper.c738 struct inode *inode = sb_dqopt(sb)->files[type]; in jfs_quota_read()
783 struct inode *inode = sb_dqopt(sb)->files[type]; in jfs_quota_write()
863 struct inode *inode = sb_dqopt(sb)->files[type]; in jfs_quota_off()
/kernel/linux/linux-6.6/fs/jfs/
H A Dsuper.c732 struct inode *inode = sb_dqopt(sb)->files[type]; in jfs_quota_read()
776 struct inode *inode = sb_dqopt(sb)->files[type]; in jfs_quota_write()
855 struct inode *inode = sb_dqopt(sb)->files[type]; in jfs_quota_off()
/kernel/linux/linux-5.10/fs/f2fs/
H A Dsuper.c2066 struct inode *inode = sb_dqopt(sb)->files[type]; in f2fs_quota_read()
2122 struct inode *inode = sb_dqopt(sb)->files[type]; in f2fs_quota_write()
2257 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE; in f2fs_enable_quotas()
2281 struct quota_info *dqopt = sb_dqopt(sbi->sb); in f2fs_quota_sync_file()
2309 struct quota_info *dqopt = sb_dqopt(sb); in f2fs_quota_sync()
2387 struct inode *inode = sb_dqopt(sb)->files[type]; in __f2fs_quota_off()
2453 struct quota_info *dqopt = sb_dqopt(sb); in f2fs_truncate_quota_inode_pages()
/kernel/linux/linux-5.10/fs/reiserfs/
H A Dsuper.c408 if (sb_dqopt(s)->files[i] && quota_enabled[i]) in finish_unfinished()
2465 struct inode *inode = sb_dqopt(sb)->files[type]; in reiserfs_quota_off()
2496 struct inode *inode = sb_dqopt(sb)->files[type]; in reiserfs_quota_read()
2546 struct inode *inode = sb_dqopt(sb)->files[type]; in reiserfs_quota_write()
/kernel/linux/linux-6.6/fs/reiserfs/
H A Dsuper.c408 if (sb_dqopt(s)->files[i] && quota_enabled[i]) in finish_unfinished()
2461 struct inode *inode = sb_dqopt(sb)->files[type]; in reiserfs_quota_off()
2492 struct inode *inode = sb_dqopt(sb)->files[type]; in reiserfs_quota_read()
2540 struct inode *inode = sb_dqopt(sb)->files[type]; in reiserfs_quota_write()
/kernel/linux/linux-5.10/fs/ext2/
H A Dsuper.c1482 struct inode *inode = sb_dqopt(sb)->files[type]; in ext2_quota_read()
1527 struct inode *inode = sb_dqopt(sb)->files[type]; in ext2_quota_write()
1599 struct inode *inode = sb_dqopt(sb)->files[type]; in ext2_quota_off()
/kernel/linux/linux-6.6/fs/ext2/
H A Dsuper.c1488 struct inode *inode = sb_dqopt(sb)->files[type]; in ext2_quota_read()
1532 struct inode *inode = sb_dqopt(sb)->files[type]; in ext2_quota_write()
1603 struct inode *inode = sb_dqopt(sb)->files[type]; in ext2_quota_off()
/kernel/linux/linux-6.6/fs/f2fs/
H A Dsuper.c2659 struct inode *inode = sb_dqopt(sb)->files[type]; in f2fs_quota_read()
2714 struct inode *inode = sb_dqopt(sb)->files[type]; in f2fs_quota_write()
2865 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE; in f2fs_enable_quotas()
2889 struct quota_info *dqopt = sb_dqopt(sbi->sb); in f2fs_quota_sync_file()
2917 struct quota_info *dqopt = sb_dqopt(sb); in f2fs_quota_sync()
3006 struct inode *inode = sb_dqopt(sb)->files[type]; in __f2fs_quota_off()
3072 struct quota_info *dqopt = sb_dqopt(sb); in f2fs_truncate_quota_inode_pages()
/kernel/linux/linux-6.6/fs/ext4/
H A Dorphan.c503 if (sb_dqopt(sb)->files[i]) in ext4_orphan_cleanup()
/kernel/linux/linux-5.10/fs/ext4/
H A Dsuper.c3123 if (sb_dqopt(sb)->files[i]) in ext4_orphan_cleanup()
6240 return sb_dqopt(dquot->dq_sb)->files[dquot->dq_id.type]; in dquot_to_inode()
6377 sb_dqopt(sb)->flags |= DQUOT_NOLIST_DIRTY; in ext4_quota_on()
6383 sb_dqopt(sb)->flags &= ~DQUOT_NOLIST_DIRTY; in ext4_quota_on()
6503 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE | DQUOT_NOLIST_DIRTY; in ext4_enable_quotas()
6518 inode = sb_dqopt(sb)->files[type]; in ext4_enable_quotas()
6538 struct inode *inode = sb_dqopt(sb)->files[type]; in ext4_quota_off()
6587 struct inode *inode = sb_dqopt(sb)->files[type]; in ext4_quota_read()
6624 struct inode *inode = sb_dqopt(sb)->files[type]; in ext4_quota_write()

Completed in 44 milliseconds

12