Searched refs:IOPAGES (Results 1 – 7 of 7) sorted by relevance
122 #define IOPAGES 2 /* pages of i/o permission bitmap */ macro128 #define IOPERM_BITMAP_SIZE (IOPAGES * PAGE_SIZE + 1)
286 ctob(IOPAGES + 1) - 1, /* length */ in i386_extend_pcb()295 ext = pmap_trm_alloc(ctob(IOPAGES + 1), M_WAITOK | M_ZERO); in i386_extend_pcb()310 for (i = 0; i < (ctob(IOPAGES) + 32 + 16) / sizeof(u_long); i++) in i386_extend_pcb()356 uap->start + uap->length > IOPAGES * PAGE_SIZE * NBBY) in i386_set_ioperm()374 if (uap->start >= IOPAGES * PAGE_SIZE * NBBY) in i386_get_ioperm()389 for (i = uap->start + 1; i < IOPAGES * PAGE_SIZE * NBBY; i++) { in i386_get_ioperm()
372 pmap_trm_free(pcb->pcb_ext, ctob(IOPAGES + 1)); in cpu_thread_clean()
391 #define IOMAP_SIZE ctob(IOPAGES)
405 uap->start + uap->length > IOPAGES * PAGE_SIZE * NBBY) in amd64_set_ioperm()416 tssp = kmem_malloc(ctob(IOPAGES + 1), M_WAITOK); in amd64_set_ioperm()418 ctob(IOPAGES + 1), false); in amd64_set_ioperm()450 if (uap->start >= IOPAGES * PAGE_SIZE * NBBY) in amd64_get_ioperm()464 for (i = uap->start + 1; i < IOPAGES * PAGE_SIZE * NBBY; i++) { in amd64_get_ioperm()
371 (vm_offset_t)pcb->pcb_tssp + ctob(IOPAGES + 1)); in cpu_thread_clean()372 kmem_free(pcb->pcb_tssp, ctob(IOPAGES + 1)); in cpu_thread_clean()
104 #define IOPAGES 2 /* pages of i/o permission bitmap */ macro