fs/xfs/scrub/quota.h

Source file repositories/reference/linux-study-clean/fs/xfs/scrub/quota.h

File Facts

System
Linux kernel
Corpus path
fs/xfs/scrub/quota.h
Extension
.h
Size
895 bytes
Lines
37
Domain
Core OS
Bucket
VFS And Filesystem Core
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

struct xchk_dqiter {
	struct xfs_scrub	*sc;

	/* Quota file that we're walking. */
	struct xfs_inode	*quota_ip;

	/* Cached data fork mapping for the dquot. */
	struct xfs_bmbt_irec	bmap;

	/* The next dquot to scan. */
	uint64_t		id;

	/* Quota type (user/group/project). */
	xfs_dqtype_t		dqtype;

	/* Data fork sequence number to detect stale mappings. */
	unsigned int		if_seq;
};

void xchk_dqiter_init(struct xchk_dqiter *cursor, struct xfs_scrub *sc,
		xfs_dqtype_t dqtype);
int xchk_dquot_iter(struct xchk_dqiter *cursor, struct xfs_dquot **dqpp);

#endif /* __XFS_SCRUB_QUOTA_H__ */

Annotation

Implementation Notes