/third_party/f2fs-tools/tools/sg_write_buffer/ |
D | sg_cmds_extra.c | 142 unsigned char sense_b[SENSE_BUFF_LEN]; in sg_ll_get_lba_status16() local 162 set_scsi_pt_sense(ptvp, sense_b, sizeof(sense_b)); in sg_ll_get_lba_status16() 165 ret = sg_cmds_process_resp(ptvp, cdb_name_s, res, alloc_len, sense_b, in sg_ll_get_lba_status16() 219 unsigned char sense_b[SENSE_BUFF_LEN]; in sg_ll_get_lba_status32() local 241 set_scsi_pt_sense(ptvp, sense_b, sizeof(sense_b)); in sg_ll_get_lba_status32() 244 ret = sg_cmds_process_resp(ptvp, cdb_name_s, res, alloc_len, sense_b, in sg_ll_get_lba_status32() 298 unsigned char sense_b[SENSE_BUFF_LEN]; in sg_ll_report_tgt_prt_grp2() local 314 set_scsi_pt_sense(ptvp, sense_b, sizeof(sense_b)); in sg_ll_report_tgt_prt_grp2() 317 ret = sg_cmds_process_resp(ptvp, cdb_name_s, res, mx_resp_len, sense_b, in sg_ll_report_tgt_prt_grp2() 363 unsigned char sense_b[SENSE_BUFF_LEN]; in sg_ll_set_tgt_prt_grp() local [all …]
|
D | sg_cmds_basic2.c | 112 unsigned char sense_b[SENSE_BUFF_LEN]; in sg_ll_sync_cache_10() local 136 set_scsi_pt_sense(ptvp, sense_b, sizeof(sense_b)); in sg_ll_sync_cache_10() 138 ret = sg_cmds_process_resp(ptvp, cdb_name_s, res, SG_NO_DATA_IN, sense_b, in sg_ll_sync_cache_10() 173 unsigned char sense_b[SENSE_BUFF_LEN]; in sg_ll_readcap_16() local 191 set_scsi_pt_sense(ptvp, sense_b, sizeof(sense_b)); in sg_ll_readcap_16() 194 ret = sg_cmds_process_resp(ptvp, cdb_name_s, res, mx_resp_len, sense_b, in sg_ll_readcap_16() 228 unsigned char sense_b[SENSE_BUFF_LEN]; in sg_ll_readcap_10() local 244 set_scsi_pt_sense(ptvp, sense_b, sizeof(sense_b)); in sg_ll_readcap_10() 247 ret = sg_cmds_process_resp(ptvp, cdb_name_s, res, mx_resp_len, sense_b, in sg_ll_readcap_10() 281 unsigned char sense_b[SENSE_BUFF_LEN]; in sg_ll_mode_sense6() local [all …]
|
D | sg_cmds_mmc.c | 82 unsigned char sense_b[SENSE_BUFF_LEN]; in sg_ll_set_cd_speed() local 98 set_scsi_pt_sense(ptvp, sense_b, sizeof(sense_b)); in sg_ll_set_cd_speed() 100 ret = sg_cmds_process_resp(ptvp, cdb_name_s, res, SG_NO_DATA_IN, sense_b, in sg_ll_set_cd_speed() 143 unsigned char sense_b[SENSE_BUFF_LEN]; in sg_ll_get_config() local 172 set_scsi_pt_sense(ptvp, sense_b, sizeof(sense_b)); in sg_ll_get_config() 176 sense_b, noisy, verbose, &sense_cat); in sg_ll_get_config() 237 unsigned char sense_b[SENSE_BUFF_LEN]; in sg_ll_get_performance() local 267 set_scsi_pt_sense(ptvp, sense_b, sizeof(sense_b)); in sg_ll_get_performance() 270 ret = sg_cmds_process_resp(ptvp, cdb_name_s, res, mx_resp_len, sense_b, in sg_ll_get_performance() 332 unsigned char sense_b[SENSE_BUFF_LEN]; in sg_ll_set_streaming() local [all …]
|
D | sg_cmds_basic.c | 343 unsigned char sense_b[SENSE_BUFF_LEN]; in sg_ll_inquiry_com() local 376 set_scsi_pt_sense(ptvp, sense_b, sizeof(sense_b)); in sg_ll_inquiry_com() 379 ret = sg_cmds_process_resp(ptvp, inquiry_s, res, mx_resp_len, sense_b, in sg_ll_inquiry_com() 494 unsigned char sense_b[SENSE_BUFF_LEN]; in sg_ll_test_unit_ready_progress() local 507 set_scsi_pt_sense(ptvp, sense_b, sizeof(sense_b)); in sg_ll_test_unit_ready_progress() 510 ret = sg_cmds_process_resp(ptvp, tur_s, res, SG_NO_DATA_IN, sense_b, in sg_ll_test_unit_ready_progress() 521 if (! sg_get_sense_progress_fld(sense_b, slen, progress)) in sg_ll_test_unit_ready_progress() 561 unsigned char sense_b[SENSE_BUFF_LEN]; in sg_ll_request_sense() local 581 set_scsi_pt_sense(ptvp, sense_b, sizeof(sense_b)); in sg_ll_request_sense() 584 ret = sg_cmds_process_resp(ptvp, rq_s, res, mx_resp_len, sense_b, noisy, in sg_ll_request_sense() [all …]
|
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | scsimain.c | 886 unsigned char sense_b[SENSE_BUFF_LEN]; in do_logs() local 903 io_hdr.mx_sb_len = sizeof(sense_b); in do_logs() 908 io_hdr.sbp = sense_b; in do_logs() 1569 unsigned char sense_b[SENSE_BUFF_LEN]; in do_inquiry() local 1576 io_hdr.mx_sb_len = sizeof(sense_b); in do_inquiry() 1865 unsigned char sense_b[64]; in read_capacity() local 1871 io_hdr.mx_sb_len = sizeof(sense_b); in read_capacity() 1876 io_hdr.sbp = sense_b; in read_capacity() 1904 unsigned char sense_b[64]; in sync_cache() local 1910 io_hdr.mx_sb_len = sizeof(sense_b); in sync_cache() [all …]
|
/third_party/f2fs-tools/tools/sg_write_buffer/include/ |
D | sg_cmds_basic.h | 298 const unsigned char * sense_b, bool noisy,
|