Lines Matching refs:osd_dev
49 struct osd_dev {
66 /* Retrieve/return osd_dev(s) for use by Kernel clients
67 * Use IS_ERR/ERR_PTR on returned "osd_dev *".
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)
109 static inline void osd_dev_set_ver(struct osd_dev *od, enum osd_std_version v)
116 static inline bool osd_dev_is_ver1(struct osd_dev *od)
133 struct osd_dev *osd_dev;
166 return osd_dev_is_ver1(or->osd_dev);
203 * @osd_dev: OSD device that holds the scsi-device and default values
212 struct osd_request *osd_start_request(struct osd_dev *od, gfp_t gfp);