Home
last modified time | relevance | path

Searched refs:IOPAGES (Results 1 – 7 of 7) sorted by relevance

/freebsd-14-stable/sys/amd64/include/
HDparam.h127 #define IOPAGES 2 /* pages of i/o permission bitmap */ macro
133 #define IOPERM_BITMAP_SIZE (IOPAGES * PAGE_SIZE + 1)
/freebsd-14-stable/sys/i386/i386/
HDsys_machdep.c288 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()
358 uap->start + uap->length > IOPAGES * PAGE_SIZE * NBBY) in i386_set_ioperm()
376 if (uap->start >= IOPAGES * PAGE_SIZE * NBBY) in i386_get_ioperm()
391 for (i = uap->start + 1; i < IOPAGES * PAGE_SIZE * NBBY; i++) { in i386_get_ioperm()
HDvm_machdep.c374 pmap_trm_free(pcb->pcb_ext, ctob(IOPAGES + 1)); in cpu_thread_clean()
HDvm86.c392 #define IOMAP_SIZE ctob(IOPAGES)
/freebsd-14-stable/sys/amd64/amd64/
HDsys_machdep.c407 uap->start + uap->length > IOPAGES * PAGE_SIZE * NBBY) in amd64_set_ioperm()
418 tssp = kmem_malloc(ctob(IOPAGES + 1), M_WAITOK); in amd64_set_ioperm()
420 ctob(IOPAGES + 1), false); in amd64_set_ioperm()
452 if (uap->start >= IOPAGES * PAGE_SIZE * NBBY) in amd64_get_ioperm()
466 for (i = uap->start + 1; i < IOPAGES * PAGE_SIZE * NBBY; i++) { in amd64_get_ioperm()
HDvm_machdep.c373 (vm_offset_t)pcb->pcb_tssp + ctob(IOPAGES + 1)); in cpu_thread_clean()
374 kmem_free(pcb->pcb_tssp, ctob(IOPAGES + 1)); in cpu_thread_clean()
/freebsd-14-stable/sys/i386/include/
HDparam.h108 #define IOPAGES 2 /* pages of i/o permission bitmap */ macro