Lines Matching refs:n_rules
612 u8 n_rules; member
715 if ((u8 *)coll + offsetofend(typeof(*coll), n_rules) > data + size) in valid_country()
720 (coll->n_rules * 2) > data + size) in valid_country()
729 for (i = 0; i < coll->n_rules; i++) { in valid_country()
884 for (i = 0; i < coll->n_rules; i++) { in __regdb_query_wmm()
933 regdom = kzalloc(struct_size(regdom, reg_rules, coll->n_rules), in regdb_query_country()
938 regdom->n_reg_rules = coll->n_rules; in regdb_query_country()
1461 struct ieee80211_reg_rule *reg_rules, u32 *n_rules) in add_rule() argument
1466 for (i = 0; i < *n_rules; i++) { in add_rule()
1479 memcpy(®_rules[*n_rules], rule, sizeof(*rule)); in add_rule()
1480 (*n_rules)++; in add_rule()