Lines Matching refs:sc_xarray_element

84 	struct mlx5e_macsec_rx_sc_xarray_element *sc_xarray_element;  member
672 struct mlx5e_macsec_rx_sc_xarray_element *sc_xarray_element; in mlx5e_macsec_add_rxsc() local
705 sc_xarray_element = kzalloc(sizeof(*sc_xarray_element), GFP_KERNEL); in mlx5e_macsec_add_rxsc()
706 if (!sc_xarray_element) { in mlx5e_macsec_add_rxsc()
711 sc_xarray_element->rx_sc = rx_sc; in mlx5e_macsec_add_rxsc()
712 err = xa_alloc(&macsec->sc_xarray, &sc_xarray_element->fs_id, sc_xarray_element, in mlx5e_macsec_add_rxsc()
732 rx_sc->sc_xarray_element = sc_xarray_element; in mlx5e_macsec_add_rxsc()
739 xa_erase(&macsec->sc_xarray, sc_xarray_element->fs_id); in mlx5e_macsec_add_rxsc()
741 kfree(sc_xarray_element); in mlx5e_macsec_add_rxsc()
790 &rx_sc->sc_xarray_element->fs_id); in mlx5e_macsec_upd_rxsc()
813 rx_sc->sc_xarray_element->fs_id); in macsec_del_rxsc_ctx()
826 xa_erase(&macsec->sc_xarray, rx_sc->sc_xarray_element->fs_id); in macsec_del_rxsc_ctx()
828 kfree(rx_sc->sc_xarray_element); in macsec_del_rxsc_ctx()
936 err = mlx5e_macsec_init_sa(ctx, rx_sa, true, false, &rx_sc->sc_xarray_element->fs_id); in mlx5e_macsec_add_rxsa()
1004 &rx_sc->sc_xarray_element->fs_id); in mlx5e_macsec_upd_rxsa()
1054 rx_sc->sc_xarray_element->fs_id); in mlx5e_macsec_del_rxsa()
1136 rx_sc->sc_xarray_element->fs_id); in macsec_upd_secy_hw_address()
1148 &rx_sc->sc_xarray_element->fs_id); in macsec_upd_secy_hw_address()
1682 struct mlx5e_macsec_rx_sc_xarray_element *sc_xarray_element; in mlx5e_macsec_offload_handle_rx_skb() local
1696 sc_xarray_element = xa_load(&macsec->sc_xarray, fs_id); in mlx5e_macsec_offload_handle_rx_skb()
1697 rx_sc = sc_xarray_element->rx_sc; in mlx5e_macsec_offload_handle_rx_skb()