Lines Matching refs:hmeblkp

1297 #define	HBLK_STACK_TRACE(hmeblkp, lock)					\
1302 mutex_enter(&hmeblkp->hblk_audit_lock); \
1303 audit_index = hmeblkp->hblk_audit_index; \
1304 hmeblkp->hblk_audit_index = ((hmeblkp->hblk_audit_index + 1) & \
1306 mutex_exit(&hmeblkp->hblk_audit_lock); \
1309 hmeblkp->hblk_audit_cache[audit_index].flag = \
1312 hmeblkp->hblk_audit_cache[audit_index].flag = \
1315 hmeblkp->hblk_audit_cache[audit_index].thread = curthread; \
1316 hmeblkp->hblk_audit_cache[audit_index].depth = \
1317 getpcstack(hmeblkp->hblk_audit_cache[audit_index].stack, \
1323 #define HBLK_STACK_TRACE(hmeblkp, lock)
1372 struct hme_blk *hmeblkp;
1406 #define get_hblk_span(hmeblkp) ((hmeblkp)->hblk_span)
1407 #define get_hblk_ttesz(hmeblkp) ((hmeblkp)->hblk_ttesz)
1408 #define get_hblk_cache(hmeblkp) (((hmeblkp)->hblk_ttesz == TTE8K) ? \
1413 #define set_hblk_sz(hmeblkp, ttesz) \
1414 (hmeblkp)->hblk_ttesz = (ttesz); \
1415 (hmeblkp)->hblk_span = HMEBLK_SPAN(ttesz)
1417 #define get_hblk_base(hmeblkp) \
1418 ((uintptr_t)(hmeblkp)->hblk_tag.htag_bspage << MMU_PAGESHIFT)
1420 #define get_hblk_endaddr(hmeblkp) \
1421 ((caddr_t)(get_hblk_base(hmeblkp) + get_hblk_span(hmeblkp)))
1423 #define in_hblk_range(hmeblkp, vaddr) \
1424 (((uintptr_t)(vaddr) >= get_hblk_base(hmeblkp)) && \
1425 ((uintptr_t)(vaddr) < (get_hblk_base(hmeblkp) + \
1426 get_hblk_span(hmeblkp))))
1428 #define tte_to_vaddr(hmeblkp, tte) ((caddr_t)(get_hblk_base(hmeblkp) \
1431 #define tte_to_evaddr(hmeblkp, ttep) ((caddr_t)(get_hblk_base(hmeblkp) \
1527 * that owns the specified vaddr and hatid. If if doesn't find one , hmeblkp
1536 hblkp = hmebp->hmeblkp; \
1563 * that owns the specified vaddr and hatid. If if doesn't find one , hmeblkp
1569 for (hblkp = hmebp->hmeblkp; hblkp; \
1599 #define hblktosfmmu(hmeblkp) ((sfmmu_t *)(hmeblkp)->hblk_tag.htag_id)
1600 #define hblktosrd(hmeblkp) ((sf_srd_t *)(hmeblkp)->hblk_tag.htag_id)