Home
last modified time | relevance | path

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

/freebsd/sys/amd64/include/
H A Dparam.h122 #define IOPAGES 2 /* pages of i/o permission bitmap */ macro
128 #define IOPERM_BITMAP_SIZE (IOPAGES * PAGE_SIZE + 1)
/freebsd/sys/i386/i386/
H A Dsys_machdep.c286 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()
H A Dvm_machdep.c372 pmap_trm_free(pcb->pcb_ext, ctob(IOPAGES + 1)); in cpu_thread_clean()
H A Dvm86.c391 #define IOMAP_SIZE ctob(IOPAGES)
/freebsd/sys/amd64/amd64/
H A Dsys_machdep.c405 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()
H A Dvm_machdep.c371 (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()
/freebsd/sys/i386/include/
H A Dparam.h104 #define IOPAGES 2 /* pages of i/o permission bitmap */ macro