• Home
  • Raw
  • Download

Lines Matching refs:cb_ctx

293 	struct mlx4_alias_guid_work_context *cb_ctx = context;  in aliasguid_query_handler()  local
305 dev = cb_ctx->dev; in aliasguid_query_handler()
306 port_index = cb_ctx->port - 1; in aliasguid_query_handler()
308 all_rec_per_port[cb_ctx->block_num]; in aliasguid_query_handler()
312 cb_ctx->port, status); in aliasguid_query_handler()
317 if (guid_rec->block_num != cb_ctx->block_num) { in aliasguid_query_handler()
319 cb_ctx->block_num, guid_rec->block_num); in aliasguid_query_handler()
324 be16_to_cpu(guid_rec->lid), cb_ctx->port, in aliasguid_query_handler()
334 if (!(cb_ctx->guid_indexes & in aliasguid_query_handler()
340 if (cb_ctx->method == MLX4_GUID_INFO_RECORD_DELETE) { in aliasguid_query_handler()
390 cb_ctx->port); in aliasguid_query_handler()
411 applied_guid_indexes = cb_ctx->guid_indexes & ~declined_guid_indexes; in aliasguid_query_handler()
431 cb_ctx->port, in aliasguid_query_handler()
443 if (cb_ctx->sa_query) { in aliasguid_query_handler()
444 list_del(&cb_ctx->list); in aliasguid_query_handler()
445 kfree(cb_ctx); in aliasguid_query_handler()
447 complete(&cb_ctx->done); in aliasguid_query_handler()
801 struct mlx4_alias_guid_work_context *cb_ctx; in mlx4_ib_destroy_alias_guid_service() local
811 cb_ctx = list_entry(det->cb_list.next, in mlx4_ib_destroy_alias_guid_service()
814 sa_query = cb_ctx->sa_query; in mlx4_ib_destroy_alias_guid_service()
815 cb_ctx->sa_query = NULL; in mlx4_ib_destroy_alias_guid_service()
816 list_del(&cb_ctx->list); in mlx4_ib_destroy_alias_guid_service()
818 ib_sa_cancel_query(cb_ctx->query_id, sa_query); in mlx4_ib_destroy_alias_guid_service()
819 wait_for_completion(&cb_ctx->done); in mlx4_ib_destroy_alias_guid_service()
820 kfree(cb_ctx); in mlx4_ib_destroy_alias_guid_service()