Home
last modified time | relevance | path

Searched refs:pi_size (Results 1 – 4 of 4) 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.h548 u16 pi_size; member
639 return head->pi_type && head->ms == head->pi_size; in nvme_ns_has_pi()
H A Dcore.c1915 bi->pi_tuple_size = head->pi_size; in nvme_init_integrity()
1971 head->pi_size = sizeof(struct crc64_pi_tuple); in nvme_configure_pi_elbas()
1974 head->pi_size = sizeof(struct t10_pi_tuple); in nvme_configure_pi_elbas()
1987 head->pi_size = 0; in nvme_configure_metadata()
1995 head->pi_size = sizeof(struct t10_pi_tuple); in nvme_configure_metadata()
1999 if (head->pi_size && head->ms >= head->pi_size) in nvme_configure_metadata()
2005 info->pi_offset = head->ms - head->pi_size; in nvme_configure_metadata()
H A Dioctl.c262 (ns->head->ms == ns->head->pi_size)) { in nvme_submit_io()