Home
last modified time | relevance | path

Searched refs:bench_zio (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_raidz_math.c467 zio_t *bench_zio = NULL; in benchmark_raidz() local
472 bench_zio = kmem_zalloc(sizeof (zio_t), KM_SLEEP); in benchmark_raidz()
473 bench_zio->io_offset = 0; in benchmark_raidz()
474 bench_zio->io_size = BENCH_ZIO_SIZE; /* only data columns */ in benchmark_raidz()
475 bench_zio->io_abd = abd_alloc_linear(BENCH_ZIO_SIZE, B_TRUE); in benchmark_raidz()
476 memset(abd_to_buf(bench_zio->io_abd), 0xAA, BENCH_ZIO_SIZE); in benchmark_raidz()
482 bench_rm = vdev_raidz_map_alloc(bench_zio, SPA_MINBLOCKSHIFT, in benchmark_raidz()
491 bench_rm = vdev_raidz_map_alloc(bench_zio, SPA_MINBLOCKSHIFT, in benchmark_raidz()
506 abd_free(bench_zio->io_abd); in benchmark_raidz()
507 kmem_free(bench_zio, sizeof (zio_t)); in benchmark_raidz()