Home
last modified time | relevance | path

Searched refs:cb_ctx (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
H A 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 in aliasguid_query_handler()
801 struct mlx4_alias_guid_work_context *cb_ctx; mlx4_ib_destroy_alias_guid_service() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/
H A 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 in aliasguid_query_handler()
800 struct mlx4_alias_guid_work_context *cb_ctx; mlx4_ib_destroy_alias_guid_service() local
[all...]
/kernel/linux/linux-6.6/net/smc/
H A 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 in smc_nl_get_fback_stats()
[all...]
H A 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()
H A 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()
H A 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 in smc_nl_fill_smcd_dev() local
[all...]
H A 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()
H A 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()
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A 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 in mlxsw_sp_sb_occ_snapshot()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A 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 in mlxsw_sp_sb_occ_snapshot()
[all...]
/kernel/linux/linux-5.10/net/smc/
H A 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()
/kernel/linux/linux-5.10/drivers/staging/vc04_services/vchiq-mmal/
H A Dmmal-vchiq.h81 void *cb_ctx; member
/kernel/linux/linux-6.6/drivers/staging/vc04_services/vchiq-mmal/
H A Dmmal-vchiq.h81 void *cb_ctx; member
/kernel/linux/linux-6.6/tools/lib/bpf/
H A 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()
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dsa_query.c1985 struct ib_classport_info_context *cb_ctx = context; in ib_classportinfo_cb() local
1987 complete(&cb_ctx->done); in ib_classportinfo_cb()
/kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-camera/
H A Dbcm2835-camera.c327 struct bm2835_mmal_dev *dev = port->cb_ctx; in buffer_cb()
568 dev->capture.port->cb_ctx = dev; in start_streaming()
/kernel/linux/linux-6.6/drivers/staging/vc04_services/bcm2835-camera/
H A Dbcm2835-camera.c325 struct bcm2835_mmal_dev *dev = port->cb_ctx; in buffer_cb()
566 dev->capture.port->cb_ctx = dev; in start_streaming()
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A 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()

Completed in 32 milliseconds