Lines Matching defs:old
2428 * old vnode association.
3383 * Transfer the lock count from the old page (if any).
4515 * Replace the page "old" with the page "new" on the page hash and vnode lists
4519 * vp = old->p_vnode;
4520 * off = old->p_offset;
4521 * page_do_hashout(old)
4525 * 1) if old is the only page on the vnode, the v_pages list has a window
4531 page_do_relocate_hash(page_t *new, page_t *old)
4534 vnode_t *vp = old->p_vnode;
4537 ASSERT(PAGE_EXCL(old));
4541 ASSERT(MUTEX_HELD(PAGE_HASH_MUTEX(PAGE_HASH_FUNC(vp, old->p_offset))));
4544 * First find old page on the page hash list
4546 hash_list = &page_hash[PAGE_HASH_FUNC(vp, old->p_offset)];
4549 if (*hash_list == old)
4559 * update new and replace old with new on the page hash list
4561 new->p_vnode = old->p_vnode;
4562 new->p_offset = old->p_offset;
4563 new->p_hash = old->p_hash;
4570 * replace old with new on the vnode's page list
4572 if (old->p_vpnext == old) {
4576 new->p_vpnext = old->p_vpnext;
4577 new->p_vpprev = old->p_vpprev;
4581 if (vp->v_pages == old)
4585 * clear out the old page
4587 old->p_hash = NULL;
4588 old->p_vpnext = NULL;
4589 old->p_vpprev = NULL;
4590 old->p_vnode = NULL;
4591 PP_CLRSWAP(old);
4592 old->p_offset = (u_offset_t)-1;
4593 page_clr_all_props(old);
4600 sep = page_se_mutex(old);
4602 old->p_selock &= ~SE_EWANTED;
4603 if (CV_HAS_WAITERS(&old->p_cv))
4604 cv_broadcast(&old->p_cv);
6411 /* Remove from old list */
6621 * old vnode association.
7128 * end up here. As we may be hashing out the old page and hashing into
7236 * Walk the page_capture_hash trying to capture pages and also cleanup old