aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r--include/linux/nvme.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 1da0807c65bc..b95431d0338b 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -136,6 +136,7 @@ struct nvme_iod {
136 int length; /* Of data, in bytes */ 136 int length; /* Of data, in bytes */
137 unsigned long start_time; 137 unsigned long start_time;
138 dma_addr_t first_dma; 138 dma_addr_t first_dma;
139 struct list_head node;
139 struct scatterlist sg[0]; 140 struct scatterlist sg[0];
140}; 141};
141 142
@@ -151,8 +152,7 @@ static inline u64 nvme_block_nr(struct nvme_ns *ns, sector_t sector)
151 */ 152 */
152void nvme_free_iod(struct nvme_dev *dev, struct nvme_iod *iod); 153void nvme_free_iod(struct nvme_dev *dev, struct nvme_iod *iod);
153 154
154int nvme_setup_prps(struct nvme_dev *dev, struct nvme_common_command *cmd, 155int nvme_setup_prps(struct nvme_dev *, struct nvme_iod *, int , gfp_t);
155 struct nvme_iod *iod, int total_len, gfp_t gfp);
156struct nvme_iod *nvme_map_user_pages(struct nvme_dev *dev, int write, 156struct nvme_iod *nvme_map_user_pages(struct nvme_dev *dev, int write,
157 unsigned long addr, unsigned length); 157 unsigned long addr, unsigned length);
158void nvme_unmap_user_pages(struct nvme_dev *dev, int write, 158void nvme_unmap_user_pages(struct nvme_dev *dev, int write,