fs/xfs/xfs_exchmaps_item.h

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

File Facts

System
Linux kernel
Corpus path
fs/xfs/xfs_exchmaps_item.h
Extension
.h
Size
2089 bytes
Lines
65
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 xfs_xmi_log_item {
	struct xfs_log_item		xmi_item;
	atomic_t			xmi_refcount;
	struct xfs_xmi_log_format	xmi_format;
};

/*
 * This is the incore file mapping exchange done log item.  It is used to log
 * the fact that an exchange mentioned in an earlier xmi item have been
 * performed.
 */
struct xfs_xmd_log_item {
	struct xfs_log_item		xmd_item;
	struct xfs_xmi_log_item		*xmd_intent_log_item;
	struct xfs_xmd_log_format	xmd_format;
};

extern struct kmem_cache	*xfs_xmi_cache;
extern struct kmem_cache	*xfs_xmd_cache;

struct xfs_exchmaps_intent;

void xfs_exchmaps_defer_add(struct xfs_trans *tp,
		struct xfs_exchmaps_intent *xmi);

#endif	/* __XFS_EXCHMAPS_ITEM_H__ */

Annotation

Implementation Notes