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);
100 int osd_auto_detect_ver(struct osd_dev *od,
103 static inline struct request_queue *osd_request_queue(struct osd_dev *od) in osd_request_queue() argument
105 return od->scsi_device->request_queue; in osd_request_queue()
109 static inline void osd_dev_set_ver(struct osd_dev *od, enum osd_std_version v) in osd_dev_set_ver() argument
112 od->version = v; in osd_dev_set_ver()
116 static inline bool osd_dev_is_ver1(struct osd_dev *od) in osd_dev_is_ver1() argument
119 return od->version == OSD_VER1; in osd_dev_is_ver1()
212 struct osd_request *osd_start_request(struct osd_dev *od, gfp_t gfp);