Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Dif_team.h306 size_t option_count);
309 size_t option_count);
/Linux-v6.6/drivers/net/team/
Dteam.c251 size_t option_count) in __team_options_register() argument
257 dst_opts = kcalloc(option_count, sizeof(struct team_option *), in __team_options_register()
261 for (i = 0; i < option_count; i++, option++) { in __team_options_register()
273 for (i = 0; i < option_count; i++) { in __team_options_register()
287 i = option_count; in __team_options_register()
298 size_t option_count) in __team_options_mark_removed() argument
302 for (i = 0; i < option_count; i++, option++) { in __team_options_mark_removed()
313 size_t option_count) in __team_options_unregister() argument
317 for (i = 0; i < option_count; i++, option++) { in __team_options_unregister()
333 size_t option_count) in team_options_register() argument
[all …]
/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_devlink.c666 u8 option_count = ICE_AQC_PORT_OPT_MAX; in ice_devlink_port_split() local
671 status = ice_aq_get_port_options(&pf->hw, options, &option_count, in ice_devlink_port_split()
683 for (i = 1; i <= option_count; i++) { in ice_devlink_port_split()
688 j = (active_idx + i) % option_count; in ice_devlink_port_split()
1492 u8 i, active_idx, pending_idx, option_count = ICE_AQC_PORT_OPT_MAX; in ice_devlink_set_port_split_options() local
1496 status = ice_aq_get_port_options(&pf->hw, options, &option_count, in ice_devlink_set_port_split_options()
1506 for (i = 0; i < option_count; i++) in ice_devlink_set_port_split_options()
Dice_common.h156 u8 *option_count, u8 lport, bool lport_valid,
Dice_common.c3792 u8 *option_count, u8 lport, bool lport_valid, in ice_aq_get_port_options() argument
3802 if (*option_count < ICE_AQC_PORT_OPT_COUNT_M) in ice_aq_get_port_options()
3813 *option_count * sizeof(*options), NULL); in ice_aq_get_port_options()
3818 *option_count = FIELD_GET(ICE_AQC_PORT_OPT_COUNT_M, in ice_aq_get_port_options()
3820 ice_debug(hw, ICE_DBG_PHY, "options: %x\n", *option_count); in ice_aq_get_port_options()
3826 if (*active_option_idx > (*option_count - 1)) in ice_aq_get_port_options()
3837 if (*pending_option_idx > (*option_count - 1)) in ice_aq_get_port_options()
3844 for (i = 0; i < *option_count; i++) { in ice_aq_get_port_options()