Lines Matching defs:zone
1015 pkt_dbg(2, pd, "zone %llx cached\n",
1050 pkt_dbg(2, pd, "need %d frames for zone %llx\n",
1057 * Find a packet matching zone, or the least recently used packet if
1060 static struct packet_data *pkt_get_packet_data(struct pktcdvd_device *pd, int zone)
1065 if (pkt->sector == zone || pkt->list.next == &pd->cdrw.pkt_free_list) {
1067 if (pkt->sector != zone)
1107 sector_t zone = 0; /* Suppress gcc warning */
1120 * Try to find a zone we are not already working on.
1132 zone = get_zone(bio->bi_iter.bi_sector, pd);
1134 if (p->sector == zone) {
1156 pkt = pkt_get_packet_data(pd, zone);
1158 pd->current_sector = zone + pd->settings.size;
1159 pkt->sector = zone;
1164 * Scan work queue for bios in the same zone and link them
1168 pkt_dbg(2, pd, "looking for zone %llx\n", (unsigned long long)zone);
1169 while ((node = pkt_rbtree_find(pd, zone)) != NULL) {
1171 pkt_dbg(2, pd, "found zone=%llx\n", (unsigned long long)
1173 if (get_zone(bio->bi_iter.bi_sector, pd) != zone)
1235 pkt_dbg(2, pd, "Writing %d frames for zone %llx\n",
2289 sector_t zone;
2294 zone = get_zone(bio->bi_iter.bi_sector, pd);
2303 if (pkt->sector == zone) {
2408 sector_t zone = get_zone(bio->bi_iter.bi_sector, pd);
2411 if (last_zone != zone) {
2412 BUG_ON(last_zone != zone + pd->settings.size);