Lines Matching refs:uint8_t

118 	uint8_t opcode;
119 uint8_t bytes[11];
124 uint8_t opcode;
125 uint8_t byte2;
127 uint8_t unused[2];
128 uint8_t length;
129 uint8_t control;
134 uint8_t opcode;
135 uint8_t byte2;
136 uint8_t unused[3];
137 uint8_t control;
141 uint8_t opcode;
142 uint8_t byte2;
144 uint8_t page_code;
145 uint8_t length[2];
146 uint8_t control;
150 uint8_t opcode;
151 uint8_t byte2;
164 uint8_t reserved;
165 uint8_t length[2];
166 uint8_t control;
171 uint8_t opcode;
172 uint8_t byte2;
173 uint8_t unused[2];
174 uint8_t length;
175 uint8_t control;
180 uint8_t opcode;
181 uint8_t byte2;
184 uint8_t page_code;
185 uint8_t length[2];
186 uint8_t control;
191 uint8_t opcode;
192 uint8_t byte2;
194 uint8_t page;
211 uint8_t subpage;
214 uint8_t length;
215 uint8_t control;
220 uint8_t opcode;
221 uint8_t byte2; /* same bits as small version */
223 uint8_t page; /* same bits as small version */
224 uint8_t subpage;
225 uint8_t unused[3];
226 uint8_t length[2];
227 uint8_t control;
232 uint8_t opcode;
233 uint8_t byte2;
237 uint8_t unused[2];
238 uint8_t length;
239 uint8_t control;
244 uint8_t opcode;
245 uint8_t byte2; /* same bits as small version */
246 uint8_t unused[5];
247 uint8_t length[2];
248 uint8_t control;
256 uint8_t datalen;
257 uint8_t medium_type;
258 uint8_t dev_specific;
259 uint8_t block_descr_len;
264 uint8_t datalen[2];
265 uint8_t medium_type;
266 uint8_t dev_specific;
267 uint8_t flags;
269 uint8_t reserved;
270 uint8_t block_descr_len[2];
275 uint8_t density_code;
276 uint8_t num_blocks[3];
277 uint8_t reserved;
278 uint8_t block_len[3];
283 uint8_t num_blocks[4];
284 uint8_t reserved;
285 uint8_t block_len[3];
290 uint8_t num_blocks[8];
291 uint8_t reserved[4];
292 uint8_t block_len[4];
297 uint8_t opcode;
298 uint8_t action;
303 uint8_t reserved[5];
304 uint8_t length[2];
306 uint8_t control;
311 uint8_t generation[4];
312 uint8_t length[4];
317 uint8_t key[8];
328 uint8_t length[2];
329 uint8_t flags1;
335 uint8_t flags2;
346 uint8_t type_mask[2];
353 uint8_t reserved[2];
358 uint8_t reservation[8];
359 uint8_t scope_addr[4];
360 uint8_t reserved;
361 uint8_t scopetype;
368 uint8_t extent_length[2];
380 uint8_t reserved1[4];
381 uint8_t flags;
384 uint8_t scopetype;
385 uint8_t reserved2[4];
386 uint8_t rel_trgt_port_id[2];
387 uint8_t additional_length[4];
388 uint8_t transport_id[];
399 uint8_t opcode;
400 uint8_t action;
411 uint8_t scope_type;
427 uint8_t reserved[2];
428 uint8_t length[4];
429 uint8_t control;
435 uint8_t serv_act_res_key[8];
436 uint8_t scope_spec_address[4];
437 uint8_t flags;
441 uint8_t reserved1;
442 uint8_t extent_length[2];
443 uint8_t transport_id_list[];
447 uint8_t additional_length[4];
448 uint8_t transport_ids[];
458 uint8_t serv_act_res_key[8];
459 uint8_t reserved;
460 uint8_t flags;
463 uint8_t rel_trgt_port_id[2];
464 uint8_t transport_id_length[4];
465 uint8_t transport_id[];
470 uint8_t format_protocol;
478 uint8_t format_protocol;
480 uint8_t reserved1[7];
481 uint8_t n_port_name[8];
482 uint8_t reserved2[8];
487 uint8_t format_protocol;
489 uint8_t reserved1;
490 uint8_t scsi_addr[2];
491 uint8_t obsolete[2];
492 uint8_t rel_trgt_port_id[2];
493 uint8_t reserved2[16];
498 uint8_t format_protocol;
500 uint8_t reserved1[7];
501 uint8_t eui64[8];
502 uint8_t reserved2[8];
507 uint8_t format_protocol;
509 uint8_t reserved[7];
511 uint8_t initiator_port_id[SCSI_TRN_RDMA_PORT_LEN];
516 uint8_t format_protocol;
518 uint8_t reserved;
519 uint8_t additional_length[2];
520 uint8_t iscsi_name[];
525 uint8_t format_protocol;
527 uint8_t reserved;
528 uint8_t additional_length[2];
529 uint8_t iscsi_name[];
537 uint8_t format_protocol;
539 uint8_t reserved1[3];
540 uint8_t sas_address[8];
541 uint8_t reserved2[12];
545 uint8_t bus;
546 uint8_t devfunc;
556 uint8_t bus;
557 uint8_t function;
563 uint8_t format_protocol;
565 uint8_t reserved1;
566 uint8_t routing_id[2];
567 uint8_t reserved2[20];
572 uint8_t opcode;
573 uint8_t byte2;
576 uint8_t page;
597 uint8_t subpage;
599 uint8_t reserved;
600 uint8_t paramptr[2];
601 uint8_t length[2];
602 uint8_t control;
607 uint8_t opcode;
608 uint8_t byte2;
611 uint8_t page;
617 uint8_t reserved[4];
618 uint8_t length[2];
619 uint8_t control;
624 uint8_t page;
628 uint8_t subpage;
629 uint8_t datalen[2];
633 uint8_t param_code[2];
634 uint8_t param_control;
646 uint8_t param_len;
652 uint8_t reserved[3];
653 uint8_t pct_used;
659 uint8_t read_num[8];
660 uint8_t write_num[8];
661 uint8_t recvieved_lba[8];
662 uint8_t transmitted_lba[8];
663 uint8_t read_int[8];
664 uint8_t write_int[8];
665 uint8_t weighted_num[8];
666 uint8_t weighted_int[8];
672 uint8_t idle_int[8];
678 uint8_t exponent[4];
679 uint8_t integer[4];
685 uint8_t fua_read_num[8];
686 uint8_t fua_write_num[8];
687 uint8_t fuanv_read_num[8];
688 uint8_t fuanv_write_num[8];
689 uint8_t fua_read_int[8];
690 uint8_t fua_write_int[8];
691 uint8_t fuanv_read_int[8];
692 uint8_t fuanv_write_int[8];
698 uint8_t ie_asc;
699 uint8_t ie_ascq;
700 uint8_t temperature;
707 uint8_t reserved;
708 uint8_t temperature;
712 uint8_t page_code;
713 uint8_t page_length;
714 uint8_t rlec;
725 uint8_t queue_flags;
732 uint8_t eca_and_aen;
739 uint8_t flags4;
744 uint8_t aen_holdoff_period[2];
745 uint8_t busy_timeout_period[2];
746 uint8_t extended_selftest_completion_time[2];
750 uint8_t page_code;
752 uint8_t subpage_code;
754 uint8_t page_length[2];
755 uint8_t flags;
759 uint8_t prio;
760 uint8_t max_sense;
761 uint8_t reserve[25];
765 uint8_t page_code;
767 uint8_t page_length;
768 uint8_t cache_flags;
772 uint8_t rw_cache_policy;
773 uint8_t dis_prefetch[2];
774 uint8_t min_prefetch[2];
775 uint8_t max_prefetch[2];
776 uint8_t max_prefetch_ceil[2];
785 uint8_t page_code;
787 uint8_t page_length;
788 uint8_t flags1;
797 uint8_t ret_priority;
798 uint8_t disable_pf_transfer_len[2];
799 uint8_t min_prefetch[2];
800 uint8_t max_prefetch[2];
801 uint8_t max_pf_ceiling[2];
802 uint8_t flags2;
808 uint8_t cache_segments;
809 uint8_t cache_seg_size[2];
810 uint8_t reserved;
811 uint8_t non_cache_seg_size[3];
815 uint8_t page_code;
817 uint8_t page_length;
818 uint8_t info_flags;
826 uint8_t mrie;
833 uint8_t interval_timer[4];
834 uint8_t report_count[4];
838 uint8_t flags;
844 uint8_t resource;
845 uint8_t reserved[2];
846 uint8_t count[4];
850 uint8_t page_code;
851 uint8_t subpage_code;
852 uint8_t page_length[2];
853 uint8_t flags;
855 uint8_t reserved[11];
878 uint8_t page_code;
880 uint8_t page_length;
881 uint8_t protocol;
898 uint8_t opcode;
899 uint8_t byte2;
904 uint8_t resv_id;
905 uint8_t length[2];
906 uint8_t control;
910 uint8_t opcode;
911 uint8_t byte2;
915 uint8_t resv_id;
916 uint8_t thirdparty_id;
917 uint8_t reserved[3];
918 uint8_t length[2];
919 uint8_t control;
924 uint8_t opcode;
925 uint8_t byte2;
926 uint8_t resv_id;
927 uint8_t unused[1];
928 uint8_t length;
929 uint8_t control;
933 uint8_t opcode;
934 uint8_t byte2;
935 uint8_t resv_id;
936 uint8_t thirdparty_id;
937 uint8_t reserved[3];
938 uint8_t length[2];
939 uint8_t control;
944 uint8_t opcode;
945 uint8_t byte2;
946 uint8_t unused[2];
947 uint8_t how;
948 uint8_t control;
955 uint8_t opcode;
956 uint8_t byte2;
959 uint8_t begin_lba[4];
960 uint8_t reserved;
961 uint8_t lb_count[2];
962 uint8_t control;
967 uint8_t opcode;
968 uint8_t byte2;
969 uint8_t begin_lba[8];
970 uint8_t lb_count[4];
971 uint8_t reserved;
972 uint8_t control;
976 uint8_t opcode;
977 uint8_t byte2;
986 uint8_t vendor;
987 uint8_t interleave[2];
988 uint8_t control;
992 uint8_t reserved;
1001 uint8_t byte2;
1002 uint8_t defect_list_len[2];
1006 uint8_t reserved;
1007 uint8_t byte2;
1008 uint8_t reserved2[2];
1009 uint8_t defect_list_len[4];
1014 uint8_t opcode;
1015 uint8_t byte2;
1016 uint8_t unused1;
1017 uint8_t how;
1018 uint8_t unused[4];
1019 uint8_t datalen;
1020 uint8_t control;
1025 uint8_t opcode;
1026 uint8_t byte2;
1037 uint8_t buffer_id;
1038 uint8_t offset[3];
1039 uint8_t length[3];
1040 uint8_t control;
1045 uint8_t opcode;
1046 uint8_t byte2;
1047 uint8_t offset[8];
1048 uint8_t length[4];
1049 uint8_t buffer_id;
1050 uint8_t control;
1055 uint8_t opcode;
1056 uint8_t byte2;
1057 uint8_t buffer_id;
1058 uint8_t offset[3];
1059 uint8_t length[3];
1060 uint8_t control;
1065 uint8_t opcode;
1066 uint8_t service_action;
1074 uint8_t element[2];
1075 uint8_t elem_type;
1076 uint8_t logical_volume;
1077 uint8_t reserved1;
1078 uint8_t partition;
1079 uint8_t first_attribute[2];
1080 uint8_t length[4];
1081 uint8_t cache;
1083 uint8_t control;
1088 uint8_t opcode;
1089 uint8_t byte2;
1091 uint8_t element[3];
1092 uint8_t logical_volume;
1093 uint8_t reserved1;
1094 uint8_t partition;
1095 uint8_t reserved2[2];
1096 uint8_t length[4];
1097 uint8_t reserved3;
1098 uint8_t control;
1103 uint8_t length[4];
1104 uint8_t attribute_0[0];
1109 uint8_t id[2];
1187 uint8_t byte2;
1193 uint8_t length[2];
1194 uint8_t attribute[0];
1198 uint8_t length[4];
1199 uint8_t first_attr_0[0];
1203 uint8_t length[2];
1204 uint8_t first_lv_number;
1205 uint8_t num_logical_volumes;
1209 uint8_t vendor[8];
1210 uint8_t serial_num[32];
1274 uint8_t opcode;
1275 uint8_t addr[3];
1278 uint8_t length;
1279 uint8_t control;
1284 uint8_t opcode;
1290 uint8_t byte2;
1291 uint8_t addr[4];
1292 uint8_t reserved;
1293 uint8_t length[2];
1294 uint8_t control;
1299 uint8_t opcode;
1303 uint8_t byte2;
1304 uint8_t addr[4];
1305 uint8_t length[4];
1306 uint8_t reserved;
1307 uint8_t control;
1312 uint8_t opcode;
1316 uint8_t byte2;
1317 uint8_t addr[8];
1318 uint8_t length[4];
1319 uint8_t reserved;
1320 uint8_t control;
1325 uint8_t opcode;
1326 uint8_t byte2;
1327 uint8_t addr[8];
1328 uint8_t boundary[2];
1329 uint8_t length[2];
1330 uint8_t group;
1331 uint8_t control;
1336 uint8_t opcode;
1337 uint8_t byte2;
1342 uint8_t addr[4];
1343 uint8_t group;
1344 uint8_t length[2];
1345 uint8_t control;
1350 uint8_t opcode;
1351 uint8_t byte2;
1353 uint8_t addr[8];
1354 uint8_t length[4];
1355 uint8_t group;
1356 uint8_t control;
1361 uint8_t opcode;
1362 uint8_t byte2;
1364 uint8_t reserved[4];
1365 uint8_t group;
1366 uint8_t length[2];
1367 uint8_t control;
1372 uint8_t length[2];
1373 uint8_t desc_length[2];
1374 uint8_t reserved[4];
1379 uint8_t lba[8];
1380 uint8_t length[4];
1381 uint8_t reserved[4];
1386 uint8_t opcode;
1387 uint8_t byte2;
1391 uint8_t addr[4];
1392 uint8_t group;
1393 uint8_t length[2];
1394 uint8_t control;
1399 uint8_t opcode;
1400 uint8_t byte2;
1401 uint8_t addr[4];
1402 uint8_t length[4];
1403 uint8_t group;
1404 uint8_t control;
1409 uint8_t opcode;
1410 uint8_t byte2;
1411 uint8_t addr[8];
1412 uint8_t length[4];
1413 uint8_t group;
1414 uint8_t control;
1419 uint8_t opcode;
1420 uint8_t byte2;
1422 uint8_t reserved[2];
1423 uint8_t how;
1434 uint8_t control;
1438 uint8_t opcode;
1439 uint8_t protocol;
1455 uint8_t flags;
1461 uint8_t features;
1462 uint8_t sector_count;
1463 uint8_t lba_low;
1464 uint8_t lba_mid;
1465 uint8_t lba_high;
1466 uint8_t device;
1467 uint8_t command;
1468 uint8_t reserved;
1469 uint8_t control;
1474 uint8_t opcode;
1475 uint8_t byte2;
1478 uint8_t reserved[4];
1479 uint8_t length[4];
1480 uint8_t reserved1;
1481 uint8_t control;
1486 uint8_t opcode;
1487 uint8_t service_action;
1488 uint8_t reserved[4];
1489 uint8_t length[4];
1490 uint8_t type;
1494 uint8_t control;
1499 uint8_t reserved[2];
1500 uint8_t length[2];
1505 uint8_t type;
1506 uint8_t reserved;
1507 uint8_t length[2];
1512 uint8_t opcode;
1513 uint8_t service_action;
1514 uint8_t options;
1521 uint8_t requested_opcode;
1522 uint8_t requested_service_action[2];
1523 uint8_t length[4];
1524 uint8_t reserved1;
1525 uint8_t control;
1530 uint8_t length[2];
1531 uint8_t reserved;
1532 uint8_t cmd_specific;
1533 uint8_t nominal_time[4];
1534 uint8_t recommended_time[4];
1539 uint8_t opcode;
1540 uint8_t reserved;
1541 uint8_t service_action[2];
1542 uint8_t reserved2;
1543 uint8_t flags;
1550 uint8_t cdb_length[2];
1556 uint8_t length[4];
1562 uint8_t reserved;
1563 uint8_t support;
1574 uint8_t cdb_length[2];
1575 uint8_t cdb_usage[];
1580 uint8_t opcode;
1581 uint8_t service_action;
1582 uint8_t options;
1584 uint8_t reserved[3];
1585 uint8_t length[4];
1586 uint8_t reserved1;
1587 uint8_t control;
1592 uint8_t byte1;
1601 uint8_t byte2;
1605 uint8_t reserved;
1606 uint8_t length;
1611 uint8_t byte1;
1612 uint8_t byte2;
1613 uint8_t reserved;
1614 uint8_t length;
1615 uint8_t byte5;
1617 uint8_t reserved2;
1618 uint8_t byte7;
1627 uint8_t byte8;
1631 uint8_t long_timeout[4];
1632 uint8_t short_timeout[4];
1637 uint8_t opcode;
1638 uint8_t service_action;
1639 uint8_t reserved[4];
1640 uint8_t length[4];
1641 uint8_t reserved1;
1642 uint8_t control;
1647 uint8_t length[2];
1648 uint8_t origin;
1653 uint8_t reserved;
1654 uint8_t timestamp[6];
1655 uint8_t reserve2[2];
1660 uint8_t opcode;
1661 uint8_t service_action;
1663 uint8_t list_identifier;
1664 uint8_t reserved[7];
1665 uint8_t length[4];
1666 uint8_t reserved1;
1667 uint8_t control;
1672 uint8_t available_data[4];
1673 uint8_t copy_command_status;
1677 uint8_t segments_processed[2];
1678 uint8_t transfer_count_units;
1687 uint8_t transfer_count[4];
1692 uint8_t opcode;
1693 uint8_t service_action;
1695 uint8_t list_identifier;
1696 uint8_t reserved[7];
1697 uint8_t length[4];
1698 uint8_t reserved1;
1699 uint8_t control;
1704 uint8_t available_data[4];
1705 uint8_t reserved[52];
1706 uint8_t copy_command_status;
1707 uint8_t reserved2;
1708 uint8_t sense_data_length[2];
1709 uint8_t sense_data[];
1714 uint8_t opcode;
1715 uint8_t service_action;
1717 uint8_t list_identifier[4];
1718 uint8_t reserved[4];
1719 uint8_t length[4];
1720 uint8_t reserved1;
1721 uint8_t control;
1726 uint8_t available_data[4];
1727 uint8_t response_to_service_action;
1728 uint8_t copy_command_status;
1735 uint8_t operation_counter[2];
1736 uint8_t estimated_status_update_delay[4];
1737 uint8_t extended_copy_completion_status;
1738 uint8_t length_of_the_sense_data_field;
1739 uint8_t sense_data_length;
1740 uint8_t transfer_count_units;
1741 uint8_t transfer_count[8];
1742 uint8_t segments_processed[2];
1743 uint8_t reserved[6];
1744 uint8_t sense_data[];
1749 uint8_t opcode;
1750 uint8_t service_action;
1752 uint8_t reserved[8];
1753 uint8_t length[4];
1754 uint8_t reserved1;
1755 uint8_t control;
1760 uint8_t length[4];
1761 uint8_t snlid;
1763 uint8_t reserved[3];
1764 uint8_t maximum_cscd_descriptor_count[2];
1765 uint8_t maximum_segment_descriptor_count[2];
1766 uint8_t maximum_descriptor_list_length[4];
1767 uint8_t maximum_segment_length[4];
1768 uint8_t maximum_inline_data_length[4];
1769 uint8_t held_data_limit[4];
1770 uint8_t maximum_stream_device_transfer_size[4];
1771 uint8_t reserved2[2];
1772 uint8_t total_concurrent_copies[2];
1773 uint8_t maximum_concurrent_copies;
1774 uint8_t data_segment_granularity;
1775 uint8_t inline_data_granularity;
1776 uint8_t held_data_granularity;
1777 uint8_t reserved3[3];
1778 uint8_t implemented_descriptor_list_length;
1779 uint8_t list_of_implemented_descriptor_type_codes[0];
1784 uint8_t opcode;
1785 uint8_t service_action;
1788 uint8_t reserved[8];
1789 uint8_t length[4];
1790 uint8_t reserved1;
1791 uint8_t control;
1796 uint8_t flags;
1799 uint8_t block_length[3];
1804 uint8_t type_code;
1806 uint8_t luidt_pdt;
1811 uint8_t relative_initiator_port[2];
1812 uint8_t cscd_params[24];
1818 uint8_t type_code;
1820 uint8_t luidt_pdt;
1821 uint8_t relative_initiator_port[2];
1822 uint8_t codeset;
1823 uint8_t id_type;
1824 uint8_t reserved;
1825 uint8_t length;
1826 uint8_t designator[20];
1832 uint8_t type_code;
1833 uint8_t flags;
1836 uint8_t descr_length[2];
1837 uint8_t params[];
1842 uint8_t type_code;
1844 uint8_t flags;
1845 uint8_t descr_length[2];
1846 uint8_t src_cscd[2];
1847 uint8_t dst_cscd[2];
1848 uint8_t reserved[2];
1849 uint8_t number_of_blocks[2];
1850 uint8_t src_lba[8];
1851 uint8_t dst_lba[8];
1856 uint8_t type_code;
1858 uint8_t reserved;
1859 uint8_t descr_length[2];
1860 uint8_t src_cscd[2];
1861 uint8_t reserved2[2];
1862 uint8_t tur;
1863 uint8_t reserved3[3];
1868 uint8_t type_code;
1870 uint8_t reserved;
1871 uint8_t descr_length[2];
1872 uint8_t reserved2[2];
1873 uint8_t dst_cscd[2];
1874 uint8_t res_key[8];
1875 uint8_t sa_res_key[8];
1876 uint8_t reserved3[4];
1881 uint8_t list_identifier;
1882 uint8_t flags;
1889 uint8_t cscd_list_length[2];
1890 uint8_t reserved[4];
1891 uint8_t segment_list_length[4];
1892 uint8_t inline_data_length[4];
1893 uint8_t data[];
1898 uint8_t list_format;
1900 uint8_t flags;
1901 uint8_t header_cscd_list_length[2];
1902 uint8_t reserved[11];
1903 uint8_t flags2;
1906 uint8_t header_cscd_type_code;
1907 uint8_t reserved2[3];
1908 uint8_t list_identifier[4];
1909 uint8_t reserved3[18];
1910 uint8_t cscd_list_length[2];
1911 uint8_t segment_list_length[2];
1912 uint8_t inline_data_length[2];
1913 uint8_t data[];
1918 uint8_t opcode;
1919 uint8_t service_action;
1921 uint8_t list_identifier[4];
1922 uint8_t reserved[9];
1923 uint8_t control;
1928 uint8_t opcode;
1929 uint8_t service_action;
1931 uint8_t reserved[4];
1932 uint8_t list_identifier[4];
1933 uint8_t length[4];
1934 uint8_t group_number;
1935 uint8_t control;
1940 uint8_t lba[8];
1941 uint8_t length[4];
1942 uint8_t reserved[4];
1947 uint8_t length[2];
1948 uint8_t flags;
1951 uint8_t reserved;
1952 uint8_t inactivity_timeout[4];
1953 uint8_t rod_type[4];
1954 uint8_t reserved2[2];
1955 uint8_t range_descriptor_length[2];
1961 uint8_t opcode;
1962 uint8_t service_action;
1964 uint8_t reserved[4];
1965 uint8_t list_identifier[4];
1966 uint8_t length[4];
1967 uint8_t group_number;
1968 uint8_t control;
1973 uint8_t length[2];
1974 uint8_t flags;
1977 uint8_t reserved[5];
1978 uint8_t offset_into_rod[8];
1979 uint8_t rod_token[512];
1980 uint8_t reserved2[6];
1981 uint8_t range_descriptor_length[2];
1987 uint8_t opcode;
1988 uint8_t service_action;
1990 uint8_t list_identifier[4];
1991 uint8_t reserved[4];
1992 uint8_t length[4];
1993 uint8_t reserved2;
1994 uint8_t control;
1999 uint8_t type[4];
2007 uint8_t reserved[2];
2008 uint8_t length[2];
2009 uint8_t body[0];
2014 uint8_t opcode;
2015 uint8_t service_action;
2017 uint8_t reserved[8];
2018 uint8_t length[4];
2019 uint8_t reserved2;
2020 uint8_t control;
2025 uint8_t available_data[4];
2026 uint8_t reserved[4];
2027 uint8_t rod_management_token_list[];
2031 uint8_t opcode;
2032 uint8_t protocol;
2034 uint8_t flags;
2044 uint8_t features_ext;
2045 uint8_t features;
2046 uint8_t sector_count_ext;
2047 uint8_t sector_count;
2048 uint8_t lba_low_ext;
2049 uint8_t lba_low;
2050 uint8_t lba_mid_ext;
2051 uint8_t lba_mid;
2052 uint8_t lba_high_ext;
2053 uint8_t lba_high;
2054 uint8_t device;
2055 uint8_t command;
2056 uint8_t control;
2060 uint8_t opcode;
2061 uint8_t control;
2062 uint8_t reserved1[5];
2063 uint8_t length;
2064 uint8_t service_action[2];
2066 uint8_t protocol;
2067 uint8_t flags;
2068 uint8_t reserved2[2];
2069 uint8_t lba[6];
2070 uint8_t features[2];
2071 uint8_t count[2];
2072 uint8_t device;
2073 uint8_t command;
2074 uint8_t reserved3;
2075 uint8_t icc;
2076 uint8_t auxiliary[4];
2209 uint8_t device;
2245 uint8_t dev_qual2;
2250 uint8_t version;
2263 uint8_t response_format;
2268 uint8_t additional_length;
2272 uint8_t spc3_flags;
2280 uint8_t spc2_flags;
2292 uint8_t flags;
2311 uint8_t vendor_specific0[SID_VENDOR_SPECIFIC_0_SIZE];
2321 uint8_t spi3data;
2322 uint8_t reserved2;
2326 uint8_t version1[2];
2327 uint8_t version2[2];
2328 uint8_t version3[2];
2329 uint8_t version4[2];
2330 uint8_t version5[2];
2331 uint8_t version6[2];
2332 uint8_t version7[2];
2333 uint8_t version8[2];
2335 uint8_t reserved3[22];
2338 uint8_t vendor_specific1[SID_VENDOR_SPECIFIC_1_SIZE];
2347 uint8_t device;
2348 uint8_t page_code;
2351 uint8_t reserved;
2352 uint8_t length; /* number of VPD entries */
2354 uint8_t list[SVPD_SUPPORTED_PAGES_SIZE];
2363 uint8_t device;
2364 uint8_t page_code;
2365 uint8_t reserved;
2367 uint8_t length;
2368 uint8_t page_list[0];
2373 uint8_t device;
2374 uint8_t page_code;
2376 uint8_t reserved;
2377 uint8_t length; /* serial number length */
2379 uint8_t serial_num[SVPD_SERIAL_NUM_SIZE];
2384 uint8_t device;
2385 uint8_t page_code;
2390 uint8_t length[2];
2391 uint8_t desc_list[];
2396 uint8_t proto_codeset;
2405 uint8_t id_type;
2423 uint8_t reserved;
2424 uint8_t length;
2427 uint8_t identifier[];
2432 uint8_t vendor[8];
2433 uint8_t vendor_spec_id[0];
2438 uint8_t ieee_company_id[3];
2439 uint8_t extension_id[5];
2444 uint8_t naa;
2454 uint8_t naa_data[];
2459 uint8_t naa;
2460 uint8_t vendor_specific_id_a;
2461 uint8_t ieee_company_id[3];
2462 uint8_t vendor_specific_id_b[4];
2467 uint8_t naa;
2468 uint8_t local_value[7];
2473 uint8_t naa;
2474 uint8_t reg_value[7];
2487 uint8_t naa;
2488 uint8_t reg_value[15];
2502 uint8_t obsolete[2];
2503 uint8_t rel_trgt_port_id[2];
2508 uint8_t reserved[2];
2509 uint8_t trgt_port_grp[2];
2514 uint8_t reserved[2];
2515 uint8_t log_unit_grp[2];
2520 uint8_t lun_id[16];
2525 uint8_t name_string[256];
2530 uint8_t opcode;
2531 uint8_t service_action;
2532 uint8_t action_dependent[13];
2533 uint8_t control;
2538 uint8_t device;
2539 uint8_t page_code;
2541 uint8_t page_length[2];
2542 uint8_t flags1;
2566 uint8_t flags2;
2573 uint8_t flags3;
2578 uint8_t flags4;
2582 uint8_t flags5;
2591 uint8_t flags6;
2597 uint8_t est[2];
2598 uint8_t flags7;
2602 uint8_t max_sense_length;
2603 uint8_t bind_flags;
2609 uint8_t reserved2[49];
2614 uint8_t page_code;
2615 uint8_t subpage_code;
2616 uint8_t policy;
2621 uint8_t reserved;
2626 uint8_t device;
2627 uint8_t page_code;
2629 uint8_t page_length[2];
2634 uint8_t page_code;
2635 uint8_t page_specific_flags;
2636 uint8_t length[2];
2637 uint8_t params[0];
2642 uint8_t reserved[2];
2643 uint8_t relative_port_id[2];
2644 uint8_t reserved2[2];
2645 uint8_t initiator_transportid_length[2];
2646 uint8_t initiator_transportid[0];
2651 uint8_t reserved[2];
2652 uint8_t target_port_descriptors_length[2];
2658 uint8_t device;
2659 uint8_t page_code;
2661 uint8_t page_length[2];
2673 uint8_t desc_type[2];
2674 uint8_t desc_length[2];
2675 uint8_t parameters[];
2680 uint8_t desc_type[2];
2682 uint8_t desc_length[2];
2683 uint8_t vendor_specific[6];
2684 uint8_t maximum_ranges[2];
2685 uint8_t maximum_inactivity_timeout[4];
2686 uint8_t default_inactivity_timeout[4];
2687 uint8_t maximum_token_transfer_size[8];
2688 uint8_t optimal_transfer_count[8];
2693 uint8_t opcode;
2694 uint8_t sa_length;
2695 uint8_t supported_service_actions[0];
2700 uint8_t desc_type[2];
2702 uint8_t desc_length[2];
2703 uint8_t list_length;
2709 uint8_t desc_type[2];
2711 uint8_t desc_length[2];
2712 uint8_t reserved[4];
2713 uint8_t maximum_cscd_descriptor_count[2];
2714 uint8_t maximum_segment_descriptor_count[2];
2715 uint8_t maximum_descriptor_list_length[4];
2716 uint8_t maximum_inline_data_length[4];
2717 uint8_t reserved2[12];
2722 uint8_t desc_type[2];
2724 uint8_t desc_length[2];
2725 uint8_t list_length;
2726 uint8_t supported_descriptor_codes[];
2731 uint8_t desc_type[2];
2733 uint8_t desc_length[2];
2734 uint8_t list_length[2];
2735 uint8_t supported_descriptor_ids[];
2740 uint8_t type_format;
2742 uint8_t reserved;
2743 uint8_t desc_length[2];
2744 uint8_t reserved2[2];
2745 uint8_t optimal_length_granularity[2];
2746 uint8_t maximum_bytes[8];
2747 uint8_t optimal_bytes[8];
2748 uint8_t optimal_bytes_to_token_per_segment[8];
2749 uint8_t optimal_bytes_from_token_per_segment[8];
2750 uint8_t reserved3[8];
2755 uint8_t desc_type[2];
2757 uint8_t desc_length[2];
2758 uint8_t remote_tokens;
2759 uint8_t reserved[11];
2760 uint8_t minimum_token_lifetime[4];
2761 uint8_t maximum_token_lifetime[4];
2762 uint8_t maximum_token_inactivity_timeout[4];
2763 uint8_t reserved2[18];
2764 uint8_t type_specific_features_length[2];
2765 uint8_t type_specific_features[0];
2770 uint8_t rod_type[4];
2771 uint8_t flags;
2775 uint8_t reserved;
2776 uint8_t preference_indicator[2];
2777 uint8_t reserved2[56];
2782 uint8_t desc_type[2];
2784 uint8_t desc_length[2];
2785 uint8_t reserved[2];
2786 uint8_t rod_type_descriptors_length[2];
2787 uint8_t rod_type_descriptors[0];
2792 uint8_t desc_type[2];
2794 uint8_t desc_length[2];
2795 uint8_t total_concurrent_copies[4];
2796 uint8_t maximum_identified_concurrent_copies[4];
2797 uint8_t maximum_segment_length[4];
2798 uint8_t data_segment_granularity;
2799 uint8_t inline_data_granularity;
2800 uint8_t reserved[18];
2805 uint8_t device;
2806 uint8_t page_code;
2808 uint8_t page_length[2];
2817 uint8_t device;
2818 uint8_t page_code;
2820 uint8_t page_length[2];
2821 uint8_t reserved[4];
2822 uint8_t codes[];
2830 uint8_t device;
2831 uint8_t page_code;
2833 uint8_t page_length[2];
2834 uint8_t medium_rotation_rate[2];
2837 uint8_t product_type;
2838 uint8_t wab_wac_ff;
2839 uint8_t flags;
2848 uint8_t reserved[3];
2849 uint8_t depopulation_time[4];
2850 uint8_t reserved2[48];
2865 uint8_t device;
2866 uint8_t page_code;
2868 uint8_t page_length[2];
2870 uint8_t threshold_exponent;
2871 uint8_t flags;
2878 uint8_t prov_type;
2881 uint8_t reserved;
2893 uint8_t device;
2894 uint8_t page_code;
2896 uint8_t page_length[2];
2899 uint8_t flags;
2901 uint8_t max_cmp_write_len;
2902 uint8_t opt_txfer_len_grain[2];
2903 uint8_t max_txfer_len[4];
2904 uint8_t opt_txfer_len[4];
2905 uint8_t max_prefetch[4];
2906 uint8_t max_unmap_lba_cnt[4];
2907 uint8_t max_unmap_blk_cnt[4];
2908 uint8_t opt_unmap_grain[4];
2909 uint8_t unmap_grain_align[4];
2910 uint8_t max_write_same_length[8];
2911 uint8_t max_atomic_transfer_length[4];
2912 uint8_t atomic_alignment[4];
2913 uint8_t atomic_transfer_length_granularity[4];
2914 uint8_t max_atomic_transfer_length_with_atomic_boundary[4];
2915 uint8_t max_atomic_boundary_size[4];
2923 uint8_t device;
2924 uint8_t page_code;
2926 uint8_t page_length[2];
2928 uint8_t flags;
2930 uint8_t reserved1[3];
2931 uint8_t optimal_seq_zones[4];
2933 uint8_t optimal_nonseq_zones[4];
2935 uint8_t max_seq_req_zones[4];
2937 uint8_t reserved2[44];
2942 uint8_t opcode;
2943 uint8_t byte2;
2945 uint8_t addr[4];
2946 uint8_t unused[2];
2947 uint8_t pmi;
2949 uint8_t control;
2954 uint8_t opcode;
2956 uint8_t service_action;
2957 uint8_t addr[8];
2958 uint8_t alloc_len[4];
2961 uint8_t reladr;
2962 uint8_t control;
2967 uint8_t addr[4];
2968 uint8_t length[4];
2973 uint8_t addr[8];
2974 uint8_t length[4];
2981 uint8_t prot;
2985 uint8_t prot_lbppbe;
2996 uint8_t lalba_lbp[2];
2997 uint8_t reserved[16];
3002 uint8_t opcode;
3004 uint8_t service_action;
3005 uint8_t addr[8];
3006 uint8_t alloc_len[4];
3007 uint8_t reserved;
3008 uint8_t control;
3013 uint8_t addr[8];
3014 uint8_t length[4];
3015 uint8_t status;
3016 uint8_t reserved[3];
3021 uint8_t length[4];
3022 uint8_t reserved[4];
3028 uint8_t opcode;
3029 uint8_t reserved1;
3036 uint8_t select_report;
3037 uint8_t reserved2[3];
3038 uint8_t length[4];
3039 uint8_t reserved3;
3040 uint8_t control;
3044 uint8_t lundata[8];
3063 uint8_t length[4]; /* length of LUN inventory, in bytes */
3064 uint8_t reserved[4]; /* unused */
3083 uint8_t opcode;
3084 uint8_t service_action;
3085 uint8_t rsvd[4];
3086 uint8_t starting_element[4];
3087 uint8_t allocation_length[4];
3088 uint8_t report_type;
3093 uint8_t control;
3100 uint8_t num_descriptors[4];
3101 uint8_t num_returned[4];
3102 uint8_t id_depop[4];
3103 uint8_t rsvd[20];
3110 uint8_t rsvd1[4];
3111 uint8_t element_identifier[4];
3112 uint8_t rsvd2[5];
3113 uint8_t ralwd;
3114 uint8_t physical_element_type;
3116 uint8_t physical_element_health;
3117 uint8_t capacity[8];
3118 uint8_t rsvd3[8];
3125 uint8_t opcode;
3126 uint8_t service_action;
3127 uint8_t requested_capacity[8];
3128 uint8_t element_identifier[4];
3129 uint8_t rsvd;
3130 uint8_t control;
3137 uint8_t opcode;
3138 uint8_t service_action;
3142 uint8_t reserved1[4];
3143 uint8_t length[4];
3144 uint8_t reserved2;
3145 uint8_t control;
3150 uint8_t opcode;
3151 uint8_t service_action;
3152 uint8_t reserved1[4];
3153 uint8_t length[4];
3154 uint8_t reserved2;
3155 uint8_t control;
3160 uint8_t reserved1[4];
3161 uint8_t timestamp[6];
3162 uint8_t reserved2[2];
3167 uint8_t length[2];
3168 uint8_t reserved1[2];
3169 uint8_t timestamp[6];
3170 uint8_t reserved2[2];
3174 uint8_t reserved[2];
3175 uint8_t relative_target_port_identifier[2];
3176 uint8_t desc_list[];
3180 uint8_t pref_state;
3190 uint8_t support;
3198 uint8_t target_port_group[2];
3199 uint8_t reserved;
3200 uint8_t status;
3204 uint8_t vendor_specific;
3205 uint8_t target_port_count;
3210 uint8_t length[4]; /* length of returned data, in bytes */
3215 uint8_t length[4]; /* length of returned data, in bytes */
3216 uint8_t format_type; /* STG_PDF_LENGTH or STG_PDF_EXTENDED */
3217 uint8_t implicit_transition_time;
3218 uint8_t reserved[2];
3224 uint8_t opcode;
3225 uint8_t security_protocol;
3236 uint8_t security_protocol_specific[2];
3237 uint8_t byte4;
3239 uint8_t reserved1;
3240 uint8_t length[4];
3241 uint8_t reserved2;
3242 uint8_t control;
3247 uint8_t opcode;
3248 uint8_t security_protocol;
3249 uint8_t security_protocol_specific[2];
3250 uint8_t byte4;
3252 uint8_t reserved1;
3253 uint8_t length[4];
3254 uint8_t reserved2;
3255 uint8_t control;
3278 uint8_t error_code;
3284 uint8_t sense_buf[SSD_FULL_SIZE - 1];
3300 uint8_t error_code;
3305 uint8_t segment;
3306 uint8_t flags;
3328 uint8_t info[4];
3329 uint8_t extra_len;
3330 uint8_t cmd_spec_info[4];
3331 uint8_t add_sense_code;
3332 uint8_t add_sense_code_qual;
3333 uint8_t fru;
3334 uint8_t sense_key_spec[3];
3339 uint8_t extra_bytes[14];
3356 uint8_t error_code;
3359 uint8_t sense_key;
3360 uint8_t add_sense_code;
3361 uint8_t add_sense_code_qual;
3362 uint8_t flags;
3364 uint8_t reserved[2];
3369 uint8_t extra_len;
3370 uint8_t sense_desc[0];
3378 uint8_t desc_type;
3379 uint8_t length;
3393 uint8_t desc_type;
3395 uint8_t length;
3396 uint8_t byte2;
3398 uint8_t reserved;
3399 uint8_t info[8];
3414 uint8_t desc_type;
3416 uint8_t length;
3417 uint8_t reserved[2];
3418 uint8_t command_info[8];
3429 uint8_t desc_type;
3431 uint8_t length;
3432 uint8_t reserved1[2];
3433 uint8_t sense_key_spec[3];
3435 uint8_t reserved2;
3443 uint8_t byte0;
3448 uint8_t field[2];
3457 uint8_t byte0;
3459 uint8_t actual_retry_count[2];
3467 uint8_t byte0;
3469 uint8_t progress[2];
3478 uint8_t byte0;
3483 uint8_t field[2];
3494 uint8_t byte0;
3497 uint8_t reserved[2];
3508 uint8_t desc_type;
3510 uint8_t length;
3511 uint8_t reserved;
3512 uint8_t fru;
3523 uint8_t desc_type;
3525 uint8_t length;
3526 uint8_t reserved;
3527 uint8_t byte3;
3545 uint8_t desc_type;
3547 uint8_t length;
3548 uint8_t reserved;
3549 uint8_t byte3;
3560 uint8_t desc_type;
3562 uint8_t length;
3563 uint8_t reserved[6];
3568 uint8_t not_init_cmds[4];
3569 uint8_t completed_cmds[4];
3570 uint8_t partition_id[8];
3571 uint8_t object_id[8];
3581 uint8_t desc_type;
3583 uint8_t length;
3584 uint8_t integ_check_val[32];
3594 uint8_t desc_type;
3596 uint8_t length;
3597 uint8_t reserved[2];
3598 uint8_t attr_desc[0];
3607 uint8_t desc_type;
3609 uint8_t length;
3610 uint8_t flags;
3612 uint8_t error;
3613 uint8_t count_15_8;
3614 uint8_t count_7_0;
3615 uint8_t lba_31_24;
3616 uint8_t lba_7_0;
3617 uint8_t lba_39_32;
3618 uint8_t lba_15_8;
3619 uint8_t lba_47_40;
3620 uint8_t lba_23_16;
3621 uint8_t device;
3622 uint8_t status;
3631 uint8_t desc_type;
3633 uint8_t length;
3634 uint8_t sense_key;
3635 uint8_t add_sense_code;
3636 uint8_t add_sense_code_qual;
3637 uint8_t reserved;
3638 uint8_t progress[2];
3648 uint8_t desc_type;
3650 uint8_t length;
3651 uint8_t byte2;
3657 uint8_t status;
3658 uint8_t sense_data[];
3667 uint8_t desc_type;
3670 uint8_t length;
3671 uint8_t data[0];
3676 uint8_t data_length; /* Sense data length */
3677 uint8_t medium_type;
3678 uint8_t dev_spec;
3679 uint8_t blk_desc_len;
3684 uint8_t data_length[2];/* Sense data length */
3685 uint8_t medium_type;
3686 uint8_t dev_spec;
3687 uint8_t flags;
3689 uint8_t unused;
3690 uint8_t blk_desc_len[2];
3695 uint8_t page_code;
3699 uint8_t page_length;
3704 uint8_t page_code;
3705 uint8_t subpage;
3706 uint8_t page_length[2];
3711 uint8_t density;
3712 uint8_t nblocks[3];
3713 uint8_t reserved;
3714 uint8_t blklen[3];
3736 uint8_t type;
3737 uint8_t media_type;
3746 uint8_t type;
3747 uint8_t media_type;
3762 uint8_t sense_key;
3768 uint8_t asc;
3769 uint8_t ascq;
3775 uint8_t opcode;
3829 uint8_t *scsi_find_desc(struct scsi_sense_data_desc *sense, u_int sense_len,
3830 uint8_t desc_type);
3841 uint8_t info_type, uint64_t *info,
3844 uint8_t *sks);
3847 uint8_t *block_bits);
3850 uint8_t *stream_bits);
3851 void scsi_info_sbuf(struct sbuf *sb, uint8_t *cdb, int cdb_len,
3853 void scsi_command_sbuf(struct sbuf *sb, uint8_t *cdb, int cdb_len,
3856 int scsi_sks_sbuf(struct sbuf *sb, int sense_key, uint8_t *sks);
3858 void scsi_stream_sbuf(struct sbuf *sb, uint8_t stream_bits);
3859 void scsi_block_sbuf(struct sbuf *sb, uint8_t block_bits);
3861 u_int sense_len, uint8_t *cdb, int cdb_len,
3866 u_int sense_len, uint8_t *cdb, int cdb_len,
3870 u_int sense_len, uint8_t *cdb, int cdb_len,
3874 u_int sense_len, uint8_t *cdb, int cdb_len,
3878 u_int sense_len, uint8_t *cdb, int cdb_len,
3882 u_int sense_len, uint8_t *cdb, int cdb_len,
3886 u_int sense_len, uint8_t *cdb, int cdb_len,
3890 u_int sense_len, uint8_t *cdb, int cdb_len,
3894 u_int sense_len, uint8_t *cdb, int cdb_len,
3898 u_int sense_len, uint8_t *cdb, int cdb_len,
3902 u_int sense_len, uint8_t *cdb, int cdb_len,
3909 struct scsi_inquiry_data *inq_data, uint8_t *cdb,
3920 uint8_t page_id);
3936 char * scsi_cdb_string(uint8_t *cdb_ptr, char *cdb_string,
3938 void scsi_cdb_sbuf(uint8_t *cdb_ptr, struct sbuf *sb);
3950 typedef int (*scsi_devid_checkfn_t)(uint8_t *);
3951 int scsi_devid_is_naa_ieee_reg(uint8_t *bufp);
3952 int scsi_devid_is_sas_target(uint8_t *bufp);
3953 int scsi_devid_is_lun_eui64(uint8_t *bufp);
3954 int scsi_devid_is_lun_naa(uint8_t *bufp);
3955 int scsi_devid_is_lun_name(uint8_t *bufp);
3956 int scsi_devid_is_lun_t10(uint8_t *bufp);
3957 int scsi_devid_is_lun_md5(uint8_t *bufp);
3958 int scsi_devid_is_lun_uuid(uint8_t *bufp);
3959 int scsi_devid_is_port_naa(uint8_t *bufp);
4084 uint8_t tag_action,
4085 uint8_t sense_len, uint32_t timeout);
4090 void *data_ptr, uint8_t dxfer_len,
4091 uint8_t tag_action, uint8_t sense_len,
4096 uint8_t tag_action, uint8_t *inq_buf,
4097 uint32_t inq_len, int evpd, uint8_t page_code,
4098 uint8_t sense_len, uint32_t timeout);
4102 uint8_t tag_action, int dbd, uint8_t pc, uint8_t page,
4103 uint8_t *param_buf, uint32_t param_len,
4104 uint8_t sense_len, uint32_t timeout);
4108 uint8_t tag_action, int dbd, uint8_t pc, uint8_t page,
4109 uint8_t *param_buf, uint32_t param_len,
4110 int minimum_cmd_size, uint8_t sense_len, uint32_t timeout);
4115 uint8_t tag_action, int dbd, uint8_t pc,
4116 uint8_t page, uint8_t subpage,
4117 uint8_t *param_buf, uint32_t param_len,
4118 int minimum_cmd_size, uint8_t sense_len, uint32_t timeout);
4123 uint8_t tag_action, int scsi_page_fmt,
4124 int save_pages, uint8_t *param_buf,
4125 uint32_t param_len, uint8_t sense_len,
4131 uint8_t tag_action, int scsi_page_fmt,
4132 int save_pages, uint8_t *param_buf,
4134 uint8_t sense_len, uint32_t timeout);
4138 uint8_t tag_action, uint8_t page_code,
4139 uint8_t page, int save_pages, int ppc,
4140 uint32_t paramptr, uint8_t *param_buf,
4141 uint32_t param_len, uint8_t sense_len,
4146 union ccb *), uint8_t tag_action,
4147 uint8_t page_code, int save_pages,
4148 int pc_reset, uint8_t *param_buf,
4149 uint32_t param_len, uint8_t sense_len,
4154 uint8_t tag_action, uint8_t action,
4155 uint8_t sense_len, uint32_t timeout);
4159 union ccb *), uint8_t tag_action,
4161 uint8_t sense_len, uint32_t timeout);
4164 union ccb *), uint8_t tag_action,
4166 uint8_t *rcap_buf, int rcap_buf_len,
4167 uint8_t sense_len, uint32_t timeout);
4171 union ccb *), uint8_t tag_action,
4172 uint8_t select_report,
4174 uint32_t alloc_len, uint8_t sense_len,
4179 union ccb *), uint8_t tag_action,
4180 uint8_t pdf,
4182 uint32_t alloc_len, uint8_t sense_len,
4187 union ccb *), uint8_t tag_action,
4188 uint8_t pdf,
4190 uint32_t alloc_len, uint8_t sense_len,
4195 union ccb *), uint8_t tag_action, void *buf,
4196 uint32_t alloc_len, uint8_t sense_len,
4199 void scsi_create_timestamp(uint8_t *timestamp_6b_buf,
4204 union ccb *), uint8_t tag_action,
4206 uint8_t sense_len, uint32_t timeout);
4211 union ccb *), uint8_t tag_action,
4213 uint8_t sense_len, uint32_t timeout);
4218 uint8_t tag_action, int pcv,
4219 uint8_t page_code, uint8_t *data_ptr,
4221 uint8_t sense_len, uint32_t timeout);
4225 uint8_t tag_action, int unit_offline,
4227 int self_test_code, uint8_t *data_ptr,
4228 uint16_t param_list_length, uint8_t sense_len,
4233 uint8_t tag_action, uint8_t *data_ptr,
4234 uint16_t allocation_length, uint8_t report_type,
4236 uint8_t sense_len, uint32_t timeout);
4240 uint8_t tag_action,
4242 uint8_t sense_len, uint32_t timeout);
4246 uint8_t tag_action,
4247 uint8_t sense_len, uint32_t timeout);
4251 uint8_t tag_action, int mode,
4252 uint8_t buffer_id, uint32_t offset,
4253 uint8_t *data_ptr, uint32_t allocation_length,
4254 uint8_t sense_len, uint32_t timeout);
4258 uint8_t tag_action, int mode,
4259 uint8_t buffer_id, uint32_t offset,
4260 uint8_t *data_ptr, uint32_t param_list_length,
4261 uint8_t sense_len, uint32_t timeout);
4269 uint8_t tag_action, int readop, uint8_t byte2,
4271 uint32_t block_count, uint8_t *data_ptr,
4272 uint32_t dxfer_len, uint8_t sense_len,
4277 uint8_t tag_action, uint8_t byte2,
4279 uint32_t block_count, uint8_t *data_ptr,
4280 uint32_t dxfer_len, uint8_t sense_len,
4285 uint8_t tag_action, uint8_t *data_ptr,
4286 uint16_t dxfer_len, uint8_t sense_len,
4291 uint8_t tag_action, uint16_t block_count,
4292 uint8_t *data_ptr, uint16_t dxfer_len,
4293 uint8_t sense_len, uint32_t timeout);
4297 uint8_t tag_action, uint32_t log_address,
4299 uint8_t protocol, uint8_t *data_ptr, uint32_t dxfer_len,
4300 uint8_t sense_len, uint32_t timeout);
4304 uint8_t tag_action, uint8_t feature,
4306 uint8_t sense_len, uint32_t timeout);
4310 uint32_t flags, uint8_t tag_action,
4311 uint8_t protocol, uint8_t ata_flags, uint16_t features,
4312 uint16_t sector_count, uint64_t lba, uint8_t command,
4313 uint8_t device, uint8_t icc, uint32_t auxiliary,
4314 uint8_t control, uint8_t *data_ptr, uint32_t dxfer_len,
4315 uint8_t *cdb_storage, size_t cdb_storage_len,
4316 int minimum_cmd_size, uint8_t sense_len, uint32_t timeout);
4320 uint32_t flags, uint8_t tag_action,
4321 uint8_t protocol, uint8_t ata_flags, uint16_t features,
4322 uint16_t sector_count, uint64_t lba, uint8_t command,
4323 uint8_t control, uint8_t *data_ptr, uint16_t dxfer_len,
4324 uint8_t sense_len, uint32_t timeout);
4328 uint8_t tag_action, uint8_t byte2,
4329 uint8_t *data_ptr, uint16_t dxfer_len,
4330 uint8_t sense_len, uint32_t timeout);
4334 uint8_t tag_action, int start, int load_eject,
4335 int immediate, uint8_t sense_len, uint32_t timeout);
4338 uint8_t tag_action, uint8_t service_action,
4339 uint32_t element, uint8_t elem_type,
4341 uint32_t first_attribute, int cache, uint8_t *data_ptr,
4345 uint8_t tag_action, uint32_t element,
4346 int logical_volume, int partition, int wtc, uint8_t *data_ptr,
4351 uint8_t tag_action, uint32_t security_protocol,
4353 uint8_t *data_ptr, uint32_t dxfer_len,
4358 uint8_t tag_action, uint32_t security_protocol,
4360 uint8_t *data_ptr, uint32_t dxfer_len,
4365 uint8_t tag_action, int service_action,
4366 uint8_t *data_ptr, uint32_t dxfer_len,
4372 uint8_t tag_action, int service_action,
4373 int scope, int res_type, uint8_t *data_ptr,
4380 uint8_t tag_action, int options,
4382 uint8_t *data_ptr, uint32_t dxfer_len,
4388 int scsi_devid_match(uint8_t *rhs, size_t rhs_len,
4389 uint8_t *lhs, size_t lhs_len);
4406 scsi_ulto2b(uint32_t val, uint8_t *bytes) in scsi_ulto2b()
4414 scsi_ulto3b(uint32_t val, uint8_t *bytes) in scsi_ulto3b()
4423 scsi_ulto4b(uint32_t val, uint8_t *bytes) in scsi_ulto4b()
4433 scsi_u64to8b(uint64_t val, uint8_t *bytes) in scsi_u64to8b()
4447 scsi_2btoul(const uint8_t *bytes) in scsi_2btoul()
4457 scsi_3btoul(const uint8_t *bytes) in scsi_3btoul()
4468 scsi_3btol(const uint8_t *bytes) in scsi_3btol()
4479 scsi_4btoul(const uint8_t *bytes) in scsi_4btoul()
4491 scsi_8btou64(const uint8_t *bytes) in scsi_8btou64()
4515 page_start = (void *)((uint8_t *)&mode_header[1] + in find_mode_page_6()
4526 page_start = (void *)((uint8_t *)&mode_header[1] + in find_mode_page_10()