Searched refs:VCBS (Results 1 – 1 of 1) sorted by relevance
79 #define VCBS (1 << zfs_vdev_cache_bshift) /* 64KB */ macro139 zio_buf_free(ve->ve_data, VCBS); in vdev_cache_evict()152 uint64_t offset = P2ALIGN(zio->io_offset, VCBS); in vdev_cache_allocate()176 ve->ve_data = zio_buf_alloc(VCBS); in vdev_cache_allocate()187 uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS); in vdev_cache_hit()213 ASSERT(fio->io_size == VCBS); in vdev_cache_fill()248 uint64_t cache_offset = P2ALIGN(zio->io_offset, VCBS); in vdev_cache_read()249 uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS); in vdev_cache_read()263 if (P2BOUNDARY(zio->io_offset, zio->io_size, VCBS)) in vdev_cache_read()266 ASSERT(cache_phase + zio->io_size <= VCBS); in vdev_cache_read()[all …]