MCPcopy Create free account
hub / github.com/F-Stack/f-stack / fini_raidz_map

Function fini_raidz_map

freebsd/contrib/openzfs/cmd/raidz_test/raidz_test.c:288–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288static void
289fini_raidz_map(zio_t **zio, raidz_map_t **rm)
290{
291 vdev_raidz_map_free(*rm);
292 raidz_free((*zio)->io_abd, (*zio)->io_size);
293 umem_free(*zio, sizeof (zio_t));
294
295 *zio = NULL;
296 *rm = NULL;
297}
298
299static int
300init_raidz_golden_map(raidz_test_opts_t *opts, const int parity)

Callers 3

init_raidz_golden_mapFunction · 0.85
run_gen_checkFunction · 0.85
run_rec_checkFunction · 0.85

Calls 2

vdev_raidz_map_freeFunction · 0.85
umem_freeFunction · 0.85

Tested by

no test coverage detected