Searched refs:sfmmup (Results 1 - 19 of 19) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/vm/
H A Dmach_sfmmu.c350 sfmmu_setup_tsbinfo(sfmmu_t *sfmmup) argument
361 if (sfmmup != ksfmmup) {
364 ASSERT(sfmmup->sfmmu_ctxs[i].cnum == INVALID_CONTEXT);
369 tsbinfop = sfmmup->sfmmu_tsb;
371 sfmmup->sfmmu_hvblock.hv_tsb_info_pa = (uint64_t)-1;
372 sfmmup->sfmmu_hvblock.hv_tsb_info_cnt = 0;
376 ASSERT(sfmmup != ksfmmup || sfmmup->sfmmu_scdp == NULL);
377 ASSERT(sfmmup->sfmmu_scdp == NULL ||
378 sfmmup
[all...]
H A Dmach_sfmmu_asm.s61 sfmmu_raise_tsb_exception(uint64_t sfmmup, uint64_t rctx)
79 sfmmu_load_mmustate(sfmmu_t *sfmmup)
89 * %g1 = sfmmup whose ctx is being stolen (victim)
102 ! } else if (current CPU tsbmiss->usfmmup != victim sfmmup) {
167 * %g1 = sfmmup
/illumos-gate/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.c318 * 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...]
H A Dhat_sfmmu.h373 * A sfmmup link in the link list of sfmmups that share the same region.
473 #define SFMMU_HMERID2RLINKP(sfmmup, rid, lnkp, alloc, lock) \
479 lnkp = (sfmmup)->sfmmu_hmeregion_links[_l1ix]; \
484 _hatlockp = sfmmu_hat_enter(sfmmup); \
485 if ((sfmmup)->sfmmu_hmeregion_links[_l1ix] != NULL) { \
488 lnkp = (sfmmup)->sfmmu_hmeregion_links[_l1ix]; \
491 (sfmmup)->sfmmu_hmeregion_links[_l1ix] = lnkp; \
497 ASSERT((sfmmup)->sfmmu_hmeregion_links[_l1ix] == NULL); \
498 (sfmmup)->sfmmu_hmeregion_links[_l1ix] = lnkp; \
722 #define SF_RGNMAP_ISNULL(sfmmup) \
[all...]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dcpu_module.h75 void vtag_flushpage(caddr_t addr, uint64_t sfmmup);
79 void vtag_flushpage_tl1(uint64_t addr, uint64_t sfmmup);
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dus3_common_mmu.c473 mmu_check_page_sizes(sfmmu_t *sfmmup, uint64_t *ttecnt) argument
486 if (SFMMU_LGPGS_INUSE(sfmmup)) {
507 oldval = sfmmup->sfmmu_pgsz[0] << 8 | sfmmup->sfmmu_pgsz[1];
510 mmu_fixup_large_pages(sfmmup, ttecnt, tmp_pgsz);
513 mmu_setup_page_sizes(sfmmup, ttecnt, tmp_pgsz);
517 sfmmu_reprog_pgsz_arr(sfmmup, tmp_pgsz);
H A Dopl_olympus.c972 mmu_check_page_sizes(sfmmu_t *sfmmup, uint64_t *ttecnt) argument
984 if (SFMMU_LGPGS_INUSE(sfmmup)) {
998 oldval = sfmmup->sfmmu_pgsz[0] << 8 | sfmmup->sfmmu_pgsz[1];
1000 mmu_setup_page_sizes(sfmmup, ttecnt, tmp_pgsz);
1005 sfmmu_reprog_pgsz_arr(sfmmup, tmp_pgsz);
H A Dopl_olympus_asm.s74 vtag_flushpage(caddr_t vaddr, uint64_t sfmmup)
84 * %o1 = sfmmup
119 * %o1 = sfmmup
124 ldub [%o1 + SFMMU_CEXT], %o4 ! %o4 = sfmmup->sfmmu_cext
179 vtag_flushpage_tl1(uint64_t vaddr, uint64_t sfmmup)
189 * %g2 = sfmmup
212 ldub [%g2 + SFMMU_CEXT], %g4 ! %g4 = sfmmup->cext
259 andn %g2, SFMMU_PGCNT_MASK, %g2 /* g2 = sfmmup */
285 * g2 = sfmmup
292 ldub [%g2 + SFMMU_CEXT], %g4 ! %g4 = sfmmup
[all...]
H A Dus3_common_asm.s182 vtag_flushpage(caddr_t vaddr, uint64_t sfmmup)
192 * %o1 = sfmmup
227 * %o1 = sfmmup
232 ldub [%o1 + SFMMU_CEXT], %o4 ! %o4 = sfmmup->sfmmu_cext
286 vtag_flushpage_tl1(uint64_t vaddr, uint64_t sfmmup)
296 * %g2 = sfmmup
319 ldub [%g2 + SFMMU_CEXT], %g4 ! %g4 = sfmmup->cext
366 andn %g2, SFMMU_PGCNT_MASK, %g2 /* g2 = sfmmup */
392 * g2 = sfmmup
399 ldub [%g2 + SFMMU_CEXT], %g4 ! %g4 = sfmmup
[all...]
H A Dspitfire_asm.s360 vtag_flushpage(caddr_t vaddr, uint64_t sfmmup)
375 vtag_flushpage_tl1(uint64_t vaddr, uint64_t sfmmup)
451 * %o1 = sfmmup
485 * %o1 = sfmmup
554 * %g2 = sfmmup
598 andn %g2, SFMMU_PGCNT_MASK, %g2 /* g2 = sfmmup */
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dcpu_module.h77 void vtag_flushpage(caddr_t addr, uint64_t sfmmup);
81 void vtag_flushpage_tl1(uint64_t addr, uint64_t sfmmup);
/illumos-gate/usr/src/uts/sun4/cpu/
H A Dcpu_module.c58 vtag_flushpage(caddr_t addr, uint64_t sfmmup) argument
71 vtag_flushpage_tl1(uint64_t addr, uint64_t sfmmup) argument
/illumos-gate/usr/src/cmd/mdb/sun4u/modules/unix/
H A Dsfmmu.c176 sfmmu_vtop_impl(uintptr_t addr, sfmmu_t *sfmmup, sfmmu_t *msfmmup, argument
231 sfmmup = ism_hatid = ism_map[i].imap_ismhat;
238 + (caddr_t)sism_blkp, sfmmup, addr);
245 hblktag.htag_id = sfmmup;
262 hmebp = shmebp = HME_HASH_FUNCTION(sfmmup, addr, hmeshift);
317 SFMMU_VTOP_DBG_VRB("sfmmup=%p hmebp=%p hmeblkp=%p\n",
318 sfmmup, shmebp, thmeblkp);
/illumos-gate/usr/src/uts/sun4u/vm/
H A Dmach_sfmmu_asm.s66 sfmmu_raise_tsb_exception(uint64_t sfmmup, uint64_t rctx)
94 sfmmu_load_mmustate(sfmmu_t *sfmmup)
104 * %g1 = sfmmup whose ctx is being invalidated
111 ! current CPU tsbmiss->usfmmup == victim sfmmup) {
H A Dmach_sfmmu.c319 sfmmu_setup_tsbinfo(sfmmu_t *sfmmup) argument
/illumos-gate/usr/src/uts/sun4/os/
H A Dmp_startup.c100 sfmmu_t *sfmmup; local
123 sfmmup = astosfmmu(&kas);
124 CPUSET_ADD(sfmmup->sfmmu_cpusran, cpuid);
/illumos-gate/usr/src/uts/sun4/ml/
H A Dswtch.s259 mov %i5, %o0 ! %o0 = sfmmup
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dcommon_asm.s1021 vtag_flushpage(caddr_t vaddr, uint64_t sfmmup)
1036 vtag_flushpage_tl1(uint64_t vaddr, uint64_t sfmmup)
1071 * %o1 = sfmmup
1142 * %g2 = sfmmup
1193 andn %g2, SFMMU_PGCNT_MASK, %o0 /* %o0 = sfmmup */
/illumos-gate/usr/src/uts/sfmmu/ml/
H A Dsfmmu_asm.s491 sfmmu_alloc_ctx(sfmmu_t *sfmmup, int allocflag, struct cpu *cp, int shflag)
599 * %o0 - sfmmup
777 * %o0 = sfmmup
3883 sfmmu_vatopfn(caddr_t vaddr, sfmmu_t *sfmmup, tte_t *ttep)
3913 * o1 = sfmmup
3933 * o1 = sfmmup
3953 * o1 = sfmmup
3967 * o1 = sfmmup
4008 * o1 = sfmmup

Completed in 165 milliseconds