Searched refs:IO_SPAN (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_queue.c590 * Conveniently, the gap between fio and lio is given by -IO_SPAN(lio, fio);
591 * thus fio and lio are adjacent if and only if IO_SPAN(lio, fio) == 0.
593 #define IO_SPAN(fio, lio) ((lio)->io_offset + (lio)->io_size - (fio)->io_offset) macro
594 #define IO_GAP(fio, lio) (-IO_SPAN(lio, fio))
648 IO_SPAN(dio, last) <= zfs_vdev_aggregation_limit &&
668 IO_SPAN(first, dio) <= zfs_vdev_aggregation_limit &&
714 size = IO_SPAN(first, last);

Completed in 109 milliseconds