• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/vfs/

Lines Matching refs:extent

165 static void	cluster_read_ahead(vnode_t vp, struct cl_extent *extent, off_t filesize, struct cl_readahead *ra, int (*callback)(buf_t, void *), void *callback_arg, int bflag);
802 * via the extent info returned from the VNOP_BLOCKMAP call.
934 * return an extent size of 0 which means we can't
937 * a real extent is returned with a blkno != -1 and a non-zero io_size
974 * path will insure that the zero extent accounting
1507 cluster_read_ahead(vnode_t vp, struct cl_extent *extent, off_t filesize, struct cl_readahead *rap, int (*callback)(buf_t, void *), void *callback_arg,
1517 (int)extent->b_addr, (int)extent->e_addr, (int)rap->cl_lastr, 0, 0);
1519 if (extent->b_addr == rap->cl_lastr && extent->b_addr == extent->e_addr) {
1524 if (rap->cl_lastr == -1 || (extent->b_addr != rap->cl_lastr && extent->b_addr != (rap->cl_lastr + 1))) {
1535 if (extent->e_addr < rap->cl_maxra) {
1536 if ((rap->cl_maxra - extent->e_addr) > ((max_prefetch / PAGE_SIZE) / 4)) {
1543 r_addr = max(extent->e_addr, rap->cl_maxra) + 1;
1560 read_size = (extent->e_addr + 1) - extent->b_addr;
3152 struct cl_extent extent;
3197 extent.b_addr = uio->uio_offset / PAGE_SIZE_64;
3198 extent.e_addr = (last_request_offset - 1) / PAGE_SIZE_64;
3200 if (rap != NULL && rap->cl_ralen && (rap->cl_lastr == extent.b_addr || (rap->cl_lastr + 1) == extent.b_addr)) {
3204 * if so, pick up it's extent to determine where we should start
3300 cluster_read_ahead(vp, &extent, filesize, rap, callback, callback_arg, bflag);
3307 if (extent.e_addr < rap->cl_lastr)
3309 rap->cl_lastr = extent.e_addr;
3461 cluster_read_ahead(vp, &extent, filesize, rap, callback, callback_arg, bflag);
3464 if (extent.e_addr < rap->cl_lastr)
3466 rap->cl_lastr = extent.e_addr;