Home
last modified time | relevance | path

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

/xnu-12377.1.9/bsd/vm/
H A Dvnode_pager.c602 int last_pg; in vnode_pagein() local
710 for (last_pg = pages_in_upl - 1; last_pg >= first_pg; last_pg--) { in vnode_pagein()
711 if (upl_page_present(pl, last_pg)) { in vnode_pagein()
714 if (last_pg == first_pg) { in vnode_pagein()
724 pages_in_upl = last_pg + 1; in vnode_pagein()
725 last_pg = first_pg; in vnode_pagein()
727 while (last_pg < pages_in_upl) { in vnode_pagein()
731 for (; last_pg < pages_in_upl; last_pg++) { in vnode_pagein()
732 if (upl_page_present(pl, last_pg)) { in vnode_pagein()
738 start_pg = last_pg; in vnode_pagein()
[all …]
/xnu-12377.1.9/bsd/vfs/
H A Dvfs_cluster.c203 static void cluster_read_upl_release(upl_t upl, int start_pg, int last_pg, int take_reference);
782 int last_pg = trunc_page_32(assoc_upl_end - 1) >> PAGE_SHIFT; in cluster_handle_associated_upl() local
794 if (check_last_pg && !upl_page_get_mark(assoc_pl, last_pg)) { in cluster_handle_associated_upl()
799 upl_page_set_mark(assoc_pl, last_pg, true); in cluster_handle_associated_upl()
2754 const int last_pg = ((upl_offset + rounded_size) >> PAGE_SHIFT) - 1; in cluster_handle_split_pagein() local
2763 for (pg = start_pg; (pg <= last_pg) && !(upl_page_is_needed(pl, pg)); pg++) { in cluster_handle_split_pagein()
2780 if ((pg > start_pg) && (pg <= last_pg)) { in cluster_handle_split_pagein()
2812 } else if ((pg > last_pg) && !split_all_pgin) { in cluster_handle_split_pagein()
4678 cluster_read_upl_release(upl_t upl, int start_pg, int last_pg, int take_reference) in cluster_read_upl_release() argument
4683 if ((range = last_pg - start_pg)) { in cluster_read_upl_release()
[all …]
/xnu-12377.1.9/bsd/kern/
H A Ddecmpfs.c1489 int last_pg;
1520 for (last_pg = start_pg; last_pg < pages_left_in_upl; last_pg++) {
1521 if (upl_valid_page(pl_info, pl_offset_pg + last_pg)) {
1526 if (start_pg < last_pg) {
1528 int inval_pages = last_pg - start_pg;