Searched refs:dq_sb (Results 1 – 10 of 10) sorted by relevance
/linux-2.6.39/fs/quota/ |
D | quota_v1.c | 60 if (!sb_dqopt(dquot->dq_sb)->files[type]) in v1_read_dqblk() 65 dquot->dq_sb->s_op->quota_read(dquot->dq_sb, type, (char *)&dqblk, 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() 94 ret = dquot->dq_sb->s_op->quota_write(dquot->dq_sb, type, in v1_commit_dqblk() 98 quota_error(dquot->dq_sb, "dquota write failed"); in v1_commit_dqblk()
|
D | quota_tree.c | 247 mark_info_dirty(dquot->dq_sb, dquot->dq_type); in find_free_dqentry() 253 quota_error(dquot->dq_sb, "Can't remove block (%u) " in find_free_dqentry() 268 quota_error(dquot->dq_sb, "Data block full but it shouldn't"); in find_free_dqentry() 275 quota_error(dquot->dq_sb, "Can't write quota data block %u", in find_free_dqentry() 310 quota_error(dquot->dq_sb, "Can't read tree quota " in do_insert_tree() 322 quota_error(dquot->dq_sb, "Inserting already present " in do_insert_tree() 361 struct super_block *sb = dquot->dq_sb; in qtree_write_dquot() 408 quota_error(dquot->dq_sb, "Quota structure has offset to " in free_dqentry() 415 quota_error(dquot->dq_sb, "Can't read quota data block %u", in free_dqentry() 426 quota_error(dquot->dq_sb, "Can't move quota data block " in free_dqentry() [all …]
|
D | quota_v2.c | 199 sb_dqinfo(dquot->dq_sb, dquot->dq_type)->dqi_priv; in v2r0_mem2diskdqb() 218 sb_dqinfo(dquot->dq_sb, dquot->dq_type)->dqi_priv; in v2r0_is_id() 250 sb_dqinfo(dquot->dq_sb, dquot->dq_type)->dqi_priv; in v2r1_mem2diskdqb() 269 sb_dqinfo(dquot->dq_sb, dquot->dq_type)->dqi_priv; in v2r1_is_id() 278 return qtree_read_dquot(sb_dqinfo(dquot->dq_sb, dquot->dq_type)->dqi_priv, dquot); in v2_read_dquot() 283 return qtree_write_dquot(sb_dqinfo(dquot->dq_sb, dquot->dq_type)->dqi_priv, dquot); in v2_write_dquot() 288 return qtree_release_dquot(sb_dqinfo(dquot->dq_sb, dquot->dq_type)->dqi_priv, dquot); in v2_release_dquot()
|
D | dquot.c | 270 head = dquot_hash + hashfn(dquot->dq_sb, dquot->dq_id, dquot->dq_type); in insert_dquot_hash() 287 if (dquot->dq_sb == sb && dquot->dq_id == id && in find_dquot() 339 return dquot->dq_sb->dq_op->mark_dirty(dquot); in mark_dquot_dirty() 353 list_add(&dquot->dq_dirty, &sb_dqopt(dquot->dq_sb)-> in dquot_mark_dquot_dirty() 408 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_acquire() 423 dquot->dq_sb, dquot->dq_type); 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() 485 dquot->dq_sb, dquot->dq_type); in dquot_release() 506 dquot->dq_sb->dq_op->destroy_dquot(dquot); in do_destroy_dquot() [all …]
|
/linux-2.6.39/fs/reiserfs/ |
D | super.c | 1944 reiserfs_write_lock(dquot->dq_sb); in reiserfs_write_dquot() 1946 journal_begin(&th, dquot->dq_sb, in reiserfs_write_dquot() 1947 REISERFS_QUOTA_TRANS_BLOCKS(dquot->dq_sb)); in reiserfs_write_dquot() 1952 journal_end(&th, dquot->dq_sb, in reiserfs_write_dquot() 1953 REISERFS_QUOTA_TRANS_BLOCKS(dquot->dq_sb)); in reiserfs_write_dquot() 1957 reiserfs_write_unlock(dquot->dq_sb); in reiserfs_write_dquot() 1966 reiserfs_write_lock(dquot->dq_sb); in reiserfs_acquire_dquot() 1968 journal_begin(&th, dquot->dq_sb, in reiserfs_acquire_dquot() 1969 REISERFS_QUOTA_INIT_BLOCKS(dquot->dq_sb)); in reiserfs_acquire_dquot() 1974 journal_end(&th, dquot->dq_sb, in reiserfs_acquire_dquot() [all …]
|
/linux-2.6.39/fs/ocfs2/ |
D | quota_global.c | 115 sb_dqinfo(dquot->dq_sb, dquot->dq_type)->dqi_priv; in ocfs2_global_is_id() 479 struct super_block *sb = dquot->dq_sb; in __ocfs2_sync_dquot() 591 struct super_block *sb = dquot->dq_sb; in ocfs2_sync_dquot_helper() 645 struct ocfs2_super *osb = OCFS2_SB(dquot->dq_sb); in ocfs2_write_dquot() 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() 682 sb_dqinfo(dquot->dq_sb, dquot->dq_type)->dqi_priv; in ocfs2_release_dquot() 683 struct ocfs2_super *osb = OCFS2_SB(dquot->dq_sb); in ocfs2_release_dquot() 696 ocfs2_calc_qdel_credits(dquot->dq_sb, dquot->dq_type)); in ocfs2_release_dquot() 736 struct super_block *sb = dquot->dq_sb; in ocfs2_acquire_dquot() [all …]
|
D | quota_local.c | 874 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-2.6.39/include/linux/ |
D | quota.h | 292 struct super_block *dq_sb; /* superblock this applies to */ member
|
/linux-2.6.39/fs/ext3/ |
D | super.c | 2790 return sb_dqopt(dquot->dq_sb)->files[dquot->dq_type]; in dquot_to_inode() 2801 EXT3_QUOTA_TRANS_BLOCKS(dquot->dq_sb)); in ext3_write_dquot() 2817 EXT3_QUOTA_INIT_BLOCKS(dquot->dq_sb)); in ext3_acquire_dquot() 2833 EXT3_QUOTA_DEL_BLOCKS(dquot->dq_sb)); in ext3_release_dquot() 2849 if (EXT3_SB(dquot->dq_sb)->s_qf_names[USRQUOTA] || in ext3_mark_dquot_dirty() 2850 EXT3_SB(dquot->dq_sb)->s_qf_names[GRPQUOTA]) { in ext3_mark_dquot_dirty()
|
/linux-2.6.39/fs/ext4/ |
D | super.c | 4508 return sb_dqopt(dquot->dq_sb)->files[dquot->dq_type]; in dquot_to_inode() 4519 EXT4_QUOTA_TRANS_BLOCKS(dquot->dq_sb)); in ext4_write_dquot() 4535 EXT4_QUOTA_INIT_BLOCKS(dquot->dq_sb)); in ext4_acquire_dquot() 4551 EXT4_QUOTA_DEL_BLOCKS(dquot->dq_sb)); in ext4_release_dquot() 4567 if (EXT4_SB(dquot->dq_sb)->s_qf_names[USRQUOTA] || in ext4_mark_dquot_dirty() 4568 EXT4_SB(dquot->dq_sb)->s_qf_names[GRPQUOTA]) { in ext4_mark_dquot_dirty()
|