Lines Matching defs:biosize
407 int biosize, i;
446 biosize = vp->v_bufobj.bo_bsize;
447 seqcount = (int)((off_t)(ioflag >> IO_SEQSHIFT) * biosize / BKVASIZE);
463 lbn = uio->uio_offset / biosize;
464 on = uio->uio_offset - (lbn * biosize);
471 (off_t)(lbn + 1 + nra) * biosize < nsize; nra++) {
474 rabp = nfs_getcacheblk(vp, rabn, biosize, td);
498 bcount = biosize;
499 if ((off_t)lbn * biosize >= nsize) {
501 } else if ((off_t)(lbn + 1) * biosize > nsize) {
502 bcount = nsize - (off_t)lbn * biosize;
843 int biosize;
946 biosize = vp->v_bufobj.bo_bsize;
977 wouldcommit += biosize;
984 wouldcommit = biosize;
989 lbn = uio->uio_offset / biosize;
990 on = uio->uio_offset - (lbn * biosize);
991 n = MIN((unsigned)(biosize - on), uio->uio_resid);
1005 lbn == (np->n_size / biosize) &&
1014 obcount = np->n_size - (lbn * biosize);
1040 if ((off_t)lbn * biosize + bcount < np->n_size) {
1041 if ((off_t)(lbn + 1) * biosize < np->n_size)
1042 bcount = biosize;
1044 bcount = np->n_size - (off_t)lbn * biosize;
1219 } else if ((n + on) == biosize) {
1825 int biosize = vp->v_bufobj.bo_bsize;
1843 error = vtruncbuf(vp, cred, nsize, biosize);
1844 lbn = nsize / biosize;
1845 bufsize = nsize - (lbn * biosize);