Lines Matching defs:sg_pt_base
72 struct sg_pt_base {
110 struct sg_pt_base * construct_scsi_pt_obj()
121 return (struct sg_pt_base *)ptp;
124 void destruct_scsi_pt_obj(struct sg_pt_base * vp)
132 void set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb,
143 void set_scsi_pt_sense(struct sg_pt_base * vp, unsigned char * sense,
155 void set_scsi_pt_data_in(struct sg_pt_base * vp, /* from device */
169 void set_scsi_pt_data_out(struct sg_pt_base * vp, /* to device */
183 void set_scsi_pt_packet_id(struct sg_pt_base * vp, int pack_id)
190 void set_scsi_pt_tag(struct sg_pt_base * vp, unsigned long long tag)
199 void set_scsi_pt_task_management(struct sg_pt_base * vp, int tmf_code)
207 void set_scsi_pt_task_attr(struct sg_pt_base * vp, int attribute,
217 int do_scsi_pt(struct sg_pt_base * vp, int fd, int time_secs, int verbose)
268 int get_scsi_pt_result_category(const struct sg_pt_base * vp)
290 int get_scsi_pt_resid(const struct sg_pt_base * vp)
297 int get_scsi_pt_status_response(const struct sg_pt_base * vp)
304 int get_scsi_pt_sense_len(const struct sg_pt_base * vp)
311 int get_scsi_pt_duration_ms(const struct sg_pt_base * vp)
318 int get_scsi_pt_transport_err(const struct sg_pt_base * vp)
325 int get_scsi_pt_os_err(const struct sg_pt_base * vp)
361 char * get_scsi_pt_transport_err_str(const struct sg_pt_base * vp,
402 char * get_scsi_pt_os_err_str(const struct sg_pt_base * vp,