Lines Matching refs:tape_blocks
410 struct tape_block *tape_blocks[TAPE_MAX_PARTITIONS]; member
3405 for (i = 0, blp = devip->tape_blocks[partition]; in resp_locate()
3440 (devip->tape_blocks[partition] + pos)->fl_size = data; in resp_write_filemarks()
3442 (devip->tape_blocks[partition] + pos)->fl_size = in resp_write_filemarks()
3467 for (i = 0, blp = devip->tape_blocks[partition] + pos; i < count; in resp_space()
3479 for (i = 0, blp = devip->tape_blocks[partition] + pos; i < count; in resp_space()
3497 for (i = 0, blp = devip->tape_blocks[partition] + pos; in resp_space()
3508 for (i = 0, blp = devip->tape_blocks[partition] + pos; in resp_space()
3522 for (blp = devip->tape_blocks[partition] + pos; in resp_space()
3582 devip->tape_blocks[0]->fl_size = TAPE_BLOCK_EOD_FLAG; in partition_tape()
3584 devip->tape_blocks[1] = devip->tape_blocks[0] + in partition_tape()
3586 devip->tape_blocks[1]->fl_size = TAPE_BLOCK_EOD_FLAG; in partition_tape()
4402 for (i = 0, blp = devip->tape_blocks[partition] + pos; in resp_read_tape()
4800 for (i = 0, blp = devip->tape_blocks[partition] + pos, ew = false; in resp_write_tape()
6589 if (!devip->tape_blocks[0]) { in scsi_debug_sdev_configure()
6590 devip->tape_blocks[0] = in scsi_debug_sdev_configure()
6593 if (!devip->tape_blocks[0]) in scsi_debug_sdev_configure()
6598 kfree(devip->tape_blocks[0]); in scsi_debug_sdev_configure()
6599 devip->tape_blocks[0] = NULL; in scsi_debug_sdev_configure()
6649 kfree(devip->tape_blocks[0]); in scsi_debug_sdev_destroy()
6650 devip->tape_blocks[0] = NULL; in scsi_debug_sdev_destroy()