Lines Matching refs:ism_map
7885 ism_map_t *ism_map;
7911 ism_map = ism_blkp->iblk_maps;
7912 for (i = 0; ism_map[i].imap_ismhat && i < ISM_MAP_SLOTS; i++) {
7913 if (vaddr >= ism_start(ism_map[i]) &&
7914 vaddr < ism_end(ism_map[i])) {
7915 sfmmup = ism_hatid = ism_map[i].imap_ismhat;
7917 ism_start(ism_map[i]));
8304 ism_map_t *ism_map;
8315 ism_map = ism_blkp->iblk_maps;
8316 for (j = 0; ism_map[j].imap_ismhat && j < ISM_MAP_SLOTS; j++) {
8317 rid = ism_map[j].imap_rid;
8325 ism_map[j].imap_ismhat->sfmmu_ttecnt[szc];
8329 ism_map[j].imap_ismhat->sfmmu_ttecnt[szc];
8461 ism_map_t *ism_map;
8526 ism_map = ism_blkp->iblk_maps;
8527 for (i = 0; i < ISM_MAP_SLOTS && ism_map[i].imap_ismhat; i++) {
8528 if ((addr >= ism_start(ism_map[i]) &&
8529 addr < ism_end(ism_map[i])) ||
8530 eaddr > ism_start(ism_map[i]) &&
8531 eaddr <= ism_end(ism_map[i])) {
8553 ism_map = ism_blkp->iblk_maps;
8555 if (ism_map[i].imap_ismhat == NULL) {
8557 ism_map[i].imap_ismhat = ism_hatid;
8558 ism_map[i].imap_vb_shift = (uchar_t)ismshift;
8559 ism_map[i].imap_rid = SFMMU_INVALID_ISMRID;
8560 ism_map[i].imap_hatflags = ismhatflag;
8561 ism_map[i].imap_sz_mask = ismmask;
8567 ism_map[i].imap_seg = (uintptr_t)addr | sh_size;
8568 ism_map[i].imap_ment = ism_ment;
8608 ism_map[i].imap_rid = (uchar_t)((uint64_t)rcookie);
8679 * hat_unshare removes exactly one ism_map from
8686 ism_map_t *ism_map;
8730 ism_map = ism_blkp->iblk_maps;
8732 if (addr == ism_start(ism_map[i]) &&
8733 sh_size == (size_t)(ism_size(ism_map[i]))) {
8743 ism_hatid = ism_map[i].imap_ismhat;
8744 ism_rid = ism_map[i].imap_rid;
8775 iment_sub(ism_map[i].imap_ment, ism_hatid);
8777 free_ment = ism_map[i].imap_ment;
8786 ism_map = ism_blkp->iblk_maps;
8788 ism_map[i] = ism_map[i + 1];
8794 ism_map[i] = ism_blkp->iblk_maps[0];
8797 ism_map[i].imap_seg = 0;
8798 ism_map[i].imap_vb_shift = 0;
8799 ism_map[i].imap_rid = SFMMU_INVALID_ISMRID;
8800 ism_map[i].imap_hatflags = 0;
8801 ism_map[i].imap_sz_mask = 0;
8802 ism_map[i].imap_ismhat = NULL;
8803 ism_map[i].imap_ment = NULL;
12027 ism_map_t *ism_map;
12035 ism_map = ism_blkp->iblk_maps;
12036 for (i = 0; i < ISM_MAP_SLOTS && ism_map[i].imap_ismhat; i++) {
12037 if ((va >= ism_start(ism_map[i])) &&
12038 (va < ism_end(ism_map[i]))) {
12040 *ism_rid = ism_map[i].imap_rid;
12042 ism_hatid = ism_map[i].imap_ismhat;
13806 * the ism_map structure for ism segments.
15309 ism_map_t *ism_map;
15322 ism_map = ism_blkp->iblk_maps;
15323 for (i = 0; ism_map[i].imap_ismhat && i < ISM_MAP_SLOTS; i++) {
15324 rid = ism_map[i].imap_rid;
15331 ism_map[i].imap_hatflags |=
15334 ism_map[i].imap_hatflags &=