Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/huawei/hinic/
H A 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/drivers/nvme/host/
H A Dnvme.h471 u16 pi_size; member
545 return head->pi_type && head->ms == head->pi_size; in nvme_ns_has_pi()
H A Dcore.c1910 head->pi_size = sizeof(struct crc64_pi_tuple); in nvme_configure_pi_elbas()
1913 head->pi_size = sizeof(struct t10_pi_tuple); in nvme_configure_pi_elbas()
1926 head->pi_size = 0; in nvme_configure_metadata()
1934 head->pi_size = sizeof(struct t10_pi_tuple); in nvme_configure_metadata()
1938 if (head->pi_size && head->ms >= head->pi_size) in nvme_configure_metadata()
1944 info->pi_offset = head->ms - head->pi_size; in nvme_configure_metadata()
H A Dioctl.c236 (ns->head->ms == ns->head->pi_size)) { in nvme_submit_io()
H A Drdma.c1457 xfer_len += (xfer_len >> bi->interval_exp) * ns->head->pi_size; in nvme_rdma_map_sg_pi()