Searched refs:IOPAGES (Results 1 – 7 of 7) sorted by relevance
128 #define IOPAGES 2 /* pages of i/o permission bitmap */ macro134 #define IOPERM_BITMAP_SIZE (IOPAGES * PAGE_SIZE + 1)
288 ctob(IOPAGES + 1) - 1, /* length */ in i386_extend_pcb()297 ext = pmap_trm_alloc(ctob(IOPAGES + 1), M_WAITOK | M_ZERO); in i386_extend_pcb()312 for (i = 0; i < (ctob(IOPAGES) + 32 + 16) / sizeof(u_long); i++) in i386_extend_pcb()360 uap->start + uap->length > IOPAGES * PAGE_SIZE * NBBY)380 if (uap->start >= IOPAGES * PAGE_SIZE * NBBY)395 for (i = uap->start + 1; i < IOPAGES * PAGE_SIZE * NBBY; i++) {
332 pmap_trm_free(pcb->pcb_ext, ctob(IOPAGES + 1)); in cpu_thread_clean()
394 #define IOMAP_SIZE ctob(IOPAGES)
410 uap->start + uap->length > IOPAGES * PAGE_SIZE * NBBY)421 tssp = (struct amd64tss *)kmem_malloc(ctob(IOPAGES + 1),424 ctob(IOPAGES + 1), false);458 if (uap->start >= IOPAGES * PAGE_SIZE * NBBY)472 for (i = uap->start + 1; i < IOPAGES * PAGE_SIZE * NBBY; i++) {
331 (vm_offset_t)pcb->pcb_tssp + ctob(IOPAGES + 1)); in cpu_thread_clean()332 kmem_free((vm_offset_t)pcb->pcb_tssp, ctob(IOPAGES + 1)); in cpu_thread_clean()
109 #define IOPAGES 2 /* pages of i/o permission bitmap */ macro