Lines Matching refs:nvme_iod
159 struct nvme_iod iod[0];
184 ret += sizeof(struct nvme_iod); in nvme_cmd_size()
262 static void *iod_get_private(struct nvme_iod *iod) in iod_get_private()
270 static bool iod_should_kfree(struct nvme_iod *iod) in iod_should_kfree()
416 static __le64 **iod_list(struct nvme_iod *iod) in iod_list()
421 static inline void iod_init(struct nvme_iod *iod, unsigned nbytes, in iod_init()
425 iod->offset = offsetof(struct nvme_iod, sg[nseg]); in iod_init()
431 static struct nvme_iod *
435 struct nvme_iod *iod = kmalloc(sizeof(struct nvme_iod) + in __nvme_alloc_iod()
445 static struct nvme_iod *nvme_alloc_iod(struct request *rq, struct nvme_dev *dev, in nvme_alloc_iod()
450 struct nvme_iod *iod; in nvme_alloc_iod()
466 static void nvme_free_iod(struct nvme_dev *dev, struct nvme_iod *iod) in nvme_free_iod()
592 struct nvme_iod *iod = ctx; in req_completion()
651 static int nvme_setup_prps(struct nvme_dev *dev, struct nvme_iod *iod, in nvme_setup_prps()
731 struct nvme_iod *iod) in nvme_submit_priv()
751 struct request *req, struct nvme_iod *iod) in nvme_submit_discard()
785 static int nvme_submit_iod(struct nvme_queue *nvmeq, struct nvme_iod *iod, in nvme_submit_iod()
849 struct nvme_iod *iod; in nvme_queue_rq()