Home
last modified time | relevance | path

Searched refs:num_seg (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/nvme/host/
Dpci.c356 static int nvme_pci_npages_sgl(unsigned int num_seg) in nvme_pci_npages_sgl() argument
358 return DIV_ROUND_UP(num_seg * sizeof(struct nvme_sgl_desc), PAGE_SIZE); in nvme_pci_npages_sgl()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c5408 int s_qpp, qpp, num_seg; in init_one() local
5568 num_seg = PAGE_SIZE / SEGMENT_SIZE; in init_one()
5575 if (qpp > num_seg) { in init_one()