Home
last modified time | relevance | path

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

/xnu-8796.121.2/bsd/vfs/
H A Dvfs_cluster.c302 #define IO_SCALE(vp, base) (vp->v_mount->mnt_ioscale * (base)) macro
381 uint32_t io_scale = IO_SCALE(vp, is_ssd ? PREFETCH_SSD : PREFETCH); in cluster_max_prefetch()
396 uint32_t io_scale = IO_SCALE(vp, is_ssd ? 2 : 1); in calculate_max_throttle_size()
405 uint32_t io_scale = IO_SCALE(vp, 1); in calculate_max_throttle_cnt()
1336 async_throttle = IO_SCALE(vp, VNODE_ASYNC_THROTTLE); in cluster_io()
1369 …async_throttle = min(IO_SCALE(vp, VNODE_ASYNC_THROTTLE), ((scale * max_cluster_size) / max_cluster… in cluster_io()
2881 if (__improbable(os_mul_overflow(max_upl_size, IO_SCALE(vp, 2), in cluster_write_direct()
3142 cluster_iostate_wait(&iostate, MAX_IO_CONTIG_SIZE * IO_SCALE(vp, 2), "cluster_write_contig"); in cluster_write_contig()
4772 if (__improbable(os_mul_overflow(max_rd_size, IO_SCALE(vp, 2), in cluster_read_direct()
4906 max_rd_ahead = max_rd_size * IO_SCALE(vp, 2); in cluster_read_direct()
[all …]