H A D | hat_sfmmu.c | 318 * The lock is hashed on the sfmmup since the case where we need to lock 343 #define TSB_HASH(sfmmup) \ 345 &hat_lock[PTR_HASH(sfmmup) & (SFMMU_NUM_LOCK-1)]) 347 #define TSB_HASH(sfmmup) &hat_lock[PTR_HASH(sfmmup) & (SFMMU_NUM_LOCK-1)] 475 #define sfmmu_load_tsb(sfmmup, vaddr, tte, szc) \ 476 sfmmu_mod_tsb(sfmmup, vaddr, tte, szc) 477 #define sfmmu_unload_tsb(sfmmup, vaddr, szc) \ 478 sfmmu_mod_tsb(sfmmup, vaddr, NULL, szc) 837 #define SFMMU_GET_TSBINFO(tsbinfop, sfmmup, tte_sz 1459 sfmmu_t *sfmmup; local 1865 hat_setup(struct hat *sfmmup, int allocflag) argument 1915 hat_free_start(struct hat *sfmmup) argument 1929 hat_free_end(struct hat *sfmmup) argument 1989 hat_swapout(struct hat *sfmmup) argument 2673 sfmmu_tteload(struct hat *sfmmup, tte_t *ttep, caddr_t vaddr, page_t *pp, uint_t flags) argument 2686 sfmmu_mod_tsb(sfmmu_t *sfmmup, caddr_t vaddr, tte_t *ttep, int ttesz) argument 2767 sfmmu_unload_tsb_range(sfmmu_t *sfmmup, caddr_t start, caddr_t end, int ttesz) argument 2876 sfmmu_tteload_array(sfmmu_t *sfmmup, tte_t *ttep, caddr_t vaddr, page_t **pps, uint_t flags, uint_t rid) argument 2921 sfmmu_tteload_acquire_hashbucket(sfmmu_t *sfmmup, caddr_t vaddr, int size, uint_t rid) argument 2945 sfmmu_tteload_find_hmeblk(sfmmu_t *sfmmup, struct hmehash_bucket *hmebp, caddr_t vaddr, uint_t size, uint_t flags, uint_t rid) argument 3038 sfmmu_tteload_addentry(sfmmu_t *sfmmup, struct hme_blk *hmeblkp, tte_t *ttep, caddr_t vaddr, page_t **pps, uint_t flags, uint_t rid) argument 3588 sfmmu_shadow_hcreate(sfmmu_t *sfmmup, caddr_t vaddr, int ttesz, uint_t flags) argument 3668 sfmmu_shadow_hcleanup(sfmmu_t *sfmmup, struct hme_blk *hmeblkp, struct hmehash_bucket *hmebp) argument 3696 sfmmu_free_hblks(sfmmu_t *sfmmup, caddr_t addr, caddr_t endaddr, int hashno) argument 3933 hat_unlock(struct hat *sfmmup, caddr_t addr, size_t len) argument 4003 hat_unlock_region(struct hat *sfmmup, caddr_t addr, size_t len, hat_region_cookie_t rcookie) argument 4730 hat_probe(struct hat *sfmmup, caddr_t addr) argument 4755 hat_getpagesize(struct hat *sfmmup, caddr_t addr) argument 4774 hat_getattr(struct hat *sfmmup, caddr_t addr, uint_t *attr) argument 4833 sfmmu_chgattr(struct hat *sfmmup, caddr_t addr, size_t len, uint_t attr, int mode) argument 4929 sfmmu_hblk_chgattr(struct hat *sfmmup, struct hme_blk *hmeblkp, caddr_t addr, caddr_t endaddr, demap_range_t *dmrp, uint_t attr, int mode) argument 5163 hat_chgprot(struct hat *sfmmup, caddr_t addr, size_t len, uint_t vprot) argument 5257 sfmmu_hblk_chgprot(sfmmu_t *sfmmup, struct hme_blk *hmeblkp, caddr_t addr, caddr_t endaddr, demap_range_t *dmrp, uint_t vprot) argument 5448 hat_unload_large_virtual( struct hat *sfmmup, caddr_t startaddr, size_t len, uint_t flags, hat_callback_t *callback) argument 5591 hat_unload_callback( struct hat *sfmmup, caddr_t addr, size_t len, uint_t flags, hat_callback_t *callback) argument 5886 hat_unload(struct hat *sfmmup, caddr_t addr, size_t len, uint_t flags) argument 5918 sfmmu_hblk_unload(struct hat *sfmmup, struct hme_blk *hmeblkp, caddr_t addr, caddr_t endaddr, demap_range_t *dmrp, uint_t flags) argument 6195 hat_flush_range(struct hat *sfmmup, caddr_t va, size_t size) argument 6218 hat_sync(struct hat *sfmmup, caddr_t addr, size_t len, uint_t clearflag) argument 6302 sfmmu_hblk_sync(struct hat *sfmmup, struct hme_blk *hmeblkp, caddr_t addr, caddr_t endaddr, int clearflag) argument 6375 sfmmu_ttesync(struct hat *sfmmup, caddr_t addr, tte_t *ttep, page_t *pp) argument 6612 sfmmu_t *sfmmup; local 7151 sfmmu_t *sfmmup; local 7495 sfmmu_t *sfmmup; local 7569 sfmmu_t *sfmmup; local 7873 sfmmu_uvatopfn(caddr_t vaddr, struct hat *sfmmup, tte_t *ttep) argument 8301 ism_tsb_entries(sfmmu_t *sfmmup, int szc) argument 8456 hat_share(struct hat *sfmmup, caddr_t addr, struct hat *ism_hatid, caddr_t sptaddr, size_t len, uint_t ismszc) argument 8684 hat_unshare(struct hat *sfmmup, caddr_t addr, size_t len, uint_t ismszc) argument 9462 sfmmu_t *sfmmup; local 9610 sfmmu_get_ctx(sfmmu_t *sfmmup) argument 9763 sfmmu_sync_mmustate(sfmmu_t *sfmmup) argument 9826 sfmmu_replace_tsb(sfmmu_t *sfmmup, struct tsb_info *old_tsbinfo, uint_t szc, hatlock_t *hatlockp, uint_t flags) argument 9999 sfmmu_reprog_pgsz_arr(sfmmu_t *sfmmup, uint8_t *tmp_pgsz) argument 10084 sfmmu_check_page_sizes(sfmmu_t *sfmmup, int growing) argument 10164 sfmmu_size_tsb(sfmmu_t *sfmmup, int growing, uint64_t tte8k_cnt, uint64_t tte4m_cnt, int sectsb_thresh) argument 10301 sfmmu_free_sfmmu(sfmmu_t *sfmmup) argument 10807 sfmmu_hat_enter(sfmmu_t *sfmmup) argument 10820 sfmmu_hat_tryenter(sfmmu_t *sfmmup) argument 10857 sfmmu_hat_lock_held(sfmmu_t *sfmmup) argument 10875 sfmmu_ismhat_enter(sfmmu_t *sfmmup, int hatlock_held) argument 10890 sfmmu_ismhat_exit(sfmmu_t *sfmmup, int hatlock_held) argument 10929 sfmmu_hblk_alloc(sfmmu_t *sfmmup, caddr_t vaddr, struct hmehash_bucket *hmebp, uint_t size, hmeblk_tag hblktag, uint_t flags, uint_t rid) argument 11452 sfmmu_t *sfmmup; local 11556 sfmmu_tsb_swapin(sfmmu_t *sfmmup, hatlock_t *hatlockp) argument 11695 sfmmu_t *sfmmup, *shsfmmup; local 11881 sfmmu_tsb_chk_reloc(sfmmu_t *sfmmup, hatlock_t *hatlockp) argument 11947 sfmmu_t *sfmmup; local 12023 find_ism_rid(sfmmu_t *sfmmup, sfmmu_t *ism_sfmmup, caddr_t va, uint_t *ism_rid) argument 12068 sfmmu_t *sfmmup; local 12159 sfmmu_tlbcache_demap(caddr_t addr, sfmmu_t *sfmmup, struct hme_blk *hmeblkp, pfn_t pfnum, int tlb_noflush, int cpu_flag, int cache_flush_flag, int hat_lock_held) argument 12248 sfmmu_tlb_demap(caddr_t addr, sfmmu_t *sfmmup, struct hme_blk *hmeblkp, int tlb_noflush, int hat_lock_held) argument 12299 sfmmu_t *sfmmup = dmrp->dmr_sfmmup; local 12418 sfmmu_invalidate_ctx(sfmmu_t *sfmmup) argument 12546 sfmmu_t *sfmmup = tsbinfop->tsb_sfmmu; local 12593 sfmmu_tsb_inv_ctx(sfmmu_t *sfmmup) argument 12639 sfmmu_t *sfmmup = tsbinfop->tsb_sfmmu; local 12678 sfmmu_tsbinfo_alloc(struct tsb_info **tsbinfopp, int tsb_szc, int tte_sz_mask, uint_t flags, sfmmu_t *sfmmup) argument 12802 sfmmu_init_tsbinfo(struct tsb_info *tsbinfo, int tteszmask, int tsbcode, uint_t flags, sfmmu_t *sfmmup) argument 13602 hat_join_srd(struct hat *sfmmup, vnode_t *evp) argument 13661 sfmmu_leave_srd(sfmmu_t *sfmmup) argument 13809 hat_join_region(struct hat *sfmmup, caddr_t r_saddr, size_t r_size, void *r_obj, u_offset_t r_objoff, uchar_t r_perm, uchar_t r_pgszc, hat_rgn_cb_func_t r_cb_function, uint_t flags) argument 14103 hat_leave_region(struct hat *sfmmup, hat_region_cookie_t rcookie, uint_t flags) argument 14305 hat_dup_region(struct hat *sfmmup, hat_region_cookie_t rcookie) argument 14413 check_scd_sfmmu_list(sfmmu_t **headp, sfmmu_t *sfmmup, int onlist) argument 14445 sfmmu_from_scd_list(sfmmu_t **headp, sfmmu_t *sfmmup) argument 14468 sfmmu_to_scd_list(sfmmu_t **headp, sfmmu_t *sfmmup) argument 14644 sfmmu_link_to_hmeregion(sfmmu_t *sfmmup, sf_region_t *rgnp) argument 14689 sfmmu_unlink_from_hmeregion(sfmmu_t *sfmmup, sf_region_t *rgnp) argument 14924 sfmmu_join_scd(sf_scd_t *scdp, sfmmu_t *sfmmup) argument 15007 sfmmu_finish_join_scd(sfmmu_t *sfmmup) argument 15039 sfmmu_find_scd(sfmmu_t *sfmmup) argument 15112 sfmmu_leave_scd(sfmmu_t *sfmmup, uchar_t r_type) argument 15305 sfmmu_ism_hatflags(sfmmu_t *sfmmup, int addflag) argument [all...] |