Searched refs:LFS_DIRBLKSIZ (Results 1 – 6 of 6) sorted by relevance
/netbsd-src/sbin/fsck_lfs/ |
H A D | dir.c | 58 .dot_reclen = LFS_DIRBLKSIZ, 67 .dotdot_reclen = LFS_DIRBLKSIZ - 12, 78 .dotdot_reclen = LFS_DIRBLKSIZ - 12, 137 char dbuf[LFS_DIRBLKSIZ]; in dirscan() 143 (idesc->id_filesize & (LFS_DIRBLKSIZ - 1)) != 0) in dirscan() 144 idesc->id_filesize = roundup(idesc->id_filesize, LFS_DIRBLKSIZ); in dirscan() 183 if (idesc->id_loc % LFS_DIRBLKSIZ == 0 && idesc->id_filesize > 0 && in fsck_readdir() 197 lfs_dir_setreclen(fs, dp, LFS_DIRBLKSIZ); in fsck_readdir() 205 idesc->id_loc += LFS_DIRBLKSIZ; in fsck_readdir() 206 idesc->id_filesize -= LFS_DIRBLKSIZ; in fsck_readdir() [all …]
|
H A D | pass2.c | 141 inp->i_isize = roundup(MINDIRSIZE(fs), LFS_DIRBLKSIZ); in pass2() 148 } else if ((inp->i_isize & (LFS_DIRBLKSIZ - 1)) != 0) { in pass2() 152 pathbuf, (unsigned long) inp->i_isize, LFS_DIRBLKSIZ); in pass2() 155 inp->i_isize = roundup(inp->i_isize, LFS_DIRBLKSIZ); in pass2()
|
/netbsd-src/sbin/newfs_lfs/ |
H A D | make_lfs.c | 363 spaceleft = LFS_DIRBLKSIZ; in make_dir() 809 make_dinode(ULFS_ROOTINO, dip, howmany(LFS_DIRBLKSIZ, lfs_sb_getfsize(fs)), fs); in make_lfs() 811 VTOI(vp)->i_lfs_osize = LFS_DIRBLKSIZ; in make_lfs() 818 lfs_btofsb(fs, roundup(LFS_DIRBLKSIZ, lfs_sb_getfsize(fs))); in make_lfs() 822 for (i = 0; i < ULFS_NDADDR && i < howmany(LFS_DIRBLKSIZ, lfs_sb_getbsize(fs)); i++) in make_lfs() 824 if (LFS_DIRBLKSIZ < lfs_sb_getbsize(fs)) in make_lfs() 826 roundup(LFS_DIRBLKSIZ, lfs_sb_getfsize(fs)); in make_lfs()
|
/netbsd-src/sys/ufs/lfs/ |
H A D | ulfs_extattr.c | 531 dirbuf = kmem_alloc(LFS_DIRBLKSIZ, KM_SLEEP); in ulfs_extattr_iterate_directory() 548 auio.uio_resid = LFS_DIRBLKSIZ; in ulfs_extattr_iterate_directory() 550 aiov.iov_len = LFS_DIRBLKSIZ; in ulfs_extattr_iterate_directory() 564 edp = (struct dirent *)&dirbuf[LFS_DIRBLKSIZ]; in ulfs_extattr_iterate_directory() 603 kmem_free(dirbuf, LFS_DIRBLKSIZ); in ulfs_extattr_iterate_directory()
|
H A D | lfs.h | 317 #undef LFS_DIRBLKSIZ 318 #define LFS_DIRBLKSIZ DEV_BSIZE macro
|
H A D | lfs_vfsops.c | 1112 fs->um_dirblksiz = LFS_DIRBLKSIZ; in lfs_mountfs()
|