Lines Matching refs:trap_list
87 struct list_head trap_list; in cleanup_traps() local
92 list_replace_init(&ibp->rvp.trap_lists[i].list, &trap_list); in cleanup_traps()
100 list_for_each_entry_safe(node, q, &trap_list, list) { in cleanup_traps()
118 struct trap_list *trap_list; in check_and_add_trap() local
139 trap_list = &ibp->rvp.trap_lists[queue_id]; in check_and_add_trap()
141 list_for_each_entry(node, &trap_list->list, list) { in check_and_add_trap()
151 if (trap_list->list_len < RVT_MAX_TRAP_LEN) { in check_and_add_trap()
152 trap_list->list_len++; in check_and_add_trap()
153 list_add_tail(&trap->list, &trap_list->list); in check_and_add_trap()
177 node = list_first_entry(&trap_list->list, struct trap_node, in check_and_add_trap()
189 struct trap_list *trap_list; in subn_handle_opa_trap_repress() local
199 trap_list = &ibp->rvp.trap_lists[i]; in subn_handle_opa_trap_repress()
200 trap = list_first_entry_or_null(&trap_list->list, in subn_handle_opa_trap_repress()
206 trap_list->list_len--; in subn_handle_opa_trap_repress()