Lines Matching refs:mae
1038 struct efx_mae *mae = efx->mae; in efx_mae_lookup_mport() local
1043 rhashtable_walk_enter(&mae->mports_ht, &walk); in efx_mae_lookup_mport()
1074 return rhashtable_lookup_fast(&efx->mae->mports_ht, &mport_id, in efx_mae_get_mport()
1080 struct efx_mae *mae = efx->mae; in efx_mae_add_mport() local
1083 rc = rhashtable_insert_fast(&mae->mports_ht, &desc->linkage, in efx_mae_add_mport()
2263 struct efx_mae *mae; in efx_init_mae() local
2269 mae = kmalloc(sizeof(*mae), GFP_KERNEL); in efx_init_mae()
2270 if (!mae) in efx_init_mae()
2273 rc = rhashtable_init(&mae->mports_ht, &efx_mae_mports_ht_params); in efx_init_mae()
2275 kfree(mae); in efx_init_mae()
2278 efx->mae = mae; in efx_init_mae()
2279 mae->efx = efx; in efx_init_mae()
2285 struct efx_mae *mae = efx->mae; in efx_fini_mae() local
2287 kfree(mae); in efx_fini_mae()
2288 efx->mae = NULL; in efx_fini_mae()