Lines Matching refs:DDP_PGIDX_MAX
51 #define DDP_PGIDX_MAX 4
53 static unsigned char ddp_page_order[DDP_PGIDX_MAX] = {0, 1, 2, 4};
54 static unsigned char ddp_page_shift[DDP_PGIDX_MAX] = {12, 13, 14, 16};
55 static unsigned char page_idx = DDP_PGIDX_MAX;
196 * return the ddp page index, if no match is found return DDP_PGIDX_MAX.
202 for (i = 0; i < DDP_PGIDX_MAX; i++) {
207 return DDP_PGIDX_MAX;
212 * return the ddp page index, if no match is found return DDP_PGIDX_MAX.
227 for (i = 0; i < DDP_PGIDX_MAX; i++) {
394 if (page_idx >= DDP_PGIDX_MAX || !ddp || !gl || !gl->nelem ||
494 u64 val = pg_idx < DDP_PGIDX_MAX ? pg_idx : 0;
727 for (i = 0; i < DDP_PGIDX_MAX; i++)
756 if (page_idx == DDP_PGIDX_MAX) {
759 if (page_idx == DDP_PGIDX_MAX) {