Lines Matching refs:zone
1093 static struct packet_data *pkt_get_packet_data(struct pktcdvd_device *pd, int zone) in pkt_get_packet_data() argument
1098 if (pkt->sector == zone || pkt->list.next == &pd->cdrw.pkt_free_list) { in pkt_get_packet_data()
1100 if (pkt->sector != zone) in pkt_get_packet_data()
1199 sector_t zone = 0; /* Suppress gcc warning */ in pkt_handle_queue() local
1224 zone = get_zone(bio->bi_iter.bi_sector, pd); in pkt_handle_queue()
1226 if (p->sector == zone) { in pkt_handle_queue()
1248 pkt = pkt_get_packet_data(pd, zone); in pkt_handle_queue()
1250 pd->current_sector = zone + pd->settings.size; in pkt_handle_queue()
1251 pkt->sector = zone; in pkt_handle_queue()
1260 pkt_dbg(2, pd, "looking for zone %llx\n", (unsigned long long)zone); in pkt_handle_queue()
1261 while ((node = pkt_rbtree_find(pd, zone)) != NULL) { in pkt_handle_queue()
1265 if (get_zone(bio->bi_iter.bi_sector, pd) != zone) in pkt_handle_queue()
2363 sector_t zone; in pkt_make_request_write() local
2368 zone = get_zone(bio->bi_iter.bi_sector, pd); in pkt_make_request_write()
2377 if (pkt->sector == zone) { in pkt_make_request_write()
2485 sector_t zone = get_zone(bio->bi_iter.bi_sector, pd); in pkt_make_request() local
2488 if (last_zone != zone) { in pkt_make_request()
2489 BUG_ON(last_zone != zone + pd->settings.size); in pkt_make_request()