Searched refs:pgoff (Results 1 – 2 of 2) sorted by relevance
| /xnu-12377.1.9/bsd/kern/ |
| H A D | uipc_syscalls.c | 3881 off_t pgoff; in sendfile() local 3910 pgoff = off & PAGE_MASK_64; in sendfile() 3911 if (pgoff > 0 && PAGE_SIZE - pgoff < xfsize) { in sendfile() 3912 xfsize = PAGE_SIZE_64 - pgoff; in sendfile()
|
| /xnu-12377.1.9/bsd/vfs/ |
| H A D | vfs_cluster.c | 8066 int i, index, pgoff, pgcount, setcount, ecount; in vfs_drt_do_mark_pages() local 8118 pgoff = (int)((offset - DRT_ALIGN_ADDRESS(offset)) / PAGE_SIZE); in vfs_drt_do_mark_pages() 8119 pgcount = min((length / PAGE_SIZE), (DRT_BITVECTOR_PAGES - pgoff)); in vfs_drt_do_mark_pages() 8127 if (!DRT_HASH_TEST_BIT(cmap, index, pgoff + i)) { in vfs_drt_do_mark_pages() 8129 … panic("ecount >= DRT_BITVECTOR_PAGES, cmap = %p, index = %d, bit = %d", cmap, index, pgoff + i); in vfs_drt_do_mark_pages() 8131 DRT_HASH_SET_BIT(cmap, index, pgoff + i); in vfs_drt_do_mark_pages() 8136 if (DRT_HASH_TEST_BIT(cmap, index, pgoff + i)) { in vfs_drt_do_mark_pages() 8138 panic("ecount <= 0, cmap = %p, index = %d, bit = %d", cmap, index, pgoff + i); in vfs_drt_do_mark_pages() 8141 DRT_HASH_CLEAR_BIT(cmap, index, pgoff + i); in vfs_drt_do_mark_pages()
|