/netbsd-6-1-5-RELEASE/sys/stand/ |
H A D | ls.c | 90 char dirbuf[DIRBLKSIZ]; 93 while ((size = read(fd, dirbuf, DIRBLKSIZ)) == DIRBLKSIZ)
|
/netbsd-6-1-5-RELEASE/sys/ufs/ufs/ |
H A D | dir.h | 51 * A directory consists of some number of blocks of DIRBLKSIZ 52 * bytes, where DIRBLKSIZ is chosen such that it can be transferred 55 * Each DIRBLKSIZ byte block contains some number of directory entry 65 * entries which have dp->d_reclen > DIRSIZ(fmt, dp). All DIRBLKSIZ bytes 75 #undef DIRBLKSIZ macro 76 #define DIRBLKSIZ DEV_BSIZE macro
|
H A D | ufs_extattr.c | 501 dirbuf = kmem_alloc(DIRBLKSIZ, KM_SLEEP); 518 auio.uio_resid = DIRBLKSIZ; 520 aiov.iov_len = DIRBLKSIZ; 529 * XXXRW: While in UFS, we always get DIRBLKSIZ returns from 534 edp = (struct dirent *)&dirbuf[DIRBLKSIZ]; 573 kmem_free(dirbuf, DIRBLKSIZ);
|
/netbsd-6-1-5-RELEASE/sbin/fsck_lfs/ |
H A D | dir.c | 60 .dot_reclen = DIRBLKSIZ, 69 .dotdot_reclen = DIRBLKSIZ - 12, 80 .dotdot_reclen = DIRBLKSIZ - 12, 138 char dbuf[DIRBLKSIZ]; 144 (idesc->id_filesize & (DIRBLKSIZ - 1)) != 0) 145 idesc->id_filesize = roundup(idesc->id_filesize, DIRBLKSIZ); 184 if (idesc->id_loc % DIRBLKSIZ == 0 && idesc->id_filesize > 0 && 195 dp->d_reclen = DIRBLKSIZ; 204 idesc->id_loc += DIRBLKSIZ; 205 idesc->id_filesize -= DIRBLKSIZ; [all...] |
H A D | pass2.c | 136 inp->i_isize = roundup(MINDIRSIZE, DIRBLKSIZ); 143 } else if ((inp->i_isize & (DIRBLKSIZ - 1)) != 0) { 147 pathbuf, (unsigned long) inp->i_isize, DIRBLKSIZ); 150 inp->i_isize = roundup(inp->i_isize, DIRBLKSIZ);
|
/netbsd-6-1-5-RELEASE/sbin/restore/ |
H A D | dirs.c | 98 #undef DIRBLKSIZ macro 99 #define DIRBLKSIZ 1024 macro 104 char dd_buf[DIRBLKSIZ]; 372 i = DIRBLKSIZ - (loc & (DIRBLKSIZ - 1)); 406 char dirbuf[DIRBLKSIZ]; 417 if (dirloc + dp->d_reclen > DIRBLKSIZ) { 419 DIRBLKSIZ - prev; 420 (void) fwrite(dirbuf, 1, DIRBLKSIZ, df); 434 ((struct direct *)(dirbuf + prev))->d_reclen = DIRBLKSIZ [all...] |
/netbsd-6-1-5-RELEASE/regress/sys/fs/getdents/ |
H A D | getdents.c | 77 char u_buf[DIRBLKSIZ]; 124 p->sz = ret = getdents(fd, p->u.u_buf, DIRBLKSIZ); 153 p->sz = ret = getdents(fd, p->u.u_buf, DIRBLKSIZ); 174 char buf[DIRBLKSIZ]; 185 ret = getdents(fd, buf, DIRBLKSIZ);
|
/netbsd-6-1-5-RELEASE/sys/arch/ia64/stand/efi/libefi/ |
H A D | efifs_ls.c | 133 char dirbuf[DIRBLKSIZ]; 174 while ((size = read(fd, dirbuf, DIRBLKSIZ)) == DIRBLKSIZ) {
|
/netbsd-6-1-5-RELEASE/lib/libc/gen/ |
H A D | 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) {
|
/netbsd-6-1-5-RELEASE/distrib/utils/libhack/ |
H A D | opendir.c | 82 dirp->dd_len = DIRBLKSIZ;
|
/netbsd-6-1-5-RELEASE/include/ |
H A D | dirent.h | 55 #define DIRBLKSIZ 1024 macro
|
/netbsd-6-1-5-RELEASE/sbin/newfs_lfs/ |
H A D | make_lfs.c | 280 * entries in protodir fir in the first DIRBLKSIZ. 288 spcleft = DIRBLKSIZ; 682 make_dinode(ROOTINO, dip, howmany(DIRBLKSIZ,fs->lfs_fsize), fs); 684 VTOI(vp)->i_lfs_osize = dip->di_size = DIRBLKSIZ; 691 btofsb(fs, roundup(DIRBLKSIZ,fs->lfs_fsize)); 692 for (i = 0; i < NDADDR && i < howmany(DIRBLKSIZ, fs->lfs_bsize); i++) 694 if (DIRBLKSIZ < fs->lfs_bsize) 696 roundup(DIRBLKSIZ,fs->lfs_fsize); 706 make_dinode(LOSTFOUNDINO, dip, howmany(DIRBLKSIZ,fs->lfs_fsize), fs); 708 VTOI(vp)->i_lfs_osize = dip->di_size = DIRBLKSIZ; [all...] |
/netbsd-6-1-5-RELEASE/tests/fs/hfs/ |
H A D | t_pathconvert.c | 38 char buf[DIRBLKSIZ];
|
/netbsd-6-1-5-RELEASE/sbin/fsck_ffs/ |
H A D | dir.c | 62 .dot_reclen = DIRBLKSIZ, 71 .dotdot_reclen = DIRBLKSIZ - 12, 82 .dotdot_reclen = DIRBLKSIZ - 12, 157 #if DIRBLKSIZ > APPLEUFS_DIRBLKSIZ 158 char dbuf[DIRBLKSIZ]; 706 #if DIRBLKSIZ > APPLEUFS_DIRBLKSIZ 707 char firstblk[DIRBLKSIZ];
|
H A D | setup.c | 537 dirblksiz = DIRBLKSIZ;
|
/netbsd-6-1-5-RELEASE/usr.sbin/makefs/ |
H A D | ffs.c | 573 if (this + curdirsize > roundup(curdirsize, DIRBLKSIZ)) \ 574 curdirsize = roundup(curdirsize, DIRBLKSIZ); \ 1017 if (reclen + dbuf->cur + llen > roundup(dbuf->size, DIRBLKSIZ)) { 1020 dbuf->size + DIRBLKSIZ); 1021 if ((newbuf = realloc(dbuf->buf, dbuf->size + DIRBLKSIZ)) == NULL) 1024 dbuf->size += DIRBLKSIZ; 1025 memset(dbuf->buf + dbuf->size - DIRBLKSIZ, 0, DIRBLKSIZ); 1026 dbuf->cur = dbuf->size - DIRBLKSIZ;
|
/netbsd-6-1-5-RELEASE/sys/arch/acorn32/stand/nbfs/ |
H A D | nbfs.c | 344 char dirbuf[DIRBLKSIZ]; 357 while (FS_READ(f.f_ops)(&f, dirbuf, DIRBLKSIZ, &resid) == 0 && 362 edp = (struct direct *) (dirbuf + DIRBLKSIZ);
|
/netbsd-6-1-5-RELEASE/sbin/fsck_ext2fs/ |
H A D | dir.c | 87 .dot_reclen = DIRBLKSIZ, 96 .dotdot_reclen = DIRBLKSIZ - 12, 101 #undef DIRBLKSIZ macro
|
/netbsd-6-1-5-RELEASE/sbin/newfs/ |
H A D | mkfs.c | 1011 { 0, DIRBLKSIZ, 0, 0, 0 }, 1016 { 0, DIRBLKSIZ, 0, 0 }, 1032 int dirblksiz = DIRBLKSIZ; 1260 int dirblksiz = DIRBLKSIZ; 1264 memset(buf, 0, DIRBLKSIZ);
|
/netbsd-6-1-5-RELEASE/usr.sbin/installboot/ |
H A D | ffs.c | 62 #undef DIRBLKSIZ macro
|
/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | vfs_getcwd.c | 50 #include <ufs/ufs/dir.h> /* XXX only for DIRBLKSIZ */ 157 dirbuflen = DIRBLKSIZ;
|
/netbsd-6-1-5-RELEASE/sys/lib/libsa/ |
H A D | ufs.c | 898 if (buf_size < DIRBLKSIZ)
|
/netbsd-6-1-5-RELEASE/sys/ufs/ffs/ |
H A D | ffs_vfsops.c | 729 ump->um_dirblksiz = DIRBLKSIZ; 1212 ump->um_dirblksiz = DIRBLKSIZ;
|
/netbsd-6-1-5-RELEASE/sys/ufs/lfs/ |
H A D | lfs_vfsops.c | 1030 ump->um_dirblksiz = DIRBLKSIZ;
|
H A D | lfs_vnops.c | 856 0, DIRBLKSIZ - 12, DT_DIR, 2, ".."
|