Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/team/
Dteam_mode_loadbalance.c444 static void __lb_stats_info_refresh_prepare(struct lb_stats_info *s_info) in __lb_stats_info_refresh_prepare() argument
446 memcpy(&s_info->last_stats, &s_info->stats, sizeof(struct lb_stats)); in __lb_stats_info_refresh_prepare()
447 memset(&s_info->stats, 0, sizeof(struct lb_stats)); in __lb_stats_info_refresh_prepare()
450 static bool __lb_stats_info_refresh_check(struct lb_stats_info *s_info, in __lb_stats_info_refresh_check() argument
453 if (memcmp(&s_info->last_stats, &s_info->stats, in __lb_stats_info_refresh_check()
455 team_option_inst_set_change(s_info->opt_inst_info); in __lb_stats_info_refresh_check()
482 struct lb_stats_info *s_info; in lb_stats_refresh() local
500 s_info = &lb_priv->ex->stats.info[j]; in lb_stats_refresh()
501 __lb_stats_info_refresh_prepare(s_info); in lb_stats_refresh()
505 __lb_one_cpu_stats_add(&s_info->stats, stats, in lb_stats_refresh()
[all …]
/linux-6.1.9/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()
666 s_info = &priv->mfunc.master.vf_oper[i].vport[port].state; in mlx4_eq_int()
667 if (IFLA_VF_LINK_STATE_AUTO == s_info->link_state) { in mlx4_eq_int()
/linux-6.1.9/fs/btrfs/
Dspace-info.c162 u64 __pure btrfs_space_info_used(struct btrfs_space_info *s_info, in btrfs_space_info_used() argument
165 ASSERT(s_info); in btrfs_space_info_used()
166 return s_info->bytes_used + s_info->bytes_reserved + in btrfs_space_info_used()
167 s_info->bytes_pinned + s_info->bytes_readonly + in btrfs_space_info_used()
168 s_info->bytes_zone_unusable + in btrfs_space_info_used()
169 (may_use_included ? s_info->bytes_may_use : 0); in btrfs_space_info_used()
Dspace-info.h132 u64 __pure btrfs_space_info_used(struct btrfs_space_info *s_info,
/linux-6.1.9/drivers/media/platform/samsung/exynos4-is/
Dfimc-lite-reg.h136 struct fimc_source_info *s_info);