Searched refs:UFS_DIRBLKSIZ (Results 1 - 13 of 13) sorted by relevance

/netbsd-current/sys/ufs/ufs/
H A Ddir.h51 * A directory consists of some number of blocks of UFS_DIRBLKSIZ
52 * bytes, where UFS_DIRBLKSIZ is chosen such that it can be transferred
55 * Each UFS_DIRBLKSIZ byte block contains some number of directory entry
65 * entries which have dp->d_reclen > DIRSIZ(fmt, dp). All UFS_DIRBLKSIZ bytes
75 #undef UFS_DIRBLKSIZ macro
76 #define UFS_DIRBLKSIZ DEV_BSIZE macro
H A Dufs_extattr.c527 dirbuf = kmem_alloc(UFS_DIRBLKSIZ, KM_SLEEP);
544 auio.uio_resid = UFS_DIRBLKSIZ;
546 aiov.iov_len = UFS_DIRBLKSIZ;
554 * XXXRW: While in UFS, we always get UFS_DIRBLKSIZ returns from
559 edp = (struct dirent *)&dirbuf[UFS_DIRBLKSIZ];
597 kmem_free(dirbuf, UFS_DIRBLKSIZ);
H A Dufs_rename.c274 0, UFS_DIRBLKSIZ - 12, DT_DIR, 2, ".."
H A Dufs_vnops.c136 0, UFS_DIRBLKSIZ - 12, DT_DIR, 2, ".."
/netbsd-current/sbin/fsck_ffs/
H A Ddir.c62 .dot_reclen = UFS_DIRBLKSIZ,
71 .dotdot_reclen = UFS_DIRBLKSIZ - 12,
82 .dotdot_reclen = UFS_DIRBLKSIZ - 12,
174 #if !defined(NO_APPLE_UFS) && UFS_DIRBLKSIZ < APPLEUFS_DIRBLKSIZ
177 char dbuf[UFS_DIRBLKSIZ];
757 #if !defined(NO_APPLE_UFS) && UFS_DIRBLKSIZ < APPLEUFS_DIRBLKSIZ
760 char firstblk[UFS_DIRBLKSIZ];
H A Dsetup.c557 dirblksiz = UFS_DIRBLKSIZ;
/netbsd-current/usr.sbin/makefs/
H A Dffs.c595 if (this + curdirsize > roundup(curdirsize, UFS_DIRBLKSIZ)) \
596 curdirsize = roundup(curdirsize, UFS_DIRBLKSIZ); \
1042 if (reclen + dbuf->cur + llen > roundup(dbuf->size, UFS_DIRBLKSIZ)) {
1045 dbuf->size + UFS_DIRBLKSIZ);
1046 newbuf = erealloc(dbuf->buf, dbuf->size + UFS_DIRBLKSIZ);
1048 dbuf->size += UFS_DIRBLKSIZ;
1049 memset(dbuf->buf + dbuf->size - UFS_DIRBLKSIZ, 0, UFS_DIRBLKSIZ);
1050 dbuf->cur = dbuf->size - UFS_DIRBLKSIZ;
/netbsd-current/sys/arch/acorn32/stand/nbfs/
H A Dnbfs.c357 char dirbuf[UFS_DIRBLKSIZ];
370 while (FS_READ(f.f_ops)(&f, dirbuf, UFS_DIRBLKSIZ, &resid) == 0 &&
375 edp = (struct direct *) (dirbuf + UFS_DIRBLKSIZ);
/netbsd-current/sbin/fsck_ext2fs/
H A Ddir.c87 .dot_reclen = UFS_DIRBLKSIZ,
96 .dotdot_reclen = UFS_DIRBLKSIZ - 12,
101 #undef UFS_DIRBLKSIZ macro
/netbsd-current/sys/kern/
H A Dvfs_getcwd.c150 /* I guess UFS_DIRBLKSIZ is a good guess at a good size to use? */
151 dirbuflen = UFS_DIRBLKSIZ;
/netbsd-current/sys/lib/libsa/
H A Dufs.c1045 if (buf_size < UFS_DIRBLKSIZ)
/netbsd-current/sys/ufs/ffs/
H A Dffs_vfsops.c929 ump->um_dirblksiz = UFS_DIRBLKSIZ;
1538 ump->um_dirblksiz = UFS_DIRBLKSIZ;
/netbsd-current/sbin/newfs/
H A Dmkfs.c1277 int dirblksiz = UFS_DIRBLKSIZ;

Completed in 161 milliseconds