Home
last modified time | relevance | path

Searched refs:cb_ctx (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/infiniband/hw/mlx4/
Dalias_GUID.c293 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()
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_buffers.c1537 struct mlxsw_sp_sb_sr_occ_query_cb_ctx cb_ctx; in mlxsw_sp_sb_sr_occ_query_cb() local
1544 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() local
1629 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()
/Linux-v5.10/net/smc/
Dsmc_diag.c207 struct smc_diag_dump_ctx *cb_ctx = smc_dump_context(cb); in smc_diag_dump_proto() local
209 int snum = cb_ctx->pos[p_type]; in smc_diag_dump_proto()
234 cb_ctx->pos[p_type] = num; in smc_diag_dump_proto()
/Linux-v5.10/drivers/staging/vc04_services/vchiq-mmal/
Dmmal-vchiq.h81 void *cb_ctx; member
/Linux-v5.10/drivers/staging/vc04_services/bcm2835-camera/
Dbcm2835-camera.c327 struct bm2835_mmal_dev *dev = port->cb_ctx; in buffer_cb()
568 dev->capture.port->cb_ctx = dev; in start_streaming()
/Linux-v5.10/drivers/infiniband/core/
Dsa_query.c1984 struct ib_classport_info_context *cb_ctx = context; in ib_classportinfo_cb() local
1986 complete(&cb_ctx->done); in ib_classportinfo_cb()