Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.c388 size_t pi_size; in hinic_init_rq() local
413 pi_size = ALIGN(sizeof(*rq->pi_virt_addr), sizeof(u32)); in hinic_init_rq()
414 rq->pi_virt_addr = dma_alloc_coherent(&pdev->dev, pi_size, in hinic_init_rq()
439 size_t pi_size; in hinic_clean_rq() local
441 pi_size = ALIGN(sizeof(*rq->pi_virt_addr), sizeof(u32)); in hinic_clean_rq()
442 dma_free_coherent(&pdev->dev, pi_size, rq->pi_virt_addr, in hinic_clean_rq()
/linux-6.1.9/drivers/nvme/host/
Dnvme.h475 u16 pi_size; member
502 return ns->pi_type && ns->ms == ns->pi_size; in nvme_ns_has_pi()
Dcore.c1746 ns->pi_size = 0; in nvme_init_ms()
1749 ns->pi_size = sizeof(struct t10_pi_tuple); in nvme_init_ms()
1776 ns->pi_size = sizeof(struct crc64_pi_tuple); in nvme_init_ms()
1779 ns->pi_size = sizeof(struct t10_pi_tuple); in nvme_init_ms()
1788 if (ns->pi_size && (first || ns->ms == ns->pi_size)) in nvme_init_ms()