/illumos-gate/usr/src/contrib/ast/src/lib/libast/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 | 63 newof(0, DIR, 1, DIRBLKSIZ)
|
H A D | getdents.c | 56 if (siz < DIRBLKSIZ)
|
/illumos-gate/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 | 3842 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 D | ufs_thread.c | 1187 dirsize = roundup(dp->i_size, DIRBLKSIZ); in ufs_attr_purge()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | dir.c | 51 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() 115 idesc->id_filesize = roundup(idesc->id_filesize, DIRBLKSIZ); in dirscan() 214 size = DIRBLKSIZ - (idesc->id_loc & (DIRBLKSIZ - 1)); in fsck_readdir() 305 if ((idesc->id_loc & (DIRBLKSIZ - 1)) && /* not at start */ 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() [all …]
|
H A D | pass2.c | 156 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 D | dirs.c | 416 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 D | restore.h | 155 #define DIRBLKSIZ DEV_BSIZE macro 161 char dd_buf[DIRBLKSIZ];
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | dir.h | 74 #define DIRBLKSIZ DEV_BSIZE macro 131 char dd_buf[DIRBLKSIZ];
|
/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | ufs_fsdir.h | 72 #define DIRBLKSIZ DEV_BSIZE macro
|
H A D | ufs_trans.h | 428 #define SIZEDIR (DIRBLKSIZ + HEADERSIZE)
|
/illumos-gate/usr/src/boot/include/ufs/ufs/ |
H A D | dir.h | 73 #define DIRBLKSIZ DEV_BSIZE macro
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | dir.h | 66 #define DIRBLKSIZ DIRBUF macro
|
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/ |
H A D | mkfs.c | 2791 { 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()
|