Lines Matching refs:od
71 void osduld_put_device(struct osd_dev *od);
73 const struct osd_dev_info *osduld_device_info(struct osd_dev *od);
74 bool osduld_device_same(struct osd_dev *od, const struct osd_dev_info *odi);
77 typedef int (do_test_fn)(struct osd_dev *od, unsigned cmd, unsigned long arg);
82 void osd_dev_init(struct osd_dev *od, struct scsi_device *scsi_device);
83 void osd_dev_fini(struct osd_dev *od);
88 * @od: OSD target lun handle
93 * Auto detects the OSD version of the OSD target and sets the @od
100 int osd_auto_detect_ver(struct osd_dev *od,
103 static inline struct request_queue *osd_request_queue(struct osd_dev *od)
105 return od->scsi_device->request_queue;
109 static inline void osd_dev_set_ver(struct osd_dev *od, enum osd_std_version v)
112 od->version = v;
116 static inline bool osd_dev_is_ver1(struct osd_dev *od)
119 return od->version == OSD_VER1;
212 struct osd_request *osd_start_request(struct osd_dev *od, gfp_t gfp);