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

/netbsd-current/sys/stand/
H A Dls.c90 char dirbuf[DIRBLKSIZ];
93 while ((size = read(fd, dirbuf, DIRBLKSIZ)) == DIRBLKSIZ)
/netbsd-current/sbin/restore/
H A Ddirs.c99 #undef DIRBLKSIZ macro
100 #define DIRBLKSIZ 1024 macro
105 char dd_buf[DIRBLKSIZ];
371 i = DIRBLKSIZ - (loc & (DIRBLKSIZ - 1));
405 char dirbuf[DIRBLKSIZ];
416 if (dirloc + dp->d_reclen > DIRBLKSIZ) {
418 DIRBLKSIZ - prev;
419 if (fwrite(dirbuf, DIRBLKSIZ, 1, df) != 1)
434 ((struct direct *)(dirbuf + prev))->d_reclen = DIRBLKSIZ
[all...]
/netbsd-current/sys/arch/ia64/stand/efi/libefi/
H A Defifs_ls.c133 char dirbuf[DIRBLKSIZ];
174 while ((size = read(fd, dirbuf, DIRBLKSIZ)) == DIRBLKSIZ) {
/netbsd-current/lib/libc/gen/
H A Dinitdir.c63 * If the machine's page size is an exact multiple of DIRBLKSIZ,
68 if (((pagesz = getpagesize()) % DIRBLKSIZ) == 0)
71 incr = DIRBLKSIZ;
108 * Always make at least DIRBLKSIZ bytes
111 if (space < DIRBLKSIZ) {
/netbsd-current/distrib/utils/libhack/
H A Dopendir.c82 dirp->dd_len = DIRBLKSIZ;
/netbsd-current/include/
H A Ddirent.h55 #define DIRBLKSIZ 1024 macro
/netbsd-current/tests/fs/hfs/
H A Dt_pathconvert.c38 char buf[DIRBLKSIZ];
/netbsd-current/sbin/newfs_lfs/
H A Dmake_lfs.c352 * entries in protodir fit in the first DIRBLKSIZ.
835 make_dinode(LOSTFOUNDINO, dip, howmany(DIRBLKSIZ,fs->lfs_fsize), fs);
837 VTOI(vp)->i_lfs_osize = dip->di_size = DIRBLKSIZ;
840 lfs_btofsb(fs, roundup(DIRBLKSIZ,fs->lfs_fsize));
841 for (i = 0; i < ULFS_NDADDR && i < howmany(DIRBLKSIZ, lfs_sb_getbsize(fs)); i++)
843 if (DIRBLKSIZ < lfs_sb_getbsize(fs))
845 roundup(DIRBLKSIZ,fs->lfs_fsize);
/netbsd-current/sys/fs/nfs/client/
H A Dnfs_clrpcops.c2671 * end of the directory, or uio_resid == 0, with all DIRBLKSIZ chunks
2719 (uio_uio_resid(uiop) & (DIRBLKSIZ - 1)) == 0,
2724 * adding one additional DIRBLKSIZ makes sense. Since uio_resid
2725 * and nm_readdirsize are both exact multiples of DIRBLKSIZ, this
2730 readsize = uio_uio_resid(uiop) + DIRBLKSIZ;
2959 left = DIRBLKSIZ - blksiz;
2976 if (blksiz == DIRBLKSIZ)
3070 * Fill last record, iff any, out to a multiple of DIRBLKSIZ
3074 left = DIRBLKSIZ - blksiz;
3098 * Add extra empty records to any remaining DIRBLKSIZ chunk
[all...]
H A Dnfs_clvnops.c2238 * DIRBLKSIZ boundaries. As such, we need to limit the size
2239 * to an exact multiple of DIRBLKSIZ, to avoid copying a partial
2242 left = uio->uio_resid % DIRBLKSIZ;
2259 /* Add the partial DIRBLKSIZ (left) back in. */
2279 (uiop->uio_offset & (DIRBLKSIZ - 1)) == 0 &&
2280 (uiop->uio_resid & (DIRBLKSIZ - 1)) == 0,
2339 (uiop->uio_offset & (DIRBLKSIZ - 1)) == 0 &&
2340 (uiop->uio_resid & (DIRBLKSIZ - 1)) == 0,
/netbsd-current/usr.sbin/installboot/
H A Dffs.c62 #undef DIRBLKSIZ macro
/netbsd-current/sbin/newfs/
H A Dmkfs.c1027 { 0, DIRBLKSIZ, 0, 0, 0 },
1032 { 0, DIRBLKSIZ, 0, 0 },
1049 int dirblksiz = DIRBLKSIZ;
/netbsd-current/sys/fs/nfs/common/
H A Dnfs.h145 #define NFS_READDIRBLKSIZ DIRBLKSIZ /* Minimal nm_readdirsize */
H A Dnfsport.h949 #define NFS_DIRBLKSIZ (16 * DIRBLKSIZ) /* Must be a multiple of DIRBLKSIZ */
/netbsd-current/sys/fs/nfs/server/
H A Dnfs_nfsdport.c1551 * count rounded up to a multiple of DIRBLKSIZ <= NFS_MAXREADDIR
1606 siz = ((cnt + DIRBLKSIZ - 1) & ~(DIRBLKSIZ - 1));
1865 * next multiple of DIRBLKSIZ.
1869 siz = ((siz + DIRBLKSIZ - 1) & ~(DIRBLKSIZ - 1));

Completed in 289 milliseconds