Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target...
[linux-2.6-block.git] / include / target / target_core_fabric.h
index ec79da3b43dffd6db7b0a5ff4d9913279253f0ea..de44462a7680c2071a4f37088e7241209de117f3 100644 (file)
@@ -179,6 +179,10 @@ int        core_tpg_set_initiator_node_tag(struct se_portal_group *,
 int    core_tpg_register(struct se_wwn *, struct se_portal_group *, int);
 int    core_tpg_deregister(struct se_portal_group *);
 
+int    target_alloc_sgl(struct scatterlist **sgl, unsigned int *nents,
+               u32 length, bool zero_page, bool chainable);
+void   target_free_sgl(struct scatterlist *sgl, int nents);
+
 /*
  * The LIO target core uses DMA_TO_DEVICE to mean that data is going
  * to the target (eg handling a WRITE) and DMA_FROM_DEVICE to mean