Searched refs:scsi_2btoul (Results 1 - 24 of 24) sorted by relevance

/freebsd-13-stable/sys/cam/scsi/
H A Dsmp_all.c289 scsi_2btoul(response->expander_change_count));
291 scsi_2btoul(response->expander_route_indexes));
334 scsi_2btoul(response->stp_bus_inact_time_limit));
336 scsi_2btoul(response->stp_max_conn_time_limit));
338 scsi_2btoul(response->stp_smp_it_nexus_loss_time));
371 scsi_2btoul(response->max_num_routed_addrs));
377 scsi_2btoul(response->zone_lock_inact_time_limit));
397 scsi_2btoul(response->last_sc_stat_desc_index));
401 scsi_2btoul(response->max_sc_stat_descs));
404 scsi_2btoul(respons
[all...]
H A Dscsi_ch.c620 softc->sc_firsts[CHET_MT] = scsi_2btoul(ea->mtea);
621 softc->sc_counts[CHET_MT] = scsi_2btoul(ea->nmte);
622 softc->sc_firsts[CHET_ST] = scsi_2btoul(ea->fsea);
623 softc->sc_counts[CHET_ST] = scsi_2btoul(ea->nse);
624 softc->sc_firsts[CHET_IE] = scsi_2btoul(ea->fieea);
625 softc->sc_counts[CHET_IE] = scsi_2btoul(ea->niee);
626 softc->sc_firsts[CHET_DT] = scsi_2btoul(ea->fdtea);
627 softc->sc_counts[CHET_DT] = scsi_2btoul(ea->ndte);
1047 uvoltag->cv_serial = scsi_2btoul(voltag->vsn);
1061 u_int16_t eaddr = scsi_2btoul(des
[all...]
H A Dscsi_all.c4406 scsi_2btoul(field->field), tmpstr);
4429 scsi_2btoul(retry->actual_retry_count));
4439 progress_val = scsi_2btoul(progress->progress);
4459 scsi_2btoul(segment->field), tmpstr);
4464 scsi_2btoul(&sks[1]));
4622 progress_val = scsi_2btoul(progress->progress);
5735 len = MIN(scsi_2btoul(id->length), page_len - sizeof(*id));
5762 scsi_2btoul(spi->scsi_addr),
5763 scsi_2btoul(spi->rel_trgt_port_id));
5808 add_len = scsi_2btoul(de
[all...]
H A Dscsi_targ_bh.c592 scsi_2btoul(inq->length));
H A Dscsi_sa.c3028 softc->min_blk = scsi_2btoul(rblim->minimum);
3839 scsi_2btoul(mode10_hdr->data_length));
3948 if (scsi_2btoul(dp_changeable->length) > dp_page_length) {
3949 dp_page_length = scsi_2btoul(dp_changeable->length);
5195 scsi_2btoul(dens_data->field), %u, field, desc); \
5260 hdr_len = scsi_2btoul(hdr->length);
5286 desc_remain = scsi_2btoul(dens_data->length);
5293 desc_remain = scsi_2btoul(type_data->length);
H A Dscsi_ses.h96 return (scsi_2btoul(hdr->length)
1505 cache_size = scsi_2btoul(elem->cache_size);
H A Dscsi_enc_ses.c1296 length = scsi_2btoul(page->length);
2077 length = scsi_2btoul(hdr->length);
H A Dscsi_xpt.c1500 length = scsi_2btoul(devid->length);
1544 length = scsi_2btoul(ext_inq->page_length) +
H A Dscsi_da.c4810 lalba = scsi_2btoul(rcaplong->lalba_lbp);
5210 scsi_2btoul(bdc->medium_rotation_rate);
5827 && (scsi_2btoul(zoned_bdc->page_length) >= SVPD_ZBDC_PL)) {
6092 lalba = scsi_2btoul(rcaplong->lalba_lbp);
H A Dscsi_all.h4361 scsi_2btoul(const uint8_t *bytes) function
4441 scsi_2btoul(mode_header->blk_desc_len));
H A Dscsi_cd.c3289 data_len = scsi_2btoul(hdr10->data_length);
3353 data_len = scsi_2btoul(mode_header->data_length);
/freebsd-13-stable/sbin/camcontrol/
H A Dmodeedit.c625 len = scsi_2btoul(mphsp->page_length);
665 len = scsi_2btoul(mh->blk_desc_len);
750 if (scsi_2btoul(mh->blk_desc_len) > 0) {
752 scsi_2btoul(mh->data_length) + 1 - hlen -
753 scsi_2btoul(mh->blk_desc_len));
769 len = scsi_2btoul(mphsp->page_length);
818 len = scsi_2btoul(mh->blk_desc_len);
1030 len = scsi_2btoul(mphsp->page_length);
1061 len = scsi_2btoul(mh->blk_desc_len);
1185 len = scsi_2btoul(m
[all...]
H A Dattrib.c398 cur_len = scsi_2btoul(cur_id->length) + sizeof(*cur_id);
399 cur_attr_num = scsi_2btoul(cur_id->id);
449 attr_id = scsi_2btoul(cur_id);
H A Dpersist.c206 scsi_2btoul(res->data.extent_length));
246 length = scsi_2btoul(cap->length);
248 type_mask = scsi_2btoul(cap->type_mask);
413 scsi_2btoul(desc->rel_trgt_port_id));
920 cap_len = scsi_2btoul(cap->length);
H A Dtimestamp.c130 blk_desc_length = scsi_2btoul(mode_hdr->blk_desc_len);
H A Dfwdownload.c394 cdb_len = scsi_2btoul(one->cdb_length);
H A Dcamcontrol.c3995 returned_length = scsi_2btoul(hdr10->length);
6567 val = scsi_2btoul(&sks[1]);
6776 val = scsi_2btoul(&sks[1]);
7345 fprintf(stdout, "%d", scsi_2btoul(tmplun));
9533 cdb_length = scsi_2btoul(one->cdb_length);
9541 avail_len += scsi_2btoul(td->length) +
9633 cdb_len = scsi_2btoul(one->cdb_length);
9675 td_len = scsi_2btoul(td->length);
9749 scsi_2btoul(desc->service_action),
9750 scsi_2btoul(des
[all...]
/freebsd-13-stable/sys/cam/ctl/
H A Dctl_tpc.c336 (&d_ptr->parameters[0] + scsi_2btoul(d_ptr->desc_length));
362 (&d_ptr->parameters[0] + scsi_2btoul(d_ptr->desc_length));
373 (&d_ptr->parameters[0] + scsi_2btoul(d_ptr->desc_length));
385 (&d_ptr->parameters[0] + scsi_2btoul(d_ptr->desc_length));
394 (&d_ptr->parameters[0] + scsi_2btoul(d_ptr->desc_length));
417 (&d_ptr->parameters[0] + scsi_2btoul(d_ptr->desc_length));
434 (&d_ptr->parameters[0] + scsi_2btoul(d_ptr->desc_length));
852 scscd = scsi_2btoul(seg->src_cscd);
853 dcscd = scsi_2btoul(seg->dst_cscd);
872 numlba = scsi_2btoul(se
[all...]
H A Dctl.c5363 block_count = scsi_2btoul(cdb->lb_count);
5463 defect_list_len = scsi_2btoul(header->defect_list_len);
5656 num_blocks = scsi_2btoul(cdb->length);
5772 len = scsi_2btoul(cdb->length);
5795 len < (scsi_2btoul(hdr->length) + sizeof(hdr->length)) ||
5796 len < (scsi_2btoul(hdr->desc_length) + sizeof (*hdr)) ||
5797 scsi_2btoul(hdr->desc_length) % sizeof(*buf) != 0) {
5806 len = scsi_2btoul(hdr->desc_length);
6037 page_len = scsi_2btoul(sph->page_length);
6200 param_len = scsi_2btoul(cd
[all...]
H A Dscsi_ctl.c1043 num_blocks = scsi_2btoul(cdb->length);
/freebsd-13-stable/share/examples/scsi_target/
H A Dscsi_cmds.c333 scsi_2btoul(inq->length));
541 count = scsi_2btoul(rw_10->length);
/freebsd-13-stable/sys/dev/iscsi_initiator/
H A Discsi_subr.c159 if((sense_len = scsi_2btoul(bp)) == 0)
/freebsd-13-stable/usr.sbin/ctladm/
H A Dctladm.c1436 returned_len = scsi_2btoul(hdr10->datalen) + 2;
1437 bdlen = scsi_2btoul(hdr10->block_descr_len);
2165 returned_len = scsi_2btoul(&dataptr[2]) + 4;
/freebsd-13-stable/sys/dev/iir/
H A Diir.c916 blockcnt = scsi_2btoul(rw->length);

Completed in 525 milliseconds