Lines Matching refs:reprs
190 repr = xa_load(&pf->eswitch.reprs, *repr_id); in ice_eswitch_update_repr()
207 xa_erase(&pf->eswitch.reprs, repr->id); in ice_eswitch_update_repr()
209 if (xa_insert(&pf->eswitch.reprs, repr->id, repr, GFP_KERNEL)) in ice_eswitch_update_repr()
362 xa_destroy(&pf->eswitch.reprs); in ice_eswitch_mode_set()
375 xa_init(&pf->eswitch.reprs); in ice_eswitch_mode_set()
425 xa_for_each(&pf->eswitch.reprs, id, repr) in ice_eswitch_start_all_tx_queues()
441 xa_for_each(&pf->eswitch.reprs, id, repr) in ice_eswitch_stop_all_tx_queues()
463 if (xa_empty(&pf->eswitch.reprs)) { in ice_eswitch_attach()
479 err = xa_insert(&pf->eswitch.reprs, repr->id, repr, GFP_KERNEL); in ice_eswitch_attach()
494 if (xa_empty(&pf->eswitch.reprs)) in ice_eswitch_attach()
557 xa_erase(&pf->eswitch.reprs, repr->id); in ice_eswitch_detach()
559 if (xa_empty(&pf->eswitch.reprs)) in ice_eswitch_detach()
565 if (xa_empty(&pf->eswitch.reprs)) { in ice_eswitch_detach()
585 struct ice_repr *repr = xa_load(&pf->eswitch.reprs, vf->repr_id); in ice_eswitch_detach_vf()
603 struct ice_repr *repr = xa_load(&pf->eswitch.reprs, sf->repr_id); in ice_eswitch_detach_sf()
627 repr = xa_load(&eswitch->reprs, le16_to_cpu(desc->src_vsi)); in ice_eswitch_get_target()