Lines Matching refs:i_sb

48 	if (!inode->i_sb)  in DQUOT_INIT()
51 if (sb_any_quota_enabled(inode->i_sb) && !IS_NOQUOTA(inode)) in DQUOT_INIT()
52 inode->i_sb->dq_op->initialize(inode, -1); in DQUOT_INIT()
60 if (!inode->i_sb) in DQUOT_DROP()
62 inode->i_sb->dq_op->drop(inode); /* Ops must be set when there's any quota... */ in DQUOT_DROP()
70 if (sb_any_quota_enabled(inode->i_sb)) { in DQUOT_PREALLOC_SPACE_NODIRTY()
72 if (inode->i_sb->dq_op->alloc_space(inode, nr, 1) == NO_QUOTA) { in DQUOT_PREALLOC_SPACE_NODIRTY()
94 if (sb_any_quota_enabled(inode->i_sb)) { in DQUOT_ALLOC_SPACE_NODIRTY()
96 if (inode->i_sb->dq_op->alloc_space(inode, nr, 0) == NO_QUOTA) { in DQUOT_ALLOC_SPACE_NODIRTY()
118 if (sb_any_quota_enabled(inode->i_sb)) { in DQUOT_ALLOC_INODE()
120 if (inode->i_sb->dq_op->alloc_inode(inode, 1) == NO_QUOTA) { in DQUOT_ALLOC_INODE()
132 if (sb_any_quota_enabled(inode->i_sb)) in DQUOT_FREE_SPACE_NODIRTY()
133 inode->i_sb->dq_op->free_space(inode, nr); in DQUOT_FREE_SPACE_NODIRTY()
148 if (sb_any_quota_enabled(inode->i_sb)) in DQUOT_FREE_INODE()
149 inode->i_sb->dq_op->free_inode(inode, 1); in DQUOT_FREE_INODE()
156 if (sb_any_quota_enabled(inode->i_sb) && !IS_NOQUOTA(inode)) { in DQUOT_TRANSFER()
158 if (inode->i_sb->dq_op->transfer(inode, iattr) == NO_QUOTA) { in DQUOT_TRANSFER()
242 …(inode, nr) DQUOT_PREALLOC_SPACE_NODIRTY(inode, ((qsize_t)(nr)) << (inode)->i_sb->s_blocksize_bits)
243 …OC_BLOCK(inode, nr) DQUOT_PREALLOC_SPACE(inode, ((qsize_t)(nr)) << (inode)->i_sb->s_blocksize_bits)
244 …RTY(inode, nr) DQUOT_ALLOC_SPACE_NODIRTY(inode, ((qsize_t)(nr)) << (inode)->i_sb->s_blocksize_bits)
245 #define DQUOT_ALLOC_BLOCK(inode, nr) DQUOT_ALLOC_SPACE(inode, ((qsize_t)(nr)) << (inode)->i_sb->s_b…
246 …IRTY(inode, nr) DQUOT_FREE_SPACE_NODIRTY(inode, ((qsize_t)(nr)) << (inode)->i_sb->s_blocksize_bits)
247 #define DQUOT_FREE_BLOCK(inode, nr) DQUOT_FREE_SPACE(inode, ((qsize_t)(nr)) << (inode)->i_sb->s_blo…