Lines Matching refs:list
37 list_add_tail(&rb->list, &cl->free_rb_list.list); in ishtp_cl_alloc_rx_ring()
80 list_add_tail(&tx_buf->list, &cl->tx_free_list.list); in ishtp_cl_alloc_tx_ring()
104 while (!list_empty(&cl->free_rb_list.list)) { in ishtp_cl_free_rx_ring()
105 rb = list_entry(cl->free_rb_list.list.next, struct ishtp_cl_rb, in ishtp_cl_free_rx_ring()
106 list); in ishtp_cl_free_rx_ring()
107 list_del(&rb->list); in ishtp_cl_free_rx_ring()
114 while (!list_empty(&cl->in_process_list.list)) { in ishtp_cl_free_rx_ring()
115 rb = list_entry(cl->in_process_list.list.next, in ishtp_cl_free_rx_ring()
116 struct ishtp_cl_rb, list); in ishtp_cl_free_rx_ring()
117 list_del(&rb->list); in ishtp_cl_free_rx_ring()
137 while (!list_empty(&cl->tx_free_list.list)) { in ishtp_cl_free_tx_ring()
138 tx_buf = list_entry(cl->tx_free_list.list.next, in ishtp_cl_free_tx_ring()
139 struct ishtp_cl_tx_ring, list); in ishtp_cl_free_tx_ring()
140 list_del(&tx_buf->list); in ishtp_cl_free_tx_ring()
149 while (!list_empty(&cl->tx_list.list)) { in ishtp_cl_free_tx_ring()
150 tx_buf = list_entry(cl->tx_list.list.next, in ishtp_cl_free_tx_ring()
151 struct ishtp_cl_tx_ring, list); in ishtp_cl_free_tx_ring()
152 list_del(&tx_buf->list); in ishtp_cl_free_tx_ring()
190 INIT_LIST_HEAD(&rb->list); in ishtp_io_rb_init()
240 list_add_tail(&rb->list, &cl->free_rb_list.list); in ishtp_cl_io_rb_recycle()
268 tx_list_empty = list_empty(&cl->tx_list.list); in ishtp_cl_tx_empty()
289 rb = list_first_entry_or_null(&cl->in_process_list.list, in ishtp_cl_rx_get_rb()
290 struct ishtp_cl_rb, list); in ishtp_cl_rx_get_rb()
292 list_del_init(&rb->list); in ishtp_cl_rx_get_rb()