Home
last modified time | relevance | path

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

/dflybsd-src/sys/dev/disk/dm/flakey/
H A Ddm_target_flakey.c53 unsigned int corrupt_buf_byte; member
163 tfc->corrupt_buf_byte = value; in _init_features()
279 if (tfc->corrupt_buf_byte && tfc->corrupt_buf_rw == BUF_CMD_READ) in _flakey_read_iodone()
297 if (!tfc->corrupt_buf_byte && !tfc->drop_writes) { in _flakey_read()
325 if (tfc->corrupt_buf_byte && tfc->corrupt_buf_rw == BUF_CMD_WRITE) { in _flakey_write()
349 if (bp->b_bcount < tfc->corrupt_buf_byte) in _flakey_corrupt_buf()
354 bp->b_data[tfc->corrupt_buf_byte - 1] = tfc->corrupt_buf_value; in _flakey_corrupt_buf()
359 tfc->corrupt_buf_byte, in _flakey_corrupt_buf()
382 drop_writes + (tfc->corrupt_buf_byte > 0) * 5); in dm_target_flakey_table()
387 if (tfc->corrupt_buf_byte) in dm_target_flakey_table()
[all …]