Home
last modified time | relevance | path

Searched refs:hat_flags (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_vm.c91 int hat_flags; in gfxp_map_kernel_space() local
113 hat_flags = HAT_LOAD_LOCK; in gfxp_map_kernel_space()
129 PROT_READ|PROT_WRITE|hat_attr, hat_flags); in gfxp_map_kernel_space()
310 int hat_flags; in gfxp_load_kernel_space() local
332 hat_flags = HAT_LOAD_LOCK; in gfxp_load_kernel_space()
346 PROT_READ|PROT_WRITE|hat_attr, hat_flags); in gfxp_load_kernel_space()
H A Dgfxp_segmap.c146 dev_a.hat_flags = 0; in gfxp_ddi_segmap_setup()
148 dev_a.hat_flags = HAT_LOAD_LOCK; in gfxp_ddi_segmap_setup()
/illumos-gate/usr/src/uts/sun4/io/
H A Drootnex.c430 uint_t hat_flags; in rootnex_map_handle() local
440 hat_flags = HAT_NEVERSWAP | HAT_STRICTORDER; in rootnex_map_handle()
443 hat_flags = HAT_STRUCTURE_BE; in rootnex_map_handle()
446 hat_flags = HAT_STRUCTURE_LE; in rootnex_map_handle()
456 hat_flags |= HAT_UNORDERED_OK; in rootnex_map_handle()
459 hat_flags |= HAT_MERGING_OK; in rootnex_map_handle()
462 hat_flags |= HAT_LOADCACHING_OK; in rootnex_map_handle()
465 hat_flags |= HAT_STORECACHING_OK; in rootnex_map_handle()
475 hp->ah_hat_flags = hat_flags; in rootnex_map_handle()
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_dev.h60 uint_t hat_flags; /* currently, hat_flags is used ONLY for */ member
94 uint_t hat_flags; /* set HAT_LOAD_NOCONSIST flag in hat_devload */ member
H A Dseg_dev.c393 sdp->hat_flags = a->hat_flags; in segdev_create()
399 ASSERT(!(sdp->hat_flags & ~HAT_LOAD_NOCONSIST)); in segdev_create()
495 newsdp->hat_flags = sdp->hat_flags; in segdev_dup()
822 nsdp->hat_flags = sdp->hat_flags; in segdev_unmap()
1422 uint_t hat_flags; in segdev_faultpage() local
1467 hat_flags = ((type == F_SOFTLOCK) ? HAT_LOAD_LOCK : HAT_LOAD); in segdev_faultpage()
1556 pfnum, pf_is_memory(pfnum), prot, hat_flags); in segdev_faultpage()
1558 "prot %x flags %x\n", pfnum, pf_is_memory(pfnum), prot, hat_flags)); in segdev_faultpage()
1568 prot, hat_flags | sdp->hat_flags); in segdev_faultpage()
1995 uint_t hat_flags; in segdev_faultpages() local
[all …]
H A Dseg_spt.c531 uint_t hat_flags; in segspt_create() local
700 hat_flags = HAT_LOAD_SHARE; in segspt_create()
702 hat_flags |= HAT_LOAD_LOCK; in segspt_create()
716 &ppa[pidx], sptd->spt_prot, hat_flags); in segspt_create()
725 if (!(hat_flags & HAT_LOAD_LOCK)) { in segspt_create()
770 uint_t hat_flags; in segspt_free_pages() local
784 hat_flags = HAT_UNLOAD_UNLOCK | HAT_UNLOAD_UNMAP; in segspt_free_pages()
787 hat_flags = HAT_UNLOAD_UNMAP; in segspt_free_pages()
790 hat_unload(seg->s_as->a_hat, addr, len, hat_flags); in segspt_free_pages()
833 if (hat_flags == HAT_UNLOAD_UNMAP) in segspt_free_pages()
/illumos-gate/usr/src/uts/i86xpv/vm/
H A Dseg_mf.c227 uint_t hat_flags = HAT_LOAD_NOCONSIST; in segmf_faultpage() local
244 hat_flags |= HAT_LOAD_LOCK; in segmf_faultpage()
246 hat_flags |= HAT_LOAD; in segmf_faultpage()
260 PROT_READ | HAT_UNORDERED_OK, hat_flags); in segmf_faultpage()
268 hat_flags = HAT_UNLOAD_UNMAP; in segmf_faultpage()
271 hat_flags |= HAT_UNLOAD_UNLOCK; in segmf_faultpage()
277 hat_unload(hat, addr, MMU_PAGESIZE, hat_flags); in segmf_faultpage()
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhat_i86.c415 hat->hat_flags = 0; in hati_constructor()
478 ASSERT(hat->hat_flags == 0); in hat_alloc()
490 hat->hat_flags = 0; in hat_alloc()
502 hat->hat_flags |= HAT_COPIED_32; in hat_alloc()
515 hat->hat_flags = 0; in hat_alloc()
520 hat->hat_flags |= HAT_COPIED; in hat_alloc()
551 if (hat->hat_flags & HAT_COPIED) in hat_alloc()
616 hat->hat_flags = HAT_PCP; in hat_cpu_alloc()
656 while (hat->hat_flags & HAT_VICTIM) in hat_free_start()
658 hat->hat_flags |= HAT_FREEING; in hat_free_start()
[all …]
H A Dhtable.c628 while (hat != NULL && (hat->hat_flags & in htable_steal()
641 hat->hat_flags |= HAT_VICTIM; in htable_steal()
709 if (hat->hat_flags & HAT_VICTIM) { in htable_steal()
711 hat->hat_flags &= ~HAT_VICTIM; in htable_steal()
794 is_copied = (hat->hat_flags & HAT_COPIED) && in htable_alloc()
991 (!(hat->hat_flags & HAT_FREEING) && !htable_dont_cache))) { in htable_free()
1046 if (!(hat->hat_flags & HAT_FREEING)) { in htable_purge_hat()
1126 if (!(hat->hat_flags & HAT_FREEING)) { in unlink_ptp()
1216 if (hat->hat_flags & HAT_FREEING) in htable_release()
1299 if ((hat->hat_flags & HAT_COPIED_32) && in htable_lookup()
[all …]
H A Dhat_i86.h96 uint16_t hat_flags; member
/illumos-gate/usr/src/uts/common/io/
H A Dmem.c958 dev_a.hat_flags = HAT_LOAD_NOCONSIST; in mmsegmap()
998 dev_a.hat_flags = 0; in mmsegmap()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dddi_impl.c1170 uint_t hat_flags; in kmem_override_cache_attrs() local
1181 hat_flags = HAT_LOAD_LOCK; in kmem_override_cache_attrs()
1190 hat_devload(kas.a_hat, kva, PAGESIZE, pfn, hat_attr, hat_flags); in kmem_override_cache_attrs()
/illumos-gate/usr/src/uts/common/sys/
H A Dsunddi.h733 uint_t rnumber, uint_t *hat_flags);
/illumos-gate/usr/src/uts/common/os/
H A Dmmapobj.c580 dev_a.hat_flags = 0; in mmapobj_unmap()
H A Dsunddi.c918 uint_t rnumber, uint_t *hat_flags) in ddi_device_mapping_check() argument
967 *hat_flags = hp->ah_hat_flags; in ddi_device_mapping_check()
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c2298 dev_a.hat_flags = 0; in spec_segmap()