Searched refs:VCBS (Results 1 – 1 of 1) sorted by relevance
89 #define VCBS (1 << zfs_vdev_cache_bshift) /* 64KB */ macro149 zio_buf_free(ve->ve_data, VCBS); in vdev_cache_evict()162 uint64_t offset = P2ALIGN(zio->io_offset, VCBS); in vdev_cache_allocate()186 ve->ve_data = zio_buf_alloc(VCBS); in vdev_cache_allocate()197 uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS); in vdev_cache_hit()223 ASSERT(fio->io_size == VCBS); in vdev_cache_fill()258 uint64_t cache_offset = P2ALIGN(zio->io_offset, VCBS); in vdev_cache_read()259 uint64_t cache_phase = P2PHASE(zio->io_offset, VCBS); in vdev_cache_read()273 if (P2BOUNDARY(zio->io_offset, zio->io_size, VCBS)) in vdev_cache_read()276 ASSERT(cache_phase + zio->io_size <= VCBS); in vdev_cache_read()[all …]