Lines Matching refs:PAGE_SIZE

413 	base_index = upl_offset / PAGE_SIZE;  in vnode_pageout()
415 for (pg_index = (upl_offset + isize) / PAGE_SIZE; pg_index > base_index;) { in vnode_pageout()
431 isize = ((pg_index + 1) - base_index) * PAGE_SIZE; in vnode_pageout()
448 for (offset = upl_offset; isize; isize -= PAGE_SIZE, offset += PAGE_SIZE) { in vnode_pageout()
461 ubc_upl_abort_range(upl, offset, PAGE_SIZE, UPL_ABORT_FREE_ON_EMPTY); in vnode_pageout()
468 ubc_upl_commit_range(upl, offset, PAGE_SIZE, UPL_COMMIT_FREE_ON_EMPTY); in vnode_pageout()
470 f_offset += PAGE_SIZE; in vnode_pageout()
488 f_offset += PAGE_SIZE; in vnode_pageout()
489 offset += PAGE_SIZE; in vnode_pageout()
490 isize -= PAGE_SIZE; in vnode_pageout()
518 ubc_upl_abort_range(upl, offset, PAGE_SIZE, UPL_ABORT_FREE_ON_EMPTY); in vnode_pageout()
525 ubc_upl_commit_range(upl, offset, PAGE_SIZE, UPL_COMMIT_FREE_ON_EMPTY); in vnode_pageout()
527 f_offset += PAGE_SIZE; in vnode_pageout()
528 offset += PAGE_SIZE; in vnode_pageout()
529 isize -= PAGE_SIZE; in vnode_pageout()
535 xsize = isize - PAGE_SIZE; in vnode_pageout()
542 xsize -= PAGE_SIZE; in vnode_pageout()
544 xsize = num_of_pages * PAGE_SIZE; in vnode_pageout()
674 ubc_upl_range_needed(upl, upl_offset / PAGE_SIZE, 1); in vnode_pagein()
687 first_pg = upl_offset / PAGE_SIZE; in vnode_pagein()
689 pages_in_upl = size / PAGE_SIZE; in vnode_pagein()
744 xsize = (last_pg - start_pg) * PAGE_SIZE; in vnode_pagein()
747 ubc_upl_abort_range(upl, start_pg * PAGE_SIZE, xsize, UPL_ABORT_FREE_ON_EMPTY); in vnode_pagein()
781 xsize = (last_pg - start_pg) * PAGE_SIZE; in vnode_pagein()
782 xoff = start_pg * PAGE_SIZE; in vnode_pagein()