Searched refs:cb_ctx (Results 1 – 5 of 5) sorted by relevance
293 struct mlx4_alias_guid_work_context *cb_ctx = context; in aliasguid_query_handler() local305 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()[all …]
1537 struct mlxsw_sp_sb_sr_occ_query_cb_ctx cb_ctx; in mlxsw_sp_sb_sr_occ_query_cb() local1544 memcpy(&cb_ctx, &cb_priv, sizeof(cb_ctx)); in mlxsw_sp_sb_sr_occ_query_cb()1547 for (local_port = cb_ctx.local_port_1; in mlxsw_sp_sb_sr_occ_query_cb()1562 if (++masked_count == cb_ctx.masked_count) in mlxsw_sp_sb_sr_occ_query_cb()1566 for (local_port = cb_ctx.local_port_1; in mlxsw_sp_sb_sr_occ_query_cb()1576 if (++masked_count == cb_ctx.masked_count) in mlxsw_sp_sb_sr_occ_query_cb()1585 struct mlxsw_sp_sb_sr_occ_query_cb_ctx cb_ctx; in mlxsw_sp_sb_occ_snapshot() local1629 cb_ctx.masked_count = masked_count; in mlxsw_sp_sb_occ_snapshot()1630 cb_ctx.local_port_1 = local_port_1; in mlxsw_sp_sb_occ_snapshot()1631 memcpy(&cb_priv, &cb_ctx, sizeof(cb_ctx)); in mlxsw_sp_sb_occ_snapshot()
81 void *cb_ctx; member
327 struct bm2835_mmal_dev *dev = port->cb_ctx; in buffer_cb()568 dev->capture.port->cb_ctx = dev; in start_streaming()
1985 struct ib_classport_info_context *cb_ctx = context; in ib_classportinfo_cb() local1987 complete(&cb_ctx->done); in ib_classportinfo_cb()