Go to the documentation of this file.
14 #ifndef __OSD_INITIATOR_H__
15 #define __OSD_INITIATOR_H__
34 #define OSD_VER1_SUPPORT y
53 #ifdef OSD_VER1_SUPPORT
111 #ifdef OSD_VER1_SUPPORT
116 static inline bool osd_dev_is_ver1(
struct osd_dev *od)
118 #ifdef OSD_VER1_SUPPORT
164 static inline bool osd_req_is_ver1(
struct osd_request *or)
166 return osd_dev_is_ver1(or->
osd_dev);
324 struct osd_attr *bad_attr_list,
int max_attr);
326 static inline int osd_req_decode_sense(
struct osd_request *or,
434 const struct osd_obj_id *,
struct bio *data_out);
453 const struct osd_obj_id *obj,
struct bio *bio,
454 const struct osd_sg_entry *sglist,
unsigned numentries);
456 const struct osd_obj_id *obj,
struct bio *bio,
457 const struct osd_sg_entry *sglist,
unsigned numentries);
460 const struct osd_sg_entry *sglist,
unsigned numentries);
463 const struct osd_sg_entry *sglist,
unsigned numentries);
512 u32 page_id,
void *attr_page_data,
unsigned max_page_len,