Home
last modified time | relevance | path

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

/trueos/sys/nfsclient/
HDnfs_bio.c578 lbn = (uoff_t)uio->uio_offset / NFS_DIRBLKSIZ; in nfs_bioread()
579 on = uio->uio_offset & (NFS_DIRBLKSIZ - 1); in nfs_bioread()
580 bp = nfs_getcacheblk(vp, lbn, NFS_DIRBLKSIZ, td); in nfs_bioread()
607 && (i * NFS_DIRBLKSIZ) >= np->n_direofoffset) in nfs_bioread()
609 bp = nfs_getcacheblk(vp, i, NFS_DIRBLKSIZ, td); in nfs_bioread()
652 (lbn + 1) * NFS_DIRBLKSIZ < np->n_direofoffset) && in nfs_bioread()
654 rabp = nfs_getcacheblk(vp, lbn + 1, NFS_DIRBLKSIZ, td); in nfs_bioread()
683 n = lmin(uio->uio_resid, NFS_DIRBLKSIZ - bp->b_resid - on); in nfs_bioread()
1596 uiop->uio_offset = ((u_quad_t)bp->b_lblkno) * NFS_DIRBLKSIZ; in nfs_doio()
HDnfs.h80 #define NFS_DIRBLKSIZ 4096 /* Must be a multiple of DIRBLKSIZ */ macro
HDnfs_vfsops.c389 if (pref < nmp->nm_readdirsize && pref >= NFS_DIRBLKSIZ) in nfs_fsinfo()
390 nmp->nm_readdirsize = (pref + NFS_DIRBLKSIZ - 1) & in nfs_fsinfo()
391 ~(NFS_DIRBLKSIZ - 1); in nfs_fsinfo()
393 nmp->nm_readdirsize = max & ~(NFS_DIRBLKSIZ - 1); in nfs_fsinfo()
HDnfs_subs.c792 pos = (uoff_t)off / NFS_DIRBLKSIZ; in nfs_getcookie()
HDnfs_vnops.c477 bp = malloc(NFS_DIRBLKSIZ, M_TEMP, M_WAITOK); in nfs_access()
479 aiov.iov_len = auio.uio_resid = NFS_DIRBLKSIZ; in nfs_access()
/trueos/sys/fs/nfsclient/
HDnfs_clbio.c587 lbn = (uoff_t)uio->uio_offset / NFS_DIRBLKSIZ; in ncl_bioread()
588 on = uio->uio_offset & (NFS_DIRBLKSIZ - 1); in ncl_bioread()
589 bp = nfs_getcacheblk(vp, lbn, NFS_DIRBLKSIZ, td); in ncl_bioread()
616 && (i * NFS_DIRBLKSIZ) >= np->n_direofoffset) in ncl_bioread()
618 bp = nfs_getcacheblk(vp, i, NFS_DIRBLKSIZ, td); in ncl_bioread()
661 (lbn + 1) * NFS_DIRBLKSIZ < np->n_direofoffset) && in ncl_bioread()
663 rabp = nfs_getcacheblk(vp, lbn + 1, NFS_DIRBLKSIZ, td); in ncl_bioread()
692 n = lmin(uio->uio_resid, NFS_DIRBLKSIZ - bp->b_resid - on); in ncl_bioread()
1665 uiop->uio_offset = ((u_quad_t)bp->b_lblkno) * NFS_DIRBLKSIZ; in ncl_doio()
HDnfs_clport.c949 && fsp->fs_dtpref >= NFS_DIRBLKSIZ) in nfscl_loadfsinfo()
950 nmp->nm_readdirsize = (fsp->fs_dtpref + NFS_DIRBLKSIZ - 1) & in nfscl_loadfsinfo()
951 ~(NFS_DIRBLKSIZ - 1); in nfscl_loadfsinfo()
953 nmp->nm_readdirsize = fsp->fs_rtmax & ~(NFS_DIRBLKSIZ - 1); in nfscl_loadfsinfo()
957 if (nmp->nm_readdirsize < NFS_DIRBLKSIZ) in nfscl_loadfsinfo()
958 nmp->nm_readdirsize = NFS_DIRBLKSIZ; in nfscl_loadfsinfo()
HDnfs_clsubs.c290 pos = (uoff_t)off / NFS_DIRBLKSIZ; in ncl_getcookie()
HDnfs_clcomsubs.c408 pos = off / NFS_DIRBLKSIZ; in nfscl_getcookie()
HDnfs_clvnops.c484 bp = malloc(NFS_DIRBLKSIZ, M_TEMP, M_WAITOK); in nfs_access()
486 aiov.iov_len = auio.uio_resid = NFS_DIRBLKSIZ; in nfs_access()
HDnfs_clvfsops.c1424 mp->mnt_stat.f_iosize = NFS_DIRBLKSIZ; in mountnfs()
/trueos/sys/fs/nfs/
HDnfsport.h878 #define NFS_DIRBLKSIZ (16 * DIRBLKSIZ) /* Must be a multiple of DIRBLKSIZ */ macro