Searched refs:IO_SCALE (Results 1 - 1 of 1) sorted by relevance
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_cluster.c | 258 #define IO_SCALE(vp, base) (vp->v_mount->mnt_ioscale * (base)) macro 260 #define MAX_PREFETCH(vp, size, is_ssd) (size * IO_SCALE(vp, ((is_ssd && !ignore_is_ssd) ? PREFETCH_SSD : PREFETCH))) 1023 async_throttle = IO_SCALE(vp, VNODE_ASYNC_THROTTLE); 1047 async_throttle = min(IO_SCALE(vp, VNODE_ASYNC_THROTTLE), ((scale * max_cluster_size) / max_cluster) - 1); 2383 cluster_iostate_wait(&iostate, max_upl_size * IO_SCALE(vp, 2), "cluster_write_direct"); 2637 cluster_iostate_wait(&iostate, MAX_IO_CONTIG_SIZE * IO_SCALE(vp, 2), "cluster_write_contig"); 4057 max_rd_ahead = max_rd_size * IO_SCALE(vp, 2); 4157 max_rd_ahead = max_rd_size * IO_SCALE(vp, 2); 4681 cluster_iostate_wait(&iostate, MAX_IO_CONTIG_SIZE * IO_SCALE(vp, 2), "cluster_read_contig");
|
Completed in 16 milliseconds