Home
last modified time | relevance | path

Searched refs:s_info (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/net/team/
Dteam_mode_loadbalance.c431 static void __lb_stats_info_refresh_prepare(struct lb_stats_info *s_info) in __lb_stats_info_refresh_prepare() argument
433 memcpy(&s_info->last_stats, &s_info->stats, sizeof(struct lb_stats)); in __lb_stats_info_refresh_prepare()
434 memset(&s_info->stats, 0, sizeof(struct lb_stats)); in __lb_stats_info_refresh_prepare()
437 static bool __lb_stats_info_refresh_check(struct lb_stats_info *s_info, in __lb_stats_info_refresh_check() argument
440 if (memcmp(&s_info->last_stats, &s_info->stats, in __lb_stats_info_refresh_check()
442 team_option_inst_set_change(s_info->opt_inst_info); in __lb_stats_info_refresh_check()
469 struct lb_stats_info *s_info; in lb_stats_refresh() local
487 s_info = &lb_priv->ex->stats.info[j]; in lb_stats_refresh()
488 __lb_stats_info_refresh_prepare(s_info); in lb_stats_refresh()
492 __lb_one_cpu_stats_add(&s_info->stats, stats, in lb_stats_refresh()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c2978 struct mlx4_vport_state *s_info; in mlx4_set_vf_mac() local
2992 s_info = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_set_vf_mac()
2994 if (s_info->spoofchk && is_zero_ether_addr(mac)) { in mlx4_set_vf_mac()
2999 s_info->mac = ether_addr_to_u64(mac); in mlx4_set_vf_mac()
3001 vf, port, s_info->mac); in mlx4_set_vf_mac()
3170 struct mlx4_vport_state *s_info; in mlx4_set_vf_spoofchk() local
3183 s_info = &priv->mfunc.master.vf_admin[slave].vport[port]; in mlx4_set_vf_spoofchk()
3185 u64_to_ether_addr(s_info->mac, mac); in mlx4_set_vf_spoofchk()
3191 s_info->spoofchk = setting; in mlx4_set_vf_spoofchk()
3200 struct mlx4_vport_state *s_info; in mlx4_get_vf_config() local
[all …]
Deq.c509 struct mlx4_vport_state *s_info; in mlx4_eq_int() local
625 s_info = &priv->mfunc.master.vf_oper[i].vport[port].state; in mlx4_eq_int()
626 if (IFLA_VF_LINK_STATE_AUTO == s_info->link_state) { in mlx4_eq_int()
667 s_info = &priv->mfunc.master.vf_oper[i].vport[port].state; in mlx4_eq_int()
668 if (IFLA_VF_LINK_STATE_AUTO == s_info->link_state) { in mlx4_eq_int()
/linux-6.6.21/fs/btrfs/
Dspace-info.c165 u64 __pure btrfs_space_info_used(struct btrfs_space_info *s_info, in btrfs_space_info_used() argument
168 ASSERT(s_info); in btrfs_space_info_used()
169 return s_info->bytes_used + s_info->bytes_reserved + in btrfs_space_info_used()
170 s_info->bytes_pinned + s_info->bytes_readonly + in btrfs_space_info_used()
171 s_info->bytes_zone_unusable + in btrfs_space_info_used()
172 (may_use_included ? s_info->bytes_may_use : 0); in btrfs_space_info_used()
Dspace-info.h208 u64 __pure btrfs_space_info_used(struct btrfs_space_info *s_info,
/linux-6.6.21/drivers/media/platform/samsung/exynos4-is/
Dfimc-lite-reg.h136 struct fimc_source_info *s_info);