Searched refs:last_pg (Results 1 – 3 of 3) sorted by relevance
| /xnu-8020.101.4/bsd/vm/ |
| H A D | vnode_pager.c | 592 int last_pg; in vnode_pagein() local 697 for (last_pg = pages_in_upl - 1; last_pg >= first_pg; last_pg--) { in vnode_pagein() 698 if (upl_page_present(pl, last_pg)) { in vnode_pagein() 701 if (last_pg == first_pg) { in vnode_pagein() 711 pages_in_upl = last_pg + 1; in vnode_pagein() 712 last_pg = first_pg; in vnode_pagein() 714 while (last_pg < pages_in_upl) { in vnode_pagein() 718 for (; last_pg < pages_in_upl; last_pg++) { in vnode_pagein() 719 if (upl_page_present(pl, last_pg)) { in vnode_pagein() 725 start_pg = last_pg; in vnode_pagein() [all …]
|
| /xnu-8020.101.4/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); 637 const int last_pg = (upl_end >> PAGE_SHIFT) - 1; in cluster_handle_associated_upl() local 639 if (!upl_page_get_mark(assoc_pl, last_pg)) { in cluster_handle_associated_upl() 644 upl_page_set_mark(assoc_pl, last_pg, true); in cluster_handle_associated_upl() 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() 4036 int last_pg; in cluster_read_copy() local 4330 for (last_pg = start_pg; last_pg < pages_in_upl; last_pg++) { in cluster_read_copy() 4331 if (upl_valid_page(pl, last_pg)) { in cluster_read_copy() 4336 if (start_pg < last_pg) { in cluster_read_copy() [all …]
|
| /xnu-8020.101.4/bsd/kern/ |
| H A D | decmpfs.c | 1458 int last_pg; 1489 for (last_pg = start_pg; last_pg < pages_left_in_upl; last_pg++) { 1490 if (upl_valid_page(pl_info, pl_offset_pg + last_pg)) { 1495 if (start_pg < last_pg) { 1497 int inval_pages = last_pg - start_pg;
|