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()
475 u16 pi_size; member502 return ns->pi_type && ns->ms == ns->pi_size; in nvme_ns_has_pi()
1746 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()