Searched refs:cdrw (Results 1 – 2 of 2) sorted by relevance
427 spin_lock(&pd->cdrw.active_list_lock); in pkt_count_states()428 list_for_each_entry(pkt, &pd->cdrw.pkt_active_list, list) { in pkt_count_states()431 spin_unlock(&pd->cdrw.active_list_lock); in pkt_count_states()482 seq_printf(m, "\tbios pending:\t\t%d\n", atomic_read(&pd->cdrw.pending_bios)); in pkt_seq_show()534 BUG_ON(atomic_read(&pd->cdrw.pending_bios) <= 0); in pkt_bio_finished()535 if (atomic_dec_and_test(&pd->cdrw.pending_bios)) { in pkt_bio_finished()609 BUG_ON(!list_empty(&pd->cdrw.pkt_active_list)); in pkt_shrink_pktlist()611 list_for_each_entry_safe(pkt, next, &pd->cdrw.pkt_free_list, list) { in pkt_shrink_pktlist()614 INIT_LIST_HEAD(&pd->cdrw.pkt_free_list); in pkt_shrink_pktlist()621 BUG_ON(!list_empty(&pd->cdrw.pkt_free_list)); in pkt_grow_pktlist()[all …]
173 struct packet_cdrw cdrw; member