Searched refs:start_pg (Results 1 – 3 of 3) sorted by relevance
| /xnu-10063.141.1/bsd/vm/ |
| H A D | vnode_pager.c | 595 int start_pg; in vnode_pagein() local 729 start_pg = last_pg; in vnode_pagein() 734 for (start_pg = last_pg; last_pg < pages_in_upl; last_pg++) { in vnode_pagein() 741 if (last_pg > start_pg) { in vnode_pagein() 748 xsize = (last_pg - start_pg) * PAGE_SIZE; in vnode_pagein() 751 ubc_upl_abort_range(upl, start_pg * PAGE_SIZE, xsize, UPL_ABORT_FREE_ON_EMPTY); in vnode_pagein() 778 for (start_pg = last_pg; last_pg < pages_in_upl; last_pg++) { in vnode_pagein() 783 if (last_pg > start_pg) { in vnode_pagein() 785 xsize = (last_pg - start_pg) * PAGE_SIZE; in vnode_pagein() 786 xoff = start_pg * PAGE_SIZE; in vnode_pagein()
|
| /xnu-10063.141.1/bsd/vfs/ |
| H A D | vfs_cluster.c | 197 static void cluster_read_upl_release(upl_t upl, int start_pg, int last_pg, int take_reference); 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() 4051 ubc_upl_abort_range(upl, start_pg * PAGE_SIZE, range * PAGE_SIZE, abort_flags); in cluster_read_upl_release() 4065 int start_pg; in cluster_read_copy() local 4348 for (start_pg = 0; start_pg < pages_in_upl; start_pg++) { in cluster_read_copy() 4349 if (!upl_valid_page(pl, start_pg)) { in cluster_read_copy() 4360 for (last_pg = start_pg; last_pg < pages_in_upl; last_pg++) { in cluster_read_copy() 4366 if (start_pg < last_pg) { in cluster_read_copy() 4378 upl_offset = start_pg * PAGE_SIZE; in cluster_read_copy() [all …]
|
| /xnu-10063.141.1/bsd/kern/ |
| H A D | decmpfs.c | 1486 int start_pg; 1504 for (start_pg = 0; start_pg < pages_left_in_upl; start_pg++) { 1505 if (!upl_valid_page(pl_info, pl_offset_pg + start_pg)) { 1510 num_valid_pages += start_pg; 1518 for (last_pg = start_pg; last_pg < pages_left_in_upl; last_pg++) { 1524 if (start_pg < last_pg) { 1525 off_t inval_offset = start_pg * PAGE_SIZE; 1526 int inval_pages = last_pg - start_pg;
|