Home
last modified time | relevance | path

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

/xnu-10063.141.1/bsd/vm/
H A Dvnode_pager.c596 int last_pg; in vnode_pagein() local
701 for (last_pg = pages_in_upl - 1; last_pg >= first_pg; last_pg--) { in vnode_pagein()
702 if (upl_page_present(pl, last_pg)) { in vnode_pagein()
705 if (last_pg == first_pg) { in vnode_pagein()
715 pages_in_upl = last_pg + 1; in vnode_pagein()
716 last_pg = first_pg; in vnode_pagein()
718 while (last_pg < pages_in_upl) { in vnode_pagein()
722 for (; last_pg < pages_in_upl; last_pg++) { in vnode_pagein()
723 if (upl_page_present(pl, last_pg)) { in vnode_pagein()
729 start_pg = last_pg; in vnode_pagein()
[all …]
/xnu-10063.141.1/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);
676 const int last_pg = (upl_end >> PAGE_SHIFT) - 1; in cluster_handle_associated_upl() local
678 if (!upl_page_get_mark(assoc_pl, last_pg)) { in cluster_handle_associated_upl()
683 upl_page_set_mark(assoc_pl, last_pg, true); in cluster_handle_associated_upl()
4041 cluster_read_upl_release(upl_t upl, int start_pg, int last_pg, int take_reference) in cluster_read_upl_release() argument
4046 if ((range = last_pg - start_pg)) { in cluster_read_upl_release()
4066 int last_pg; in cluster_read_copy() local
4360 for (last_pg = start_pg; last_pg < pages_in_upl; last_pg++) { in cluster_read_copy()
4361 if (upl_valid_page(pl, last_pg)) { in cluster_read_copy()
4366 if (start_pg < last_pg) { in cluster_read_copy()
[all …]
/xnu-10063.141.1/bsd/kern/
H A Ddecmpfs.c1487 int last_pg;
1518 for (last_pg = start_pg; last_pg < pages_left_in_upl; last_pg++) {
1519 if (upl_valid_page(pl_info, pl_offset_pg + last_pg)) {
1524 if (start_pg < last_pg) {
1526 int inval_pages = last_pg - start_pg;