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

Function corrupt_colums

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

Source from the content-addressed store, hash-verified

267}
268
269static void
270corrupt_colums(raidz_map_t *rm, const int *tgts, const int cnt)
271{
272 for (int r = 0; r < rm->rm_nrows; r++) {
273 raidz_row_t *rr = rm->rm_row[r];
274 for (int i = 0; i < cnt; i++) {
275 raidz_col_t *col = &rr->rr_col[tgts[i]];
276 abd_iterate_func(col->rc_abd, 0, col->rc_size,
277 init_rand, NULL);
278 }
279 }
280}
281
282void
283init_zio_abd(zio_t *zio)

Callers 2

init_raidz_mapFunction · 0.85
run_rec_check_implFunction · 0.85

Calls 1

abd_iterate_funcFunction · 0.85

Tested by

no test coverage detected