HomeSort by: relevance | last modified time | path
    Searched refs:DIRBLKSIZ (Results 1 - 15 of 15) sorted by relevancy

  /src/sys/stand/
ls.c 90 char dirbuf[DIRBLKSIZ];
93 while ((size = read(fd, dirbuf, DIRBLKSIZ)) == DIRBLKSIZ)
  /src/sbin/restore/
dirs.c 99 #undef DIRBLKSIZ
100 #define DIRBLKSIZ 1024
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 - prev
    [all...]
  /src/lib/libc/gen/
initdir.c 63 * 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) {
  /src/sys/arch/ia64/stand/efi/libefi/
efifs_ls.c 133 char dirbuf[DIRBLKSIZ];
174 while ((size = read(fd, dirbuf, DIRBLKSIZ)) == DIRBLKSIZ) {
  /src/distrib/utils/libhack/
opendir.c 82 dirp->dd_len = DIRBLKSIZ;
  /src/include/
dirent.h 55 #define DIRBLKSIZ 1024
  /src/tests/fs/hfs/
t_pathconvert.c 38 char buf[DIRBLKSIZ];
  /src/sbin/newfs_lfs/
make_lfs.c 352 * 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);
  /src/sys/fs/nfs/client/
nfs_clrpcops.c 2669 * end of the directory, or uio_resid == 0, with all DIRBLKSIZ chunks
2717 (uio_uio_resid(uiop) & (DIRBLKSIZ - 1)) == 0,
2722 * adding one additional DIRBLKSIZ makes sense. Since uio_resid
2723 * and nm_readdirsize are both exact multiples of DIRBLKSIZ, this
2728 readsize = uio_uio_resid(uiop) + DIRBLKSIZ;
2957 left = DIRBLKSIZ - blksiz;
2974 if (blksiz == DIRBLKSIZ)
3068 * Fill last record, iff any, out to a multiple of DIRBLKSIZ
3072 left = DIRBLKSIZ - blksiz;
3096 * Add extra empty records to any remaining DIRBLKSIZ chunks
    [all...]
nfs_clvnops.c 2238 * 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,
  /src/usr.sbin/installboot/
ffs.c 62 #undef DIRBLKSIZ
  /src/sbin/newfs/
mkfs.c 1027 { 0, DIRBLKSIZ, 0, 0, 0 },
1032 { 0, DIRBLKSIZ, 0, 0 },
1049 int dirblksiz = DIRBLKSIZ; local in function:fsinit
1051 dirblksiz = APPLEUFS_DIRBLKSIZ;
1068 for (i = dirblksiz; i < sblock.fs_bsize; i += dirblksiz)
1073 for (i = dirblksiz; i < sblock.fs_bsize; i += dirblksiz)
1277 int dirblksiz = UFS_DIRBLKSIZ local in function:makedir
    [all...]
  /src/sys/fs/nfs/common/
nfs.h 145 #define NFS_READDIRBLKSIZ DIRBLKSIZ /* Minimal nm_readdirsize */
nfsport.h 949 #define NFS_DIRBLKSIZ (16 * DIRBLKSIZ) /* Must be a multiple of DIRBLKSIZ */
  /src/sys/fs/nfs/server/
nfs_nfsdport.c 1551 * 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 24 milliseconds