[BACK]Return to xfs_imap.h CVS log [TXT][DIR] Up to [Development] / xfs-linux-nodel

File: [Development] / xfs-linux-nodel / xfs_imap.h (download)

Revision 1.2, Thu Feb 9 03:15:58 1995 UTC (22 years, 8 months ago) by ajs
Branch: MAIN
Changes since 1.1: +1 -1 lines

259540 - Change the prototype of xfs_imap().

#ifndef _FS_XFS_IMAP_H
#define	_FS_XFS_IMAP_H

/*
 * This is the structure passed to xfs_imap() to map
 * an inode number to its on disk location.
 */
typedef struct xfs_imap {
	daddr_t		im_blkno;	/* starting BB of inode chunk */
	uint		im_len;		/* length in BBs of inode chunk */
	xfs_agblock_t	im_agblkno;	/* logical block of inode chunk in ag */
	ushort		im_ioffset;	/* inode offset in block in "inodes" */
	ushort		im_boffset;	/* inode offset in block in bytes */
} xfs_imap_t;
	
int	xfs_imap(xfs_mount_t *, xfs_trans_t *, xfs_ino_t, xfs_imap_t *, uint);

#endif	/* !_FS_XFS_IMAP_H */