Home
last modified time | relevance | path

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

/xnu-11417.140.69/bsd/vm/
H A Dvnode_pager.c601 int start_pg; in vnode_pagein() local
738 start_pg = last_pg; in vnode_pagein()
743 for (start_pg = last_pg; last_pg < pages_in_upl; last_pg++) { in vnode_pagein()
750 if (last_pg > start_pg) { in vnode_pagein()
757 xsize = (last_pg - start_pg) * PAGE_SIZE; in vnode_pagein()
760 ubc_upl_abort_range(upl, start_pg * PAGE_SIZE, xsize, UPL_ABORT_FREE_ON_EMPTY); in vnode_pagein()
787 for (start_pg = last_pg; last_pg < pages_in_upl; last_pg++) { in vnode_pagein()
792 if (last_pg > start_pg) { in vnode_pagein()
794 xsize = (last_pg - start_pg) * PAGE_SIZE; in vnode_pagein()
795 xoff = start_pg * PAGE_SIZE; in vnode_pagein()
/xnu-11417.140.69/bsd/vfs/
H A Dvfs_cluster.c200 static void cluster_read_upl_release(upl_t upl, int start_pg, int last_pg, int take_reference);
4478 cluster_read_upl_release(upl_t upl, int start_pg, int last_pg, int take_reference) in cluster_read_upl_release() argument
4483 if ((range = last_pg - start_pg)) { in cluster_read_upl_release()
4488 ubc_upl_abort_range(upl, start_pg * PAGE_SIZE, range * PAGE_SIZE, abort_flags); in cluster_read_upl_release()
4502 int start_pg; in cluster_read_copy() local
4785 for (start_pg = 0; start_pg < pages_in_upl; start_pg++) { in cluster_read_copy()
4786 if (!upl_valid_page(pl, start_pg)) { in cluster_read_copy()
4797 for (last_pg = start_pg; last_pg < pages_in_upl; last_pg++) { in cluster_read_copy()
4803 if (start_pg < last_pg) { in cluster_read_copy()
4815 upl_offset = start_pg * PAGE_SIZE; in cluster_read_copy()
[all …]
/xnu-11417.140.69/bsd/kern/
H A Ddecmpfs.c1488 int start_pg;
1506 for (start_pg = 0; start_pg < pages_left_in_upl; start_pg++) {
1507 if (!upl_valid_page(pl_info, pl_offset_pg + start_pg)) {
1512 num_valid_pages += start_pg;
1520 for (last_pg = start_pg; last_pg < pages_left_in_upl; last_pg++) {
1526 if (start_pg < last_pg) {
1527 off_t inval_offset = start_pg * PAGE_SIZE;
1528 int inval_pages = last_pg - start_pg;