Searched refs:NFS_FABLKSIZE (Results 1 - 15 of 15) sorted by relevance

/netbsd-current/sys/nfs/
H A Dnfs_vfsops.c208 sbp->f_frsize = sbp->f_bsize = NFS_FABLKSIZE;
210 sbp->f_blocks = ((quad_t)tquad / (quad_t)NFS_FABLKSIZE);
212 sbp->f_bfree = ((quad_t)tquad / (quad_t)NFS_FABLKSIZE);
214 tquad = ((quad_t)tquad / (quad_t)NFS_FABLKSIZE);
227 sbp->f_bsize = NFS_FABLKSIZE;
270 pref < nmp->nm_wsize && pref >= NFS_FABLKSIZE)
271 nmp->nm_wsize = (pref + NFS_FABLKSIZE - 1) &
272 ~(NFS_FABLKSIZE - 1);
275 nmp->nm_wsize = xmax & ~(NFS_FABLKSIZE - 1);
281 pref < nmp->nm_rsize && pref >= NFS_FABLKSIZE)
[all...]
H A Dnfsproto.h64 #define NFS_FABLKSIZE 512 /* Size in bytes of a block wrt fa_blocks */ macro
H A Dnfs_clntsubs.c264 * NFS_FABLKSIZE;
H A Dnfs_subs.c1705 fp->fa2_blocks = txdr_unsigned(vap->va_bytes / NFS_FABLKSIZE);
H A Dnfs_serv.c3442 sip->fs_rtmult = txdr_unsigned(NFS_FABLKSIZE);
3445 sip->fs_wtmult = txdr_unsigned(NFS_FABLKSIZE);
/netbsd-current/sys/lib/libsa/
H A Dnfsv2.h57 #define NFS_FABLKSIZE 512 /* Size in bytes of a block wrt fa_blocks */ macro
/netbsd-current/sys/fs/nfs/client/
H A Dnfs_clport.c971 sbp->f_bsize = NFS_FABLKSIZE;
972 sbp->f_blocks = sfp->sf_tbytes / NFS_FABLKSIZE;
973 sbp->f_bfree = sfp->sf_fbytes / NFS_FABLKSIZE;
976 * the value after dividing by NFS_FABLKSIZE is small
981 sbp->f_bavail = sfp->sf_abytes / NFS_FABLKSIZE;
1013 fsp->fs_wtpref >= NFS_FABLKSIZE)
1014 nmp->nm_wsize = (fsp->fs_wtpref + NFS_FABLKSIZE - 1) &
1015 ~(NFS_FABLKSIZE - 1);
1017 nmp->nm_wsize = fsp->fs_wtmax & ~(NFS_FABLKSIZE - 1);
1021 if (nmp->nm_wsize < NFS_FABLKSIZE)
[all...]
H A Dnfs_clcomsubs.c357 nap->na_blocksize = NFS_FABLKSIZE;
385 NFS_FABLKSIZE;
H A Dnfs_clvfsops.c332 nfsva.na_vattr.va_blocksize = NFS_FABLKSIZE;
638 if (nmp->nm_wsize > NFS_FABLKSIZE)
641 nmp->nm_wsize = NFS_FABLKSIZE;
651 if (nmp->nm_rsize > NFS_FABLKSIZE)
654 nmp->nm_rsize = NFS_FABLKSIZE;
1578 nfsva.na_vattr.va_blocksize = NFS_FABLKSIZE;
/netbsd-current/sys/fs/nfs/common/
H A Dnfs_commonport.c293 sip->fs_rtmult = NFS_FABLKSIZE;
296 sip->fs_wtmult = NFS_FABLKSIZE;
H A Doldnfsproto.h66 #define NFS_FABLKSIZE 512 /* Size in bytes of a block wrt fa_blocks */ macro
H A Dnfsproto.h64 #define NFS_FABLKSIZE 512 /* Size in bytes of a block wrt fa_blocks */ macro
H A Dnfs_commonsubs.c864 nap->na_blocksize = NFS_FABLKSIZE;
867 sbp->f_bsize = NFS_FABLKSIZE;
880 fsp->fs_wtmult = NFS_FABLKSIZE;
/netbsd-current/external/bsd/tcpdump/dist/
H A Dnfs.h60 #define NFS_FABLKSIZE 512 /* Size in bytes of a block wrt fa_blocks */ macro
/netbsd-current/sys/fs/nfs/server/
H A Dnfs_nfsdsubs.c1422 fp->fa2_blocks = txdr_unsigned(nvap->na_bytes / NFS_FABLKSIZE);

Completed in 370 milliseconds