Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/lib/libast/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.c63 newof(0, DIR, 1, DIRBLKSIZ)
H A Dgetdents.c56 if (siz < DIRBLKSIZ)
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_dir.c80 #if !ISP2(DIRBLKSIZ)
89 0, DIRBLKSIZ - 12, 2, ".."
418 i = DIRBLKSIZ - (entryoffsetinblock & (DIRBLKSIZ - 1)); in ufs_dirlook()
439 if (offset & (DIRBLKSIZ - 1)) { in ufs_dirlook()
1185 DIRBLKSIZ, u_offset_t); in ufs_dircheckforname()
1186 slotp->size = DIRBLKSIZ; in ufs_dircheckforname()
1289 i = DIRBLKSIZ - (entryoffsetinblk & (DIRBLKSIZ - 1)); in ufs_dircheckforname()
1424 slotp->size = DIRBLKSIZ; in ufs_dircheckforname()
2030 ep->d_reclen = DIRBLKSIZ; in dirprepareentry()
2337 ip->i_size = DIRBLKSIZ; in ufs_dirmakedirect()
[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.c3842 offset = (uint_t)uiop->uio_offset & ~(DIRBLKSIZ - 1); in ufs_readdir()
3908 offset = (offset + DIRBLKSIZ) & ~(DIRBLKSIZ-1); in ufs_readdir()
3947 offset = (offset + DIRBLKSIZ) & ~(DIRBLKSIZ-1); in ufs_readdir()
H A Dufs_thread.c1187 dirsize = roundup(dp->i_size, DIRBLKSIZ); in ufs_attr_purge()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Ddir.c51 static struct dirtemplate emptydir = { 0, DIRBLKSIZ };
53 0, 12, 1, ".", 0, DIRBLKSIZ - 12, 2, ".."
107 char dbuf[DIRBLKSIZ]; in dirscan()
114 (idesc->id_filesize & (DIRBLKSIZ - 1)) != 0) in dirscan()
214 size = DIRBLKSIZ - (idesc->id_loc & (DIRBLKSIZ - 1)); in fsck_readdir()
343 spaceleft = DIRBLKSIZ - (idesc->id_loc % DIRBLKSIZ); in dircheck()
792 if ((dp->di_size % DIRBLKSIZ) != 0) { in makeentry()
793 dp->di_size = roundup(dp->di_size, DIRBLKSIZ); in makeentry()
942 cp += DIRBLKSIZ) { in expanddir()
1146 for (cp = &bp->b_un.b_buf[DIRBLKSIZ]; in allocdir()
[all …]
H A Dpass2.c156 inp->i_isize = (offset_t)roundup(MINDIRSIZE, DIRBLKSIZ); in pass2()
165 if ((inp->i_isize & (offset_t)(DIRBLKSIZ - 1)) != 0) { in pass2()
168 pathbuf, (longlong_t)inp->i_isize, DIRBLKSIZ); in pass2()
170 (offset_t)DIRBLKSIZ); in pass2()
175 (offset_t)DIRBLKSIZ); in pass2()
/illumos-gate/usr/src/cmd/backup/restore/
H A Ddirs.c416 i = DIRBLKSIZ - (loc & (DIRBLKSIZ - 1)); in putdir()
432 static char dirbuf[DIRBLKSIZ];
446 if (dirloc + (long)dp->d_reclen > DIRBLKSIZ) { in putent()
449 DIRBLKSIZ - prev; in putent()
450 (void) fwrite(dirbuf, 1, DIRBLKSIZ, df); in putent()
468 ((struct direct *)(dirbuf + prev))->d_reclen = DIRBLKSIZ - prev; in flushent()
579 (void) llseek(sdirp->dd_fd, base + (loc & ~(DIRBLKSIZ - 1)), 0); in rst_seekdir()
580 sdirp->dd_loc = loc & (DIRBLKSIZ - 1); in rst_seekdir()
582 sdirp->dd_size = read(sdirp->dd_fd, sdirp->dd_buf, DIRBLKSIZ); in rst_seekdir()
596 DIRBLKSIZ); in rst_readdir()
[all …]
H A Drestore.h155 #define DIRBLKSIZ DEV_BSIZE macro
161 char dd_buf[DIRBLKSIZ];
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Ddir.h74 #define DIRBLKSIZ DEV_BSIZE macro
131 char dd_buf[DIRBLKSIZ];
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_fsdir.h72 #define DIRBLKSIZ DEV_BSIZE macro
H A Dufs_trans.h428 #define SIZEDIR (DIRBLKSIZ + HEADERSIZE)
/illumos-gate/usr/src/boot/include/ufs/ufs/
H A Ddir.h73 #define DIRBLKSIZ DEV_BSIZE macro
/illumos-gate/usr/src/ucbhead/sys/
H A Ddir.h66 #define DIRBLKSIZ DIRBUF macro
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c2791 { 0, DIRBLKSIZ, 0, 0 },
2813 for (i = DIRBLKSIZ; i < sblock.fs_bsize; i += DIRBLKSIZ) { in fsinit()
2852 spcleft = DIRBLKSIZ; in makedir()
2861 return (DIRBLKSIZ); in makedir()