Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/vm/
H A Dvnode_pager.c591 int start_pg; in vnode_pagein() local
725 start_pg = last_pg; in vnode_pagein()
730 for (start_pg = last_pg; last_pg < pages_in_upl; last_pg++) { in vnode_pagein()
737 if (last_pg > start_pg) { in vnode_pagein()
744 xsize = (last_pg - start_pg) * PAGE_SIZE; in vnode_pagein()
747 ubc_upl_abort_range(upl, start_pg * PAGE_SIZE, xsize, UPL_ABORT_FREE_ON_EMPTY); in vnode_pagein()
774 for (start_pg = last_pg; last_pg < pages_in_upl; last_pg++) { in vnode_pagein()
779 if (last_pg > start_pg) { in vnode_pagein()
781 xsize = (last_pg - start_pg) * PAGE_SIZE; in vnode_pagein()
782 xoff = start_pg * PAGE_SIZE; in vnode_pagein()
/xnu-8019.80.24/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);
4011 cluster_read_upl_release(upl_t upl, int start_pg, int last_pg, int take_reference) in cluster_read_upl_release() argument
4016 if ((range = last_pg - start_pg)) { in cluster_read_upl_release()
4021 ubc_upl_abort_range(upl, start_pg * PAGE_SIZE, range * PAGE_SIZE, abort_flags); in cluster_read_upl_release()
4035 int start_pg; in cluster_read_copy() local
4318 for (start_pg = 0; start_pg < pages_in_upl; start_pg++) { in cluster_read_copy()
4319 if (!upl_valid_page(pl, start_pg)) { in cluster_read_copy()
4330 for (last_pg = start_pg; last_pg < pages_in_upl; last_pg++) { in cluster_read_copy()
4336 if (start_pg < last_pg) { in cluster_read_copy()
4348 upl_offset = start_pg * PAGE_SIZE; in cluster_read_copy()
[all …]
/xnu-8019.80.24/bsd/kern/
H A Ddecmpfs.c1457 int start_pg;
1475 for (start_pg = 0; start_pg < pages_left_in_upl; start_pg++) {
1476 if (!upl_valid_page(pl_info, pl_offset_pg + start_pg)) {
1481 num_valid_pages += start_pg;
1489 for (last_pg = start_pg; last_pg < pages_left_in_upl; last_pg++) {
1495 if (start_pg < last_pg) {
1496 off_t inval_offset = start_pg * PAGE_SIZE;
1497 int inval_pages = last_pg - start_pg;