Lines Matching refs:controllers
1917 efx_pcie_interface_t *controllers; member
1929 if (ctx->controllers == NULL) { in sfc_journal_ctx_add_controller()
1930 ctx->controllers = rte_malloc("sfc_controller_mapping", in sfc_journal_ctx_add_controller()
1931 sizeof(ctx->controllers[0]), 0); in sfc_journal_ctx_add_controller()
1932 if (ctx->controllers == NULL) in sfc_journal_ctx_add_controller()
1935 ctx->controllers[0] = intf; in sfc_journal_ctx_add_controller()
1942 if (ctx->controllers[i] == intf) in sfc_journal_ctx_add_controller()
1944 if (ctx->controllers[i] > intf) in sfc_journal_ctx_add_controller()
1950 new_size = ctx->nb_controllers * sizeof(ctx->controllers[0]); in sfc_journal_ctx_add_controller()
1952 new_controllers = rte_realloc(ctx->controllers, new_size, 0); in sfc_journal_ctx_add_controller()
1954 rte_free(ctx->controllers); in sfc_journal_ctx_add_controller()
1957 ctx->controllers = new_controllers; in sfc_journal_ctx_add_controller()
1960 ctx->controllers[i] = ctx->controllers[i - 1]; in sfc_journal_ctx_add_controller()
1962 ctx->controllers[target] = intf; in sfc_journal_ctx_add_controller()
2098 const efx_pcie_interface_t *controllers; in sfc_process_mport_journal() local
2115 &controllers, &nb_controllers); in sfc_process_mport_journal()
2121 ctx.controllers_assigned = controllers != NULL; in sfc_process_mport_journal()
2122 ctx.controllers = NULL; in sfc_process_mport_journal()
2133 if (controllers == NULL) { in sfc_process_mport_journal()
2135 ctx.controllers, in sfc_process_mport_journal()
2166 const efx_pcie_interface_t *controllers; member
2198 rc = sfc_mae_switch_controller_from_mapping(ctx->controllers, in sfc_get_representors_cb()
2274 &get_repr_ctx.controllers, in sfc_representor_info_get()