xfs_dquot.c (707e0ddaf67e8942448ebdd16b523e409ebe40ce) xfs_dquot.c (e7ee96dfb8c2687a29d2c5c3b06c967fa54b839c)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (c) 2000-2003 Silicon Graphics, Inc.
4 * All Rights Reserved.
5 */
6#include "xfs.h"
7#include "xfs_fs.h"
8#include "xfs_format.h"

--- 1225 unchanged lines hidden (view full) ---

1234{
1235 kmem_zone_destroy(xfs_qm_dqtrxzone);
1236 kmem_zone_destroy(xfs_qm_dqzone);
1237}
1238
1239/*
1240 * Iterate every dquot of a particular type. The caller must ensure that the
1241 * particular quota type is active. iter_fn can return negative error codes,
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (c) 2000-2003 Silicon Graphics, Inc.
4 * All Rights Reserved.
5 */
6#include "xfs.h"
7#include "xfs_fs.h"
8#include "xfs_format.h"

--- 1225 unchanged lines hidden (view full) ---

1234{
1235 kmem_zone_destroy(xfs_qm_dqtrxzone);
1236 kmem_zone_destroy(xfs_qm_dqzone);
1237}
1238
1239/*
1240 * Iterate every dquot of a particular type. The caller must ensure that the
1241 * particular quota type is active. iter_fn can return negative error codes,
1242 * or XFS_ITER_ABORT to indicate that it wants to stop iterating.
1242 * or -ECANCELED to indicate that it wants to stop iterating.
1243 */
1244int
1245xfs_qm_dqiterate(
1246 struct xfs_mount *mp,
1247 uint dqtype,
1248 xfs_qm_dqiterate_fn iter_fn,
1249 void *priv)
1250{

--- 19 unchanged lines hidden ---
1243 */
1244int
1245xfs_qm_dqiterate(
1246 struct xfs_mount *mp,
1247 uint dqtype,
1248 xfs_qm_dqiterate_fn iter_fn,
1249 void *priv)
1250{

--- 19 unchanged lines hidden ---