Home
last modified time | relevance | path

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

/xnu-11215.1.10/bsd/vfs/ !
H A Dvfs_cluster.c304 #define IO_SCALE(vp, base) (vp->v_mount->mnt_ioscale * (base)) macro
429 uint32_t io_scale = IO_SCALE(vp, is_ssd ? PREFETCH_SSD : PREFETCH); in cluster_max_prefetch()
444 uint32_t io_scale = IO_SCALE(vp, is_ssd ? 2 : 1); in calculate_max_throttle_size()
453 uint32_t io_scale = IO_SCALE(vp, 1); in calculate_max_throttle_cnt()
1593 async_throttle = IO_SCALE(vp, VNODE_ASYNC_THROTTLE); in cluster_io()
1626 …async_throttle = min(IO_SCALE(vp, VNODE_ASYNC_THROTTLE), ((scale * max_cluster_size) / max_cluster… in cluster_io()
3212 if (__improbable(os_mul_overflow(max_upl_size, IO_SCALE(vp, 2), in cluster_write_direct()
3473 cluster_iostate_wait(&iostate, MAX_IO_CONTIG_SIZE * IO_SCALE(vp, 2), "cluster_write_contig"); in cluster_write_contig()
5126 if (__improbable(os_mul_overflow(max_rd_size, IO_SCALE(vp, 2), in cluster_read_direct()
5266 max_rd_ahead = max_rd_size * IO_SCALE(vp, 2); in cluster_read_direct()
[all …]