fs/jfs/jfs_extent.h

Source file repositories/reference/linux-study-clean/fs/jfs/jfs_extent.h

File Facts

System
Linux kernel
Corpus path
fs/jfs/jfs_extent.h
Extension
.h
Size
511 bytes
Lines
17
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	_H_JFS_EXTENT
#define _H_JFS_EXTENT

/*  get block allocation hint as location of disk inode */
#define	INOHINT(ip)	\
	(addressPXD(&(JFS_IP(ip)->ixpxd)) + lengthPXD(&(JFS_IP(ip)->ixpxd)) - 1)

extern int	extAlloc(struct inode *, s64, s64, xad_t *, bool);
extern int	extHint(struct inode *, s64, xad_t *);
extern int	extRecord(struct inode *, xad_t *);

#endif	/* _H_JFS_EXTENT */

Annotation

Implementation Notes