Home
last modified time | relevance | path

Searched refs:trap_list (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/net/devlink/
H A Dtrap.c90 list_for_each_entry(trap_item, &devlink->trap_list, list) { in devlink_trap_item_lookup()
315 if (list_empty(&devlink->trap_list)) in devlink_nl_trap_get_doit()
350 list_for_each_entry(trap_item, &devlink->trap_list, list) { in devlink_nl_trap_get_dump_one()
423 if (list_empty(&devlink->trap_list)) in devlink_nl_cmd_trap_set_doit()
601 list_for_each_entry(trap_item, &devlink->trap_list, list) { in __devlink_trap_group_action_set()
613 list_for_each_entry(trap_item, &devlink->trap_list, list) { in __devlink_trap_group_action_set()
1259 list_for_each_entry(trap_item, &devlink->trap_list, list) in devlink_traps_notify_register()
1267 list_for_each_entry_reverse(trap_item, &devlink->trap_list, list) in devlink_traps_notify_unregister()
1303 list_add_tail(&trap_item->list, &devlink->trap_list); in devlink_trap_register()
H A Dcore.c226 INIT_LIST_HEAD(&devlink->trap_list); in devlink_alloc_ns()
254 WARN_ON(!list_empty(&devlink->trap_list)); in devlink_free()
H A Ddevl_internal.h41 struct list_head trap_list; member
/openbmc/linux/include/rdma/
H A Drdma_vt.h27 struct trap_list { struct
106 struct trap_list trap_lists[RVT_MAX_TRAP_LISTS];
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dmad.c87 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()
[all …]