Home
last modified time | relevance | path

Searched refs:num_rules (Results 1 – 2 of 2) sorted by relevance

/net/wireless/
Dreg.c1488 unsigned int num_rules = 0; in regdom_intersect() local
1510 num_rules++; in regdom_intersect()
1514 if (!num_rules) in regdom_intersect()
1517 rd = kzalloc(struct_size(rd, reg_rules, num_rules), GFP_KERNEL); in regdom_intersect()
Dnl80211.c7195 u32 num_rules = 0, rule_idx = 0; in nl80211_set_reg() local
7212 num_rules++; in nl80211_set_reg()
7213 if (num_rules > NL80211_MAX_SUPP_REG_RULES) in nl80211_set_reg()
7220 rd = kzalloc(struct_size(rd, reg_rules, num_rules), GFP_KERNEL); in nl80211_set_reg()
7224 rd->n_reg_rules = num_rules; in nl80211_set_reg()