Searched refs:VCBS (Results 1 – 1 of 1) sorted by relevance
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| H A D | vdev_cache.c | 90 #define VCBS (1 << zfs_vdev_cache_bshift) /* 64KB */ macro 172 uint64_t offset = P2ALIGN(zio->io_offset, VCBS); in vdev_cache_allocate() 196 ve->ve_abd = abd_alloc_for_io(VCBS, B_TRUE); in vdev_cache_allocate() 207 uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS); in vdev_cache_hit() 233 ASSERT3U(fio->io_size, ==, VCBS); in vdev_cache_fill() 270 uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS); in vdev_cache_read() 284 if (P2BOUNDARY(zio->io_offset, zio->io_size, VCBS)) in vdev_cache_read() 287 ASSERT3U(cache_phase + zio->io_size, <=, VCBS); in vdev_cache_read() 348 uint64_t min_offset = P2ALIGN(io_start, VCBS); in vdev_cache_write() 349 uint64_t max_offset = P2ROUNDUP(io_end, VCBS); in vdev_cache_write() [all …]
|