Searched refs:cb_ctx (Results 1 – 10 of 10) 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 …]
262 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_get_stats() local271 if (cb_ctx->pos[0]) in smc_nl_get_stats()307 cb_ctx->pos[0] = 1; in smc_nl_get_stats()325 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_get_fback_details() local327 int cnt_reported = cb_ctx->pos[2]; in smc_nl_get_fback_details()368 cb_ctx->pos[2] = cnt_reported; in smc_nl_get_fback_details()383 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_get_fback_stats() local386 int skip_serv = cb_ctx->pos[1]; in smc_nl_get_fback_stats()387 int snum = cb_ctx->pos[0]; in smc_nl_get_fback_stats()410 cb_ctx->pos[1] = skip_serv; in smc_nl_get_fback_stats()[all …]
194 struct smc_diag_dump_ctx *cb_ctx = smc_dump_context(cb); in smc_diag_dump_proto() local196 int snum = cb_ctx->pos[p_type]; in smc_diag_dump_proto()221 cb_ctx->pos[p_type] = num; in smc_diag_dump_proto()
277 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_prep_smcd_dev() local278 int snum = cb_ctx->pos[0]; in smc_nl_prep_smcd_dev()293 cb_ctx->pos[0] = num; in smc_nl_prep_smcd_dev()
223 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_get_sys_info() local237 if (cb_ctx->pos[0]) in smc_nl_get_sys_info()269 cb_ctx->pos[0] = 1; in smc_nl_get_sys_info()414 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_fill_lgr_list() local416 int snum = cb_ctx->pos[0]; in smc_nl_fill_lgr_list()430 cb_ctx->pos[0] = num; in smc_nl_fill_lgr_list()510 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_handle_smcd_lgr() local512 int snum = cb_ctx->pos[1]; in smc_nl_handle_smcd_lgr()529 cb_ctx->pos[1] = num; in smc_nl_handle_smcd_lgr()537 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_fill_smcd_dev() local[all …]
470 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_prep_smcr_dev() local472 int snum = cb_ctx->pos[0]; in smc_nl_prep_smcr_dev()486 cb_ctx->pos[0] = num; in smc_nl_prep_smcr_dev()
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()
1788 struct ib_classport_info_context *cb_ctx = context; in ib_classportinfo_cb() local1790 complete(&cb_ctx->done); in ib_classportinfo_cb()