Searched refs:n_rules (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/net/wireless/ |
D | reg.c | 592 u8 n_rules; member 695 if ((u8 *)coll + offsetofend(typeof(*coll), n_rules) > data + size) in valid_country() 700 (coll->n_rules * 2) > data + size) in valid_country() 709 for (i = 0; i < coll->n_rules; i++) { in valid_country() 902 for (i = 0; i < coll->n_rules; i++) { in __regdb_query_wmm() 951 regdom = kzalloc(struct_size(regdom, reg_rules, coll->n_rules), in regdb_query_country() 956 regdom->n_reg_rules = coll->n_rules; in regdb_query_country() 1457 struct ieee80211_reg_rule *reg_rules, u32 *n_rules) in add_rule() argument 1462 for (i = 0; i < *n_rules; i++) { in add_rule() 1475 memcpy(®_rules[*n_rules], rule, sizeof(*rule)); in add_rule() [all …]
|
D | trace.h | 2497 __field(int, n_rules) 2501 __entry->n_rules = coalesce ? coalesce->n_rules : 0; 2504 WIPHY_PR_ARG, __entry->n_rules)
|
D | core.c | 742 (!wiphy->coalesce->n_rules || in wiphy_register()
|
D | nl80211.c | 1637 rule.max_rules = rdev->wiphy.coalesce->n_rules; in nl80211_send_coalesce() 12394 if (!rdev->coalesce->n_rules) in nl80211_send_coalesce_rules() 12401 for (i = 0; i < rdev->coalesce->n_rules; i++) { in nl80211_send_coalesce_rules() 12481 for (i = 0; i < coalesce->n_rules; i++) { in cfg80211_rdev_free_coalesce() 12589 int err, rem_rule, n_rules = 0, i, j; in nl80211_set_coalesce() local 12604 n_rules++; in nl80211_set_coalesce() 12605 if (n_rules > coalesce->n_rules) in nl80211_set_coalesce() 12608 new_coalesce.rules = kcalloc(n_rules, sizeof(new_coalesce.rules[0]), in nl80211_set_coalesce() 12613 new_coalesce.n_rules = n_rules; in nl80211_set_coalesce() 12640 for (i = 0; i < new_coalesce.n_rules; i++) { in nl80211_set_coalesce()
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
D | cfg80211.c | 3690 coalesce_cfg.num_of_rules = coalesce->n_rules; in mwifiex_cfg80211_set_coalesce() 3691 for (i = 0; i < coalesce->n_rules; i++) { in mwifiex_cfg80211_set_coalesce() 4248 .n_rules = MWIFIEX_COALESCE_MAX_RULES,
|
/kernel/linux/linux-5.10/include/net/ |
D | cfg80211.h | 2999 int n_rules; member 4535 int n_rules; member
|