Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/rdma/
Drdma_vt.h27 struct trap_list { struct
106 struct trap_list trap_lists[RVT_MAX_TRAP_LISTS];
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dmad.c129 struct list_head trap_list; in cleanup_traps() local
134 list_replace_init(&ibp->rvp.trap_lists[i].list, &trap_list); in cleanup_traps()
142 list_for_each_entry_safe(node, q, &trap_list, list) { in cleanup_traps()
160 struct trap_list *trap_list; in check_and_add_trap() local
181 trap_list = &ibp->rvp.trap_lists[queue_id]; in check_and_add_trap()
183 list_for_each_entry(node, &trap_list->list, list) { in check_and_add_trap()
193 if (trap_list->list_len < RVT_MAX_TRAP_LEN) { in check_and_add_trap()
194 trap_list->list_len++; in check_and_add_trap()
195 list_add_tail(&trap->list, &trap_list->list); in check_and_add_trap()
219 node = list_first_entry(&trap_list->list, struct trap_node, in check_and_add_trap()
[all …]
/kernel/linux/linux-5.10/net/core/
Ddevlink.c6700 list_for_each_entry(trap_item, &devlink->trap_list, list) { in devlink_trap_item_lookup()
6877 if (list_empty(&devlink->trap_list)) in devlink_nl_cmd_trap_get_doit()
6917 list_for_each_entry(trap_item, &devlink->trap_list, list) { in devlink_nl_cmd_trap_get_dumpit()
6993 if (list_empty(&devlink->trap_list)) in devlink_nl_cmd_trap_set_doit()
7183 list_for_each_entry(trap_item, &devlink->trap_list, list) { in __devlink_trap_group_action_set()
7195 list_for_each_entry(trap_item, &devlink->trap_list, list) { in __devlink_trap_group_action_set()
7989 INIT_LIST_HEAD(&devlink->trap_list); in devlink_alloc()
8078 WARN_ON(!list_empty(&devlink->trap_list)); in devlink_free()
9720 list_add_tail(&trap_item->list, &devlink->trap_list); in devlink_trap_register()
/kernel/linux/linux-5.10/include/net/
Ddevlink.h44 struct list_head trap_list; member