| /external/sg3_utils/lib/ | 
| D | sg_cmds_extra.c | 122 sg_ll_get_lba_status16(int sg_fd, uint64_t start_llba, uint8_t rt,  in sg_ll_get_lba_status16() 187 sg_ll_get_lba_status(int sg_fd, uint64_t start_llba, void * resp,  in sg_ll_get_lba_status() 197 sg_ll_get_lba_status32(int sg_fd, uint64_t start_llba, uint32_t scan_len,  in sg_ll_get_lba_status32() 266 sg_ll_report_tgt_prt_grp(int sg_fd, void * resp, int mx_resp_len,  in sg_ll_report_tgt_prt_grp() 276 sg_ll_report_tgt_prt_grp2(int sg_fd, void * resp, int mx_resp_len,  in sg_ll_report_tgt_prt_grp2() 341 sg_ll_set_tgt_prt_grp(int sg_fd, void * paramp, int param_len, bool noisy,  in sg_ll_set_tgt_prt_grp() 396 sg_ll_report_referrals(int sg_fd, uint64_t start_llba, bool one_seg,  in sg_ll_report_referrals() 466 sg_ll_send_diag_com(struct sg_pt_base * ptvp, int sg_fd, int st_code,  in sg_ll_send_diag_com() 572 sg_ll_send_diag(int sg_fd, int st_code, bool pf_bit, bool st_bit,  in sg_ll_send_diag() 584 sg_ll_receive_diag_com(struct sg_pt_base * ptvp, int sg_fd, bool pcv,  in sg_ll_receive_diag_com() [all …] 
 | 
| D | sg_cmds_basic2.c | 88 sg_ll_sync_cache_10(int sg_fd, bool sync_nv, bool immed, int group,  in sg_ll_sync_cache_10() 149 sg_ll_readcap_16(int sg_fd, bool pmi, uint64_t llba, void * resp,  in sg_ll_readcap_16() 205 sg_ll_readcap_10(int sg_fd, bool pmi, unsigned int lba, void * resp,  in sg_ll_readcap_10() 258 sg_ll_mode_sense6(int sg_fd, bool dbd, int pc, int pg_code, int sub_pg_code,  in sg_ll_mode_sense6() 337 sg_ll_mode_sense10(int sg_fd, bool llbaa, bool dbd, int pc, int pg_code,  in sg_ll_mode_sense10() 355 sg_ll_mode_sense10_v2(int sg_fd, bool llbaa, bool dbd, int pc, int pg_code,  in sg_ll_mode_sense10_v2() 444 sg_ll_mode_select6_v2(int sg_fd, bool pf, bool rtd, bool sp, void * paramp,  in sg_ll_mode_select6_v2() 504 sg_ll_mode_select6(int sg_fd, bool pf, bool sp, void * paramp, int param_len,  in sg_ll_mode_select6() 515 sg_ll_mode_select10_v2(int sg_fd, bool pf, bool rtd, bool sp, void * paramp,  in sg_ll_mode_select10_v2() 575 sg_ll_mode_select10(int sg_fd, bool pf, bool sp, void * paramp,  in sg_ll_mode_select10() [all …] 
 | 
| D | sg_cmds_basic.c | 378 sg_ll_inquiry_com(struct sg_pt_base * ptvp, int sg_fd, bool cmddt, bool evpd,  in sg_ll_inquiry_com() 492 sg_ll_inquiry(int sg_fd, bool cmddt, bool evpd, int pg_op, void * resp,  in sg_ll_inquiry() 512 sg_ll_inquiry_v2(int sg_fd, bool evpd, int pg_op, void * resp,  in sg_ll_inquiry_v2() 537 sg_simple_inquiry(int sg_fd, struct sg_simple_inquiry_resp * inq_data,  in sg_simple_inquiry() 626 sg_ll_test_unit_ready_com(struct sg_pt_base * ptvp, int sg_fd, int pack_id,  in sg_ll_test_unit_ready_com() 708 sg_ll_test_unit_ready_progress(int sg_fd, int pack_id, int * progress,  in sg_ll_test_unit_ready_progress() 720 sg_ll_test_unit_ready(int sg_fd, int pack_id, bool noisy, int verbose)  in sg_ll_test_unit_ready() 736 sg_ll_request_sense_com(struct sg_pt_base * ptvp, int sg_fd, bool desc,  in sg_ll_request_sense_com() 817 sg_ll_request_sense(int sg_fd, bool desc, void * resp, int mx_resp_len,  in sg_ll_request_sense() 835 sg_ll_report_luns_com(struct sg_pt_base * ptvp, int sg_fd, int select_report,  in sg_ll_report_luns_com() [all …] 
 | 
| D | sg_cmds_mmc.c | 59 sg_ll_set_cd_speed(int sg_fd, int rot_control, int drv_read_speed,  in sg_ll_set_cd_speed() 121 sg_ll_get_config(int sg_fd, int rt, int starting, void * resp,  in sg_ll_get_config() 215 sg_ll_get_performance(int sg_fd, int data_type, unsigned int starting_lba,  in sg_ll_get_performance() 312 sg_ll_set_streaming(int sg_fd, int type, void * paramp, int param_len,  in sg_ll_set_streaming()
  | 
| /external/sg3_utils/src/ | 
| D | sg_safte.c | 78 read_safte_configuration(int sg_fd, uint8_t *rb_buff,  in read_safte_configuration() 130 do_safte_encl_status(int sg_fd, int do_hex, int do_raw, int verbose)  in do_safte_encl_status() 272 do_safte_usage_statistics(int sg_fd, int do_hex, int do_raw, int verbose)  in do_safte_usage_statistics() 318 do_safte_slot_insertions(int sg_fd, int do_hex, int do_raw, int verbose)  in do_safte_slot_insertions() 362 do_safte_slot_status(int sg_fd, int do_hex, int do_raw, int verbose)  in do_safte_slot_status() 411 do_safte_global_flags(int sg_fd, int do_hex, int do_raw, int verbose)  in do_safte_global_flags() 522     int sg_fd = -1;  in main()  local
  | 
| D | sg_test_rwbuf.c | 93 find_out_about_buffer(int sg_fd)  in find_out_about_buffer() 233 int read_buffer (int sg_fd, unsigned ssize)  in read_buffer() 297 int write_buffer (int sg_fd, unsigned ssize)  in write_buffer() 397         int sg_fd, res;  in main()  local
  | 
| D | sg_write_verify.c | 126 run_scsi_transaction(int sg_fd, const uint8_t *cdbp, int cdb_len,  in run_scsi_transaction() 201 sg_ll_write_verify10(int sg_fd, int wrprotect, bool dpo, int bytchk,  in sg_ll_write_verify10() 228 sg_ll_write_verify16(int sg_fd, int wrprotect, bool dpo, int bytchk,  in sg_ll_write_verify16() 288     int sg_fd, res, c, n;  in main()  local
  | 
| D | sg_bg_ctl.c | 89 sg_ll_background_control(int sg_fd, unsigned int bo_ctl, unsigned int bo_time,  in sg_ll_background_control() 148     int sg_fd = -1;  in main()  local
  | 
| D | sg_stream_ctl.c | 112 sg_ll_get_stream_status(int sg_fd, uint16_t s_str_id, uint8_t * resp,  in sg_ll_get_stream_status() 180 sg_ll_stream_control(int sg_fd, uint32_t str_ctl, uint16_t str_id,  in sg_ll_stream_control() 258     int sg_fd = -1;  in main()  local
  | 
| D | sg_timestamp.c | 194 sg_ll_rep_timestamp(int sg_fd, void * resp, int mx_resp_len, int * residp,  in sg_ll_rep_timestamp() 256 sg_ll_set_timestamp(int sg_fd, void * paramp, int param_len, bool noisy,  in sg_ll_set_timestamp() 332     int sg_fd = 1;  in main()  local
  | 
| D | sg_reset_wp.c | 85 sg_ll_reset_write_pointer(int sg_fd, uint64_t zid, uint16_t zc, bool all,  in sg_ll_reset_write_pointer() 146     int sg_fd = -1;  in main()  local
  | 
| D | sg_read_long.c | 95 process_read_long(int sg_fd, bool do_16, bool pblock, bool correct,  in process_read_long() 136     int sg_fd = -1;  in main()  local
  | 
| D | sg_sync.c | 96 sg_ll_sync_cache_16(int sg_fd, bool sync_nv, bool immed, int group,  in sg_ll_sync_cache_16() 163     int sg_fd = -1;  in main()  local
  | 
| D | sg_rem_rest_elem.c | 97 sg_ll_rem_rest_elem(int sg_fd, int sa, uint64_t req_cap, uint32_t e_id,  in sg_ll_rem_rest_elem() 163     int sg_fd = -1;  in main()  local
  | 
| D | sg_rep_pip.c | 98 sg_ll_report_pip(int sg_fd, void * resp, int mx_resp_len, int * residp,  in sg_ll_report_pip() 167     int sg_fd = -1;  in main()  local
  | 
| D | sg_sat_set_features.c | 111 do_set_features(int sg_fd, int feature, int count, uint64_t lba,  in do_set_features() 311     int sg_fd = -1;  in main()  local
  | 
| D | sg_zone.c | 133 sg_ll_zone_out(int sg_fd, int sa, uint64_t zid, uint16_t zc, bool all,  in sg_ll_zone_out() 208     int sg_fd = -1;  in main()  local
  | 
| D | sg_persist.c | 275 prin_work(int sg_fd, const struct opts_t * op)  in prin_work() 479 prout_work(int sg_fd, struct opts_t * op)  in prout_work() 538 prout_reg_move_work(int sg_fd, struct opts_t * op)  in prout_reg_move_work() 952     int sg_fd = -1;  in main()  local
  | 
| /external/sg3_utils/testing/ | 
| D | sg_queue_tst.c | 80 set_nanosecs(int sg_fd)  in set_nanosecs() 103     int sg_fd, k, ok;  in main()  local
  | 
| D | sg_iovec_tst.cpp | 146 sg_read(int sg_fd, uint8_t * buff, int num_blocks, int from_block, int bs,  in sg_read() 250 sg_read_v4(int sg_fd, uint8_t * buff, int num_blocks, int from_block, int bs,  in sg_read_v4() 358     int sg_fd, fd, c, res, res2, err, dxfer_len;  in main()  local
  | 
| D | sg_tst_async.cpp | 458 start_sg3_cmd(int sg_fd, command2execute cmd2exe, int pack_id, uint64_t lba,  in start_sg3_cmd() 548 finish_sg3_cmd(int sg_fd, command2execute cmd2exe, int & pack_id,  in finish_sg3_cmd() 644 start_sg4_cmd(int sg_fd, command2execute cmd2exe, int pack_id, uint64_t lba,  in start_sg4_cmd() 726 finish_sg4_cmd(int sg_fd, command2execute cmd2exe, int & pack_id,  in finish_sg4_cmd() 824 num_submitted(int sg_fd)  in num_submitted() 866     int k, sg_fd, err, rs, n, sense_cat, ret;  in work_sync_thread()  local 969     int k, n, res, sg_fd, num_outstanding, do_inc, npt, pack_id, sg_flags;  in work_thread()  local 1608     int sg_fd, ok, ret;  in do_inquiry_prod_id()  local 1689     int res, sg_fd;  in do_read_capacity()  local
  | 
| D | sg_tst_bidi.c | 126 ext_ioctl(int sg_fd, bool nanosecs)  in ext_ioctl() 167     int sg_fd = -1;  in main()  local
  | 
| D | sg_tst_ioctl.c | 346 pr_create_dev_time(int sg_fd, const char * dev_name)  in pr_create_dev_time() 401 tst_extended_ioctl(const char * fnp, int sg_fd, const char * fn2p, int sg_fd2,  in tst_extended_ioctl() 629 do_mrqs(int sg_fd, int sg_fd2, int mrqs)  in do_mrqs() 777     int sg_fd = -1;  in main()  local
  | 
| /external/ltp/testcases/kernel/fs/scsi/ltpscsi/ | 
| D | scsimain.c | 641 	int sg_fd, res, k, f;  in run_sg_scan_tests()  local 830 int sg3_inq(int sg_fd, unsigned char *inqBuff, int do_extra)  in sg3_inq() 880 static int do_logs(int sg_fd, int ppc, int sp, int pc, int pg_code,  in do_logs() 1458 static int fetchTemperature(int sg_fd, int do_hex, unsigned char *resp,  in fetchTemperature() 1479 	int sg_fd, k, pg_len;  in show_scsi_logs()  local 1564 static int do_inquiry(int sg_fd, void *resp, int mx_resp_len)  in do_inquiry() 1672 		int sg_fd;  in leaf_dir()  local 1859 int read_capacity(int sg_fd, int *num_sect, int *sect_sz)  in read_capacity() 1898 int sync_cache(int sg_fd)  in sync_cache() 2028 int sg_read(int sg_fd, unsigned char *buff, int blocks, int from_block,  in sg_read() [all …] 
 | 
| /external/sg3_utils/examples/ | 
| D | sg_simple16.c | 36     int sg_fd, k, ok;  in main()  local
  |