HomeSort by relevance Sort by last modified time
    Searched full:sg_fd (Results 1 - 9 of 9) sorted by null

  /external/f2fs-tools/tools/sg_write_buffer/include/
sg_cmds_mmc.h 20 int sg_ll_get_config(int sg_fd, int rt, int starting, void * resp,
27 int sg_ll_get_performance(int sg_fd, int data_type, unsigned int starting_lba,
36 int sg_ll_set_cd_speed(int sg_fd, int rot_control, int drv_read_speed,
44 int sg_ll_set_streaming(int sg_fd, int type, void * paramp, int param_len,
sg_cmds_extra.h 45 int sg_ll_ata_pt(int sg_fd, const unsigned char * cdbp, int cdb_len,
57 int sg_ll_format_unit(int sg_fd, int fmtpinfo, bool longlist, bool fmtdata,
60 int sg_ll_format_unit2(int sg_fd, int fmtpinfo, bool longlist, bool fmtdata,
64 int sg_ll_format_unit_v2(int sg_fd, int fmtpinfo, bool longlist, bool fmtdata,
75 int sg_ll_get_lba_status(int sg_fd, uint64_t start_llba, void * resp,
77 int sg_ll_get_lba_status16(int sg_fd, uint64_t start_llba, uint8_t rt,
80 int sg_ll_get_lba_status32(int sg_fd, uint64_t start_llba, uint32_t scan_len,
89 int sg_ll_persistent_reserve_in(int sg_fd, int rq_servact, void * resp,
96 int sg_ll_persistent_reserve_out(int sg_fd, int rq_servact, int rq_scope,
104 int sg_ll_read_block_limits(int sg_fd, void * resp, int mx_resp_len
    [all...]
sg_cmds_basic.h 36 int sg_ll_inquiry(int sg_fd, bool cmddt, bool evpd, int pg_op, void * resp,
51 sg_ll_inquiry_v2(int sg_fd, bool evpd, int pg_op, void * resp,
60 int sg_ll_log_select(int sg_fd, bool pcr, bool sp, int pc, int pg_code,
69 int sg_ll_log_sense(int sg_fd, bool ppc, bool sp, int pc, int pg_code,
75 int sg_ll_log_sense_v2(int sg_fd, bool ppc, bool sp, int pc, int pg_code,
85 int sg_ll_mode_select6(int sg_fd, bool pf, bool sp, void * paramp,
93 int sg_ll_mode_select10(int sg_fd, bool pf, bool sp, void * paramp,
101 int sg_ll_mode_sense6(int sg_fd, bool dbd, int pc, int pg_code,
110 int sg_ll_mode_sense10(int sg_fd, bool llbaa, bool dbd, int pc, int pg_code,
116 int sg_ll_mode_sense10_v2(int sg_fd, bool llbaa, bool dbd, int pc
    [all...]
  /external/f2fs-tools/tools/sg_write_buffer/
sg_cmds_basic2.c 104 sg_ll_sync_cache_10(int sg_fd, bool sync_nv, bool immed, int group,
137 res = do_scsi_pt(ptvp, sg_fd, DEF_PT_TIMEOUT, verbose);
165 sg_ll_readcap_16(int sg_fd, bool pmi, uint64_t llba, void * resp,
193 res = do_scsi_pt(ptvp, sg_fd, DEF_PT_TIMEOUT, verbose);
221 sg_ll_readcap_10(int sg_fd, bool pmi, unsigned int lba, void * resp,
246 res = do_scsi_pt(ptvp, sg_fd, DEF_PT_TIMEOUT, verbose);
274 sg_ll_mode_sense6(int sg_fd, bool dbd, int pc, int pg_code, int sub_pg_code,
303 res = do_scsi_pt(ptvp, sg_fd, DEF_PT_TIMEOUT, verbose);
353 sg_ll_mode_sense10(int sg_fd, bool llbaa, bool dbd, int pc, int pg_code,
357 return sg_ll_mode_sense10_v2(sg_fd, llbaa, dbd, pc, pg_code, sub_pg_code
    [all...]
sg_cmds_extra.c 136 sg_ll_get_lba_status16(int sg_fd, uint64_t start_llba, uint8_t rt,
164 res = do_scsi_pt(ptvp, sg_fd, DEF_PT_TIMEOUT, verbose);
201 sg_ll_get_lba_status(int sg_fd, uint64_t start_llba, void * resp,
204 return sg_ll_get_lba_status16(sg_fd, start_llba, /* rt = */ 0x0, resp,
211 sg_ll_get_lba_status32(int sg_fd, uint64_t start_llba, uint32_t scan_len,
243 res = do_scsi_pt(ptvp, sg_fd, DEF_PT_TIMEOUT, verbose);
280 sg_ll_report_tgt_prt_grp(int sg_fd, void * resp, int mx_resp_len,
283 return sg_ll_report_tgt_prt_grp2(sg_fd, resp, mx_resp_len, false, noisy,
290 sg_ll_report_tgt_prt_grp2(int sg_fd, void * resp, int mx_resp_len,
316 res = do_scsi_pt(ptvp, sg_fd, DEF_PT_TIMEOUT, verbose)
    [all...]
sg_cmds_mmc.c 75 sg_ll_set_cd_speed(int sg_fd, int rot_control, int drv_read_speed,
99 res = do_scsi_pt(ptvp, sg_fd, DEF_PT_TIMEOUT, verbose);
136 sg_ll_get_config(int sg_fd, int rt, int starting, void * resp,
174 res = do_scsi_pt(ptvp, sg_fd, DEF_PT_TIMEOUT, verbose);
229 sg_ll_get_performance(int sg_fd, int data_type, unsigned int starting_lba,
269 res = do_scsi_pt(ptvp, sg_fd, DEF_PT_TIMEOUT, verbose);
325 sg_ll_set_streaming(int sg_fd, int type, void * paramp, int param_len,
353 res = do_scsi_pt(ptvp, sg_fd, DEF_PT_TIMEOUT, verbose);
sg_cmds_basic.c 337 sg_ll_inquiry_com(int sg_fd, bool cmddt, bool evpd, int pg_op, void * resp,
378 res = do_scsi_pt(ptvp, sg_fd, timeout_secs, verbose);
420 sg_ll_inquiry(int sg_fd, bool cmddt, bool evpd, int pg_op, void * resp,
423 return sg_ll_inquiry_com(sg_fd, cmddt, evpd, pg_op, resp, mx_resp_len,
431 sg_simple_inquiry(int sg_fd, struct sg_simple_inquiry_resp * inq_data,
442 ret = sg_ll_inquiry_com(sg_fd, false, false, 0, inq_resp,
473 sg_ll_inquiry_v2(int sg_fd, bool evpd, int pg_op, void * resp,
477 return sg_ll_inquiry_com(sg_fd, false, evpd, pg_op, resp, mx_resp_len,
488 sg_ll_test_unit_ready_progress(int sg_fd, int pack_id, int * progress,
509 res = do_scsi_pt(ptvp, sg_fd, DEF_PT_TIMEOUT, verbose)
    [all...]
sg_write_buffer.c 195 int sg_fd, infd, res, c, len, k, n; local
368 sg_fd = sg_cmds_open_device(device_name, false /* rw */, verbose);
369 if (sg_fd < 0) {
371 safe_strerror(-sg_fd));
462 res = sg_ll_write_buffer_v2(sg_fd, wb_mode, wb_mspec, wb_id,
477 res = sg_ll_write_buffer_v2(sg_fd, MODE_ACTIVATE_MC,
494 res = sg_ll_write_buffer_v2(sg_fd, wb_mode, wb_mspec, wb_id,
509 res = sg_cmds_close_device(sg_fd);
  /external/ltp/testcases/kernel/fs/scsi/ltpscsi/
scsimain.c 436 int sg3_inq(int sg_fd, unsigned char *inqBuff, int do_extra);
641 int sg_fd, res, k, f; local
670 ++k, res = (sg_fd >= 0) ? close(sg_fd) : 0) {
679 sg_fd = open(fname, flags | O_NONBLOCK);
680 if (sg_fd < 0) {
701 res = ioctl(sg_fd, SCSI_IOCTL_GET_IDLUN, &my_idlun);
710 res = ioctl(sg_fd, SCSI_IOCTL_GET_BUS_NUMBER, &host_no);
719 res = ioctl(sg_fd, SG_EMULATED_HOST, &emul);
743 res = ioctl(sg_fd, SG_GET_SCSI_ID, &m_id)
1479 int sg_fd, k, pg_len; local
1672 int sg_fd; local
2725 int sg_fd, k, j, num, len, act_len; local
3083 int sg_fd, res, k; local
3269 int k, res, ind, sg_fd = 0; local
3661 int sg_fd, k, num, len, md_len, bd_len, longlba, page_num; local
3835 int sg_fd, res; local
4150 int sg_fd, k, res; local
4199 int sg_fd, res, k; local
4427 int sg_fd, k, num, rsp_len; local
4906 int sg_fd; local
4953 int sg_fd, k; local
    [all...]

Completed in 208 milliseconds