Home
last modified time | relevance | path

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

/linux-2.6.39/fs/quota/
Ddquot.c353 list_add(&dquot->dq_dirty, &sb_dqopt(dquot->dq_sb)-> in dquot_mark_dquot_dirty()
397 set_bit(DQF_INFO_DIRTY_B, &sb_dqopt(sb)->info[type].dqi_flags); in mark_info_dirty()
408 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_acquire()
446 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_commit()
473 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_release()
570 mutex_lock(&sb_dqopt(sb)->dqonoff_mutex); in dquot_scan_active()
593 mutex_unlock(&sb_dqopt(sb)->dqonoff_mutex); in dquot_scan_active()
602 struct quota_info *dqopt = sb_dqopt(sb); in dquot_quota_sync()
641 if (!wait || (sb_dqopt(sb)->flags & DQUOT_QUOTA_SYS_FILE)) in dquot_quota_sync()
655 mutex_lock(&sb_dqopt(sb)->dqonoff_mutex); in dquot_quota_sync()
[all …]
Dquota_v1.c60 if (!sb_dqopt(dquot->dq_sb)->files[type]) in v1_read_dqblk()
88 sb_dqopt(dquot->dq_sb)->info[type].dqi_bgrace; in v1_commit_dqblk()
90 sb_dqopt(dquot->dq_sb)->info[type].dqi_igrace; in v1_commit_dqblk()
93 if (sb_dqopt(dquot->dq_sb)->files[type]) in v1_commit_dqblk()
125 struct inode *inode = sb_dqopt(sb)->files[type]; in v1_check_quota_file()
157 struct quota_info *dqopt = sb_dqopt(sb); in v1_read_file_info()
182 struct quota_info *dqopt = sb_dqopt(sb); in v1_write_file_info()
Dquota.c82 down_read(&sb_dqopt(sb)->dqptr_sem); in quota_getfmt()
84 up_read(&sb_dqopt(sb)->dqptr_sem); in quota_getfmt()
87 fmt = sb_dqopt(sb)->info[type].dqi_format->qf_fmt_id; in quota_getfmt()
88 up_read(&sb_dqopt(sb)->dqptr_sem); in quota_getfmt()
Dquota_tree.c600 if (!sb_dqopt(dquot->dq_sb)->files[type]) { in qtree_read_dquot()
/linux-2.6.39/fs/ocfs2/
Dquota_local.c176 struct inode *linode = sb_dqopt(sb)->files[type]; in ocfs2_local_check_quota_file()
525 mutex_lock(&sb_dqopt(sb)->dqio_mutex); in ocfs2_recover_local_quota_file()
558 mutex_unlock(&sb_dqopt(sb)->dqio_mutex); in ocfs2_recover_local_quota_file()
600 mutex_lock(&sb_dqopt(sb)->dqonoff_mutex); in ocfs2_finish_quota_recovery()
676 mutex_unlock(&sb_dqopt(sb)->dqonoff_mutex); in ocfs2_finish_quota_recovery()
687 struct inode *lqinode = sb_dqopt(sb)->files[type]; in ocfs2_local_read_info()
695 mutex_unlock(&sb_dqopt(sb)->dqio_mutex); in ocfs2_local_read_info()
774 mutex_lock(&sb_dqopt(sb)->dqio_mutex); in ocfs2_local_read_info()
788 mutex_lock(&sb_dqopt(sb)->dqio_mutex); in ocfs2_local_read_info()
800 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type], bh, olq_update_info, in ocfs2_local_write_info()
[all …]
Dquota_global.c610 mutex_lock(&sb_dqopt(sb)->dqio_mutex); in ocfs2_sync_dquot_helper()
618 mutex_unlock(&sb_dqopt(sb)->dqio_mutex); in ocfs2_sync_dquot_helper()
656 mutex_lock(&sb_dqopt(dquot->dq_sb)->dqio_mutex); in ocfs2_write_dquot()
658 mutex_unlock(&sb_dqopt(dquot->dq_sb)->dqio_mutex); in ocfs2_write_dquot()
854 mutex_lock(&sb_dqopt(sb)->dqio_mutex); in ocfs2_mark_dquot_dirty()
863 mutex_unlock(&sb_dqopt(sb)->dqio_mutex); in ocfs2_mark_dquot_dirty()
Dsuper.c934 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE | DQUOT_NEGATIVE_USAGE; in ocfs2_enable_quotas()
997 return dquot_enable(sb_dqopt(sb)->files[type], type, in ocfs2_quota_on()
/linux-2.6.39/include/linux/
Dquotaops.h16 static inline struct quota_info *sb_dqopt(struct super_block *sb) in sb_dqopt() function
99 return sb_dqopt(sb)->info + type; in sb_dqinfo()
108 return sb_dqopt(sb)->flags & in sb_has_quota_usage_enabled()
114 return sb_dqopt(sb)->flags & in sb_has_quota_limits_enabled()
120 return sb_dqopt(sb)->flags & in sb_has_quota_suspended()
/linux-2.6.39/fs/jfs/
Dsuper.c652 struct inode *inode = sb_dqopt(sb)->files[type]; in jfs_quota_read()
697 struct inode *inode = sb_dqopt(sb)->files[type]; in jfs_quota_write()
/linux-2.6.39/fs/reiserfs/
Dsuper.c314 if (sb_dqopt(s)->files[i] && quota_enabled[i]) in finish_unfinished()
2112 struct inode *inode = sb_dqopt(sb)->files[type]; in reiserfs_quota_read()
2157 struct inode *inode = sb_dqopt(sb)->files[type]; in reiserfs_quota_write()
/linux-2.6.39/fs/ext3/
Dsuper.c1543 if (sb_dqopt(sb)->files[i]) in ext3_orphan_cleanup()
2790 return sb_dqopt(dquot->dq_sb)->files[dquot->dq_type]; in dquot_to_inode()
2933 struct inode *inode = sb_dqopt(sb)->files[type]; in ext3_quota_read()
2971 struct inode *inode = sb_dqopt(sb)->files[type]; in ext3_quota_write()
/linux-2.6.39/fs/ext2/
Dsuper.c1390 struct inode *inode = sb_dqopt(sb)->files[type]; in ext2_quota_read()
1435 struct inode *inode = sb_dqopt(sb)->files[type]; in ext2_quota_write()
/linux-2.6.39/fs/ext4/
Dsuper.c2214 if (sb_dqopt(sb)->files[i]) in ext4_orphan_cleanup()
4508 return sb_dqopt(dquot->dq_sb)->files[dquot->dq_type]; in dquot_to_inode()
4647 struct inode *inode = sb_dqopt(sb)->files[type]; in ext4_quota_off()
4675 struct inode *inode = sb_dqopt(sb)->files[type]; in ext4_quota_read()
4713 struct inode *inode = sb_dqopt(sb)->files[type]; in ext4_quota_write()
/linux-2.6.39/fs/gfs2/
Dops_fstype.c1105 sb_dqopt(sb)->flags |= DQUOT_QUOTA_SYS_FILE; in fill_super()