Searched refs:sq_cmds (Results 1 – 1 of 1) sorted by relevance
35 struct nvme_command *sq_cmds; member148 memcpy(&nvmeq->sq_cmds[tail], cmd, sizeof(*cmd)); in nvme_submit_cmd()149 flush_dcache_range((ulong)&nvmeq->sq_cmds[tail], in nvme_submit_cmd()150 (ulong)&nvmeq->sq_cmds[tail] + sizeof(*cmd)); in nvme_submit_cmd()232 nvmeq->sq_cmds = (void *)memalign(4096, NVME_SQ_SIZE(depth)); in nvme_alloc_queue()233 if (!nvmeq->sq_cmds) in nvme_alloc_queue()235 memset((void *)nvmeq->sq_cmds, 0, NVME_SQ_SIZE(depth)); in nvme_alloc_queue()299 free(nvmeq->sq_cmds); in nvme_free_queue()375 nvme_writeq((ulong)nvmeq->sq_cmds, &dev->bar->asq); in nvme_configure_admin_queue()419 c.create_sq.prp1 = cpu_to_le64((ulong)nvmeq->sq_cmds); in nvme_alloc_sq()