Searched refs:rules_cache (Results 1 – 3 of 3) sorted by relevance
198 struct gve_adminq_queried_flow_rule *rules_cache = priv->flow_rules_cache.rules_cache; in gve_get_flow_rule_entry() local209 fsp->location < be32_to_cpu(rules_cache[0].location) || in gve_get_flow_rule_entry()210 fsp->location > be32_to_cpu(rules_cache[*cache_num - 1].location)) { in gve_get_flow_rule_entry()219 if (fsp->location == be32_to_cpu(rules_cache[i].location)) { in gve_get_flow_rule_entry()220 rule = &rules_cache[i]; in gve_get_flow_rule_entry()
153 flow_rules_cache->rules_cache = in gve_alloc_flow_rule_caches()154 kvcalloc(GVE_FLOW_RULES_CACHE_SIZE, sizeof(*flow_rules_cache->rules_cache), in gve_alloc_flow_rule_caches()156 if (!flow_rules_cache->rules_cache) { in gve_alloc_flow_rule_caches()173 kvfree(flow_rules_cache->rules_cache); in gve_alloc_flow_rule_caches()174 flow_rules_cache->rules_cache = NULL; in gve_alloc_flow_rule_caches()184 kvfree(flow_rules_cache->rules_cache); in gve_free_flow_rule_caches()185 flow_rules_cache->rules_cache = NULL; in gve_free_flow_rule_caches()
779 struct gve_adminq_queried_flow_rule *rules_cache; member