Searched refs:NFS_DIRBLKSIZ (Results 1 – 12 of 12) sorted by relevance
| /trueos/sys/nfsclient/ |
| HD | nfs_bio.c | 578 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()
|
| HD | nfs.h | 80 #define NFS_DIRBLKSIZ 4096 /* Must be a multiple of DIRBLKSIZ */ macro
|
| HD | nfs_vfsops.c | 389 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()
|
| HD | nfs_subs.c | 792 pos = (uoff_t)off / NFS_DIRBLKSIZ; in nfs_getcookie()
|
| HD | nfs_vnops.c | 477 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/ |
| HD | nfs_clbio.c | 587 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()
|
| HD | nfs_clport.c | 949 && 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()
|
| HD | nfs_clsubs.c | 290 pos = (uoff_t)off / NFS_DIRBLKSIZ; in ncl_getcookie()
|
| HD | nfs_clcomsubs.c | 408 pos = off / NFS_DIRBLKSIZ; in nfscl_getcookie()
|
| HD | nfs_clvnops.c | 484 bp = malloc(NFS_DIRBLKSIZ, M_TEMP, M_WAITOK); in nfs_access() 486 aiov.iov_len = auio.uio_resid = NFS_DIRBLKSIZ; in nfs_access()
|
| HD | nfs_clvfsops.c | 1424 mp->mnt_stat.f_iosize = NFS_DIRBLKSIZ; in mountnfs()
|
| /trueos/sys/fs/nfs/ |
| HD | nfsport.h | 878 #define NFS_DIRBLKSIZ (16 * DIRBLKSIZ) /* Must be a multiple of DIRBLKSIZ */ macro
|