Searched refs:last_pg (Results 1 – 3 of 3) sorted by relevance
| /xnu-11417.140.69/bsd/vm/ |
| H A D | vnode_pager.c | 602 int last_pg; in vnode_pagein() local 710 for (last_pg = pages_in_upl - 1; last_pg >= first_pg; last_pg--) { in vnode_pagein() 711 if (upl_page_present(pl, last_pg)) { in vnode_pagein() 714 if (last_pg == first_pg) { in vnode_pagein() 724 pages_in_upl = last_pg + 1; in vnode_pagein() 725 last_pg = first_pg; in vnode_pagein() 727 while (last_pg < pages_in_upl) { in vnode_pagein() 731 for (; last_pg < pages_in_upl; last_pg++) { in vnode_pagein() 732 if (upl_page_present(pl, last_pg)) { in vnode_pagein() 738 start_pg = last_pg; in vnode_pagein() [all …]
|
| /xnu-11417.140.69/bsd/vfs/ |
| H A D | vfs_cluster.c | 200 static void cluster_read_upl_release(upl_t upl, int start_pg, int last_pg, int take_reference); 767 int last_pg = trunc_page_32(assoc_upl_end - 1) >> PAGE_SHIFT; in cluster_handle_associated_upl() local 779 if (check_last_pg && !upl_page_get_mark(assoc_pl, last_pg)) { in cluster_handle_associated_upl() 784 upl_page_set_mark(assoc_pl, last_pg, true); in cluster_handle_associated_upl() 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() 4503 int last_pg; in cluster_read_copy() local 4797 for (last_pg = start_pg; last_pg < pages_in_upl; last_pg++) { in cluster_read_copy() 4798 if (upl_valid_page(pl, last_pg)) { in cluster_read_copy() 4803 if (start_pg < last_pg) { in cluster_read_copy() [all …]
|
| /xnu-11417.140.69/bsd/kern/ |
| H A D | decmpfs.c | 1489 int last_pg; 1520 for (last_pg = start_pg; last_pg < pages_left_in_upl; last_pg++) { 1521 if (upl_valid_page(pl_info, pl_offset_pg + last_pg)) { 1526 if (start_pg < last_pg) { 1528 int inval_pages = last_pg - start_pg;
|