Home
last modified time | relevance | path

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

/xnu-8792.41.9/bsd/vm/
H A Dvnode_pager.c583 int last_pg; in vnode_pagein() local
688 for (last_pg = pages_in_upl - 1; last_pg >= first_pg; last_pg--) { in vnode_pagein()
689 if (upl_page_present(pl, last_pg)) { in vnode_pagein()
692 if (last_pg == first_pg) { in vnode_pagein()
702 pages_in_upl = last_pg + 1; in vnode_pagein()
703 last_pg = first_pg; in vnode_pagein()
705 while (last_pg < pages_in_upl) { in vnode_pagein()
709 for (; last_pg < pages_in_upl; last_pg++) { in vnode_pagein()
710 if (upl_page_present(pl, last_pg)) { in vnode_pagein()
716 start_pg = last_pg; in vnode_pagein()
[all …]
/xnu-8792.41.9/bsd/vfs/
H A Dvfs_cluster.c197 static void cluster_read_upl_release(upl_t upl, int start_pg, int last_pg, int take_reference);
658 const int last_pg = (upl_end >> PAGE_SHIFT) - 1; in cluster_handle_associated_upl() local
660 if (!upl_page_get_mark(assoc_pl, last_pg)) { in cluster_handle_associated_upl()
665 upl_page_set_mark(assoc_pl, last_pg, true); in cluster_handle_associated_upl()
4034 cluster_read_upl_release(upl_t upl, int start_pg, int last_pg, int take_reference) in cluster_read_upl_release() argument
4039 if ((range = last_pg - start_pg)) { in cluster_read_upl_release()
4059 int last_pg; in cluster_read_copy() local
4353 for (last_pg = start_pg; last_pg < pages_in_upl; last_pg++) { in cluster_read_copy()
4354 if (upl_valid_page(pl, last_pg)) { in cluster_read_copy()
4359 if (start_pg < last_pg) { in cluster_read_copy()
[all …]
/xnu-8792.41.9/bsd/kern/
H A Ddecmpfs.c1458 int last_pg;
1489 for (last_pg = start_pg; last_pg < pages_left_in_upl; last_pg++) {
1490 if (upl_valid_page(pl_info, pl_offset_pg + last_pg)) {
1495 if (start_pg < last_pg) {
1497 int inval_pages = last_pg - start_pg;