Home
last modified time | relevance | path

Searched refs:NFS_DIRBLKSIZ (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/sys/fs/nfs/client/
H A Dnfs_clbio.c564 lbn = (uoff_t)uio->uio_offset / NFS_DIRBLKSIZ; in ncl_bioread()
565 on = uio->uio_offset & (NFS_DIRBLKSIZ - 1); in ncl_bioread()
566 bp = nfs_getcacheblk(vp, lbn, NFS_DIRBLKSIZ, td); in ncl_bioread()
593 && (i * NFS_DIRBLKSIZ) >= np->n_direofoffset) in ncl_bioread()
595 bp = nfs_getcacheblk(vp, i, NFS_DIRBLKSIZ, td); in ncl_bioread()
638 (lbn + 1) * NFS_DIRBLKSIZ < np->n_direofoffset) && in ncl_bioread()
640 rabp = nfs_getcacheblk(vp, lbn + 1, NFS_DIRBLKSIZ, td); in ncl_bioread()
669 n = lmin(uio->uio_resid, NFS_DIRBLKSIZ - bp->b_resid - on); in ncl_bioread()
1642 uiop->uio_offset = ((u_quad_t)bp->b_lblkno) * NFS_DIRBLKSIZ; in ncl_doio()
H A Dnfs_clport.c1035 && fsp->fs_dtpref >= NFS_DIRBLKSIZ) in nfscl_loadfsinfo()
1036 nmp->nm_readdirsize = (fsp->fs_dtpref + NFS_DIRBLKSIZ - 1) & in nfscl_loadfsinfo()
1037 ~(NFS_DIRBLKSIZ - 1); in nfscl_loadfsinfo()
1039 nmp->nm_readdirsize = fsp->fs_rtmax & ~(NFS_DIRBLKSIZ - 1); in nfscl_loadfsinfo()
1043 if (nmp->nm_readdirsize < NFS_DIRBLKSIZ) in nfscl_loadfsinfo()
1044 nmp->nm_readdirsize = NFS_DIRBLKSIZ; in nfscl_loadfsinfo()
H A Dnfs_clsubs.c269 pos = (uoff_t)off / NFS_DIRBLKSIZ; in ncl_getcookie()
H A Dnfs_clcomsubs.c410 pos = off / NFS_DIRBLKSIZ; in nfscl_getcookie()
H A Dnfs_clvfsops.c226 iosize = imax(iosize, NFS_DIRBLKSIZ); in newnfs_iosize()
1552 mp->mnt_stat.f_iosize = NFS_DIRBLKSIZ; in mountnfs()
H A Dnfs_clvnops.c478 bp = malloc(NFS_DIRBLKSIZ, M_TEMP, M_WAITOK); in nfs_access()
480 aiov.iov_len = auio.uio_resid = NFS_DIRBLKSIZ; in nfs_access()
/netbsd-src/sys/nfs/
H A Dnfs.h126 * 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)
131 #define NFS_DIRBLKSIZ global() macro
H A Dnfs_vfsops.c529 if (nmp->nm_readdirsize > NFS_DIRBLKSIZ) in nfs_decode_args()
530 nmp->nm_readdirsize = NFS_DIRBLKSIZ; in nfs_decode_args()
H A Dnfs_bio.c224 bp = nfs_getcacheblk(vp, NFSDC_BLKNO(ndp), NFS_DIRBLKSIZ, l); in nfs_bioread()
391 NFS_DIRBLKSIZ, l); in nfs_bioread()
H A Dnfs_vnops.c2392 if (uiop->uio_iovcnt != 1 || uiop->uio_resid != NFS_DIRBLKSIZ) in nfs_readdirrpc()
2558 if (uiop->uio_resid >= NFS_DIRBLKSIZ) in nfs_readdirrpc()
2613 if (uiop->uio_iovcnt != 1 || uiop->uio_resid != NFS_DIRBLKSIZ) in nfs_readdirplusrpc()
2781 if (uiop->uio_resid >= NFS_DIRBLKSIZ) in nfs_readdirplusrpc()
/netbsd-src/sys/fs/nfs/common/
H A Dnfsport.h949 #define NFS_DIRBLKSIZ (16 * DIRBLKSIZ) /* Must be a multiple of DIRBLKSIZ */ macro