Searched refs:existing_rule (Results 1 – 1 of 1) sorted by relevance
6301 struct necp_route_rule *existing_rule = NULL; in necp_create_route_rule() local6463 …existing_rule = necp_lookup_route_rule_by_contents_locked(list, default_action, cellular_action, w… in necp_create_route_rule()6464 if (existing_rule != NULL) { in necp_create_route_rule()6465 route_rule_id = existing_rule->id; in necp_create_route_rule()6466 os_ref_retain_locked(&existing_rule->refcount); in necp_create_route_rule()6503 struct necp_aggregate_route_rule * __single existing_rule = NULL; in necp_remove_aggregate_route_rule_for_id() local6506 LIST_FOREACH_SAFE(existing_rule, &necp_aggregate_route_rules, chain, tmp_rule) { in necp_remove_aggregate_route_rule_for_id()6509 u_int32_t route_rule_id = existing_rule->rule_ids[index]; in necp_remove_aggregate_route_rule_for_id()6511 LIST_REMOVE(existing_rule, chain); in necp_remove_aggregate_route_rule_for_id()6512 kfree_type(struct necp_aggregate_route_rule, existing_rule); in necp_remove_aggregate_route_rule_for_id()[all …]