#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_shared.h"
#include "xfs_format.h"
#include "xfs_log_format.h"
#include "xfs_trans_resv.h"
#include "xfs_mount.h"
#include "xfs_inode.h"
#include "xfs_quota.h"
#include "xfs_trans.h"
#include "xfs_buf_item.h"
#include "xfs_trans_priv.h"
#include "xfs_qm.h"
#include "xfs_log.h"
#include "xfs_error.h"
static inline struct xfs_dq_logitem *DQUOT_ITEM(struct xfs_log_item *lip)
{ … }
STATIC void
xfs_qm_dquot_logitem_size(
struct xfs_log_item *lip,
int *nvecs,
int *nbytes)
{ … }
STATIC void
xfs_qm_dquot_logitem_format(
struct xfs_log_item *lip,
struct xfs_log_vec *lv)
{ … }
STATIC void
xfs_qm_dquot_logitem_pin(
struct xfs_log_item *lip)
{ … }
STATIC void
xfs_qm_dquot_logitem_unpin(
struct xfs_log_item *lip,
int remove)
{ … }
void
xfs_qm_dqunpin_wait(
struct xfs_dquot *dqp)
{ … }
STATIC uint
xfs_qm_dquot_logitem_push(
struct xfs_log_item *lip,
struct list_head *buffer_list)
__releases(&lip->li_ailp->ail_lock)
__acquires(&lip->li_ailp->ail_lock)
{ … }
STATIC void
xfs_qm_dquot_logitem_release(
struct xfs_log_item *lip)
{ … }
STATIC void
xfs_qm_dquot_logitem_committing(
struct xfs_log_item *lip,
xfs_csn_t seq)
{ … }
#ifdef DEBUG_EXPENSIVE
static int
xfs_qm_dquot_logitem_precommit(
struct xfs_trans *tp,
struct xfs_log_item *lip)
{ … }
#else
#define xfs_qm_dquot_logitem_precommit …
#endif
static const struct xfs_item_ops xfs_dquot_item_ops = …;
void
xfs_qm_dquot_logitem_init(
struct xfs_dquot *dqp)
{ … }