Lines Matching full:lengths
118 uint32_t lengths[CAM_PERIPH_MAXMAPS]; member
1284 uint32_t lengths[CAM_PERIPH_MAXMAPS]; in passmemsetup() local
1309 lengths[0] = ccb->cdm.pattern_buf_len; in passmemsetup()
1312 lengths[1] = ccb->cdm.match_buf_len; in passmemsetup()
1317 lengths[0] = ccb->cdm.match_buf_len; in passmemsetup()
1337 lengths[0] = ccb->csio.dxfer_len; in passmemsetup()
1357 lengths[0] = ccb->ataio.dxfer_len; in passmemsetup()
1366 lengths[0] = ccb->smpio.smp_request_len; in passmemsetup()
1369 lengths[1] = ccb->smpio.smp_response_len; in passmemsetup()
1381 lengths[0] = ccb->cdai.bufsiz; in passmemsetup()
1393 lengths[0] = ccb->nvmeio.dxfer_len; in passmemsetup()
1416 io_req->lengths[i] = lengths[i]; in passmemsetup()
1421 if (lengths[i] <= maxmap) in passmemsetup()
1425 "bytes\n", __func__, lengths[i], maxmap); in passmemsetup()
1440 if (io_req->lengths[i] == 0) in passmemsetup()
1443 tmp_buf = malloc(lengths[i], M_SCSIPASS, in passmemsetup()
1451 tmp_buf, lengths[i], io_req->user_bufs[i], in passmemsetup()
1461 io_req->kern_bufs[i], lengths[i]); in passmemsetup()
1507 if (lengths[0] == 0) { in passmemsetup()
1518 if (lengths[0] <= softc->io_zone_size) in passmemsetup()
1521 num_segs_needed = lengths[0] / softc->io_zone_size; in passmemsetup()
1522 if ((lengths[0] % softc->io_zone_size) != 0) in passmemsetup()
1565 for (size_to_go = lengths[0], i = 0; in passmemsetup()
1620 if (lengths[0] == 0) { in passmemsetup()
1691 io_req->user_bufs[i], io_req->lengths[i]); in passmemdone()
1695 io_req->lengths[i], in passmemdone()