Lines Matching defs:sg_pt_base
104 struct sg_pt_base {
191 struct sg_pt_base * construct_scsi_pt_obj()
201 return (struct sg_pt_base *)ptp;
204 void destruct_scsi_pt_obj(struct sg_pt_base * vp)
215 void set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb,
226 void set_scsi_pt_sense(struct sg_pt_base * vp, unsigned char * sense,
238 void set_scsi_pt_data_in(struct sg_pt_base * vp, /* from device */
252 void set_scsi_pt_data_out(struct sg_pt_base * vp, /* to device */
266 void set_scsi_pt_packet_id(struct sg_pt_base * vp __attribute__ ((unused)),
271 void set_scsi_pt_tag(struct sg_pt_base * vp,
279 void set_scsi_pt_task_management(struct sg_pt_base * vp,
287 void set_scsi_pt_task_attr(struct sg_pt_base * vp,
296 int do_scsi_pt(struct sg_pt_base * vp, int device_fd, int time_secs,
395 int get_scsi_pt_result_category(const struct sg_pt_base * vp)
412 int get_scsi_pt_resid(const struct sg_pt_base * vp)
419 int get_scsi_pt_status_response(const struct sg_pt_base * vp)
426 int get_scsi_pt_sense_len(const struct sg_pt_base * vp)
435 int get_scsi_pt_duration_ms(const struct sg_pt_base * vp __attribute__ ((unused)))
442 int get_scsi_pt_transport_err(const struct sg_pt_base * vp)
449 int get_scsi_pt_os_err(const struct sg_pt_base * vp)
457 char * get_scsi_pt_transport_err_str(const struct sg_pt_base * vp,
482 char * get_scsi_pt_os_err_str(const struct sg_pt_base * vp,