Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/nvme/host/
Dnvme.h491 u16 pi_size; member
516 return ns->pi_type && ns->ms == ns->pi_size; in nvme_ns_has_pi()
Dcore.c1766 ns->pi_size = 0; in nvme_init_ms()
1769 ns->pi_size = sizeof(struct t10_pi_tuple); in nvme_init_ms()
1796 ns->pi_size = sizeof(struct crc64_pi_tuple); in nvme_init_ms()
1799 ns->pi_size = sizeof(struct t10_pi_tuple); in nvme_init_ms()
1808 if (ns->pi_size && (first || ns->ms == ns->pi_size)) in nvme_init_ms()