File Index
Files and directories
Sign in
FILE

listxattr.h

File preview with syntax highlighting.

linux-6.19.14/fs/xfs/scrub/listxattr.h C
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/*
 3 * Copyright (c) 2022-2024 Oracle.  All Rights Reserved.
 4 * Author: Darrick J. Wong <djwong@kernel.org>
 5 */
 6#ifndef __XFS_SCRUB_LISTXATTR_H__
 7#define __XFS_SCRUB_LISTXATTR_H__
 8
 9typedef int (*xchk_xattr_fn)(struct xfs_scrub *sc, struct xfs_inode *ip,
10		unsigned int attr_flags, const unsigned char *name,
11		unsigned int namelen, const void *value, unsigned int valuelen,
12		void *priv);
13
14typedef int (*xchk_xattrleaf_fn)(struct xfs_scrub *sc, void *priv);
15
16int xchk_xattr_walk(struct xfs_scrub *sc, struct xfs_inode *ip,
17		xchk_xattr_fn attr_fn, xchk_xattrleaf_fn leaf_fn, void *priv);
18
19#endif /* __XFS_SCRUB_LISTXATTR_H__ */
~/ Read-only file preview.