Lines Matching defs:size_of_prefetch
1721 int size_of_prefetch;
1763 size_of_prefetch = 0;
1765 ubc_range_op(vp, f_offset, f_offset + PAGE_SIZE_64, UPL_ROP_PRESENT, &size_of_prefetch);
1767 if (size_of_prefetch) {
1785 size_of_prefetch = cluster_read_prefetch(vp, f_offset, rap->cl_ralen * PAGE_SIZE, filesize, callback, callback_arg, bflag);
1787 if (size_of_prefetch)
1788 rap->cl_maxra = (r_addr + size_of_prefetch) - 1;
3503 u_int32_t size_of_prefetch;
3609 if (last_request_offset && last_ioread_offset && (size_of_prefetch = (last_request_offset - last_ioread_offset))) {
3618 if (size_of_prefetch > max_rd_size)
3619 size_of_prefetch = max_rd_size;
3621 size_of_prefetch = cluster_read_prefetch(vp, last_ioread_offset, size_of_prefetch, filesize, callback, callback_arg, bflag);
3623 last_ioread_offset += (off_t)(size_of_prefetch * PAGE_SIZE);
3843 if ((size_of_prefetch = (last_request_offset - last_ioread_offset)) && prefetch_enabled) {
3853 if (size_of_prefetch > max_rd_size)
3854 size_of_prefetch = max_rd_size;
3856 size_of_prefetch = cluster_read_prefetch(vp, last_ioread_offset, size_of_prefetch, filesize, callback, callback_arg, bflag);
3858 last_ioread_offset += (off_t)(size_of_prefetch * PAGE_SIZE);