Searched refs:dq_sb (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/fs/quota/ |
D | quota_tree.c | 286 mark_info_dirty(dquot->dq_sb, dquot->dq_id.type); in find_free_dqentry() 292 quota_error(dquot->dq_sb, "Can't remove block (%u) " in find_free_dqentry() 307 quota_error(dquot->dq_sb, "Data block full but it shouldn't"); in find_free_dqentry() 314 quota_error(dquot->dq_sb, "Can't write quota data block %u", in find_free_dqentry() 349 quota_error(dquot->dq_sb, "Can't read tree quota " in do_insert_tree() 356 ret = do_check_range(dquot->dq_sb, "block", newblk, 0, in do_insert_tree() 365 quota_error(dquot->dq_sb, "Inserting already present " in do_insert_tree() 397 quota_error(dquot->dq_sb, "Quota tree root isn't allocated!"); in dq_insert_tree() 411 struct super_block *sb = dquot->dq_sb; in qtree_write_dquot() 458 quota_error(dquot->dq_sb, "Quota structure has offset to " in free_dqentry() [all …]
|
D | quota_v1.c | 60 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()
|
D | quota_v2.c | 245 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r0_mem2diskdqb() 264 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r0_is_id() 298 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r1_mem2diskdqb() 318 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r1_is_id() 329 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_read_dquot() 334 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv, in v2_read_dquot() 342 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_write_dquot() 359 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv, in v2_write_dquot() 370 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_release_dquot() 374 ret = qtree_release_dquot(sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv, dquot); in v2_release_dquot()
|
D | dquot.c | 292 head = dquot_hash + hashfn(dquot->dq_sb, dquot->dq_id); in insert_dquot_hash() 307 if (dquot->dq_sb == sb && qid_eq(dquot->dq_id, qid)) in find_dquot() 372 return dquot->dq_sb->dq_op->mark_dirty(dquot); in mark_dquot_dirty() 383 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() 427 if (sb_dqopt(dquot->dq_sb)->flags & DQUOT_NOLIST_DIRTY) in clear_dquot_dirty() 456 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_acquire() 474 dquot->dq_sb, dquot->dq_id.type); in dquot_acquire() 503 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_commit() 529 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_release() [all …]
|
/linux-6.6.21/mm/ |
D | shmem_quota.c | 167 struct mem_dqinfo *info = sb_dqinfo(dquot->dq_sb, dquot->dq_id.type); in shmem_acquire_dquot() 169 struct shmem_sb_info *sbinfo = dquot->dq_sb->s_fs_info; in shmem_acquire_dquot() 173 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in shmem_acquire_dquot() 238 struct shmem_sb_info *sbinfo = dquot->dq_sb->s_fs_info; in shmem_is_empty_dquot() 266 struct mem_dqinfo *info = sb_dqinfo(dquot->dq_sb, dquot->dq_id.type); in shmem_release_dquot() 269 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in shmem_release_dquot()
|
/linux-6.6.21/fs/ocfs2/ |
D | quota_global.c | 118 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 …]
|
D | quota_local.c | 870 struct super_block *sb = od->dq_dquot.dq_sb; in olq_set_dquot() 892 struct super_block *sb = dquot->dq_sb; in ocfs2_local_write_dquot() 1215 struct super_block *sb = dquot->dq_sb; in ocfs2_create_local_dquot() 1272 struct super_block *sb = dquot->dq_sb; in ocfs2_local_release_dquot()
|
/linux-6.6.21/fs/reiserfs/ |
D | super.c | 2274 reiserfs_write_lock(dquot->dq_sb); in reiserfs_write_dquot() 2276 journal_begin(&th, dquot->dq_sb, in reiserfs_write_dquot() 2277 REISERFS_QUOTA_TRANS_BLOCKS(dquot->dq_sb)); in reiserfs_write_dquot() 2280 depth = reiserfs_write_unlock_nested(dquot->dq_sb); in reiserfs_write_dquot() 2282 reiserfs_write_lock_nested(dquot->dq_sb, depth); in reiserfs_write_dquot() 2287 reiserfs_write_unlock(dquot->dq_sb); in reiserfs_write_dquot() 2297 reiserfs_write_lock(dquot->dq_sb); in reiserfs_acquire_dquot() 2299 journal_begin(&th, dquot->dq_sb, in reiserfs_acquire_dquot() 2300 REISERFS_QUOTA_INIT_BLOCKS(dquot->dq_sb)); in reiserfs_acquire_dquot() 2303 depth = reiserfs_write_unlock_nested(dquot->dq_sb); in reiserfs_acquire_dquot() [all …]
|
/linux-6.6.21/include/linux/ |
D | quota.h | 304 struct super_block *dq_sb; /* superblock this applies to */ member
|
/linux-6.6.21/fs/f2fs/ |
D | super.c | 3078 struct f2fs_sb_info *sbi = F2FS_SB(dquot->dq_sb); in f2fs_dquot_commit() 3091 struct f2fs_sb_info *sbi = F2FS_SB(dquot->dq_sb); in f2fs_dquot_acquire() 3104 struct f2fs_sb_info *sbi = F2FS_SB(dquot->dq_sb); in f2fs_dquot_release() 3114 struct super_block *sb = dquot->dq_sb; in f2fs_dquot_mark_dquot_dirty()
|
/linux-6.6.21/fs/ext4/ |
D | super.c | 6853 return sb_dqopt(dquot->dq_sb)->files[dquot->dq_id.type]; in dquot_to_inode() 6864 EXT4_QUOTA_TRANS_BLOCKS(dquot->dq_sb)); in ext4_write_dquot() 6880 EXT4_QUOTA_INIT_BLOCKS(dquot->dq_sb)); in ext4_acquire_dquot() 6896 EXT4_QUOTA_DEL_BLOCKS(dquot->dq_sb)); in ext4_release_dquot() 6911 struct super_block *sb = dquot->dq_sb; in ext4_mark_dquot_dirty()
|