Lines Matching refs:osd_dev
49 struct osd_dev { struct
69 struct osd_dev *osduld_path_lookup(const char *dev_name);
70 struct osd_dev *osduld_info_lookup(const struct osd_dev_info *odi);
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()
109 static inline void osd_dev_set_ver(struct osd_dev *od, enum osd_std_version v) in osd_dev_set_ver()
116 static inline bool osd_dev_is_ver1(struct osd_dev *od) in osd_dev_is_ver1()
133 struct osd_dev *osd_dev; member
166 return osd_dev_is_ver1(or->osd_dev); in osd_req_is_ver1()
212 struct osd_request *osd_start_request(struct osd_dev *od, gfp_t gfp);