Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dalias_GUID.c292 struct mlx4_alias_guid_work_context *cb_ctx = context; in aliasguid_query_handler() local
304 dev = cb_ctx->dev; in aliasguid_query_handler()
305 port_index = cb_ctx->port - 1; in aliasguid_query_handler()
307 all_rec_per_port[cb_ctx->block_num]; in aliasguid_query_handler()
311 cb_ctx->port, status); in aliasguid_query_handler()
316 if (guid_rec->block_num != cb_ctx->block_num) { in aliasguid_query_handler()
318 cb_ctx->block_num, guid_rec->block_num); in aliasguid_query_handler()
323 be16_to_cpu(guid_rec->lid), cb_ctx->port, in aliasguid_query_handler()
333 if (!(cb_ctx->guid_indexes & in aliasguid_query_handler()
339 if (cb_ctx->method == MLX4_GUID_INFO_RECORD_DELETE) { in aliasguid_query_handler()
[all …]
/linux-6.6.21/net/smc/
Dsmc_stats.c262 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_get_stats() local
271 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() local
327 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() local
386 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 …]
Dsmc_diag.c194 struct smc_diag_dump_ctx *cb_ctx = smc_dump_context(cb); in smc_diag_dump_proto() local
196 int snum = cb_ctx->pos[p_type]; in smc_diag_dump_proto()
221 cb_ctx->pos[p_type] = num; in smc_diag_dump_proto()
Dsmc_ism.c294 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_prep_smcd_dev() local
295 int snum = cb_ctx->pos[0]; in smc_nl_prep_smcd_dev()
310 cb_ctx->pos[0] = num; in smc_nl_prep_smcd_dev()
Dsmc_core.c226 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_get_sys_info() local
239 if (cb_ctx->pos[0]) in smc_nl_get_sys_info()
268 cb_ctx->pos[0] = 1; in smc_nl_get_sys_info()
484 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_fill_lgr_list() local
486 int snum = cb_ctx->pos[0]; in smc_nl_fill_lgr_list()
500 cb_ctx->pos[0] = num; in smc_nl_fill_lgr_list()
566 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_handle_smcd_lgr() local
568 int snum = cb_ctx->pos[1]; in smc_nl_handle_smcd_lgr()
585 cb_ctx->pos[1] = num; in smc_nl_handle_smcd_lgr()
593 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_fill_smcd_dev() local
[all …]
Dsmc_clc.c228 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_dump_ueid() local
232 cb->nlh->nlmsg_seq, cb_ctx->pos[0]); in smc_nl_dump_ueid()
234 cb_ctx->pos[0] = idx; in smc_nl_dump_ueid()
240 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_dump_seid() local
246 if (cb_ctx->pos[0]) in smc_nl_dump_seid()
269 cb_ctx->pos[0]++; in smc_nl_dump_seid()
Dsmc_ib.c604 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_prep_smcr_dev() local
606 int snum = cb_ctx->pos[0]; in smc_nl_prep_smcr_dev()
620 cb_ctx->pos[0] = num; in smc_nl_prep_smcr_dev()
Daf_smc.c73 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_dump_hs_limitation() local
76 if (cb_ctx->pos[0]) in smc_nl_dump_hs_limitation()
90 cb_ctx->pos[0] = 1; in smc_nl_dump_hs_limitation()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_buffers.c1563 struct mlxsw_sp_sb_sr_occ_query_cb_ctx cb_ctx; in mlxsw_sp_sb_sr_occ_query_cb() local
1570 memcpy(&cb_ctx, &cb_priv, sizeof(cb_ctx)); in mlxsw_sp_sb_sr_occ_query_cb()
1573 for (local_port = cb_ctx.local_port_1; in mlxsw_sp_sb_sr_occ_query_cb()
1588 if (++masked_count == cb_ctx.masked_count) in mlxsw_sp_sb_sr_occ_query_cb()
1592 for (local_port = cb_ctx.local_port_1; in mlxsw_sp_sb_sr_occ_query_cb()
1602 if (++masked_count == cb_ctx.masked_count) in mlxsw_sp_sb_sr_occ_query_cb()
1612 struct mlxsw_sp_sb_sr_occ_query_cb_ctx cb_ctx; in mlxsw_sp_sb_occ_snapshot() local
1662 cb_ctx.masked_count = masked_count; in mlxsw_sp_sb_occ_snapshot()
1663 cb_ctx.local_port_1 = local_port_1; in mlxsw_sp_sb_occ_snapshot()
1664 memcpy(&cb_priv, &cb_ctx, sizeof(cb_ctx)); in mlxsw_sp_sb_occ_snapshot()
/linux-6.6.21/drivers/staging/vc04_services/vchiq-mmal/
Dmmal-vchiq.h81 void *cb_ctx; member
/linux-6.6.21/tools/lib/bpf/
Dbtf_dump.c82 void *cb_ctx; member
141 d->printf_fn(d->cb_ctx, fmt, args); in btf_dump_printf()
168 d->cb_ctx = ctx; in btf_dump__new()
/linux-6.6.21/drivers/staging/vc04_services/bcm2835-camera/
Dbcm2835-camera.c325 struct bcm2835_mmal_dev *dev = port->cb_ctx; in buffer_cb()
566 dev->capture.port->cb_ctx = dev; in start_streaming()
/linux-6.6.21/drivers/infiniband/core/
Dsa_query.c1816 struct ib_classport_info_context *cb_ctx = context; in ib_classportinfo_cb() local
1818 complete(&cb_ctx->done); in ib_classportinfo_cb()