Home
last modified time | relevance | path

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

/xnu-10002.1.13/bsd/vfs/
H A Dvfs_cluster.c7843 int i, index, pgoff, pgcount, setcount, ecount; in vfs_drt_do_mark_pages() local
7895 pgoff = (int)((offset - DRT_ALIGN_ADDRESS(offset)) / PAGE_SIZE); in vfs_drt_do_mark_pages()
7896 pgcount = min((length / PAGE_SIZE), (DRT_BITVECTOR_PAGES - pgoff)); in vfs_drt_do_mark_pages()
7904 if (!DRT_HASH_TEST_BIT(cmap, index, pgoff + i)) { in vfs_drt_do_mark_pages()
7906 … panic("ecount >= DRT_BITVECTOR_PAGES, cmap = %p, index = %d, bit = %d", cmap, index, pgoff + i); in vfs_drt_do_mark_pages()
7908 DRT_HASH_SET_BIT(cmap, index, pgoff + i); in vfs_drt_do_mark_pages()
7913 if (DRT_HASH_TEST_BIT(cmap, index, pgoff + i)) { in vfs_drt_do_mark_pages()
7915 panic("ecount <= 0, cmap = %p, index = %d, bit = %d", cmap, index, pgoff + i); in vfs_drt_do_mark_pages()
7918 DRT_HASH_CLEAR_BIT(cmap, index, pgoff + i); in vfs_drt_do_mark_pages()
/xnu-10002.1.13/bsd/kern/
H A Duipc_syscalls.c4268 off_t pgoff; in sendfile() local
4297 pgoff = off & PAGE_MASK_64; in sendfile()
4298 if (pgoff > 0 && PAGE_SIZE - pgoff < xfsize) { in sendfile()
4299 xfsize = PAGE_SIZE_64 - pgoff; in sendfile()