Searched refs:trap_list (Results 1 – 3 of 3) sorted by relevance
27 struct trap_list { struct106 struct trap_list trap_lists[RVT_MAX_TRAP_LISTS];
446 INIT_LIST_HEAD(&devlink->trap_list); in devlink_alloc_ns()474 WARN_ON(!list_empty(&devlink->trap_list)); in devlink_free()
87 struct list_head trap_list; in cleanup_traps() local92 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() local139 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()[all …]