Home
last modified time | relevance | path

Searched refs:anon_index (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/vm/
H A Dseg_spt.c449 pgcnt_t anon_index; in segspt_shmincore() local
457 anon_index = seg_page(seg, addr); in segspt_shmincore()
459 if (anon_index + npages > btopr(shmd->shm_amp->size)) { in segspt_shmincore()
463 for (i = 0; i < npages; i++, anon_index++) { in segspt_shmincore()
465 anon_array_enter(amp, anon_index, &cookie); in segspt_shmincore()
466 ap = anon_get_ptr(amp->ahp, anon_index); in segspt_shmincore()
478 if (shmd->shm_vpage[anon_index] & DISM_PG_LOCKED) { in segspt_shmincore()
527 ulong_t i, j, anon_index = 0; in segspt_create() local
591 (void) lgrp_shm_policy_set(LGRP_MEM_POLICY_DEFAULT, amp, anon_index, in segspt_create()
647 if ((err = anon_map_createpages(amp, anon_index, ptob(npages), ppa, in segspt_create()
[all …]
H A Dseg_vn.c860 svd->anon_index = 0; in segvn_create()
912 svd->anon_index = anon_num; in segvn_create()
936 svd->anon_index = 0; in segvn_create()
999 (void) lgrp_shm_policy_set(mpolicy, svd->amp, svd->anon_index, in segvn_create()
1082 if (amp1 != NULL && svd1->anon_index + btop(seg1->s_size) != in segvn_concat()
1083 svd2->anon_index) { in segvn_concat()
1180 if (anon_copy_ptr(amp1->ahp, svd1->anon_index, in segvn_concat()
1193 if (anon_copy_ptr(amp2->ahp, svd2->anon_index, in segvn_concat()
1226 svd1->anon_index = 0; in segvn_concat()
1331 newpgs = anon_grow(amp1->ahp, &svd1->anon_index, in segvn_extend_prev()
[all …]
H A Dseg_vn.h95 ulong_t anon_index; /* starting index into anon_map anon array */ member
H A Dvm_anon.c1112 anon_szcshare(struct anon_hdr *ahp, ulong_t anon_index) in anon_szcshare() argument
1117 ap = anon_get_ptr(ahp, anon_index); in anon_szcshare()
1138 anon_share(struct anon_hdr *ahp, ulong_t anon_index, pgcnt_t nslots) in anon_share() argument
1143 if ((ap = anon_get_ptr(ahp, anon_index)) != NULL && in anon_share()
1146 anon_index++; in anon_share()
3481 anon_pages(struct anon_hdr *ahp, ulong_t anon_index, pgcnt_t nslots) in anon_pages() argument
3486 if ((anon_get_ptr(ahp, anon_index)) != NULL) in anon_pages()
3488 anon_index++; in anon_pages()
H A Dvm_usage.c1138 p_start = svd->anon_index; in vmu_calculate_seg()
1139 p_end = svd->anon_index + in vmu_calculate_seg()
1158 s_start = svd->anon_index; in vmu_calculate_seg()
1159 s_end = svd->anon_index + btop(seg->s_size) - 1; in vmu_calculate_seg()
H A Dvm_page.c5403 struct anon_map *amp, ulong_t anon_index, vnode_t *vp, in page_mark_migrate() argument
5454 an_idx = anon_index + seg_page(seg, va); in page_mark_migrate()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gcore.h116 uint64_t anon_index; member
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dmemory.c1325 if ((seg.s_size + (svd.anon_index << PAGESHIFT)) > amp.size) { in segvn_anon_walk_init()
1333 svd.anon_index, svd.anon_index + (seg.s_size >> PAGESHIFT))); in segvn_anon_walk_init()
H A Dgcore.c401 gcore_anon_get(amp.ahp, svd->anon_index + p, &vp, in gsvn_incore()
/illumos-gate/usr/src/uts/common/os/
H A Dlgrp.c3568 lgrp_shm_policy_get(struct anon_map *amp, ulong_t anon_index, vnode_t *vp, in lgrp_shm_policy_get() argument
3594 off = ptob(anon_index); in lgrp_shm_policy_get()
4141 ulong_t anon_index, vnode_t *vp, u_offset_t vn_off, size_t len) in lgrp_shm_policy_set() argument
4179 off = ptob(anon_index); in lgrp_shm_policy_set()