Searched refs:recps (Results 1 – 3 of 3) sorted by relevance
1388 struct ice_sw_recipe *recps; in ice_init_def_sw_recp() local1391 recps = devm_kcalloc(ice_hw_to_dev(hw), ICE_MAX_NUM_RECIPES, in ice_init_def_sw_recp()1392 sizeof(*recps), GFP_KERNEL); in ice_init_def_sw_recp()1393 if (!recps) in ice_init_def_sw_recp()1397 recps[i].root_rid = i; in ice_init_def_sw_recp()1398 INIT_LIST_HEAD(&recps[i].filt_rules); in ice_init_def_sw_recp()1399 INIT_LIST_HEAD(&recps[i].filt_replay_rules); in ice_init_def_sw_recp()1400 INIT_LIST_HEAD(&recps[i].rg_list); in ice_init_def_sw_recp()1401 mutex_init(&recps[i].filt_rule_lock); in ice_init_def_sw_recp()1404 hw->switch_info->recp_list = recps; in ice_init_def_sw_recp()[all …]
794 struct ice_sw_recipe *recps; in ice_cleanup_fltr_mgmt_struct() 802 recps = sw->recp_list; in ice_cleanup_fltr_mgmt_struct() 806 recps[i].root_rid = i; in ice_cleanup_fltr_mgmt_struct() 808 &recps[i].rg_list, l_entry) { in ice_cleanup_fltr_mgmt_struct() 813 if (recps[i].adv_rule) { in ice_cleanup_fltr_mgmt_struct() 817 mutex_destroy(&recps[i].filt_rule_lock); in ice_cleanup_fltr_mgmt_struct() 819 &recps[i].filt_rules, in ice_cleanup_fltr_mgmt_struct() 828 mutex_destroy(&recps[i].filt_rule_lock);830 &recps[i].filt_rules, in ice_get_fw_log_cfg() 836 devm_kfree(ice_hw_to_dev(hw), recps[ in ice_get_fw_log_cfg() 776 struct ice_sw_recipe *recps; ice_cleanup_fltr_mgmt_struct() local [all...]
3725 DO_FP3(FRECPS, recps)