Home
last modified time | relevance | path

Searched refs:sg_get_unaligned_be16 (Results 1 – 4 of 4) sorted by relevance

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_lib.c465 *progress_outp = sg_get_unaligned_be16(sbp + 16); in sg_get_sense_progress_fld()
477 *progress_outp = sg_get_unaligned_be16(bp + 5); in sg_get_sense_progress_fld()
482 *progress_outp = sg_get_unaligned_be16(bp + 6); in sg_get_sense_progress_fld()
562 "address: 0x%x\n", lip, sg_get_unaligned_be16(bp + 2)); in sg_decode_transportid_str()
568 sg_get_unaligned_be16(bp + 6)); in sg_decode_transportid_str()
598 num = sg_get_unaligned_be16(bp + 2); in sg_decode_transportid_str()
644 num = sg_get_unaligned_be16(bp + 2); in sg_decode_transportid_str()
1003 d_id = sg_get_unaligned_be16(ip + 2); in sg_get_designation_descriptor_str()
1015 d_id = sg_get_unaligned_be16(ip + 2); in sg_get_designation_descriptor_str()
1027 d_id = sg_get_unaligned_be16(ip + 2); in sg_get_designation_descriptor_str()
[all …]
Dsg_pt_linux_nvme.c440 alloc_len = sg_get_unaligned_be16(cdbp + 3); in sntl_inq()
767 alloc_len = sg_get_unaligned_be16(cdbp + 3); /* parameter list length */ in sntl_senddiag()
806 dpg_len = sg_get_unaligned_be16(dop + 2) + 4; in sntl_senddiag()
850 alloc_len = sg_get_unaligned_be16(cdbp + 3); /* parameter list length */ in sntl_recvdiag()
942 req_sa = sg_get_unaligned_be16(cdbp + 4); in sntl_rep_opcodes()
Dsg_cmds_basic2.c600 calc_len = sg_get_unaligned_be16(resp) + 2; in sg_mode_page_offset()
601 bd_len = sg_get_unaligned_be16(resp + 6); in sg_mode_page_offset()
643 calc_len = sg_get_unaligned_be16(resp + 0) + 2; in sg_msense_calc_length()
646 *bd_lenp = mode_sense_6 ? resp[3] : sg_get_unaligned_be16(resp + 6); in sg_msense_calc_length()
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_unaligned.h72 static inline uint16_t sg_get_unaligned_be16(const void *p) in sg_get_unaligned_be16() function