Home
last modified time | relevance | path

Searched refs:DIRBLKSIZ (Results 1 – 17 of 17) sorted by relevance

/titanic_50/usr/src/lib/libast/common/dir/
H A Ddirlib.h147 #ifndef DIRBLKSIZ
149 #define DIRBLKSIZ DIRBLK
152 #define DIRBLKSIZ DIRBUF
154 #define DIRBLKSIZ 8192
H A Dreaddir.c50 if ((dirp->dd_size = getdents(dirp->dd_fd, dirp->dd_buf, DIRBLKSIZ)) <= 0)
H A Dopendir.c61 newof(0, DIR, 1, DIRBLKSIZ)
H A Dgetdents.c56 if (siz < DIRBLKSIZ)
/titanic_50/usr/src/uts/common/fs/ufs/
H A Dufs_dir.c80 #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 Dufs_trans.c502 TRANS_DELTA(ip->i_ufsvfs, ldbtob(bn), DIRBLKSIZ, DT_DIR, 0, 0); in ufs_trans_dir()
H A Dufs_vnops.c3950 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 Dufs_thread.c1185 dirsize = roundup(dp->i_size, DIRBLKSIZ); in ufs_attr_purge()
/titanic_50/usr/src/cmd/backup/restore/
H A Ddirs.c430 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 Drestore.h181 #define DIRBLKSIZ DEV_BSIZE macro
187 char dd_buf[DIRBLKSIZ];
/titanic_50/usr/src/cmd/fs.d/ufs/fsck/
H A Ddir.c53 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 Dpass2.c158 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 Ddir.h74 #define DIRBLKSIZ DEV_BSIZE macro
131 char dd_buf[DIRBLKSIZ];
/titanic_50/usr/src/uts/common/sys/fs/
H A Dufs_fsdir.h74 #define DIRBLKSIZ DEV_BSIZE macro
H A Dufs_trans.h428 #define SIZEDIR (DIRBLKSIZ + HEADERSIZE)
/titanic_50/usr/src/ucbhead/sys/
H A Ddir.h68 #define DIRBLKSIZ DIRBUF macro
/titanic_50/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c2766 { 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()