Lines Matching refs:max_prefetch
1722 u_int max_prefetch;
1742 max_prefetch = MAX_PREFETCH(vp, cluster_max_io_size(vp->v_mount, CL_READ), (vp->v_mount->mnt_kern_flag & MNTK_SSD));
1744 if ((max_prefetch / PAGE_SIZE) > speculative_prefetch_max)
1745 max_prefetch = (speculative_prefetch_max * PAGE_SIZE);
1747 if (max_prefetch <= PAGE_SIZE) {
1753 if ((rap->cl_maxra - extent->e_addr) > ((max_prefetch / PAGE_SIZE) / 4)) {
1775 rap->cl_ralen = rap->cl_ralen ? min(max_prefetch / PAGE_SIZE, rap->cl_ralen << 1) : 1;
1780 if (read_size > max_prefetch / PAGE_SIZE)
1781 rap->cl_ralen = max_prefetch / PAGE_SIZE;
3508 u_int32_t max_prefetch;
3540 max_prefetch = MAX_PREFETCH(vp, max_io_size, (vp->v_mount->mnt_kern_flag & MNTK_SSD));
3541 max_rd_size = max_prefetch;
3975 max_rd_size = max_prefetch;