tag | line | file | source code |
STm | 468 | drivers/scsi/st.c | set_mode_densblk(struct inode * inode, Scsi_Tape *STp, ST_mode *STm) |
STm | 475 | drivers/scsi/st.c | STm->default_density >= 0 && |
STm | 476 | drivers/scsi/st.c | STm->default_density != STp->density) { |
STm | 477 | drivers/scsi/st.c | arg = STm->default_density; |
STm | 484 | drivers/scsi/st.c | STm->default_blksize >= 0 && |
STm | 485 | drivers/scsi/st.c | STm->default_blksize != STp->block_size) { |
STm | 486 | drivers/scsi/st.c | arg |= STm->default_blksize; |
STm | 495 | drivers/scsi/st.c | dev, STm->default_blksize, STm->default_density); |
STm | 512 | drivers/scsi/st.c | ST_mode * STm; |
STm | 538 | drivers/scsi/st.c | STm = &(STp->modes[STp->current_mode]); |
STm | 753 | drivers/scsi/st.c | if (!(STm->defaults_for_writes) && |
STm | 754 | drivers/scsi/st.c | (i = set_mode_densblk(inode, STp, STm)) < 0) { |
STm | 879 | drivers/scsi/st.c | ST_mode * STm; |
STm | 886 | drivers/scsi/st.c | STm = &(STp->modes[STp->current_mode]); |
STm | 887 | drivers/scsi/st.c | if (!STm->defined) |
STm | 929 | drivers/scsi/st.c | if ((retval = set_mode_densblk(inode, STp, STm)) < 0) |
STm | 931 | drivers/scsi/st.c | if (STm->default_compression != ST_DONT_TOUCH && |
STm | 933 | drivers/scsi/st.c | if (st_compression(STp, (STm->default_compression == ST_YES))) { |
STm | 967 | drivers/scsi/st.c | if (!STm->do_buffer_writes) { |
STm | 974 | drivers/scsi/st.c | if (!STm->do_async_writes) |
STm | 986 | drivers/scsi/st.c | while((STp->block_size == 0 && !STm->do_async_writes && count > 0) || |
STm | 1101 | drivers/scsi/st.c | if (STm->do_async_writes && |
STm | 1155 | drivers/scsi/st.c | ST_mode * STm; |
STm | 1162 | drivers/scsi/st.c | STm = &(STp->modes[STp->current_mode]); |
STm | 1163 | drivers/scsi/st.c | if (!STm->defined) |
STm | 1182 | drivers/scsi/st.c | if (!(STm->do_read_ahead) && STp->block_size != 0 && |
STm | 1221 | drivers/scsi/st.c | if (STm->do_read_ahead) { |
STm | 1419 | drivers/scsi/st.c | st_log_options(Scsi_Tape *STp, ST_mode *STm, int dev) |
STm | 1423 | drivers/scsi/st.c | dev, STp->current_mode, STm->do_buffer_writes, STm->do_async_writes, |
STm | 1424 | drivers/scsi/st.c | STm->do_read_ahead); |
STm | 1430 | drivers/scsi/st.c | dev, STm->defaults_for_writes, STp->omit_blklims, STp->can_partitions, |
STm | 1446 | drivers/scsi/st.c | ST_mode *STm; |
STm | 1450 | drivers/scsi/st.c | STm = &(STp->modes[STp->current_mode]); |
STm | 1451 | drivers/scsi/st.c | if (!STm->defined) { |
STm | 1452 | drivers/scsi/st.c | memcpy(STm, &(STp->modes[0]), sizeof(ST_mode)); |
STm | 1463 | drivers/scsi/st.c | STm->do_buffer_writes = (options & MT_ST_BUFFER_WRITES) != 0; |
STm | 1464 | drivers/scsi/st.c | STm->do_async_writes = (options & MT_ST_ASYNC_WRITES) != 0; |
STm | 1465 | drivers/scsi/st.c | STm->defaults_for_writes = (options & MT_ST_DEF_WRITES) != 0; |
STm | 1466 | drivers/scsi/st.c | STm->do_read_ahead = (options & MT_ST_READ_AHEAD) != 0; |
STm | 1478 | drivers/scsi/st.c | st_log_options(STp, STm, dev); |
STm | 1483 | drivers/scsi/st.c | STm->do_buffer_writes = value; |
STm | 1485 | drivers/scsi/st.c | STm->do_async_writes = value; |
STm | 1487 | drivers/scsi/st.c | STm->defaults_for_writes = value; |
STm | 1489 | drivers/scsi/st.c | STm->do_read_ahead = value; |
STm | 1509 | drivers/scsi/st.c | st_log_options(STp, STm, dev); |
STm | 1525 | drivers/scsi/st.c | STm->default_blksize = (-1); |
STm | 1529 | drivers/scsi/st.c | STm->default_blksize = value; |
STm | 1531 | drivers/scsi/st.c | dev, STm->default_blksize); |
STm | 1539 | drivers/scsi/st.c | STm->default_density = (-1); |
STm | 1543 | drivers/scsi/st.c | STm->default_density = value & 0xff; |
STm | 1545 | drivers/scsi/st.c | dev, STm->default_density); |
STm | 1561 | drivers/scsi/st.c | STm->default_compression = ST_DONT_TOUCH; |
STm | 1565 | drivers/scsi/st.c | STm->default_compression = (value & 1 ? ST_YES : ST_NO); |
STm | 2469 | drivers/scsi/st.c | ST_mode *STm; |
STm | 2480 | drivers/scsi/st.c | STm = &(STp->modes[STp->current_mode]); |
STm | 2500 | drivers/scsi/st.c | if (!STm->defined && |
STm | 2605 | drivers/scsi/st.c | if (!STm->defined) |
STm | 2822 | drivers/scsi/st.c | ST_mode * STm; |
STm | 2868 | drivers/scsi/st.c | STm = &(tpnt->modes[i]); |
STm | 2869 | drivers/scsi/st.c | STm->defined = FALSE; |
STm | 2870 | drivers/scsi/st.c | STm->defaults_for_writes = 0; |
STm | 2871 | drivers/scsi/st.c | STm->do_async_writes = ST_ASYNC_WRITES; |
STm | 2872 | drivers/scsi/st.c | STm->do_buffer_writes = ST_BUFFER_WRITES; |
STm | 2873 | drivers/scsi/st.c | STm->do_read_ahead = ST_READ_AHEAD; |
STm | 2874 | drivers/scsi/st.c | STm->default_compression = ST_DONT_TOUCH; |
STm | 2875 | drivers/scsi/st.c | STm->default_blksize = (-1); /* No forced size */ |
STm | 2876 | drivers/scsi/st.c | STm->default_density = (-1); /* No forced density */ |