Lines Matching refs:exe_queue
62 INIT_LIST_HEAD(&o->exe_queue);
84 DP(BNX2X_MSG_SP, "Deleting an exe_queue element\n");
95 list_for_each_entry(elem, &o->exe_queue, link)
137 list_add_tail(&elem->link, &o->exe_queue);
173 * (Should be called while holding the exe_queue->lock).
202 while (!list_empty(&o->exe_queue)) {
203 elem = list_first_entry(&o->exe_queue, struct bnx2x_exeq_elem,
230 list_splice_init(&o->pending_comp, &o->exe_queue);
242 bool empty = list_empty(&o->exe_queue);
253 DP(BNX2X_MSG_SP, "Allocating a new exe_queue element\n");
463 rc = bnx2x_exe_queue_step(bp, &o->exe_queue, &ramrod_flags);
548 spin_lock_bh(&o->exe_queue.lock);
550 spin_unlock_bh(&o->exe_queue.lock);
603 spin_lock_bh(&o->exe_queue.lock);
605 spin_unlock_bh(&o->exe_queue.lock);
1280 list_for_each_entry(pos, &o->exe_queue, link)
1297 list_for_each_entry(pos, &o->exe_queue, link)
1315 list_for_each_entry(pos, &o->exe_queue, link)
1343 struct bnx2x_exe_queue_obj *exeq = &o->exe_queue;
1392 struct bnx2x_exe_queue_obj *exeq = &o->exe_queue;
1452 struct bnx2x_exe_queue_obj *src_exeq = &src_o->exe_queue;
1453 struct bnx2x_exe_queue_obj *dest_exeq = &dest_o->exe_queue;
1563 struct bnx2x_exe_queue_obj *exeq = &o->exe_queue;
1588 spin_lock_bh(&o->exe_queue.lock);
1601 rc = bnx2x_exe_queue_step(bp, &o->exe_queue, ramrod_flags);
1603 spin_unlock_bh(&o->exe_queue.lock);
1628 spin_lock_bh(&o->exe_queue.lock);
1631 __bnx2x_exe_queue_reset_pending(bp, &o->exe_queue);
1636 spin_unlock_bh(&o->exe_queue.lock);
1651 if (!bnx2x_exe_queue_empty(&o->exe_queue))
1670 struct bnx2x_exe_queue_obj *exeq = &o->exe_queue;
1928 return bnx2x_exe_queue_add(bp, &o->exe_queue, elem, restore);
1959 if (!bnx2x_exe_queue_empty(&o->exe_queue))
1980 /* Wait maximum for the current exe_queue length iterations plus
1983 int max_iterations = bnx2x_exe_queue_length(&o->exe_queue) + 1;
1985 while (!bnx2x_exe_queue_empty(&o->exe_queue) &&
2027 struct bnx2x_exe_queue_obj *exeq = &o->exe_queue;
2037 list_for_each_entry_safe(exeq_pos, exeq_pos_n, &exeq->exe_queue, link) {
2165 &mac_obj->exe_queue, 1, qable_obj,
2182 &mac_obj->exe_queue, CLASSIFY_RULES_COUNT,
2223 &vlan_obj->exe_queue, CLASSIFY_RULES_COUNT,
2269 &vlan_mac_obj->exe_queue, 1, qable_obj,
2285 &vlan_mac_obj->exe_queue,