Home
last modified time | relevance | path

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

/xnu-12377.81.4/osfmk/vm/
H A Dvm_upl.c301 unsigned int pg_num; in upl_abort_range() local
304 pg_num = (unsigned int) (target_offset / PAGE_SIZE); in upl_abort_range()
305 assert(pg_num == target_offset / PAGE_SIZE); in upl_abort_range()
310 needed = upl->page_list[pg_num].needed; in upl_abort_range()
317 if (bitmap_test(upl->lite_list, pg_num)) { in upl_abort_range()
318 bitmap_clear(upl->lite_list, pg_num); in upl_abort_range()
822 unsigned int pg_num; in upl_commit_range() local
829 pg_num = (unsigned int) (target_offset / PAGE_SIZE); in upl_commit_range()
830 assert(pg_num == target_offset / PAGE_SIZE); in upl_commit_range()
832 if (bitmap_test(upl->lite_list, pg_num)) { in upl_commit_range()
[all …]
H A Dvm_pageout.c6499 unsigned int pg_num; local
6501 pg_num = (unsigned int) ((dst_offset - offset) / PAGE_SIZE);
6502 assert(pg_num == (dst_offset - offset) / PAGE_SIZE);
6503 bitmap_set(upl->lite_list, pg_num);
6766 unsigned int pg_num; local
6768 pg_num = (unsigned int) ((dst_offset - offset) / PAGE_SIZE);
6769 assert(pg_num == (dst_offset - offset) / PAGE_SIZE);
6770 bitmap_set(upl->lite_list, pg_num);
7691 unsigned int pg_num; local
7718 pg_num = (unsigned int) (new_offset / PAGE_SIZE);
[all …]