Home
last modified time | relevance | path

Searched refs:pr_page_shift (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/cxgbe/tom/
H A Dt4_ddp.c1365 nppods, 1 << pr->pr_page_shift[pgsz_idx]); in alloc_page_pods()
1407 if (hcf < (1 << pr->pr_page_shift[1])) { in t4_alloc_page_pods_for_vmpages()
1413 #define PR_PAGE_MASK(x) ((1 << pr->pr_page_shift[(x)]) - 1) in t4_alloc_page_pods_for_vmpages()
1415 for (idx = nitems(pr->pr_page_shift) - 1; idx > 0; idx--) { in t4_alloc_page_pods_for_vmpages()
1424 nppods = pages_to_nppods(npages, pr->pr_page_shift[idx]); in t4_alloc_page_pods_for_vmpages()
1486 if (hcf < (1 << pr->pr_page_shift[1])) { in t4_alloc_page_pods_for_buf()
1492 #define PR_PAGE_MASK(x) ((1 << pr->pr_page_shift[(x)]) - 1) in t4_alloc_page_pods_for_buf()
1494 for (idx = nitems(pr->pr_page_shift) - 1; idx > 0; idx--) { in t4_alloc_page_pods_for_buf()
1504 npages += (end_pva - start_pva) >> pr->pr_page_shift[idx]; in t4_alloc_page_pods_for_buf()
1564 if (hcf < (1 << pr->pr_page_shift[1])) { in t4_alloc_page_pods_for_sgl()
[all …]
H A Dt4_tom.h132 u_int pr_page_shift[4]; member
/freebsd/sys/dev/cxgbe/cxgbei/
H A Dcxgbei.c128 rx_len = min(rx_len, 4 * (1U << pr->pr_page_shift[0])); in read_pdu_limits()