Searched refs:pgoff (Results 1 – 2 of 2) sorted by relevance
| /xnu-8019.80.24/bsd/vfs/ |
| H A D | vfs_cluster.c | 7317 int i, index, pgoff, pgcount, setcount, ecount; in vfs_drt_do_mark_pages() local 7369 pgoff = (int)((offset - DRT_ALIGN_ADDRESS(offset)) / PAGE_SIZE); in vfs_drt_do_mark_pages() 7370 pgcount = min((length / PAGE_SIZE), (DRT_BITVECTOR_PAGES - pgoff)); in vfs_drt_do_mark_pages() 7378 if (!DRT_HASH_TEST_BIT(cmap, index, pgoff + i)) { in vfs_drt_do_mark_pages() 7380 … panic("ecount >= DRT_BITVECTOR_PAGES, cmap = %p, index = %d, bit = %d", cmap, index, pgoff + i); in vfs_drt_do_mark_pages() 7382 DRT_HASH_SET_BIT(cmap, index, pgoff + i); in vfs_drt_do_mark_pages() 7387 if (DRT_HASH_TEST_BIT(cmap, index, pgoff + i)) { in vfs_drt_do_mark_pages() 7389 panic("ecount <= 0, cmap = %p, index = %d, bit = %d", cmap, index, pgoff + i); in vfs_drt_do_mark_pages() 7392 DRT_HASH_CLEAR_BIT(cmap, index, pgoff + i); in vfs_drt_do_mark_pages()
|
| /xnu-8019.80.24/bsd/kern/ |
| H A D | uipc_syscalls.c | 3530 off_t pgoff; in sendfile() local 3559 pgoff = off & PAGE_MASK_64; in sendfile() 3560 if (pgoff > 0 && PAGE_SIZE - pgoff < xfsize) { in sendfile() 3561 xfsize = PAGE_SIZE_64 - pgoff; in sendfile()
|