Searched refs:sahp (Results 1 – 1 of 1) sorted by relevance
514 anon_copy_ptr(struct anon_hdr *sahp, ulong_t s_idx, struct anon_hdr *dahp, in anon_copy_ptr() argument521 ASSERT((s_idx < sahp->size) && (d_idx < dahp->size)); in anon_copy_ptr()522 ASSERT((npages <= sahp->size) && (npages <= dahp->size)); in anon_copy_ptr()527 if (((sahp->size <= ANON_CHUNK_SIZE) && in anon_copy_ptr()529 ((sahp->flags & ANON_ALLOC_FORCE) && in anon_copy_ptr()532 bcopy(&sahp->array_chunk[s_idx], &dahp->array_chunk[d_idx], in anon_copy_ptr()540 if (sahp->size > ANON_CHUNK_SIZE && in anon_copy_ptr()542 ((sahp->flags & ANON_ALLOC_FORCE) == 0) && in anon_copy_ptr()557 sapp = &sahp->array_chunk[s_idx >> ANON_CHUNK_SHIFT]; in anon_copy_ptr()581 if ((ap = anon_get_ptr(sahp, s_idx)) != NULL) { in anon_copy_ptr()[all …]