Home
last modified time | relevance | path

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

/linux-6.6.21/net/devlink/
Dtrap.c65 struct devlink_trap_group_item *group_item; member
262 struct devlink_trap_group_item *group_item = trap_item->group_item; in devlink_nl_trap_fill() local
274 group_item->group->name)) in devlink_nl_trap_fill()
438 struct devlink_trap_group_item *group_item; in devlink_trap_group_item_lookup() local
440 list_for_each_entry(group_item, &devlink->trap_group_list, list) { in devlink_trap_group_item_lookup()
441 if (!strcmp(group_item->group->name, name)) in devlink_trap_group_item_lookup()
442 return group_item; in devlink_trap_group_item_lookup()
451 struct devlink_trap_group_item *group_item; in devlink_trap_group_item_lookup_by_id() local
453 list_for_each_entry(group_item, &devlink->trap_group_list, list) { in devlink_trap_group_item_lookup_by_id()
454 if (group_item->group->id == id) in devlink_trap_group_item_lookup_by_id()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
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
1670 group_item = mlxsw_sp_trap_group_item_lookup(mlxsw_sp, group->id); in __mlxsw_sp_trap_group_init()
[all …]
/linux-6.6.21/drivers/iommu/iommufd/
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()
Diommufd_private.h284 struct list_head group_item; member