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

  /src/sys/fs/nfs/client/
nfs_clbio.c 564 lbn = (uoff_t)uio->uio_offset / NFS_DIRBLKSIZ;
565 on = uio->uio_offset & (NFS_DIRBLKSIZ - 1);
566 bp = nfs_getcacheblk(vp, lbn, NFS_DIRBLKSIZ, td);
593 && (i * NFS_DIRBLKSIZ) >= np->n_direofoffset)
595 bp = nfs_getcacheblk(vp, i, NFS_DIRBLKSIZ, td);
638 (lbn + 1) * NFS_DIRBLKSIZ < np->n_direofoffset) &&
640 rabp = nfs_getcacheblk(vp, lbn + 1, NFS_DIRBLKSIZ, td);
669 n = lmin(uio->uio_resid, NFS_DIRBLKSIZ - bp->b_resid - on);
1642 uiop->uio_offset = ((u_quad_t)bp->b_lblkno) * NFS_DIRBLKSIZ;
nfs_clport.c 1035 && fsp->fs_dtpref >= NFS_DIRBLKSIZ)
1036 nmp->nm_readdirsize = (fsp->fs_dtpref + NFS_DIRBLKSIZ - 1) &
1037 ~(NFS_DIRBLKSIZ - 1);
1039 nmp->nm_readdirsize = fsp->fs_rtmax & ~(NFS_DIRBLKSIZ - 1);
1043 if (nmp->nm_readdirsize < NFS_DIRBLKSIZ)
1044 nmp->nm_readdirsize = NFS_DIRBLKSIZ;
nfs_clsubs.c 269 pos = (uoff_t)off / NFS_DIRBLKSIZ;
nfs_clcomsubs.c 410 pos = off / NFS_DIRBLKSIZ;
nfs_clvfsops.c 221 * space. It must also be at least NFS_DIRBLKSIZ, since
226 iosize = imax(iosize, NFS_DIRBLKSIZ);
1548 * Set f_iosize to NFS_DIRBLKSIZ so that bo_bsize gets set
1552 mp->mnt_stat.f_iosize = NFS_DIRBLKSIZ;
nfs_clvnops.c 478 bp = malloc(NFS_DIRBLKSIZ, M_TEMP, M_WAITOK);
480 aiov.iov_len = auio.uio_resid = NFS_DIRBLKSIZ;
  /src/sys/nfs/
nfs.h 126 * NFS_DIRBLKSIZ is the size of buffers in the buffer cache used for
133 #define NFS_DIRBLKSIZ 8192 /* Must be a multiple of DIRBLKSIZ */
140 * is the maximum number of entries that fits in NFS_DIRBLKSIZ.
141 * For NFS_DIRBLKSIZ = 512, this would be 512 / 14 = 36.
143 #define NFS_MAXDIRCACHE (NFS_DIRBLKSIZ / 14)
nfs_vfsops.c 529 if (nmp->nm_readdirsize > NFS_DIRBLKSIZ)
530 nmp->nm_readdirsize = NFS_DIRBLKSIZ;
nfs_bio.c 224 bp = nfs_getcacheblk(vp, NFSDC_BLKNO(ndp), NFS_DIRBLKSIZ, l);
352 * buffer (happens if NFS_DIRFRAGSIZ < NFS_DIRBLKSIZ),
391 NFS_DIRBLKSIZ, l);
nfs_vnops.c 2390 * NFS_DIRBLKSIZ will be requested.
2392 if (uiop->uio_iovcnt != 1 || uiop->uio_resid != NFS_DIRBLKSIZ)
2558 if (uiop->uio_resid >= NFS_DIRBLKSIZ)
2613 if (uiop->uio_iovcnt != 1 || uiop->uio_resid != NFS_DIRBLKSIZ)
2781 if (uiop->uio_resid >= NFS_DIRBLKSIZ)
  /src/sys/fs/nfs/common/
nfsport.h 947 * MUST BE in the range of PAGE_SIZE <= NFS_DIRBLKSIZ <= MAXBSIZE!!
949 #define NFS_DIRBLKSIZ (16 * DIRBLKSIZ) /* Must be a multiple of DIRBLKSIZ */

Completed in 27 milliseconds