Lines Matching refs:xfs_dquot
62 struct xfs_dquot { struct
103 static inline void xfs_dqflock(struct xfs_dquot *dqp) in xfs_dqflock() argument
108 static inline bool xfs_dqflock_nowait(struct xfs_dquot *dqp) in xfs_dqflock_nowait()
113 static inline void xfs_dqfunlock(struct xfs_dquot *dqp) in xfs_dqfunlock()
118 static inline int xfs_dqlock_nowait(struct xfs_dquot *dqp) in xfs_dqlock_nowait()
123 static inline void xfs_dqlock(struct xfs_dquot *dqp) in xfs_dqlock()
128 static inline void xfs_dqunlock(struct xfs_dquot *dqp) in xfs_dqunlock()
134 xfs_dquot_type(const struct xfs_dquot *dqp) in xfs_dquot_type()
153 static inline struct xfs_dquot *xfs_inode_dquot( in xfs_inode_dquot()
172 const struct xfs_dquot *dqp) in xfs_dquot_is_enforced()
190 static inline bool xfs_dquot_lowsp(struct xfs_dquot *dqp) in xfs_dquot_lowsp()
201 void xfs_dquot_to_disk(struct xfs_disk_dquot *ddqp, struct xfs_dquot *dqp);
206 void xfs_qm_dqdestroy(struct xfs_dquot *dqp);
207 int xfs_qm_dqflush(struct xfs_dquot *dqp, struct xfs_buf **bpp);
208 void xfs_qm_dqunpin_wait(struct xfs_dquot *dqp);
209 void xfs_qm_adjust_dqtimers(struct xfs_dquot *d);
210 void xfs_qm_adjust_dqlimits(struct xfs_dquot *d);
215 struct xfs_dquot **dqpp);
217 bool can_alloc, struct xfs_dquot **dqpp);
219 xfs_dqtype_t type, struct xfs_dquot **dqpp);
222 struct xfs_dquot **dqpp);
223 void xfs_qm_dqput(struct xfs_dquot *dqp);
225 void xfs_dqlock2(struct xfs_dquot *, struct xfs_dquot *);
227 void xfs_dquot_set_prealloc_limits(struct xfs_dquot *);
229 static inline struct xfs_dquot *xfs_qm_dqhold(struct xfs_dquot *dqp) in xfs_qm_dqhold()
237 typedef int (*xfs_qm_dqiterate_fn)(struct xfs_dquot *dq,