Lines Matching refs:write
15 * such as drivers/scsi/sr.c. This driver can handle read and write requests,
17 * packet writing. One restriction is that write requests must be aligned to
18 * packet boundaries on the physical media, and the size of a write request
21 * command, if the previous command was a write.
29 * queues with pending read and write requests. These queues are processed
30 * by the pkt_iosched_process_queue() function. The write requests in this
34 * The next layer transforms unaligned write requests to aligned writes. This
40 * read requests directly to the iosched queue and puts write requests in the
41 * unaligned write queue. A kernel thread performs the necessary read
842 * Process the queued read/write requests. This function handles special
845 * previous request was a write.
850 * before the next write, switch to reading instead if there are any pending
855 * same read and write speeds.
887 dev_dbg(ddev, "write, waiting\n");
956 * copies during write operations
1019 * Figure out which frames we need to read before we can write.
1199 /* check write congestion marks, and if bio_queue_size is
1257 * Assemble a bio to write one packet and queue the bio for processing
1297 /* Start the write request */
1622 * write mode select package based on pd->settings
1663 * write page is offset header + block descriptor length
1693 dev_err(ddev, "write mode wrong %d\n", wp->data_block_type);
1710 * 1 -- we can write to this track, 0 -- we can't
1745 * 1 -- we can write to this disc, 0 -- we can't
1784 dev_err(ddev, "can't write to last track (reserved)\n");
1828 dev_err(ddev, "can't write to this track\n");
1891 * enable/disable write caching on drive
1916 * use drive write caching -- we need deferred error handling to be
1925 dev_err(ddev, "write caching control failed\n");
1928 dev_notice(ddev, "enabled write caching\n");
1943 * Returns drive maximum write speed
1971 offset = 28; /* Current write speed selected */
2114 dev_notice(ddev, "failed saving write settings\n");
2127 dev_notice(ddev, "write speed %ukB/s\n", write_speed);
2134 dev_notice(ddev, "write speed %ux\n", write_speed / 176);
2141 dev_notice(ddev, "couldn't set write speed\n");
2157 static int pkt_open_dev(struct pktcdvd_device *pd, bool write)
2167 * to read/write from/to it. It is already opened in O_NONBLOCK mode
2186 if (write) {
2205 if (write) {