Home
last modified time | relevance | path

Searched refs:pg_num (Results 1 – 2 of 2) sorted by relevance

/xnu-11215/osfmk/vm/
H A Dvm_upl.c294 unsigned int pg_num; in upl_abort_range() local
297 pg_num = (unsigned int) (target_offset / PAGE_SIZE); in upl_abort_range()
298 assert(pg_num == target_offset / PAGE_SIZE); in upl_abort_range()
303 needed = upl->page_list[pg_num].needed; in upl_abort_range()
310 if (bitmap_test(upl->lite_list, pg_num)) { in upl_abort_range()
311 bitmap_clear(upl->lite_list, pg_num); in upl_abort_range()
780 unsigned int pg_num; in upl_commit_range() local
787 pg_num = (unsigned int) (target_offset / PAGE_SIZE); in upl_commit_range()
788 assert(pg_num == target_offset / PAGE_SIZE); in upl_commit_range()
790 if (bitmap_test(upl->lite_list, pg_num)) { in upl_commit_range()
[all …]
H A Dvm_pageout.c6167 unsigned int pg_num; local
6169 pg_num = (unsigned int) ((dst_offset - offset) / PAGE_SIZE);
6170 assert(pg_num == (dst_offset - offset) / PAGE_SIZE);
6171 bitmap_set(upl->lite_list, pg_num);
6415 unsigned int pg_num; local
6418 assert(pg_num == (dst_offset - offset) / PAGE_SIZE);
6419 bitmap_set(upl->lite_list, pg_num);
7305 unsigned int pg_num; local
7329 pg_num = (unsigned int) (new_offset / PAGE_SIZE);
7330 assert(pg_num == new_offset / PAGE_SIZE);
[all …]