Searched refs:recps (Results 1 – 2 of 2) sorted by relevance
53 struct ice_sw_recipe *recps; in ice_init_def_sw_recp() local56 recps = devm_kcalloc(ice_hw_to_dev(hw), ICE_MAX_NUM_RECIPES, in ice_init_def_sw_recp()57 sizeof(*recps), GFP_KERNEL); in ice_init_def_sw_recp()58 if (!recps) in ice_init_def_sw_recp()62 recps[i].root_rid = i; in ice_init_def_sw_recp()63 INIT_LIST_HEAD(&recps[i].filt_rules); in ice_init_def_sw_recp()64 INIT_LIST_HEAD(&recps[i].filt_replay_rules); in ice_init_def_sw_recp()65 mutex_init(&recps[i].filt_rule_lock); in ice_init_def_sw_recp()68 hw->switch_info->recp_list = recps; in ice_init_def_sw_recp()
573 struct ice_sw_recipe *recps; in ice_cleanup_fltr_mgmt_struct() local581 recps = hw->switch_info->recp_list; in ice_cleanup_fltr_mgmt_struct()585 recps[i].root_rid = i; in ice_cleanup_fltr_mgmt_struct()586 mutex_destroy(&recps[i].filt_rule_lock); in ice_cleanup_fltr_mgmt_struct()588 &recps[i].filt_rules, list_entry) { in ice_cleanup_fltr_mgmt_struct()