Searched refs:EXT2FS_DIRSIZ (Results 1 – 5 of 5) sorted by relevance
360 slotneeded = EXT2FS_DIRSIZ(cnp->cn_namelen); in ext2fs_lookup() 480 size -= EXT2FS_DIRSIZ(ep->e2d_namlen); in ext2fs_lookup() 603 if (results->ulr_offset + EXT2FS_DIRSIZ(ep->e2d_namlen) > ext2fs_size(dp)) { in ext2fs_lookup() 606 results->ulr_offset + EXT2FS_DIRSIZ(ep->e2d_namlen)); in ext2fs_lookup() 842 if (reclen < EXT2FS_DIRSIZ(1)) /* e2d_namlen = 1 */ in ext2fs_dirbadentry() 848 else if (reclen < EXT2FS_DIRSIZ(namlen)) in ext2fs_dirbadentry() 898 newentrysize = EXT2FS_DIRSIZ(cnp->cn_namelen); in ext2fs_direnter() 994 dsize = EXT2FS_DIRSIZ(ep->e2d_namlen); in ext2fs_add_entry() 1006 dsize = EXT2FS_DIRSIZ(nep->e2d_namlen); in ext2fs_add_entry()
202 #define EXT2FS_DIRSIZ(len) roundup2(8 + len, 4) macro
266 entrysize = EXT2FS_DIRSIZ(proto.e2d_namlen); in pass2check()301 entrysize = EXT2FS_DIRSIZ(2); in pass2check()303 n = EXT2FS_DIRSIZ(dirp->e2d_namlen); in pass2check()
278 size = EXT2FS_DIRSIZ(dp->e2d_namlen); in dircheck()359 newlen = EXT2FS_DIRSIZ(newent.e2d_namlen); in mkentry()361 oldlen = EXT2FS_DIRSIZ(dirp->e2d_namlen); in mkentry()
1026 protodir[i].e2d_reclen = EXT2FS_DIRSIZ(protodir[i].e2d_namlen); in makedir() 1043 memcpy(dbuf, dir, EXT2FS_DIRSIZ(dir->e2d_namlen)); in copy_dir()