Home
last modified time | relevance | path

Searched refs:sb_dqopt (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/fs/quota/
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()
Dquota_v2.c96 struct quota_info *dqopt = sb_dqopt(sb); in v2_read_file_info()
172 struct quota_info *dqopt = sb_dqopt(sb); in v2_write_file_info()
306 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_read_dquot()
319 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_write_dquot()
347 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_release_dquot()
365 struct quota_info *dqopt = sb_dqopt(sb); in v2_get_next_id()
Ddquot.c357 if (sb_dqopt(dquot->dq_sb)->flags & DQUOT_NOLIST_DIRTY) in dquot_mark_dquot_dirty()
366 list_add(&dquot->dq_dirty, &sb_dqopt(dquot->dq_sb)-> in dquot_mark_dquot_dirty()
401 if (sb_dqopt(dquot->dq_sb)->flags & DQUOT_NOLIST_DIRTY) in clear_dquot_dirty()
417 sb_dqopt(sb)->info[type].dqi_flags |= DQF_INFO_DIRTY; in mark_info_dirty()
429 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_acquire()
473 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_commit()
496 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_release()
628 struct quota_info *dqopt = sb_dqopt(sb); in dquot_writeback_dquots()
682 struct quota_info *dqopt = sb_dqopt(sb); in dquot_quota_sync()
1119 if (sb_dqopt(dquot->dq_sb)->flags & DQUOT_NEGATIVE_USAGE || in dquot_decr_inodes()
[all …]
Dquota_tree.c616 if (!sb_dqopt(dquot->dq_sb)->files[type]) { in qtree_read_dquot()
Dquota.c111 fmt = sb_dqopt(sb)->info[type].dqi_format->qf_fmt_id; in quota_getfmt()
/Linux-v5.4/include/linux/
Dquotaops.h17 static inline struct quota_info *sb_dqopt(struct super_block *sb) in sb_dqopt() function
113 return sb_dqopt(sb)->info + type; in sb_dqinfo()
122 return sb_dqopt(sb)->flags & in sb_has_quota_usage_enabled()
128 return sb_dqopt(sb)->flags & in sb_has_quota_limits_enabled()
134 return sb_dqopt(sb)->flags & in sb_has_quota_suspended()
140 return dquot_state_types(sb_dqopt(sb)->flags, DQUOT_SUSPENDED); in sb_any_quota_suspended()
152 return dquot_state_types(sb_dqopt(sb)->flags, DQUOT_USAGE_ENABLED); in sb_any_quota_loaded()
/Linux-v5.4/fs/ocfs2/
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(sb)->files[type]; in ocfs2_extend_local_quota_file()
[all …]
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()
Dsuper.c919 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE | DQUOT_NEGATIVE_USAGE; in ocfs2_enable_quotas()
/Linux-v5.4/fs/jfs/
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()
/Linux-v5.4/fs/ext2/
Dsuper.c1495 struct inode *inode = sb_dqopt(sb)->files[type]; in ext2_quota_read()
1540 struct inode *inode = sb_dqopt(sb)->files[type]; in ext2_quota_write()
1612 struct inode *inode = sb_dqopt(sb)->files[type]; in ext2_quota_off()
/Linux-v5.4/fs/reiserfs/
Dsuper.c408 if (sb_dqopt(s)->files[i] && quota_enabled[i]) in finish_unfinished()
2459 struct inode *inode = sb_dqopt(sb)->files[type]; in reiserfs_quota_off()
2490 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()
/Linux-v5.4/fs/f2fs/
Dsuper.c1761 struct inode *inode = sb_dqopt(sb)->files[type]; in f2fs_quota_read()
1819 struct inode *inode = sb_dqopt(sb)->files[type]; in f2fs_quota_write()
1956 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE; in f2fs_enable_quotas()
1981 struct quota_info *dqopt = sb_dqopt(sb); in f2fs_quota_sync()
2072 struct inode *inode = sb_dqopt(sb)->files[type]; in __f2fs_quota_off()
2138 struct quota_info *dqopt = sb_dqopt(sb); in f2fs_truncate_quota_inode_pages()
/Linux-v5.4/fs/ext4/
Dsuper.c2726 if (sb_dqopt(sb)->files[i]) in ext4_orphan_cleanup()
5626 return sb_dqopt(dquot->dq_sb)->files[dquot->dq_id.type]; in dquot_to_inode()
5758 sb_dqopt(sb)->flags |= DQUOT_NOLIST_DIRTY; in ext4_quota_on()
5764 sb_dqopt(sb)->flags &= ~DQUOT_NOLIST_DIRTY; in ext4_quota_on()
5861 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE | DQUOT_NOLIST_DIRTY; in ext4_enable_quotas()
5884 struct inode *inode = sb_dqopt(sb)->files[type]; in ext4_quota_off()
5931 struct inode *inode = sb_dqopt(sb)->files[type]; in ext4_quota_read()
5968 struct inode *inode = sb_dqopt(sb)->files[type]; in ext4_quota_write()
6029 ops = sb_dqopt(sb)->ops[qid->type]; in ext4_get_next_id()
/Linux-v5.4/fs/gfs2/
Dops_fstype.c1074 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE; in gfs2_fill_super()