/titanic_50/usr/src/lib/libast/common/dir/ |
H A D | dirlib.h | 147 #ifndef DIRBLKSIZ 149 #define DIRBLKSIZ DIRBLK 152 #define DIRBLKSIZ DIRBUF 154 #define DIRBLKSIZ 8192
|
H A D | readdir.c | 50 if ((dirp->dd_size = getdents(dirp->dd_fd, dirp->dd_buf, DIRBLKSIZ)) <= 0)
|
H A D | opendir.c | 61 newof(0, DIR, 1, DIRBLKSIZ)
|
H A D | getdents.c | 56 if (siz < DIRBLKSIZ)
|
/titanic_50/usr/src/uts/common/fs/ufs/ |
H A D | ufs_dir.c | 80 #if !ISP2(DIRBLKSIZ) 89 0, DIRBLKSIZ - 12, 2, ".." 379 endsearch = P2ROUNDUP_TYPED(dp->i_size, DIRBLKSIZ, u_offset_t); in ufs_dirlook() 418 i = DIRBLKSIZ - (entryoffsetinblock & (DIRBLKSIZ - 1)); in ufs_dirlook() 439 if (offset & (DIRBLKSIZ - 1)) { in ufs_dirlook() 449 if (offset & (DIRBLKSIZ - 1)) { in ufs_dirlook() 1075 ASSERT((offset & (DIRBLKSIZ - 1)) == 0); in ufs_dircheckforname() 1102 ASSERT((offset & (DIRBLKSIZ - 1)) == 0); in ufs_dircheckforname() 1185 DIRBLKSIZ, u_offset_t); in ufs_dircheckforname() 1186 slotp->size = DIRBLKSIZ; in ufs_dircheckforname() [all …]
|
H A D | ufs_trans.c | 502 TRANS_DELTA(ip->i_ufsvfs, ldbtob(bn), DIRBLKSIZ, DT_DIR, 0, 0); in ufs_trans_dir()
|
H A D | ufs_vnops.c | 3950 offset = (uint_t)uiop->uio_offset & ~(DIRBLKSIZ - 1); in ufs_readdir() 4016 offset = (offset + DIRBLKSIZ) & ~(DIRBLKSIZ-1); in ufs_readdir() 4055 offset = (offset + DIRBLKSIZ) & ~(DIRBLKSIZ-1); in ufs_readdir()
|
H A D | ufs_thread.c | 1185 dirsize = roundup(dp->i_size, DIRBLKSIZ); in ufs_attr_purge()
|
/titanic_50/usr/src/cmd/backup/restore/ |
H A D | dirs.c | 430 i = DIRBLKSIZ - (loc & (DIRBLKSIZ - 1)); in putdir() 446 static char dirbuf[DIRBLKSIZ]; 460 if (dirloc + (long)dp->d_reclen > DIRBLKSIZ) { in putent() 463 DIRBLKSIZ - prev; in putent() 464 (void) fwrite(dirbuf, 1, DIRBLKSIZ, df); in putent() 486 ((struct direct *)(dirbuf + prev))->d_reclen = DIRBLKSIZ - prev; in flushent() 597 (void) llseek(sdirp->dd_fd, base + (loc & ~(DIRBLKSIZ - 1)), 0); in rst_seekdir() 598 sdirp->dd_loc = loc & (DIRBLKSIZ - 1); in rst_seekdir() 600 sdirp->dd_size = read(sdirp->dd_fd, sdirp->dd_buf, DIRBLKSIZ); in rst_seekdir() 614 DIRBLKSIZ); in rst_readdir() [all …]
|
H A D | restore.h | 181 #define DIRBLKSIZ DEV_BSIZE macro 187 char dd_buf[DIRBLKSIZ];
|
/titanic_50/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | dir.c | 53 static struct dirtemplate emptydir = { 0, DIRBLKSIZ }; 55 0, 12, 1, ".", 0, DIRBLKSIZ - 12, 2, ".." 109 char dbuf[DIRBLKSIZ]; in dirscan() 116 (idesc->id_filesize & (DIRBLKSIZ - 1)) != 0) in dirscan() 117 idesc->id_filesize = roundup(idesc->id_filesize, DIRBLKSIZ); in dirscan() 216 size = DIRBLKSIZ - (idesc->id_loc & (DIRBLKSIZ - 1)); in fsck_readdir() 307 if ((idesc->id_loc & (DIRBLKSIZ - 1)) && /* not at start */ in fsck_readdir() 345 spaceleft = DIRBLKSIZ - (idesc->id_loc % DIRBLKSIZ); in dircheck() 794 if ((dp->di_size % DIRBLKSIZ) != 0) { in makeentry() 795 dp->di_size = roundup(dp->di_size, DIRBLKSIZ); in makeentry() [all …]
|
H A D | pass2.c | 158 inp->i_isize = (offset_t)roundup(MINDIRSIZE, DIRBLKSIZ); in pass2() 167 if ((inp->i_isize & (offset_t)(DIRBLKSIZ - 1)) != 0) { in pass2() 170 pathbuf, (longlong_t)inp->i_isize, DIRBLKSIZ); in pass2() 172 (offset_t)DIRBLKSIZ); in pass2() 177 (offset_t)DIRBLKSIZ); in pass2()
|
/titanic_50/usr/src/grub/grub-0.97/stage2/ |
H A D | dir.h | 74 #define DIRBLKSIZ DEV_BSIZE macro 131 char dd_buf[DIRBLKSIZ];
|
/titanic_50/usr/src/uts/common/sys/fs/ |
H A D | ufs_fsdir.h | 74 #define DIRBLKSIZ DEV_BSIZE macro
|
H A D | ufs_trans.h | 428 #define SIZEDIR (DIRBLKSIZ + HEADERSIZE)
|
/titanic_50/usr/src/ucbhead/sys/ |
H A D | dir.h | 68 #define DIRBLKSIZ DIRBUF macro
|
/titanic_50/usr/src/cmd/fs.d/ufs/mkfs/ |
H A D | mkfs.c | 2766 { 0, DIRBLKSIZ, 0, 0 }, 2788 for (i = DIRBLKSIZ; i < sblock.fs_bsize; i += DIRBLKSIZ) { in fsinit() 2827 spcleft = DIRBLKSIZ; in makedir() 2836 return (DIRBLKSIZ); in makedir()
|