Searched refs:limits (Results 1 – 6 of 6) sorted by relevance
2253 struct ieee80211_iface_limit *limits; in cfg80211_iter_combinations() local2263 limits = kmemdup(c->limits, sizeof(limits[0]) * c->n_limits, in cfg80211_iter_combinations()2265 if (!limits) in cfg80211_iter_combinations()2272 all_iftypes |= limits[j].types; in cfg80211_iter_combinations()2273 if (!(limits[j].types & BIT(iftype))) in cfg80211_iter_combinations()2275 if (limits[j].max < params->iftype_num[iftype]) in cfg80211_iter_combinations()2277 limits[j].max -= params->iftype_num[iftype]; in cfg80211_iter_combinations()2311 kfree(limits); in cfg80211_iter_combinations()
634 u16 types = c->limits[j].types; in wiphy_verify_combinations()641 if (WARN_ON(!c->limits[j].max)) in wiphy_verify_combinations()650 c->limits[j].max > 1)) in wiphy_verify_combinations()655 c->limits[j].max > 1)) in wiphy_verify_combinations()673 cnt += c->limits[j].max; in wiphy_verify_combinations()
1669 c->limits[j].max)) in nl80211_put_iface_combinations()1672 c->limits[j].types)) in nl80211_put_iface_combinations()
96 struct hlist_head *limits; member851 return &info->limits[zone & (CT_LIMIT_HASH_BUCKETS - 1)]; in ct_limit_hash_bucket()1568 ovs_net->ct_limit_info->limits = in ovs_ct_limit_init()1571 if (!ovs_net->ct_limit_info->limits) { in ovs_ct_limit_init()1577 INIT_HLIST_HEAD(&ovs_net->ct_limit_info->limits[i]); in ovs_ct_limit_init()1584 kfree(ovs_net->ct_limit_info->limits); in ovs_ct_limit_init()1599 struct hlist_head *head = &info->limits[i]; in ovs_ct_limit_exit()1606 kfree(info->limits); in ovs_ct_limit_exit()1809 head = &info->limits[i]; in ovs_ct_limit_get_all_zone_limit()
472 struct nla_bitfield32 limits; in devlink_nl_cmd_reload() local475 limits = nla_get_bitfield32(info->attrs[DEVLINK_ATTR_RELOAD_LIMITS]); in devlink_nl_cmd_reload()476 limits_selected = limits.value & limits.selector; in devlink_nl_cmd_reload()
1181 if ((c->limits[j].types & BIT(NL80211_IFTYPE_ADHOC)) && in ieee80211_register_hw()1182 c->limits[j].max > 1) in ieee80211_register_hw()