Home
last modified time | relevance | path

Searched refs:sq_cmds (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/fungible/funcore/
Dfun_queue.h37 void *sq_cmds; member
92 return funq->sq_cmds + (pos << funq->sqe_size_log2); in fun_sqe_at()
Dfun_queue.c356 funq->sq_cmds = fun_alloc_ring_mem(funq->fdev->dev, funq->sq_depth, in fun_alloc_sqes()
361 return funq->sq_cmds ? 0 : -ENOMEM; in fun_alloc_sqes()
391 fun_sq_is_head_wb(funq), funq->sq_cmds, in fun_free_queue()
/linux-6.12.1/drivers/nvme/host/
Dpci.c192 void *sq_cmds; member
491 memcpy(nvmeq->sq_cmds + (nvmeq->sq_tail << nvmeq->sqes), in nvme_sq_copy_cmd()
1449 if (!nvmeq->sq_cmds) in nvme_free_queue()
1454 nvmeq->sq_cmds, SQ_SIZE(nvmeq)); in nvme_free_queue()
1457 nvmeq->sq_cmds, nvmeq->sq_dma_addr); in nvme_free_queue()
1544 nvmeq->sq_cmds = pci_alloc_p2pmem(pdev, SQ_SIZE(nvmeq)); in nvme_alloc_sq_cmds()
1545 if (nvmeq->sq_cmds) { in nvme_alloc_sq_cmds()
1547 nvmeq->sq_cmds); in nvme_alloc_sq_cmds()
1553 pci_free_p2pmem(pdev, nvmeq->sq_cmds, SQ_SIZE(nvmeq)); in nvme_alloc_sq_cmds()
1557 nvmeq->sq_cmds = dma_alloc_coherent(dev->dev, SQ_SIZE(nvmeq), in nvme_alloc_sq_cmds()
[all …]