Home
last modified time | relevance | path

Searched refs:sg_pt_base (Results 1 – 9 of 9) sorted by relevance

/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_pt.h23 struct sg_pt_base;
59 struct sg_pt_base * construct_scsi_pt_obj(void);
69 struct sg_pt_base *
76 int set_pt_file_handle(struct sg_pt_base * objp, int dev_fd, int verbose);
80 int get_pt_file_handle(const struct sg_pt_base * objp);
85 void clear_scsi_pt_obj(struct sg_pt_base * objp);
88 void set_scsi_pt_cdb(struct sg_pt_base * objp, const unsigned char * cdb,
91 void set_scsi_pt_sense(struct sg_pt_base * objp, unsigned char * sense,
94 void set_scsi_pt_data_in(struct sg_pt_base * objp, /* from device */
97 void set_scsi_pt_data_out(struct sg_pt_base * objp, /* to device */
[all …]
Dsg_cmds_basic.h283 struct sg_pt_base;
296 int sg_cmds_process_resp(struct sg_pt_base * ptvp, const char * leadin,
304 bool sg_cmds_is_nvme(const struct sg_pt_base * ptvp);
Dsg_pt_linux.h122 struct sg_pt_base { struct
157 int sg_do_nvme_pt(struct sg_pt_base * vp, int fd, int time_secs, int vb);
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_pt_linux.c394 struct sg_pt_base *
409 err = set_pt_file_handle((struct sg_pt_base *)ptp, dev_fd, verbose); in construct_scsi_pt_obj_with_fd()
422 return (struct sg_pt_base *)ptp; in construct_scsi_pt_obj_with_fd()
425 struct sg_pt_base *
432 destruct_scsi_pt_obj(struct sg_pt_base * vp) in destruct_scsi_pt_obj()
447 clear_scsi_pt_obj(struct sg_pt_base * vp) in clear_scsi_pt_obj()
482 set_pt_file_handle(struct sg_pt_base * vp, int dev_fd, int verbose) in set_pt_file_handle()
510 get_pt_file_handle(const struct sg_pt_base * vp) in get_pt_file_handle()
518 set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb, in set_scsi_pt_cdb()
530 set_scsi_pt_sense(struct sg_pt_base * vp, unsigned char * sense, in set_scsi_pt_sense()
[all …]
Dsg_cmds_extra.c123 static struct sg_pt_base *
126 struct sg_pt_base * ptvp = construct_scsi_pt_obj(); in create_pt_obj()
143 struct sg_pt_base * ptvp; in sg_ll_get_lba_status16()
220 struct sg_pt_base * ptvp; in sg_ll_get_lba_status32()
299 struct sg_pt_base * ptvp; in sg_ll_report_tgt_prt_grp2()
364 struct sg_pt_base * ptvp; in sg_ll_set_tgt_prt_grp()
420 struct sg_pt_base * ptvp; in sg_ll_report_referrals()
489 struct sg_pt_base * ptvp; in sg_ll_send_diag()
570 struct sg_pt_base * ptvp; in sg_ll_receive_diag_v2()
647 struct sg_pt_base * ptvp; in sg_ll_read_defect10()
[all …]
Dsg_cmds_mmc.c60 static struct sg_pt_base *
63 struct sg_pt_base * ptvp = construct_scsi_pt_obj(); in create_pt_obj()
83 struct sg_pt_base * ptvp; in sg_ll_set_cd_speed()
144 struct sg_pt_base * ptvp; in sg_ll_get_config()
238 struct sg_pt_base * ptvp; in sg_ll_get_performance()
333 struct sg_pt_base * ptvp; in sg_ll_set_streaming()
Dsg_cmds_basic2.c92 static struct sg_pt_base *
95 struct sg_pt_base * ptvp = construct_scsi_pt_obj(); in create_pt_obj()
113 struct sg_pt_base * ptvp; in sg_ll_sync_cache_10()
174 struct sg_pt_base * ptvp; in sg_ll_readcap_16()
229 struct sg_pt_base * ptvp; in sg_ll_readcap_10()
282 struct sg_pt_base * ptvp; in sg_ll_mode_sense6()
377 struct sg_pt_base * ptvp; in sg_ll_mode_sense10_v2()
468 struct sg_pt_base * ptvp; in sg_ll_mode_select6()
528 struct sg_pt_base * ptvp; in sg_ll_mode_select10()
817 struct sg_pt_base * ptvp; in sg_ll_log_sense_v2()
[all …]
Dsg_cmds_basic.c186 sg_cmds_process_resp(struct sg_pt_base * ptvp, const char * leadin, in sg_cmds_process_resp()
320 sg_cmds_is_nvme(const struct sg_pt_base * ptvp) in sg_cmds_is_nvme()
325 static struct sg_pt_base *
328 struct sg_pt_base * ptvp = construct_scsi_pt_obj(); in create_pt_obj()
345 struct sg_pt_base * ptvp; in sg_ll_inquiry_com()
495 struct sg_pt_base * ptvp; in sg_ll_test_unit_ready_progress()
562 struct sg_pt_base * ptvp; in sg_ll_request_sense()
625 struct sg_pt_base * ptvp; in sg_ll_report_luns()
Dsg_pt_linux_nvme.c1076 sg_do_nvme_pt(struct sg_pt_base * vp, int fd, int time_secs, int vb) in sg_do_nvme_pt()
1175 sg_do_nvme_pt(struct sg_pt_base * vp, int fd, int time_secs, int vb) in sg_do_nvme_pt()