fs/xfs/xfs_dquot_item.h

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

File Facts

System
Linux kernel
Corpus path
fs/xfs/xfs_dquot_item.h
Extension
.h
Size
694 bytes
Lines
29
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_dq_logitem {
	struct xfs_log_item	qli_item;	/* common portion */
	struct xfs_dquot	*qli_dquot;	/* dquot ptr */
	xfs_lsn_t		qli_flush_lsn;	/* lsn at last flush */

	/*
	 * We use this spinlock to coordinate access to the li_buf pointer in
	 * the log item and the qli_dirty flag.
	 */
	spinlock_t		qli_lock;
	bool			qli_dirty;	/* dirtied since last flush? */
};

void xfs_qm_dquot_logitem_init(struct xfs_dquot *dqp);

#endif	/* __XFS_DQUOT_ITEM_H__ */

Annotation

Implementation Notes