Lines Matching refs:p_buffer
168 struct qed_ooo_buffer *p_buffer; in qed_ooo_release_connection_isles() local
182 p_buffer = list_first_entry(&p_isle->buffers_list, in qed_ooo_release_connection_isles()
186 if (!p_buffer) in qed_ooo_release_connection_isles()
189 list_move_tail(&p_buffer->list_entry, in qed_ooo_release_connection_isles()
201 struct qed_ooo_buffer *p_buffer; in qed_ooo_release_all_isles() local
216 p_buffer = in qed_ooo_release_all_isles()
221 if (!p_buffer) in qed_ooo_release_all_isles()
224 list_move_tail(&p_buffer->list_entry, in qed_ooo_release_all_isles()
248 struct qed_ooo_buffer *p_buffer; in qed_ooo_free() local
255 p_buffer = list_first_entry(&p_ooo_info->free_buffers_list, in qed_ooo_free()
258 if (!p_buffer) in qed_ooo_free()
261 list_del(&p_buffer->list_entry); in qed_ooo_free()
263 p_buffer->rx_buffer_size, in qed_ooo_free()
264 p_buffer->rx_buffer_virt_addr, in qed_ooo_free()
265 p_buffer->rx_buffer_phys_addr); in qed_ooo_free()
266 kfree(p_buffer); in qed_ooo_free()
278 struct qed_ooo_buffer *p_buffer) in qed_ooo_put_free_buffer() argument
280 list_add_tail(&p_buffer->list_entry, &p_ooo_info->free_buffers_list); in qed_ooo_put_free_buffer()
286 struct qed_ooo_buffer *p_buffer = NULL; in qed_ooo_get_free_buffer() local
289 p_buffer = list_first_entry(&p_ooo_info->free_buffers_list, in qed_ooo_get_free_buffer()
292 list_del(&p_buffer->list_entry); in qed_ooo_get_free_buffer()
295 return p_buffer; in qed_ooo_get_free_buffer()
300 struct qed_ooo_buffer *p_buffer, u8 on_tail) in qed_ooo_put_ready_buffer() argument
303 list_add_tail(&p_buffer->list_entry, in qed_ooo_put_ready_buffer()
306 list_add(&p_buffer->list_entry, in qed_ooo_put_ready_buffer()
313 struct qed_ooo_buffer *p_buffer = NULL; in qed_ooo_get_ready_buffer() local
316 p_buffer = list_first_entry(&p_ooo_info->ready_buffers_list, in qed_ooo_get_ready_buffer()
319 list_del(&p_buffer->list_entry); in qed_ooo_get_ready_buffer()
322 return p_buffer; in qed_ooo_get_ready_buffer()
356 struct qed_ooo_buffer *p_buffer) in qed_ooo_add_new_isle() argument
399 list_add(&p_buffer->list_entry, &p_isle->buffers_list); in qed_ooo_add_new_isle()
416 struct qed_ooo_buffer *p_buffer, u8 buffer_side) in qed_ooo_add_new_buffer() argument
428 list_add(&p_buffer->list_entry, &p_isle->buffers_list); in qed_ooo_add_new_buffer()
430 list_add_tail(&p_buffer->list_entry, &p_isle->buffers_list); in qed_ooo_add_new_buffer()