Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | xfs_dquot |
Macros | |
#define | XFS_DQ_IS_LOCKED(dqp) (mutex_is_locked(&((dqp)->q_qlock))) |
#define | XFS_DQ_IS_DIRTY(dqp) ((dqp)->dq_flags & XFS_DQ_DIRTY) |
#define | XFS_QM_ISUDQ(dqp) ((dqp)->dq_flags & XFS_DQ_USER) |
#define | XFS_QM_ISPDQ(dqp) ((dqp)->dq_flags & XFS_DQ_PROJ) |
#define | XFS_QM_ISGDQ(dqp) ((dqp)->dq_flags & XFS_DQ_GROUP) |
#define | XFS_DQ_TO_QINF(dqp) ((dqp)->q_mount->m_quotainfo) |
#define | XFS_DQ_TO_QIP(dqp) |
Typedefs | |
typedef struct xfs_dquot | xfs_dquot_t |
Enumerations | |
enum | { XFS_QLOCK_NORMAL = 0, XFS_QLOCK_NESTED } |
Functions | |
int | xfs_qm_dqread (struct xfs_mount *, xfs_dqid_t, uint, uint, struct xfs_dquot **) |
void | xfs_qm_dqdestroy (xfs_dquot_t *) |
int | xfs_qm_dqflush (struct xfs_dquot *, struct xfs_buf **) |
void | xfs_qm_dqunpin_wait (xfs_dquot_t *) |
void | xfs_qm_adjust_dqtimers (xfs_mount_t *, xfs_disk_dquot_t *) |
void | xfs_qm_adjust_dqlimits (xfs_mount_t *, xfs_disk_dquot_t *) |
int | xfs_qm_dqget (xfs_mount_t *, xfs_inode_t *, xfs_dqid_t, uint, uint, xfs_dquot_t **) |
void | xfs_qm_dqput (xfs_dquot_t *) |
void | xfs_dqlock2 (struct xfs_dquot *, struct xfs_dquot *) |
#define XFS_DQ_IS_DIRTY | ( | dqp | ) | ((dqp)->dq_flags & XFS_DQ_DIRTY) |
Definition at line 132 of file xfs_dquot.h.
#define XFS_DQ_IS_LOCKED | ( | dqp | ) | (mutex_is_locked(&((dqp)->q_qlock))) |
Definition at line 131 of file xfs_dquot.h.
#define XFS_DQ_TO_QINF | ( | dqp | ) | ((dqp)->q_mount->m_quotainfo) |
Definition at line 136 of file xfs_dquot.h.
#define XFS_DQ_TO_QIP | ( | dqp | ) |
Definition at line 137 of file xfs_dquot.h.
#define XFS_QM_ISGDQ | ( | dqp | ) | ((dqp)->dq_flags & XFS_DQ_GROUP) |
Definition at line 135 of file xfs_dquot.h.
#define XFS_QM_ISPDQ | ( | dqp | ) | ((dqp)->dq_flags & XFS_DQ_PROJ) |
Definition at line 134 of file xfs_dquot.h.
#define XFS_QM_ISUDQ | ( | dqp | ) | ((dqp)->dq_flags & XFS_DQ_USER) |
Definition at line 133 of file xfs_dquot.h.
typedef struct xfs_dquot xfs_dquot_t |
anonymous enum |
Definition at line 65 of file xfs_dquot.h.
Definition at line 987 of file xfs_dquot.c.
void xfs_qm_adjust_dqlimits | ( | xfs_mount_t * | , |
xfs_disk_dquot_t * | |||
) |
Definition at line 87 of file xfs_dquot.c.
void xfs_qm_adjust_dqtimers | ( | xfs_mount_t * | , |
xfs_disk_dquot_t * | |||
) |
Definition at line 123 of file xfs_dquot.c.
void xfs_qm_dqdestroy | ( | xfs_dquot_t * | ) |
Definition at line 70 of file xfs_dquot.c.
Definition at line 879 of file xfs_dquot.c.
int xfs_qm_dqget | ( | xfs_mount_t * | , |
xfs_inode_t * | , | ||
xfs_dqid_t | , | ||
uint | , | ||
uint | , | ||
xfs_dquot_t ** | |||
) |
Definition at line 614 of file xfs_dquot.c.
void xfs_qm_dqput | ( | xfs_dquot_t * | ) |
Definition at line 792 of file xfs_dquot.c.
Definition at line 481 of file xfs_dquot.c.
void xfs_qm_dqunpin_wait | ( | xfs_dquot_t * | ) |
Definition at line 126 of file xfs_dquot_item.c.