/aosp_15_r20/external/sg3_utils/lib/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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()
|
/aosp_15_r20/external/sg3_utils/src/ |
H A 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
|
H A 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
|
H A 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
|
H A 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
|
H A 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
|
H A 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
|
H A D | sg_vpd.c | 1041 svpd_unable_to_decode(int sg_fd, struct opts_t * op, int subvalue, int off) in svpd_unable_to_decode() 1118 svpd_decode_t10(int sg_fd, struct opts_t * op, sgj_opaque_p jop, in svpd_decode_t10() 2100 svpd_decode_all(int sg_fd, struct opts_t * op, sgj_opaque_p jop) in svpd_decode_all() 2221 svpd_examine_all(int sg_fd, struct opts_t * op, sgj_opaque_p jop) in svpd_examine_all() 2289 int sg_fd = -1; in main() local
|
H A D | sgm_dd.c | 317 scsi_read_capacity(int sg_fd, int64_t * num_sect, int * sect_sz) in scsi_read_capacity() 353 read_blkdev_capacity(int sg_fd, int64_t * num_sect, int * sect_sz) in read_blkdev_capacity() 470 sg_read(int sg_fd, uint8_t * buff, int blocks, int64_t from_block, in sg_read() 567 sg_write(int sg_fd, uint8_t * buff, int blocks, int64_t to_block, in sg_write()
|
H A D | sg_inq.c | 2486 fetch_unit_serial_num(int sg_fd, char * obuff, int obuff_len, int verbose) in fetch_unit_serial_num() 2548 std_inq_process(int sg_fd, struct opts_t * op, sgj_opaque_p jop, int off) in std_inq_process() 2634 cmddt_process(int sg_fd, const struct opts_t * op) in cmddt_process() 2745 cmddt_process(int sg_fd, const struct opts_t * op) in cmddt_process() 2758 vpd_mainly_hex(int sg_fd, struct opts_t * op, sgj_opaque_p jap, int off) in vpd_mainly_hex() 2837 vpd_decode(int sg_fd, struct opts_t * op, sgj_opaque_p jop, int off) in vpd_decode() 4155 int sg_fd = -1; in main() local
|
H A 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
|
H A D | sg_senddiag.c | 420 do_senddiag(int sg_fd, int sf_code, bool pf_bit, bool sf_bit, in do_senddiag() 440 do_modes_0a(int sg_fd, void * resp, int mx_resp_len, bool mode6, bool noisy, in do_modes_0a() 680 int sg_fd = -1; in main() local
|
H A 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
|
H A 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
|
H A 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
|
H A D | sg_dd.c | 523 scsi_read_capacity(int sg_fd, int64_t * num_sect, int * sect_sz) in scsi_read_capacity() 562 read_blkdev_capacity(int sg_fd, int64_t * num_sect, int * sect_sz) in read_blkdev_capacity() 711 sg_read_low(int sg_fd, uint8_t * buff, int blocks, int64_t from_block, in sg_read_low() 854 sg_read(int sg_fd, uint8_t * buff, int blocks, int64_t from_block, in sg_read() 1121 sg_write(int sg_fd, uint8_t * buff, int blocks, int64_t to_block, in sg_write()
|
H A 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
|
/aosp_15_r20/external/sg3_utils/testing/ |
H A 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
|
H A 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
|
H A 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
|
H A D | sg_queue_tst.c | 80 set_nanosecs(int sg_fd) in set_nanosecs() 103 int sg_fd, k, ok; in main() local
|
H A D | sg_tst_excl.cpp | 189 int k, sg_fd; in do_rd_inc_wr_twice_v3() local 434 int k, sg_fd; in do_rd_inc_wr_twice_v4() local 694 int sg_fd, ok, ret; in do_inquiry_prod_id() local
|