Lines Matching defs:sz
457 int rv, msgsize, repsize, sgoff, i, mapped, nbuf, nfrag, j, sz;
601 sz = 0;
615 sz += p[0] & 0x00ffffff;
638 if (sz > IOP_MAX_XFER) {
644 bufs[nbuf].db_size = sz;
645 bufs[nbuf].db_ptr = kmem_zalloc(sz, KM_SLEEP);
647 for (i = 0, sz = 0; i < bufs[nbuf].db_nfrag; i++) {
649 (char *)bufs[nbuf].db_ptr + sz,
656 sz += bufs[nbuf].db_frags[i].iov_len;
728 for (j = 0, sz = 0; j < bufs[i].db_nfrag; j++) {
729 rv = copyout((char *)bufs[i].db_ptr + sz,
734 sz += bufs[i].db_frags[j].iov_len;