Searched refs:VCBS (Results 1 – 1 of 1) sorted by relevance
89 #define VCBS (1 << zfs_vdev_cache_bshift) /* 64KB */ macro158 zio_buf_free(ve->ve_data, VCBS); in vdev_cache_evict()171 uint64_t offset = P2ALIGN(zio->io_offset, VCBS); in vdev_cache_allocate()195 ve->ve_data = zio_buf_alloc(VCBS); in vdev_cache_allocate()206 uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS); in vdev_cache_hit()232 ASSERT(fio->io_size == VCBS); in vdev_cache_fill()268 uint64_t cache_offset = P2ALIGN(zio->io_offset, VCBS); in vdev_cache_read()269 uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS); in vdev_cache_read()283 if (P2BOUNDARY(zio->io_offset, zio->io_size, VCBS)) in vdev_cache_read()286 ASSERT(cache_phase + zio->io_size <= VCBS); in vdev_cache_read()[all …]