Lines Matching refs:diag_ctx
81 struct mptcp_diag_ctx *diag_ctx = (void *)cb->ctx; in mptcp_diag_dump_listeners() local
89 for (i = diag_ctx->l_slot; i <= hinfo->lhash2_mask; i++) { in mptcp_diag_dump_listeners()
104 if (num < diag_ctx->l_num) in mptcp_diag_dump_listeners()
132 diag_ctx->l_slot = i; in mptcp_diag_dump_listeners()
133 diag_ctx->l_num = num; in mptcp_diag_dump_listeners()
136 diag_ctx->l_num = num + 1; in mptcp_diag_dump_listeners()
145 diag_ctx->l_num = 0; in mptcp_diag_dump_listeners()
148 diag_ctx->l_num = 0; in mptcp_diag_dump_listeners()
149 diag_ctx->l_slot = i; in mptcp_diag_dump_listeners()
156 struct mptcp_diag_ctx *diag_ctx = (void *)cb->ctx; in mptcp_diag_dump() local
162 BUILD_BUG_ON(sizeof(cb->ctx) < sizeof(*diag_ctx)); in mptcp_diag_dump()
167 while ((msk = mptcp_token_iter_next(net, &diag_ctx->s_slot, in mptcp_diag_dump()
168 &diag_ctx->s_num)) != NULL) { in mptcp_diag_dump()
190 diag_ctx->s_num--; in mptcp_diag_dump()