Lines Matching refs:reg_rules
245 .reg_rules = {
452 regd = kzalloc(struct_size(regd, reg_rules, src_regd->n_reg_rules),
460 memcpy(®d->reg_rules[i], &src_regd->reg_rules[i],
971 regdom = kzalloc(struct_size(regdom, reg_rules, coll->n_rules),
985 struct ieee80211_reg_rule *rrule = ®dom->reg_rules[i];
1200 if (rule == &rd->reg_rules[idx])
1210 tmp = &rd->reg_rules[--no];
1226 tmp = &rd->reg_rules[++no];
1296 reg_rule = &rd->reg_rules[i];
1493 struct ieee80211_reg_rule *reg_rules, u32 *n_rules)
1499 tmp_rule = ®_rules[i];
1511 memcpy(®_rules[*n_rules], rule, sizeof(*rule));
1551 rule1 = &rd1->reg_rules[x];
1553 rule2 = &rd2->reg_rules[y];
1563 rd = kzalloc(struct_size(rd, reg_rules, num_rules), GFP_KERNEL);
1568 rule1 = &rd1->reg_rules[x];
1570 rule2 = &rd2->reg_rules[y];
1580 add_rule(&intersected_rule, rd->reg_rules,
1640 rr = ®d->reg_rules[i];
3721 reg_rule = &rd->reg_rules[i];