search for: i8count

Displaying 2 results from an estimated 2 matches for "i8count".

Did you mean: count
2015 Dec 15
8
[PATCH] xfs: Add support for v3 directories
...parent, xfs_dinode_t *core) { - xfs_dir2_sf_t *sf = (xfs_dir2_sf_t *)&core->di_literal_area[0]; + xfs_dir2_sf_t *sf = XFS_DFORK_PTR(core, XFS_DATA_FORK); xfs_dir2_sf_entry_t *sf_entry; + uint8_t ftypelen = core->di_version == 3 ? 1 : 0; uint8_t count = sf->hdr.i8count ? sf->hdr.i8count : sf->hdr.count; struct fs_info *fs = parent->fs; struct inode *inode; + xfs_dir2_inou_t *inou; xfs_intino_t ino; xfs_dinode_t *ncore = NULL; xfs_debug("dname %s parent %p core %p", dname, parent, core); xfs_debug("count %...
2012 Sep 03
1
[GIT-PULL] XFS filesystem driver
...pedef union { + xfs_dir2_ino8_t i8; + xfs_dir2_ino4_t i4; +} __attribute__((__packed__)) xfs_dir2_inou_t; + +typedef struct { uint8_t i[2]; } __attribute__((__packed__)) xfs_dir2_sf_off_t; + +typedef struct xfs_dir2_sf_hdr { + uint8_t count; /* count of entries */ + uint8_t i8count; /* count of 8-byte inode #s */ + xfs_dir2_inou_t parent; /* parent dir inode number */ +} __attribute__((__packed__)) xfs_dir2_sf_hdr_t; + +typedef struct xfs_dir2_sf_entry { + uint8_t namelen; /* actual name length */ + xfs_dir2_sf_off_t offset;...