Lines Matching refs:free_packet_lists
257 struct list_head free_packet_lists; member
339 if (list_empty(&s->free_packet_lists)) in stream_get_free_packet_list()
343 pl = list_entry(s->free_packet_lists.next, struct packet_list, link); in stream_get_free_packet_list()
457 list_add_tail(&pl->link, &s->free_packet_lists); in stream_shift_packet_lists()
850 INIT_LIST_HEAD(&s->free_packet_lists); in stream_alloc_packet_lists()
856 list_add_tail(&pl->link, &s->free_packet_lists); in stream_alloc_packet_lists()
870 list_for_each_safe(lh, next, &s->free_packet_lists) in stream_free_packet_lists()
876 INIT_LIST_HEAD(&s->free_packet_lists); in stream_free_packet_lists()
1040 INIT_LIST_HEAD(&s->free_packet_lists); in stream_alloc()
1135 !list_empty(&s->free_packet_lists))) in amdtp_write()
1168 if (!list_empty(&s->free_packet_lists)) in amdtp_poll()