Go to the documentation of this file.
18 #ifndef __XFS_QUOTA_PRIV_H__
19 #define __XFS_QUOTA_PRIV_H__
25 #define XFS_DQITER_MAP_SIZE 10
27 #define XFS_IS_DQUOT_UNINITIALIZED(dqp) ( \
28 !dqp->q_core.d_blk_hardlimit && \
29 !dqp->q_core.d_blk_softlimit && \
30 !dqp->q_core.d_rtb_hardlimit && \
31 !dqp->q_core.d_rtb_softlimit && \
32 !dqp->q_core.d_ino_hardlimit && \
33 !dqp->q_core.d_ino_softlimit && \
34 !dqp->q_core.d_bcount && \
35 !dqp->q_core.d_rtbcount && \
36 !dqp->q_core.d_icount)
38 #define DQFLAGTO_TYPESTR(d) (((d)->dq_flags & XFS_DQ_USER) ? "USR" : \
39 (((d)->dq_flags & XFS_DQ_GROUP) ? "GRP" : \
40 (((d)->dq_flags & XFS_DQ_PROJ) ? "PRJ":"???")))