Home
last modified time | relevance | path

Searched refs:dq_sb (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/fs/quota/
Dquota_v1.c60 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v1_read_dqblk()
67 dquot->dq_sb->s_op->quota_read(dquot->dq_sb, type, (char *)&dqblk, 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()
98 ret = dquot->dq_sb->s_op->quota_write(dquot->dq_sb, type, in v1_commit_dqblk()
102 quota_error(dquot->dq_sb, "dquota write failed"); in v1_commit_dqblk()
Dquota_tree.c255 mark_info_dirty(dquot->dq_sb, dquot->dq_id.type); in find_free_dqentry()
261 quota_error(dquot->dq_sb, "Can't remove block (%u) " in find_free_dqentry()
276 quota_error(dquot->dq_sb, "Data block full but it shouldn't"); in find_free_dqentry()
283 quota_error(dquot->dq_sb, "Can't write quota data block %u", in find_free_dqentry()
318 quota_error(dquot->dq_sb, "Can't read tree quota " in do_insert_tree()
330 quota_error(dquot->dq_sb, "Inserting already present " in do_insert_tree()
362 quota_error(dquot->dq_sb, "Quota tree root isn't allocated!"); in dq_insert_tree()
376 struct super_block *sb = dquot->dq_sb; in qtree_write_dquot()
423 quota_error(dquot->dq_sb, "Quota structure has offset to " in free_dqentry()
430 quota_error(dquot->dq_sb, "Can't read quota data block %u", in free_dqentry()
[all …]
Dquota_v2.c223 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r0_mem2diskdqb()
242 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r0_is_id()
276 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r1_mem2diskdqb()
295 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r1_is_id()
306 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_read_dquot()
311 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv, in v2_read_dquot()
319 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_write_dquot()
336 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv, in v2_write_dquot()
347 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_release_dquot()
351 ret = qtree_release_dquot(sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv, dquot); in v2_release_dquot()
Ddquot.c278 head = dquot_hash + hashfn(dquot->dq_sb, dquot->dq_id); in insert_dquot_hash()
295 if (dquot->dq_sb == sb && qid_eq(dquot->dq_id, qid)) in find_dquot()
346 return dquot->dq_sb->dq_op->mark_dirty(dquot); in mark_dquot_dirty()
357 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()
429 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_acquire()
446 dquot->dq_sb, dquot->dq_id.type); 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()
[all …]
/Linux-v5.4/fs/ocfs2/
Dquota_global.c118 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in ocfs2_global_is_id()
487 struct super_block *sb = dquot->dq_sb; in __ocfs2_sync_dquot()
600 struct super_block *sb = dquot->dq_sb; in ocfs2_sync_dquot_helper()
663 struct ocfs2_super *osb = OCFS2_SB(dquot->dq_sb); in ocfs2_write_dquot()
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()
722 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in ocfs2_release_dquot()
723 struct ocfs2_super *osb = OCFS2_SB(dquot->dq_sb); in ocfs2_release_dquot()
750 ocfs2_calc_qdel_credits(dquot->dq_sb, dquot->dq_id.type)); in ocfs2_release_dquot()
796 struct super_block *sb = dquot->dq_sb; in ocfs2_acquire_dquot()
[all …]
Dquota_local.c873 struct super_block *sb = od->dq_dquot.dq_sb; in olq_set_dquot()
895 struct super_block *sb = dquot->dq_sb; in ocfs2_local_write_dquot()
1218 struct super_block *sb = dquot->dq_sb; in ocfs2_create_local_dquot()
1275 struct super_block *sb = dquot->dq_sb; in ocfs2_local_release_dquot()
/Linux-v5.4/fs/reiserfs/
Dsuper.c2272 reiserfs_write_lock(dquot->dq_sb); in reiserfs_write_dquot()
2274 journal_begin(&th, dquot->dq_sb, in reiserfs_write_dquot()
2275 REISERFS_QUOTA_TRANS_BLOCKS(dquot->dq_sb)); in reiserfs_write_dquot()
2278 depth = reiserfs_write_unlock_nested(dquot->dq_sb); in reiserfs_write_dquot()
2280 reiserfs_write_lock_nested(dquot->dq_sb, depth); in reiserfs_write_dquot()
2285 reiserfs_write_unlock(dquot->dq_sb); in reiserfs_write_dquot()
2295 reiserfs_write_lock(dquot->dq_sb); in reiserfs_acquire_dquot()
2297 journal_begin(&th, dquot->dq_sb, in reiserfs_acquire_dquot()
2298 REISERFS_QUOTA_INIT_BLOCKS(dquot->dq_sb)); in reiserfs_acquire_dquot()
2301 depth = reiserfs_write_unlock_nested(dquot->dq_sb); in reiserfs_acquire_dquot()
[all …]
/Linux-v5.4/include/linux/
Dquota.h302 struct super_block *dq_sb; /* superblock this applies to */ member
/Linux-v5.4/fs/f2fs/
Dsuper.c2150 struct f2fs_sb_info *sbi = F2FS_SB(dquot->dq_sb); in f2fs_dquot_commit()
2163 struct f2fs_sb_info *sbi = F2FS_SB(dquot->dq_sb); in f2fs_dquot_acquire()
2176 struct f2fs_sb_info *sbi = F2FS_SB(dquot->dq_sb); in f2fs_dquot_release()
2189 struct super_block *sb = dquot->dq_sb; in f2fs_dquot_mark_dquot_dirty()
/Linux-v5.4/fs/ext4/
Dsuper.c5626 return sb_dqopt(dquot->dq_sb)->files[dquot->dq_id.type]; in dquot_to_inode()
5637 EXT4_QUOTA_TRANS_BLOCKS(dquot->dq_sb)); in ext4_write_dquot()
5653 EXT4_QUOTA_INIT_BLOCKS(dquot->dq_sb)); in ext4_acquire_dquot()
5669 EXT4_QUOTA_DEL_BLOCKS(dquot->dq_sb)); in ext4_release_dquot()
5684 struct super_block *sb = dquot->dq_sb; in ext4_mark_dquot_dirty()