Lines Matching refs:write

15  * typically ide-cd.c or 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
826 * Process the queued read/write requests. This function handles special
829 * previous request was a write.
834 * before the next write, switch to reading instead if there are any pending
839 * same read and write speeds.
870 pkt_dbg(2, pd, "write, waiting\n");
937 * copies during write operations
998 * Figure out which frames we need to read before we can write.
1181 /* check write congestion marks, and if bio_queue_size is
1203 * Assemble a bio to write one packet and queue the bio for processing
1243 /* Start the write request */
1586 * write mode select package based on pd->settings
1626 * write page is offset header + block descriptor length
1656 pkt_err(pd, "write mode wrong %d\n", wp->data_block_type);
1673 * 1 -- we can write to this track, 0 -- we can't
1706 * 1 -- we can write to this disc, 0 -- we can't
1744 pkt_err(pd, "can't write to last track (reserved)\n");
1787 pkt_err(pd, "can't write to this track\n");
1850 * enable/disable write caching on drive
1878 pkt_err(pd, "write caching control failed\n");
1881 pkt_notice(pd, "enabled write caching\n");
1896 * Returns drive maximum write speed
1924 offset = 28; /* Current write speed selected */
2064 pkt_dbg(1, pd, "failed saving write settings\n");
2077 pkt_dbg(1, pd, "write speed %ukB/s\n", write_speed);
2084 pkt_dbg(1, pd, "write speed %ux\n", write_speed / 176);
2091 pkt_dbg(1, pd, "couldn't set write speed\n");
2108 static int pkt_open_dev(struct pktcdvd_device *pd, fmode_t write)
2117 * to read/write from/to it. It is already opened in O_NONBLOCK mode
2137 if (write) {
2156 if (write) {