Lines Matching defs:sg_pt_base
103 struct sg_pt_base {
225 struct sg_pt_base * construct_scsi_pt_obj()
238 return (struct sg_pt_base *)psp;
241 void destruct_scsi_pt_obj(struct sg_pt_base * vp)
250 void set_scsi_pt_cdb(struct sg_pt_base * vp, const unsigned char * cdb,
265 void set_scsi_pt_sense(struct sg_pt_base * vp, unsigned char * sense,
277 void set_scsi_pt_data_in(struct sg_pt_base * vp, /* from device */
291 void set_scsi_pt_data_out(struct sg_pt_base * vp, /* to device */
305 void set_scsi_pt_packet_id(struct sg_pt_base * vp __attribute__ ((unused)),
310 void set_scsi_pt_tag(struct sg_pt_base * vp,
318 void set_scsi_pt_task_management(struct sg_pt_base * vp,
326 void set_scsi_pt_task_attr(struct sg_pt_base * vp,
335 int do_scsi_pt(struct sg_pt_base * vp, int device_fd, int time_secs,
458 int get_scsi_pt_result_category(const struct sg_pt_base * vp)
475 int get_scsi_pt_resid(const struct sg_pt_base * vp)
482 int get_scsi_pt_status_response(const struct sg_pt_base * vp)
489 int get_scsi_pt_sense_len(const struct sg_pt_base * vp)
498 int get_scsi_pt_duration_ms(const struct sg_pt_base * vp __attribute__ ((unused)))
505 int get_scsi_pt_transport_err(const struct sg_pt_base * vp)
512 int get_scsi_pt_os_err(const struct sg_pt_base * vp)
520 char * get_scsi_pt_transport_err_str(const struct sg_pt_base * vp,
555 char * get_scsi_pt_os_err_str(const struct sg_pt_base * vp,