Home
last modified time | relevance | path

Searched refs:exe_queue (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.c62 INIT_LIST_HEAD(&o->exe_queue); in bnx2x_exe_queue_init()
84 DP(BNX2X_MSG_SP, "Deleting an exe_queue element\n"); in bnx2x_exe_queue_free_elem()
95 list_for_each_entry(elem, &o->exe_queue, link) in bnx2x_exe_queue_length()
137 list_add_tail(&elem->link, &o->exe_queue); in bnx2x_exe_queue_add()
173 * (Should be called while holding the exe_queue->lock).
202 while (!list_empty(&o->exe_queue)) { in bnx2x_exe_queue_step()
203 elem = list_first_entry(&o->exe_queue, struct bnx2x_exeq_elem, in bnx2x_exe_queue_step()
230 list_splice_init(&o->pending_comp, &o->exe_queue); in bnx2x_exe_queue_step()
242 bool empty = list_empty(&o->exe_queue); in bnx2x_exe_queue_empty()
253 DP(BNX2X_MSG_SP, "Allocating a new exe_queue elemen in bnx2x_exe_queue_alloc_elem()
[all...]
H A Dbnx2x_sp.h194 struct list_head exe_queue; member
211 * Must run under exe_queue->lock
227 * Must run under exe_queue->lock
237 * Return the exe_queue element containing the specific command
300 * all these fields should only be accessed under the exe_queue lock
307 struct bnx2x_exe_queue_obj exe_queue; member