fs/xfs/xfs_sysctl.h

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

File Facts

System
Linux kernel
Corpus path
fs/xfs/xfs_sysctl.h
Extension
.h
Size
3073 bytes
Lines
101
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_globals {
#ifdef DEBUG
	int	pwork_threads;		/* parallel workqueue threads */
	bool	larp;			/* log attribute replay */
#endif
	int	bload_leaf_slack;	/* btree bulk load leaf slack */
	int	bload_node_slack;	/* btree bulk load node slack */
	int	log_recovery_delay;	/* log recovery delay (secs) */
	int	mount_delay;		/* mount setup delay (secs) */
	bool	bug_on_assert;		/* BUG() the kernel on assert failure */
	bool	always_cow;		/* use COW fork for all overwrites */
};
extern struct xfs_globals	xfs_globals;

#ifdef CONFIG_SYSCTL
extern int xfs_sysctl_register(void);
extern void xfs_sysctl_unregister(void);
#else
# define xfs_sysctl_register()		(0)
# define xfs_sysctl_unregister()	do { } while (0)
#endif /* CONFIG_SYSCTL */

#endif /* __XFS_SYSCTL_H__ */

Annotation

Implementation Notes