Searched refs:VDMA_PGTBL_ENTRIES (Results 1 – 2 of 2) sorted by relevance
31 #define VDMA_PGTBL_ENTRIES 4096 macro32 #define VDMA_PGTBL_SIZE (sizeof(VDMA_PGTBL_ENTRY) * VDMA_PGTBL_ENTRIES)
56 for (i = 0; i < VDMA_PGTBL_ENTRIES; i++) { in vdma_pgtbl_init()124 first < VDMA_PGTBL_ENTRIES) first++; in vdma_alloc()125 if (first + pages > VDMA_PGTBL_ENTRIES) { /* nothing free */ in vdma_alloc()199 while (i < VDMA_PGTBL_ENTRIES && pgtbl[i].owner == laddr) { in vdma_free()240 if (first + pages > VDMA_PGTBL_ENTRIES) { in vdma_remap()247 while (pages > 0 && first < VDMA_PGTBL_ENTRIES) { in vdma_remap()295 for (i = 0; i < VDMA_PGTBL_ENTRIES; i++) { in vdma_phys2log()300 if (i == VDMA_PGTBL_ENTRIES) in vdma_phys2log()