Lines Matching refs:nr

67 static __inline__ int DQUOT_PREALLOC_SPACE_NODIRTY(struct inode *inode, qsize_t nr)  in DQUOT_PREALLOC_SPACE_NODIRTY()  argument
72 if (inode->i_sb->dq_op->alloc_space(inode, nr, 1) == NO_QUOTA) { in DQUOT_PREALLOC_SPACE_NODIRTY()
78 inode_add_bytes(inode, nr); in DQUOT_PREALLOC_SPACE_NODIRTY()
83 static __inline__ int DQUOT_PREALLOC_SPACE(struct inode *inode, qsize_t nr) in DQUOT_PREALLOC_SPACE() argument
86 if (!(ret = DQUOT_PREALLOC_SPACE_NODIRTY(inode, nr))) in DQUOT_PREALLOC_SPACE()
91 static __inline__ int DQUOT_ALLOC_SPACE_NODIRTY(struct inode *inode, qsize_t nr) in DQUOT_ALLOC_SPACE_NODIRTY() argument
96 if (inode->i_sb->dq_op->alloc_space(inode, nr, 0) == NO_QUOTA) { in DQUOT_ALLOC_SPACE_NODIRTY()
102 inode_add_bytes(inode, nr); in DQUOT_ALLOC_SPACE_NODIRTY()
107 static __inline__ int DQUOT_ALLOC_SPACE(struct inode *inode, qsize_t nr) in DQUOT_ALLOC_SPACE() argument
110 if (!(ret = DQUOT_ALLOC_SPACE_NODIRTY(inode, nr))) in DQUOT_ALLOC_SPACE()
129 static __inline__ void DQUOT_FREE_SPACE_NODIRTY(struct inode *inode, qsize_t nr) in DQUOT_FREE_SPACE_NODIRTY() argument
133 inode->i_sb->dq_op->free_space(inode, nr); in DQUOT_FREE_SPACE_NODIRTY()
135 inode_sub_bytes(inode, nr); in DQUOT_FREE_SPACE_NODIRTY()
139 static __inline__ void DQUOT_FREE_SPACE(struct inode *inode, qsize_t nr) in DQUOT_FREE_SPACE() argument
141 DQUOT_FREE_SPACE_NODIRTY(inode, nr); in DQUOT_FREE_SPACE()
197 extern __inline__ int DQUOT_PREALLOC_SPACE_NODIRTY(struct inode *inode, qsize_t nr) in DQUOT_PREALLOC_SPACE_NODIRTY() argument
200 inode_add_bytes(inode, nr); in DQUOT_PREALLOC_SPACE_NODIRTY()
205 extern __inline__ int DQUOT_PREALLOC_SPACE(struct inode *inode, qsize_t nr) in DQUOT_PREALLOC_SPACE() argument
207 DQUOT_PREALLOC_SPACE_NODIRTY(inode, nr); in DQUOT_PREALLOC_SPACE()
212 extern __inline__ int DQUOT_ALLOC_SPACE_NODIRTY(struct inode *inode, qsize_t nr) in DQUOT_ALLOC_SPACE_NODIRTY() argument
215 inode_add_bytes(inode, nr); in DQUOT_ALLOC_SPACE_NODIRTY()
220 extern __inline__ int DQUOT_ALLOC_SPACE(struct inode *inode, qsize_t nr) in DQUOT_ALLOC_SPACE() argument
222 DQUOT_ALLOC_SPACE_NODIRTY(inode, nr); in DQUOT_ALLOC_SPACE()
227 extern __inline__ void DQUOT_FREE_SPACE_NODIRTY(struct inode *inode, qsize_t nr) in DQUOT_FREE_SPACE_NODIRTY() argument
230 inode_sub_bytes(inode, nr); in DQUOT_FREE_SPACE_NODIRTY()
234 extern __inline__ void DQUOT_FREE_SPACE(struct inode *inode, qsize_t nr) in DQUOT_FREE_SPACE() argument
236 DQUOT_FREE_SPACE_NODIRTY(inode, nr); in DQUOT_FREE_SPACE()
242 #define DQUOT_PREALLOC_BLOCK_NODIRTY(inode, nr) DQUOT_PREALLOC_SPACE_NODIRTY(inode, ((qsize_t)(nr))… argument
243 #define DQUOT_PREALLOC_BLOCK(inode, nr) DQUOT_PREALLOC_SPACE(inode, ((qsize_t)(nr)) << (inode)->i_s… argument
244 #define DQUOT_ALLOC_BLOCK_NODIRTY(inode, nr) DQUOT_ALLOC_SPACE_NODIRTY(inode, ((qsize_t)(nr)) << (i… argument
245 #define DQUOT_ALLOC_BLOCK(inode, nr) DQUOT_ALLOC_SPACE(inode, ((qsize_t)(nr)) << (inode)->i_sb->s_b… argument
246 #define DQUOT_FREE_BLOCK_NODIRTY(inode, nr) DQUOT_FREE_SPACE_NODIRTY(inode, ((qsize_t)(nr)) << (ino… argument
247 #define DQUOT_FREE_BLOCK(inode, nr) DQUOT_FREE_SPACE(inode, ((qsize_t)(nr)) << (inode)->i_sb->s_blo… argument