Home
last modified time | relevance | path

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

/xnu-8792.41.9/bsd/vm/
H A Dvnode_pager.c582 int start_pg; in vnode_pagein() local
716 start_pg = last_pg; in vnode_pagein()
721 for (start_pg = last_pg; last_pg < pages_in_upl; last_pg++) { in vnode_pagein()
728 if (last_pg > start_pg) { in vnode_pagein()
735 xsize = (last_pg - start_pg) * PAGE_SIZE; in vnode_pagein()
738 ubc_upl_abort_range(upl, start_pg * PAGE_SIZE, xsize, UPL_ABORT_FREE_ON_EMPTY); in vnode_pagein()
765 for (start_pg = last_pg; last_pg < pages_in_upl; last_pg++) { in vnode_pagein()
770 if (last_pg > start_pg) { in vnode_pagein()
772 xsize = (last_pg - start_pg) * PAGE_SIZE; in vnode_pagein()
773 xoff = start_pg * PAGE_SIZE; in vnode_pagein()
/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);
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()
4044 ubc_upl_abort_range(upl, start_pg * PAGE_SIZE, range * PAGE_SIZE, abort_flags); in cluster_read_upl_release()
4058 int start_pg; in cluster_read_copy() local
4341 for (start_pg = 0; start_pg < pages_in_upl; start_pg++) { in cluster_read_copy()
4342 if (!upl_valid_page(pl, start_pg)) { in cluster_read_copy()
4353 for (last_pg = start_pg; last_pg < pages_in_upl; last_pg++) { in cluster_read_copy()
4359 if (start_pg < last_pg) { in cluster_read_copy()
4371 upl_offset = start_pg * PAGE_SIZE; in cluster_read_copy()
[all …]
/xnu-8792.41.9/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;