Lines Matching defs:lbn
433 daddr_t lbn, rabn;
485 lbn = uio->uio_offset / biosize;
493 (off_t)(lbn + 1 + nra) * biosize < nsize; nra++) {
494 rabn = lbn + 1 + nra;
521 if ((off_t)lbn * biosize >= nsize) {
523 } else if ((off_t)(lbn + 1) * biosize > nsize) {
524 bcount = nsize - (off_t)lbn * biosize;
526 bp = nfs_getcacheblk(vp, lbn, bcount, td);
586 lbn = (uoff_t)uio->uio_offset / NFS_DIRBLKSIZ;
588 bp = nfs_getcacheblk(vp, lbn, NFS_DIRBLKSIZ, td);
613 for (i = 0; i <= lbn && !error; i++) {
639 if (error || i < lbn)
660 (lbn + 1) * NFS_DIRBLKSIZ < np->n_direofoffset) &&
661 incore(&vp->v_bufobj, lbn + 1) == NULL) {
662 rabp = nfs_getcacheblk(vp, lbn + 1, NFS_DIRBLKSIZ, td);
875 daddr_t lbn;
1030 lbn = uio->uio_offset / biosize;
1046 lbn == (np->n_size / biosize) &&
1055 obcount = np->n_size - (lbn * biosize);
1056 bp = nfs_getcacheblk(vp, lbn, obcount, td);
1081 if ((off_t)lbn * biosize + bcount < np->n_size) {
1082 if ((off_t)(lbn + 1) * biosize < np->n_size)
1085 bcount = np->n_size - (off_t)lbn * biosize;
1088 bp = nfs_getcacheblk(vp, lbn, bcount, td);
1860 daddr_t lbn;
1869 lbn = nsize / biosize;
1871 bp = nfs_getcacheblk(vp, lbn, bufsize, td);