/openbmc/linux/fs/quota/ |
H A D | quota_tree.c | 292 mark_info_dirty(dquot->dq_sb, dquot->dq_id.type); in find_free_dqentry() 298 quota_error(dquot->dq_sb, "Can't remove block (%u) " in find_free_dqentry() 313 quota_error(dquot->dq_sb, "Data block full but it shouldn't"); in find_free_dqentry() 320 quota_error(dquot->dq_sb, "Can't write quota data block %u", in find_free_dqentry() 352 quota_error(dquot->dq_sb, in do_insert_tree() 364 quota_error(dquot->dq_sb, "Can't read tree quota " in do_insert_tree() 371 ret = do_check_range(dquot->dq_sb, "block", newblk, 0, in do_insert_tree() 380 quota_error(dquot->dq_sb, in do_insert_tree() 392 quota_error(dquot->dq_sb, "Inserting already present " in do_insert_tree() 424 quota_error(dquot->dq_sb, "Quota tree root isn't allocated!"); in dq_insert_tree() [all …]
|
H A 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()
|
H A D | quota_v2.c | 248 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r0_mem2diskdqb() 267 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r0_is_id() 301 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r1_mem2diskdqb() 321 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; in v2r1_is_id() 332 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_read_dquot() 337 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv, in v2_read_dquot() 345 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_write_dquot() 362 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv, in v2_write_dquot() 373 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in v2_release_dquot() 377 ret = qtree_release_dquot(sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv, dquot); in v2_release_dquot()
|
H A 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() 429 if (sb_dqopt(dquot->dq_sb)->flags & DQUOT_NOLIST_DIRTY) in clear_dquot_dirty() 458 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_acquire() 476 dquot->dq_sb, dquot->dq_id.type); in dquot_acquire() 505 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_commit() 531 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in dquot_release() [all …]
|
/openbmc/linux/mm/ |
H A D | shmem_quota.c | 168 struct mem_dqinfo *info = sb_dqinfo(dquot->dq_sb, dquot->dq_id.type); in shmem_acquire_dquot() 170 struct shmem_sb_info *sbinfo = dquot->dq_sb->s_fs_info; in shmem_acquire_dquot() 174 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in shmem_acquire_dquot() 241 struct shmem_sb_info *sbinfo = dquot->dq_sb->s_fs_info; in shmem_is_empty_dquot() 269 struct mem_dqinfo *info = sb_dqinfo(dquot->dq_sb, dquot->dq_id.type); in shmem_release_dquot() 272 struct quota_info *dqopt = sb_dqopt(dquot->dq_sb); in shmem_release_dquot()
|
/openbmc/linux/fs/ocfs2/ |
H A 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() 801 struct super_block *sb = dquot->dq_sb; in ocfs2_acquire_dquot() [all …]
|
H A D | quota_local.c | 875 struct super_block *sb = od->dq_dquot.dq_sb; in olq_set_dquot() 897 struct super_block *sb = dquot->dq_sb; in ocfs2_local_write_dquot() 1220 struct super_block *sb = dquot->dq_sb; in ocfs2_create_local_dquot() 1277 struct super_block *sb = dquot->dq_sb; in ocfs2_local_release_dquot()
|
/openbmc/linux/fs/reiserfs/ |
H A 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 …]
|
/openbmc/linux/include/linux/ |
H A D | quota.h | 304 struct super_block *dq_sb; /* superblock this applies to */ member
|
/openbmc/linux/fs/ext4/ |
H A D | super.c | 6880 return sb_dqopt(dquot->dq_sb)->files[dquot->dq_id.type]; in dquot_to_inode() 6891 EXT4_QUOTA_TRANS_BLOCKS(dquot->dq_sb)); in ext4_write_dquot() 6896 ext4_error_err(dquot->dq_sb, -ret, in ext4_write_dquot() 6911 EXT4_QUOTA_INIT_BLOCKS(dquot->dq_sb)); in ext4_acquire_dquot() 6916 ext4_error_err(dquot->dq_sb, -ret, in ext4_acquire_dquot() 6931 EXT4_QUOTA_DEL_BLOCKS(dquot->dq_sb)); in ext4_release_dquot() 6939 ext4_error_err(dquot->dq_sb, -ret, in ext4_release_dquot() 6950 struct super_block *sb = dquot->dq_sb; in ext4_mark_dquot_dirty()
|
/openbmc/linux/fs/f2fs/ |
H A D | super.c | 3041 struct f2fs_sb_info *sbi = F2FS_SB(dquot->dq_sb); in f2fs_dquot_commit() 3054 struct f2fs_sb_info *sbi = F2FS_SB(dquot->dq_sb); in f2fs_dquot_acquire() 3067 struct f2fs_sb_info *sbi = F2FS_SB(dquot->dq_sb); in f2fs_dquot_release() 3077 struct super_block *sb = dquot->dq_sb; in f2fs_dquot_mark_dquot_dirty()
|