Home
last modified time | relevance | path

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

/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.c609 struct smc_nl_dmp_ctx *cb_ctx = smc_nl_dmp_ctx(cb); in smc_nl_prep_smcr_dev() local
611 int snum = cb_ctx->pos[0]; in smc_nl_prep_smcr_dev()
625 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()