Lines Matching refs:tape_blocks

420 	struct tape_block *tape_blocks[TAPE_MAX_PARTITIONS];  member
3464 for (i = 0, blp = devip->tape_blocks[partition]; in resp_locate()
3499 (devip->tape_blocks[partition] + pos)->fl_size = data; in resp_write_filemarks()
3501 (devip->tape_blocks[partition] + pos)->fl_size = in resp_write_filemarks()
3526 for (i = 0, blp = devip->tape_blocks[partition] + pos; i < count; in resp_space()
3538 for (i = 0, blp = devip->tape_blocks[partition] + pos; i < count; in resp_space()
3556 for (i = 0, blp = devip->tape_blocks[partition] + pos; in resp_space()
3567 for (i = 0, blp = devip->tape_blocks[partition] + pos; in resp_space()
3581 for (blp = devip->tape_blocks[partition] + pos; in resp_space()
3665 devip->tape_blocks[0]->fl_size = TAPE_BLOCK_EOD_FLAG; in partition_tape()
3667 devip->tape_blocks[1] = devip->tape_blocks[0] + in partition_tape()
3669 devip->tape_blocks[1]->fl_size = TAPE_BLOCK_EOD_FLAG; in partition_tape()
3720 blp = devip->tape_blocks[partition] + pos; in resp_erase()
4494 for (i = 0, blp = devip->tape_blocks[partition] + pos; in resp_read_tape()
4889 for (i = 0, blp = devip->tape_blocks[partition] + pos, ew = false; in resp_write_tape()
6649 if (!devip->tape_blocks[0]) { in scsi_debug_sdev_configure()
6650 devip->tape_blocks[0] = in scsi_debug_sdev_configure()
6652 if (!devip->tape_blocks[0]) in scsi_debug_sdev_configure()
6657 kfree(devip->tape_blocks[0]); in scsi_debug_sdev_configure()
6658 devip->tape_blocks[0] = NULL; in scsi_debug_sdev_configure()
6708 kfree(devip->tape_blocks[0]); in scsi_debug_sdev_destroy()
6709 devip->tape_blocks[0] = NULL; in scsi_debug_sdev_destroy()