Home
last modified time | relevance | path

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

/xnu-12377.1.9/bsd/vm/
H A Dvnode_pager.c314 int pg_index; in vnode_pageout() local
425 for (pg_index = (upl_offset + isize) / PAGE_SIZE; pg_index > base_index;) { in vnode_pageout()
426 if (upl_page_present(pl, --pg_index)) { in vnode_pageout()
429 if (pg_index == base_index) { in vnode_pageout()
441 isize = ((pg_index + 1) - base_index) * PAGE_SIZE; in vnode_pageout()
483 pg_index = base_index; in vnode_pageout()
489 if (!upl_page_present(pl, pg_index)) { in vnode_pageout()
498 pg_index++; in vnode_pageout()
502 if (!upl_dirty_page(pl, pg_index)) { in vnode_pageout()
534 pg_index++; in vnode_pageout()
[all …]
/xnu-12377.1.9/bsd/vfs/
H A Dvfs_cluster.c7358 int pg_index; in cluster_copy_upl_data() local
7395 pg_index = upl_offset / PAGE_SIZE; in cluster_copy_upl_data()
7402 ppnum_t pn = upl_phys_page(pl, pg_index); in cluster_copy_upl_data()
7405 if ((uio->uio_rw == UIO_WRITE) && (upl_dirty_page(pl, pg_index) == FALSE)) { in cluster_copy_upl_data()
7416 pg_index += 1; in cluster_copy_upl_data()