Lines Matching defs:drop_writes
53 /* drop_writes feature */
54 int drop_writes;
201 /* drop_writes */
202 if (strcmp(arg, "drop_writes") == 0) {
203 tfc->drop_writes = 1;
259 if (tfc->drop_writes && (tfc->corrupt_buf_rw == BUF_CMD_WRITE)) {
260 printf("Flakey target doesn't allow drop_writes feature and "
273 int drop_writes;
280 drop_writes = tfc->drop_writes;
287 drop_writes + (tfc->corrupt_buf_byte > 0) * 5);
289 if (drop_writes)
290 p += snprintf(p, DM_MAX_PARAMS_SIZE, "drop_writes ");
382 else if (!tfc->drop_writes)
399 if (!tfc->corrupt_buf_byte && !tfc->drop_writes) {
421 if (tfc->drop_writes) {
422 aprint_debug("bp=%p drop_writes blkno=%ju\n", bp, bp->b_blkno);