Home
last modified time | relevance | path

Searched refs:iomap (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dio-mapping.h114 int lkpi_io_mapping_map_user(struct io_mapping *iomap,
119 io_mapping_map_user(struct io_mapping *iomap, struct vm_area_struct *vma, in io_mapping_map_user() argument
122 return (lkpi_io_mapping_map_user(iomap, vma, addr, pfn, size)); in io_mapping_map_user()
/freebsd/sys/amd64/amd64/
H A Dsys_machdep.c393 char *iomap; in amd64_set_ioperm() local
419 iomap = (char *)&tssp[1]; in amd64_set_ioperm()
420 memset(iomap, 0xff, IOPERM_BITMAP_SIZE); in amd64_set_ioperm()
434 iomap = (char *)&pcb->pcb_tssp[1]; in amd64_set_ioperm()
437 iomap[i >> 3] &= ~(1 << (i & 7)); in amd64_set_ioperm()
439 iomap[i >> 3] |= (1 << (i & 7)); in amd64_set_ioperm()
448 char *iomap; in amd64_get_ioperm() local
457 iomap = (char *)&td->td_pcb->pcb_tssp[1]; in amd64_get_ioperm()
460 state = (iomap[i >> 3] >> (i & 7)) & 1; in amd64_get_ioperm()
465 if (state != ((iomap[i >> 3] >> (i & 7)) & 1)) in amd64_get_ioperm()
/freebsd/sys/i386/i386/
H A Dsys_machdep.c335 char *iomap; in i386_set_ioperm() local
353 iomap = (char *)td->td_pcb->pcb_ext->ext_iomap; in i386_set_ioperm()
361 iomap[i >> 3] &= ~(1 << (i & 7)); in i386_set_ioperm()
363 iomap[i >> 3] |= (1 << (i & 7)); in i386_set_ioperm()
372 char *iomap; in i386_get_ioperm() local
382 iomap = (char *)td->td_pcb->pcb_ext->ext_iomap; in i386_get_ioperm()
385 state = (iomap[i >> 3] >> (i & 7)) & 1; in i386_get_ioperm()
390 if (state != ((iomap[i >> 3] >> (i & 7)) & 1)) in i386_get_ioperm()
/freebsd/contrib/ntp/sntp/libevent/
H A Devmap.c551 struct event_io_map *iomap = &base->io; local
555 HT_FOREACH(mapent, event_io_map, iomap) {
559 for (fd = 0; fd < iomap->nentries; ++fd) {
560 struct evmap_io *ctx = iomap->entries[fd];
/freebsd/contrib/libevent/
H A Devmap.c551 struct event_io_map *iomap = &base->io; local
555 HT_FOREACH(mapent, event_io_map, iomap) {
559 for (fd = 0; fd < iomap->nentries; ++fd) {
560 struct evmap_io *ctx = iomap->entries[fd];
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_page.c397 lkpi_io_mapping_map_user(struct io_mapping *iomap, in lkpi_io_mapping_map_user() argument
404 prot = cachemode2protval(iomap->attr); in lkpi_io_mapping_map_user()