Home
last modified time | relevance | path

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

/net/wireless/
Dreg.c1540 unsigned int num_rules = 0; in regdom_intersect() local
1562 num_rules++; in regdom_intersect()
1566 if (!num_rules) in regdom_intersect()
1569 rd = kzalloc(struct_size(rd, reg_rules, num_rules), GFP_KERNEL); in regdom_intersect()
Dnl80211.c8618 u32 num_rules = 0, rule_idx = 0; in nl80211_set_reg() local
8635 num_rules++; in nl80211_set_reg()
8636 if (num_rules > NL80211_MAX_SUPP_REG_RULES) in nl80211_set_reg()
8646 rd = kzalloc(struct_size(rd, reg_rules, num_rules), GFP_KERNEL); in nl80211_set_reg()
8652 rd->n_reg_rules = num_rules; in nl80211_set_reg()