fs/xfs/scrub/readdir.h

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

File Facts

System
Linux kernel
Corpus path
fs/xfs/scrub/readdir.h
Extension
.h
Size
743 bytes
Lines
23
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

#ifndef __XFS_SCRUB_READDIR_H__
#define __XFS_SCRUB_READDIR_H__

typedef int (*xchk_dirent_fn)(struct xfs_scrub *sc, struct xfs_inode *dp,
		xfs_dir2_dataptr_t dapos, const struct xfs_name *name,
		xfs_ino_t ino, void *priv);

int xchk_dir_walk(struct xfs_scrub *sc, struct xfs_inode *dp,
		xchk_dirent_fn dirent_fn, void *priv);

int xchk_dir_lookup(struct xfs_scrub *sc, struct xfs_inode *dp,
		const struct xfs_name *name, xfs_ino_t *ino);

int xchk_dir_trylock_for_pptrs(struct xfs_scrub *sc, struct xfs_inode *ip,
		unsigned int *lockmode);

#endif /* __XFS_SCRUB_READDIR_H__ */

Annotation

Implementation Notes