Home
last modified time | relevance | path

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

/titanic_50/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()
/titanic_50/usr/src/uts/common/vm/
H A Dseg_dev.h59 uint_t hat_flags; /* currently, hat_flags is used ONLY for */ member
93 uint_t hat_flags; /* set HAT_LOAD_NOCONSIST flag in hat_devload */ member
H A Dseg_dev.c391 sdp->hat_flags = a->hat_flags; in segdev_create()
397 ASSERT(!(sdp->hat_flags & ~HAT_LOAD_NOCONSIST)); in segdev_create()
493 newsdp->hat_flags = sdp->hat_flags; in segdev_dup()
820 nsdp->hat_flags = sdp->hat_flags; in segdev_unmap()
1420 uint_t hat_flags; in segdev_faultpage() local
1465 hat_flags = ((type == F_SOFTLOCK) ? HAT_LOAD_LOCK : HAT_LOAD); in segdev_faultpage()
1554 pfnum, pf_is_memory(pfnum), prot, hat_flags); in segdev_faultpage()
1556 "prot %x flags %x\n", pfnum, pf_is_memory(pfnum), prot, hat_flags)); in segdev_faultpage()
1566 prot, hat_flags | sdp->hat_flags); in segdev_faultpage()
1993 uint_t hat_flags; in segdev_faultpages() local
[all …]
H A Dseg_spt.c383 uint_t hat_flags; in segspt_create() local
555 hat_flags = HAT_LOAD_SHARE; in segspt_create()
557 hat_flags |= HAT_LOAD_LOCK; in segspt_create()
571 &ppa[pidx], sptd->spt_prot, hat_flags); in segspt_create()
580 if (!(hat_flags & HAT_LOAD_LOCK)) { in segspt_create()
625 uint_t hat_flags; in segspt_free_pages() local
639 hat_flags = HAT_UNLOAD_UNLOCK | HAT_UNLOAD_UNMAP; in segspt_free_pages()
642 hat_flags = HAT_UNLOAD_UNMAP; in segspt_free_pages()
645 hat_unload(seg->s_as->a_hat, addr, len, hat_flags); in segspt_free_pages()
685 if (hat_flags == HAT_UNLOAD_UNMAP) in segspt_free_pages()
/titanic_50/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_vm.c92 int hat_flags; in gfxp_map_kernel_space() local
114 hat_flags = HAT_LOAD_LOCK; in gfxp_map_kernel_space()
130 PROT_READ|PROT_WRITE|hat_attr, hat_flags); in gfxp_map_kernel_space()
H A Dgfxp_segmap.c149 dev_a.hat_flags = 0; in gfxp_ddi_segmap_setup()
151 dev_a.hat_flags = HAT_LOAD_LOCK; in gfxp_ddi_segmap_setup()
/titanic_50/usr/src/uts/i86xpv/vm/
H A Dseg_mf.c225 uint_t hat_flags = HAT_LOAD_NOCONSIST; in segmf_faultpage() local
242 hat_flags |= HAT_LOAD_LOCK; in segmf_faultpage()
244 hat_flags |= HAT_LOAD; in segmf_faultpage()
258 PROT_READ | HAT_UNORDERED_OK, hat_flags); in segmf_faultpage()
266 hat_flags = HAT_UNLOAD_UNMAP; in segmf_faultpage()
269 hat_flags |= HAT_UNLOAD_UNLOCK; in segmf_faultpage()
275 hat_unload(hat, addr, MMU_PAGESIZE, hat_flags); in segmf_faultpage()
/titanic_50/usr/src/uts/i86pc/vm/
H A Dhat_i86.h71 #define TOP_LEVEL(h) (((h)->hat_flags & HAT_VLP) ? VLP_LEVEL : mmu.max_level)
89 uint16_t hat_flags; member
H A Dhtable.c626 (hat->hat_flags & in htable_steal()
637 hat->hat_flags |= HAT_VICTIM; in htable_steal()
705 if (hat->hat_flags & HAT_VICTIM) { in htable_steal()
707 hat->hat_flags &= ~HAT_VICTIM; in htable_steal()
790 is_vlp = (hat->hat_flags & HAT_VLP) && level == VLP_LEVEL; in htable_alloc()
986 (!(hat->hat_flags & HAT_FREEING) && !htable_dont_cache))) { in htable_free()
1041 if (!(hat->hat_flags & HAT_FREEING)) { in htable_purge_hat()
1121 if (!(hat->hat_flags & HAT_FREEING)) { in unlink_ptp()
1214 if (hat->hat_flags & HAT_FREEING) in htable_release()
1298 if ((hat->hat_flags & HAT_VLP) && vaddr >= ((uint64_t)1 << 32)) in htable_lookup()
[all …]
H A Dhat_i86.c231 hat->hat_flags = 0; in hati_constructor()
267 ASSERT(hat->hat_flags == 0); in hat_alloc()
285 hat->hat_flags = HAT_VLP; in hat_alloc()
292 if ((hat->hat_flags & HAT_VLP)) { in hat_alloc()
312 if (hat->hat_flags & HAT_VLP) in hat_alloc()
404 while (hat->hat_flags & HAT_VICTIM) in hat_free_start()
406 hat->hat_flags |= HAT_FREEING; in hat_free_start()
418 ASSERT(hat->hat_flags & HAT_FREEING); in hat_free_end()
458 if (hat->hat_flags & HAT_VLP) in hat_free_end()
465 hat->hat_flags = 0; in hat_free_end()
[all …]
/titanic_50/usr/src/uts/common/io/
H A Dmem.c864 dev_a.hat_flags = HAT_LOAD_NOCONSIST; in mmsegmap()
904 dev_a.hat_flags = 0; in mmsegmap()
/titanic_50/usr/src/uts/i86pc/os/
H A Dddi_impl.c1183 uint_t hat_flags; in kmem_override_cache_attrs() local
1194 hat_flags = HAT_LOAD_LOCK; in kmem_override_cache_attrs()
1203 hat_devload(kas.a_hat, kva, PAGESIZE, pfn, hat_attr, hat_flags); in kmem_override_cache_attrs()
/titanic_50/usr/src/uts/common/sys/
H A Dsunddi.h723 uint_t rnumber, uint_t *hat_flags);
/titanic_50/usr/src/uts/common/os/
H A Dmmapobj.c593 dev_a.hat_flags = 0; in mmapobj_unmap()
H A Dsunddi.c988 uint_t rnumber, uint_t *hat_flags) in ddi_device_mapping_check() argument
1037 *hat_flags = hp->ah_hat_flags; in ddi_device_mapping_check()
/titanic_50/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c2297 dev_a.hat_flags = 0; in spec_segmap()