Home
last modified time | relevance | path

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

/xnu-12377.1.9/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-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);
2753 const int start_pg = upl_offset >> PAGE_SHIFT; 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()
2781 head_io_size = ((pg - start_pg) * PAGE_SIZE); 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()
4688 ubc_upl_abort_range(upl, start_pg * PAGE_SIZE, range * PAGE_SIZE, abort_flags); in cluster_read_upl_release()
4702 int start_pg; in cluster_read_copy() local
4985 for (start_pg = 0; start_pg < pages_in_upl; start_pg++) { in cluster_read_copy()
[all …]
/xnu-12377.1.9/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;