Lines Matching defs:sg_pt_base
76 struct sg_pt_base {
111 struct sg_pt_base * construct_scsi_pt_obj()
123 return (struct sg_pt_base *)ptp;
126 void destruct_scsi_pt_obj(struct sg_pt_base * vp)
134 void set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb,
145 void set_scsi_pt_sense(struct sg_pt_base * vp, unsigned char * sense,
158 void set_scsi_pt_data_in(struct sg_pt_base * vp, /* from device */
172 void set_scsi_pt_data_out(struct sg_pt_base * vp, /* to device */
186 void set_scsi_pt_packet_id(struct sg_pt_base * vp, int pack_id)
194 void set_scsi_pt_tag(struct sg_pt_base * vp, unsigned long long tag)
203 void set_scsi_pt_task_management(struct sg_pt_base * vp, int tmf_code)
211 void set_scsi_pt_task_attr(struct sg_pt_base * vp, int attribute,
221 int do_scsi_pt(struct sg_pt_base * vp, int fd, int time_secs, int verbose)
253 int get_scsi_pt_result_category(const struct sg_pt_base * vp)
269 int get_scsi_pt_resid(const struct sg_pt_base * vp)
276 int get_scsi_pt_status_response(const struct sg_pt_base * vp)
283 int get_scsi_pt_sense_len(const struct sg_pt_base * vp)
295 int get_scsi_pt_duration_ms(const struct sg_pt_base * vp)
303 int get_scsi_pt_transport_err(const struct sg_pt_base * vp)
311 int get_scsi_pt_os_err(const struct sg_pt_base * vp)
318 char * get_scsi_pt_transport_err_str(const struct sg_pt_base * vp,
330 char * get_scsi_pt_os_err_str(const struct sg_pt_base * vp,