Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/vm/
H A Dvm_anon.c515 anon_copy_ptr(struct anon_hdr *sahp, ulong_t s_idx, in anon_copy_ptr() argument
523 ASSERT((s_idx < sahp->size) && (d_idx < dahp->size)); in anon_copy_ptr()
524 ASSERT((npages <= sahp->size) && (npages <= dahp->size)); in anon_copy_ptr()
529 if (((sahp->size <= ANON_CHUNK_SIZE) && in anon_copy_ptr()
531 ((sahp->flags & ANON_ALLOC_FORCE) && in anon_copy_ptr()
534 bcopy(&sahp->array_chunk[s_idx], &dahp->array_chunk[d_idx], in anon_copy_ptr()
542 if (sahp->size > ANON_CHUNK_SIZE && in anon_copy_ptr()
544 ((sahp->flags & ANON_ALLOC_FORCE) == 0) && in anon_copy_ptr()
559 sapp = &sahp->array_chunk[s_idx >> ANON_CHUNK_SHIFT]; in anon_copy_ptr()
583 if ((ap = anon_get_ptr(sahp, s_idx)) != NULL) { in anon_copy_ptr()
[all …]