Home
last modified time | relevance | path

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

/openbmc/linux/net/devlink/
H A Dtrap.c262 struct devlink_trap_group_item *group_item = trap_item->group_item; in devlink_nl_trap_fill() local
442 return group_item; in devlink_trap_group_item_lookup()
455 return group_item; in devlink_trap_group_item_lookup_by_id()
528 if (!group_item) { in devlink_nl_trap_group_get_doit()
700 if (!group_item) { in devlink_nl_cmd_trap_group_set_doit()
1224 trap_item->group_item = group_item; in devlink_trap_item_group_link()
1555 group_item = kzalloc(sizeof(*group_item), GFP_KERNEL); in devlink_trap_group_register()
1556 if (!group_item) in devlink_trap_group_register()
1560 if (!group_item->stats) { in devlink_trap_group_register()
1587 kfree(group_item); in devlink_trap_group_register()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_trap.c1399 const struct mlxsw_sp_trap_group_item *group_item; in mlxsw_sp_trap_groups_init() local
1408 group_item = &trap->group_items_arr[i]; in mlxsw_sp_trap_groups_init()
1409 err = devl_trap_groups_register(devlink, &group_item->group, 1); in mlxsw_sp_trap_groups_init()
1418 group_item = &trap->group_items_arr[i]; in mlxsw_sp_trap_groups_init()
1419 devl_trap_groups_unregister(devlink, &group_item->group, 1); in mlxsw_sp_trap_groups_init()
1432 const struct mlxsw_sp_trap_group_item *group_item; in mlxsw_sp_trap_groups_fini() local
1434 group_item = &trap->group_items_arr[i]; in mlxsw_sp_trap_groups_fini()
1435 devl_trap_groups_unregister(devlink, &group_item->group, 1); in mlxsw_sp_trap_groups_fini()
1667 const struct mlxsw_sp_trap_group_item *group_item; in __mlxsw_sp_trap_group_init() local
1671 if (WARN_ON(!group_item)) in __mlxsw_sp_trap_group_init()
[all …]
/openbmc/linux/drivers/iommu/iommufd/
H A Ddevice.c370 list_add_tail(&idev->group_item, &idev->igroup->device_list); in iommufd_hw_pagetable_attach()
386 list_del(&idev->group_item); in iommufd_hw_pagetable_detach()
433 list_for_each_entry(cur, &igroup->device_list, group_item) { in iommufd_device_do_replace()
444 list_for_each_entry(cur, &igroup->device_list, group_item) { in iommufd_device_do_replace()
461 list_for_each_entry(cur, &igroup->device_list, group_item) in iommufd_device_do_replace()
481 list_for_each_entry(cur, &igroup->device_list, group_item) in iommufd_device_do_replace()
H A Diommufd_private.h284 struct list_head group_item; member