Home
last modified time | relevance | path

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

/xnu-12377.41.6/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()
813 unsigned int pg_num; in upl_commit_range() local
820 pg_num = (unsigned int) (target_offset / PAGE_SIZE); in upl_commit_range()
821 assert(pg_num == target_offset / PAGE_SIZE); in upl_commit_range()
823 if (bitmap_test(upl->lite_list, pg_num)) { in upl_commit_range()
[all …]
H A Dvm_pageout.c6489 unsigned int pg_num; local
6491 pg_num = (unsigned int) ((dst_offset - offset) / PAGE_SIZE);
6492 assert(pg_num == (dst_offset - offset) / PAGE_SIZE);
6493 bitmap_set(upl->lite_list, pg_num);
6755 unsigned int pg_num; local
6757 pg_num = (unsigned int) ((dst_offset - offset) / PAGE_SIZE);
6758 assert(pg_num == (dst_offset - offset) / PAGE_SIZE);
6759 bitmap_set(upl->lite_list, pg_num);
7680 unsigned int pg_num; local
7707 pg_num = (unsigned int) (new_offset / PAGE_SIZE);
[all …]