Searched refs:pi_size (Results 1 – 3 of 3) sorted by relevance
388 size_t pi_size; in hinic_init_rq() local413 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() local441 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()
491 u16 pi_size; member516 return ns->pi_type && ns->ms == ns->pi_size; in nvme_ns_has_pi()
1766 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()