Lines Matching refs:tape_blocks
418 struct tape_block *tape_blocks[TAPE_MAX_PARTITIONS]; member
3473 for (i = 0, blp = devip->tape_blocks[partition]; in resp_locate()
3508 (devip->tape_blocks[partition] + pos)->fl_size = data; in resp_write_filemarks()
3510 (devip->tape_blocks[partition] + pos)->fl_size = in resp_write_filemarks()
3535 for (i = 0, blp = devip->tape_blocks[partition] + pos; i < count; in resp_space()
3547 for (i = 0, blp = devip->tape_blocks[partition] + pos; i < count; in resp_space()
3565 for (i = 0, blp = devip->tape_blocks[partition] + pos; in resp_space()
3576 for (i = 0, blp = devip->tape_blocks[partition] + pos; in resp_space()
3590 for (blp = devip->tape_blocks[partition] + pos; in resp_space()
3674 devip->tape_blocks[0]->fl_size = TAPE_BLOCK_EOD_FLAG; in partition_tape()
3676 devip->tape_blocks[1] = devip->tape_blocks[0] + in partition_tape()
3678 devip->tape_blocks[1]->fl_size = TAPE_BLOCK_EOD_FLAG; in partition_tape()
3729 blp = devip->tape_blocks[partition] + pos; in resp_erase()
4503 for (i = 0, blp = devip->tape_blocks[partition] + pos; in resp_read_tape()
4898 for (i = 0, blp = devip->tape_blocks[partition] + pos, ew = false; in resp_write_tape()
6658 if (!devip->tape_blocks[0]) { in scsi_debug_sdev_configure()
6659 devip->tape_blocks[0] = in scsi_debug_sdev_configure()
6662 if (!devip->tape_blocks[0]) in scsi_debug_sdev_configure()
6667 kfree(devip->tape_blocks[0]); in scsi_debug_sdev_configure()
6668 devip->tape_blocks[0] = NULL; in scsi_debug_sdev_configure()
6718 kfree(devip->tape_blocks[0]); in scsi_debug_sdev_destroy()
6719 devip->tape_blocks[0] = NULL; in scsi_debug_sdev_destroy()