Home
last modified time | relevance | path

Searched refs:scsi_4btoul (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/sbin/camcontrol/
H A Dpersist.c181 length = scsi_4btoul(hdr->length); in persist_print_res()
195 scsi_4btoul(res->header.generation)); in persist_print_res()
199 scsi_4btoul(res->data.scope_addr)); in persist_print_res()
217 length = scsi_4btoul(hdr->length); in persist_print_keys()
222 fprintf(stdout, "PRgeneration: %#x\n", scsi_4btoul(hdr->generation)); in persist_print_keys()
378 length = scsi_4btoul(hdr->length); in persist_print_full()
390 fprintf(stdout, "PRgeneration: %#x\n", scsi_4btoul(hdr->generation)); in persist_print_full()
413 additional_length = scsi_4btoul(desc->additional_length); in persist_print_full()
889 hdr_len = scsi_4btoul(hdr->length); in scsipersist()
H A Ddepop.c96 dtors = scsi_4btoul(hdr->num_descriptors); in depop_list()
99 uint32_t id = scsi_4btoul(dtor_ptr[i].element_identifier); in depop_list()
261 timeout = scsi_4btoul(bdc->depopulation_time); in depop()
H A Dattrib.c387 hdr_len = scsi_4btoul(hdr->length); in scsiattrib()
441 hdr_len = scsi_4btoul(hdr->length); in scsiattrib()
H A Dfwdownload.c401 rec_timeout = scsi_4btoul(td->recommended_time); in fw_get_timeout()
542 "file load ID 0x%x", scsi_4btoul(vpd_page.load_id), in fw_validate_ibm()
543 scsi_4btoul(header->load_id)); in fw_validate_ibm()
H A Dcamcontrol.c4105 returned_length = scsi_4btoul(hdr12->length); in readdefects()
4346 sector = scsi_4btoul(dlist[i].sector); in readdefects()
4356 scsi_4btoul(dlist[i].sector), in readdefects()
4362 scsi_4btoul(dlist[i].sector), in readdefects()
4383 bfi = scsi_4btoul(dlist[i].bytes_from_index); in readdefects()
4392 scsi_4btoul(dlist[i].bytes_from_index), in readdefects()
4398 scsi_4btoul(dlist[i].bytes_from_index), in readdefects()
4419 scsi_4btoul(dlist[i].address)); in readdefects()
4422 scsi_4btoul(dlist[i].address)); in readdefects()
7169 lba = 0x4F5700000000 | scsi_4btoul(data_pt in sanitize()
[all...]
H A Dzone.c159 hdr_len = scsi_4btoul(hdr->length); in zone_rz_print()
/freebsd/sys/cam/scsi/
H A Dscsi_iu.h20 #define SIU_PKTFAIL_CODE(siu) (scsi_4btoul((siu)->pkt_failures) & 0xFF)
29 ? scsi_4btoul((siu)->pkt_failures_length) \
H A Dscsi_enc_ses.c792 cache_gc = scsi_4btoul(ses_cache->cfg_page->hdr.gen_code); in ses_config_cache_valid()
793 cur_gc = scsi_4btoul(gen_code); in ses_config_cache_valid()
977 scsi_4btoul(addl->proto_hdr.ata->bus), in ses_paths_iter()
978 scsi_4btoul(addl->proto_hdr.ata->target), 0) in ses_paths_iter()
1396 scsi_4btoul(cfg_page->hdr.gen_code), in ses_process_config()
1616 scsi_4btoul(cur_stat->bytes)); in ses_process_status()
2393 scsi_4btoul(ata->bus), scsi_4btoul(ata->target)); in ses_print_addl_data_ata()
H A Dscsi_da.c4459 scsi_4btoul(hdr->length); in dazonedone()
4834 block_size = scsi_4btoul(rdcap->length); in dadone_proberc()
4835 maxsector = scsi_4btoul(rdcap->addr); in dadone_proberc()
4854 block_size = scsi_4btoul(rcaplong->length); in dadone_proberc()
5154 uint32_t max_txfer_len = scsi_4btoul( in dadone_probeblklimits()
5156 uint32_t max_unmap_lba_cnt = scsi_4btoul( in dadone_probeblklimits()
5158 uint32_t max_unmap_blk_cnt = scsi_4btoul( in dadone_probeblklimits()
5160 uint32_t unmap_gran = scsi_4btoul( in dadone_probeblklimits()
5162 uint32_t unmap_gran_align = scsi_4btoul( in dadone_probeblklimits()
5881 scsi_4btoul(zoned_bdc->optimal_seq_zones); in dadone_probezone()
[all …]
H A Dscsi_xpt.c1309 nlun = scsi_4btoul(lp->length) / 8; in probedone()
1836 nlun_old = scsi_4btoul(old->length) / 8; in probe_purge_old()
1837 nlun_new = scsi_4btoul(new->length) / 8; in probe_purge_old()
2096 u_int nluns = scsi_4btoul(target->luns->length) / 8; in scsi_scan_bus()
H A Dscsi_sa.c4021 *comp_algorithm = scsi_4btoul(cp->comp_algorithm); in sagetparams()
4565 } else if (scsi_4btoul(dcp->comp_algorithm) == 0 && in sasetparams()
5172 softc->partition = scsi_4btoul(long_pos.partition); in sagetpos()
5248 *blkptr = scsi_4btoul(loc.firstblk); in sardpos()
5527 scsi_4btoul(dens_data->field), %u, field, desc); \
5795 avail_len = scsi_4btoul(hdr->length) + sizeof(hdr->length); in saloadtimeouts()
5841 rec_time = scsi_4btoul(td->recommended_time); in saloadtimeouts()
H A Dscsi_cd.c1216 cdp->disksize = scsi_4btoul (rdcap->addr) + 1; in cddone()
1217 cdp->blksize = scsi_4btoul (rdcap->length); in cddone()
1474 softc->params.disksize =scsi_4btoul(rdcap->addr) + 1; in cddone()
1475 softc->params.blksize = scsi_4btoul(rdcap->length); in cddone()
H A Dscsi_all.c4223 info_val = scsi_4btoul(sense->info); in scsi_get_sense_info()
4238 cmd_val = scsi_4btoul(sense->cmd_spec_info); in scsi_get_sense_info()
5082 info = scsi_4btoul(fixed_sense->info); in scsi_sense_only_sbuf()
7107 tmp_val = scsi_4btoul(cur_ptr); in scsi_attrib_volcoh_sbuf()
7286 print_number = scsi_4btoul(hdr->attribute); in scsi_attrib_int_sbuf()
/freebsd/sys/cam/ctl/
H A Dctl_tpc.c465 alloc_len = scsi_4btoul(cdb->length); in ctl_receive_copy_operating_parameters()
553 alloc_len = scsi_4btoul(cdb->length); in ctl_receive_copy_status_lid1()
621 alloc_len = scsi_4btoul(cdb->length); in ctl_receive_copy_failure_details()
663 list_id = scsi_4btoul(cdb->list_identifier); in ctl_receive_copy_status_lid4()
683 alloc_len = scsi_4btoul(cdb->length); in ctl_receive_copy_status_lid4()
734 list_id = scsi_4btoul(cdb->list_identifier); in ctl_copy_operation_abort()
1107 length += scsi_4btoul(range[r].length); in tpc_ranges_length()
1121 l1 = scsi_4btoul(range[i].length); in tpc_check_ranges_l()
1139 l1 = scsi_4btoul(range[i].length); in tpc_check_ranges_x()
1142 l2 = scsi_4btoul(range[j].length); in tpc_check_ranges_x()
[all …]
H A Dctl.c5403 starting_lba = scsi_4btoul(cdb->begin_lba); in ctl_sync_cache()
5413 block_count = scsi_4btoul(cdb->lb_count); in ctl_sync_cache()
5488 defect_list_len = scsi_4btoul(header->defect_list_len); in ctl_format()
5556 len = scsi_4btoul(cdb->length); in ctl_read_buffer()
5701 lba = scsi_4btoul(cdb->addr); in ctl_write_same()
5712 num_blocks = scsi_4btoul(cdb->length); in ctl_write_same()
5859 num_blocks = scsi_4btoul(range->length); in ctl_unmap()
5947 if (lun->ie_reportcnt < scsi_4btoul(lun->MODE_IE.report_count)) { in ctl_ie_timer()
5949 t = scsi_4btoul(lun->MODE_IE.interval_timer); in ctl_ie_timer()
5980 if (lun->ie_reportcnt < scsi_4btoul(pg->report_count)) { in ctl_ie_page_handler()
[all …]
H A Dscsi_ctl.c1041 lba = scsi_4btoul(cdb->addr); in ctlfe_adjust_cdb()
1053 lba = scsi_4btoul(cdb->addr); in ctlfe_adjust_cdb()
1054 num_blocks = scsi_4btoul(cdb->length); in ctlfe_adjust_cdb()
1066 num_blocks = scsi_4btoul(cdb->length); in ctlfe_adjust_cdb()
H A Dctl_error.c210 (scsi_4btoul(sense_src->cmd_spec_info) != 0) ? in ctl_sense_to_desc()
H A Dctl_backend_ramdisk.c810 scsi_8btou64(buf->lba), scsi_4btoul(buf->length), in ctl_backend_ramdisk_unmap()
/freebsd/lib/libcam/
H A Dscsi_wrap.c103 dtors = scsi_4btoul(hdr->num_descriptors); in scsi_wrap_get_physical_element_status()
104 reported = scsi_4btoul(hdr->num_returned); in scsi_wrap_get_physical_element_status()
/freebsd/usr.sbin/mptutil/
H A Dmpt_cam.c267 if (scsi_4btoul(rcap.addr) != 0xffffffff) { in fetch_scsi_capacity()
268 disk->maxlba = scsi_4btoul(rcap.addr); in fetch_scsi_capacity()
/freebsd/share/examples/scsi_target/
H A Dscsi_cmds.c534 blkno = scsi_4btoul(rw_10->addr); in tcmd_rdwr_decode()
544 count = scsi_4btoul(rw_16->length); in tcmd_rdwr_decode()
/freebsd/usr.sbin/ctladm/
H A Dctladm.c1603 maxlba = scsi_4btoul(data->addr); in cctl_read_capacity()
1604 blocksize = scsi_4btoul(data->length); in cctl_read_capacity()
1614 blocksize = scsi_4btoul(longdata->length); in cctl_read_capacity()
1862 returned_len = scsi_4btoul((*lun_data)->length); in cctl_get_luns()
2129 returned_len = scsi_4btoul(&dataptr[0]) + 4; in cctl_report_target_port_group()
2283 returned_len = scsi_4btoul(&dataptr[4]) + 8; in cctl_persistent_reserve_in()
2287 returned_len = scsi_4btoul(&dataptr[4]) + 8; in cctl_persistent_reserve_in()
/freebsd/sys/dev/aacraid/
H A Daacraid_cam.c331 blockno = scsi_4btoul(((struct scsi_rw_10 *)cmdp)->addr); in aac_eval_blockno()
335 blockno = scsi_4btoul(((struct scsi_rw_12 *)cmdp)->addr); in aac_eval_blockno()
/freebsd/usr.sbin/camdd/
H A Dcamdd.c1326 *maxsector = scsi_4btoul(rcap.addr); in camdd_probe_pass_scsi()
1327 *block_len = scsi_4btoul(rcap.length); in camdd_probe_pass_scsi()
1370 *block_len = scsi_4btoul(rcaplong.length); in camdd_probe_pass_scsi()
/freebsd/sys/dev/aic7xxx/
H A Daic79xx_osm.c436 sense_len = MIN(scsi_4btoul(siu->sense_length), in ahd_done()

12