Home
last modified time | relevance | path

Searched refs:rule_ptr (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/wireless/
H A Dreg.c661 static bool valid_rule(const u8 *data, unsigned int size, u16 rule_ptr) in valid_rule() argument
663 struct fwdb_rule *rule = (void *)(data + (rule_ptr << 2)); in valid_rule()
710 u16 rule_ptr = be16_to_cpu(rules_ptr[i]); in valid_country() local
712 if (!valid_rule(data, size, rule_ptr)) in valid_country()
904 unsigned int rule_ptr = be16_to_cpu(rules_ptr[i]) << 2; in __regdb_query_wmm() local
905 struct fwdb_rule *rule = (void *)((u8 *)db + rule_ptr); in __regdb_query_wmm()
963 unsigned int rule_ptr = be16_to_cpu(rules_ptr[i]) << 2; in regdb_query_country() local
964 struct fwdb_rule *rule = (void *)((u8 *)db + rule_ptr); in regdb_query_country()
/kernel/linux/linux-6.6/net/wireless/
H A Dreg.c681 static bool valid_rule(const u8 *data, unsigned int size, u16 rule_ptr) in valid_rule() argument
683 struct fwdb_rule *rule = (void *)(data + (rule_ptr << 2)); in valid_rule()
730 u16 rule_ptr = be16_to_cpu(rules_ptr[i]); in valid_country() local
732 if (!valid_rule(data, size, rule_ptr)) in valid_country()
886 unsigned int rule_ptr = be16_to_cpu(rules_ptr[i]) << 2; in __regdb_query_wmm() local
887 struct fwdb_rule *rule = (void *)((u8 *)db + rule_ptr); in __regdb_query_wmm()
945 unsigned int rule_ptr = be16_to_cpu(rules_ptr[i]) << 2; in regdb_query_country() local
946 struct fwdb_rule *rule = (void *)((u8 *)db + rule_ptr); in regdb_query_country()

Completed in 12 milliseconds