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

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Ddir.h50 * A directory consists of some number of blocks of DIRBLKSIZ
51 * bytes, where DIRBLKSIZ is chosen such that it can be transferred
54 * Each DIRBLKSIZ byte block contains some number of directory entry
64 * entries which have dp->d_reclen > DIRSIZ(dp). All DIRBLKSIZ bytes
74 #define DIRBLKSIZ DEV_BSIZE macro
131 char dd_buf[DIRBLKSIZ];
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_fsdir.h50 * A directory consists of some number of blocks of DIRBLKSIZ
51 * bytes, where DIRBLKSIZ is chosen such that it can be transferred
54 * Each DIRBLKSIZ byte block contains some number of directory entry
64 * entries which have dp->d_reclen > DIRSIZ(dp). All DIRBLKSIZ bytes
74 #define DIRBLKSIZ DEV_BSIZE macro
H A Dufs_trans.h428 #define SIZEDIR (DIRBLKSIZ + HEADERSIZE)
/illumos-gate/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.c28 * NOTE: directory entries must fit within DIRBLKSIZ boundaries
50 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.c37 * NOTE: directory entries must fit within DIRBLKSIZ boundaries
56 if (siz < DIRBLKSIZ)
/illumos-gate/usr/src/boot/include/ufs/ufs/
H A Ddir.h50 * A directory consists of some number of blocks of DIRBLKSIZ
51 * bytes, where DIRBLKSIZ is chosen such that it can be transferred
54 * Each DIRBLKSIZ byte block contains some number of directory entry
64 * entries which have dp->d_reclen > DIRSIZ(fmt, dp). All DIRBLKSIZ bytes
74 #define DIRBLKSIZ DEV_BSIZE macro
/illumos-gate/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];
116 (idesc->id_filesize & (DIRBLKSIZ - 1)) != 0)
117 idesc->id_filesize = roundup(idesc->id_filesize, DIRBLKSIZ);
127 * d_reclen > DIRBLKSIZ, we don't want to memmove() all over
216 size = DIRBLKSIZ - (idesc->id_loc & (DIRBLKSIZ - 1));
307 if ((idesc->id_loc & (DIRBLKSIZ - 1)) && /* not at start */
345 spaceleft = DIRBLKSIZ
[all...]
H A Dpass2.c158 inp->i_isize = (offset_t)roundup(MINDIRSIZE, DIRBLKSIZ);
167 if ((inp->i_isize & (offset_t)(DIRBLKSIZ - 1)) != 0) {
170 pathbuf, (longlong_t)inp->i_isize, DIRBLKSIZ);
172 (offset_t)DIRBLKSIZ);
177 (offset_t)DIRBLKSIZ);
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_dir.c78 * This is required since we're using P2ROUNDUP_TYPED on DIRBLKSIZ
80 #if !ISP2(DIRBLKSIZ)
81 #error "DIRBLKSIZ not a power of 2"
89 0, DIRBLKSIZ - 12, 2, ".."
379 endsearch = P2ROUNDUP_TYPED(dp->i_size, DIRBLKSIZ, u_offset_t);
418 i = DIRBLKSIZ - (entryoffsetinblock & (DIRBLKSIZ - 1));
439 if (offset & (DIRBLKSIZ - 1)) {
449 if (offset & (DIRBLKSIZ - 1)) {
1075 ASSERT((offset & (DIRBLKSIZ
[all...]
H A Dufs_thread.c1185 dirsize = roundup(dp->i_size, DIRBLKSIZ);
H A Dufs_trans.c502 TRANS_DELTA(ip->i_ufsvfs, ldbtob(bn), DIRBLKSIZ, DT_DIR, 0, 0);
H A Dufs_vnops.c3963 offset = (uint_t)uiop->uio_offset & ~(DIRBLKSIZ - 1);
4029 offset = (offset + DIRBLKSIZ) & ~(DIRBLKSIZ-1);
4068 offset = (offset + DIRBLKSIZ) & ~(DIRBLKSIZ-1);
/illumos-gate/usr/src/cmd/backup/restore/
H A Ddirs.c430 i = DIRBLKSIZ - (loc & (DIRBLKSIZ - 1));
446 static char dirbuf[DIRBLKSIZ];
460 if (dirloc + (long)dp->d_reclen > DIRBLKSIZ) {
463 DIRBLKSIZ - prev;
464 (void) fwrite(dirbuf, 1, DIRBLKSIZ, df);
486 ((struct direct *)(dirbuf + prev))->d_reclen = DIRBLKSIZ - prev;
597 (void) llseek(sdirp->dd_fd, base + (loc & ~(DIRBLKSIZ - 1)), 0);
598 sdirp->dd_loc = loc & (DIRBLKSIZ - 1);
600 sdirp->dd_size = read(sdirp->dd_fd, sdirp->dd_buf, DIRBLKSIZ);
[all...]
H A Drestore.h181 #define DIRBLKSIZ DEV_BSIZE macro
187 char dd_buf[DIRBLKSIZ];
/illumos-gate/usr/src/ucbhead/sys/
H A Ddir.h68 #define DIRBLKSIZ DIRBUF macro
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c2787 { 0, DIRBLKSIZ, 0, 0 },
2809 for (i = DIRBLKSIZ; i < sblock.fs_bsize; i += DIRBLKSIZ) {
2848 spcleft = DIRBLKSIZ;
2857 return (DIRBLKSIZ);

Completed in 133 milliseconds