Searched refs:rule_ptr (Results 1 – 1 of 1) sorted by relevance
682 static bool valid_rule(const u8 *data, unsigned int size, u16 rule_ptr) in valid_rule() argument684 struct fwdb_rule *rule = (void *)(data + (rule_ptr << 2)); in valid_rule()731 u16 rule_ptr = be16_to_cpu(rules_ptr[i]); in valid_country() local733 if (!valid_rule(data, size, rule_ptr)) in valid_country()887 unsigned int rule_ptr = be16_to_cpu(rules_ptr[i]) << 2; in __regdb_query_wmm() local888 struct fwdb_rule *rule = (void *)((u8 *)db + rule_ptr); in __regdb_query_wmm()946 unsigned int rule_ptr = be16_to_cpu(rules_ptr[i]) << 2; in regdb_query_country() local947 struct fwdb_rule *rule = (void *)((u8 *)db + rule_ptr); in regdb_query_country()