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

Function vdev_raidz_map_free

freebsd/contrib/openzfs/module/zfs/vdev_raidz.c:176–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void
177vdev_raidz_map_free(raidz_map_t *rm)
178{
179 for (int i = 0; i < rm->rm_nrows; i++)
180 vdev_raidz_row_free(rm->rm_row[i]);
181
182 kmem_free(rm, offsetof(raidz_map_t, rm_row[rm->rm_nrows]));
183}
184
185static void
186vdev_raidz_map_free_vsd(zio_t *zio)

Callers 8

vdev_raidz_map_free_vsdFunction · 0.85
vdev_raidz_cksum_freeFunction · 0.85
benchmark_raidzFunction · 0.85
vdev_draid_map_free_vsdFunction · 0.85
vdev_draid_cksum_freeFunction · 0.85
fini_raidz_mapFunction · 0.85
run_gen_bench_implFunction · 0.85
run_rec_bench_implFunction · 0.85

Calls 2

vdev_raidz_row_freeFunction · 0.85
kmem_freeFunction · 0.50

Tested by 1

fini_raidz_mapFunction · 0.68