]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/scsi/osd_initiator.h
[SCSI] libosd: write/read_sg_kern API
[karo-tx-linux.git] / include / scsi / osd_initiator.h
index 169a5dcda09635dab20fd02380027d1c0d0d3122..53a9e886612b8c30fd4b4fc3d2814a9433bb551b 100644 (file)
@@ -455,6 +455,13 @@ int osd_req_write_sg(struct osd_request *or,
 int osd_req_read_sg(struct osd_request *or,
        const struct osd_obj_id *obj, struct bio *bio,
        const struct osd_sg_entry *sglist, unsigned numentries);
+int osd_req_write_sg_kern(struct osd_request *or,
+       const struct osd_obj_id *obj, void **buff,
+       const struct osd_sg_entry *sglist, unsigned numentries);
+int osd_req_read_sg_kern(struct osd_request *or,
+       const struct osd_obj_id *obj, void **buff,
+       const struct osd_sg_entry *sglist, unsigned numentries);
+
 /*
  * Root/Partition/Collection/Object Attributes commands
  */