Lines Matching refs:num_expected
235 conv_ctxt->num_expected = 0; in do_pam_conv_kbd_int()
241 for (i = 0, conv_ctxt->num_expected = 0; i < num_msg; i++) { in do_pam_conv_kbd_int()
247 conv_ctxt->num_expected++; in do_pam_conv_kbd_int()
252 conv_ctxt->num_expected++; in do_pam_conv_kbd_int()
271 if (conv_ctxt->num_expected == 0 && text == NULL) { in do_pam_conv_kbd_int()
284 packet_put_int(conv_ctxt->num_expected); in do_pam_conv_kbd_int()
331 if (conv_ctxt->num_received == conv_ctxt->num_expected) { in do_pam_conv_kbd_int()
370 if (nresp != conv_ctxt->num_expected) in input_userauth_info_response_pam()
373 conv_ctxt->num_expected, nresp); in input_userauth_info_response_pam()
379 for (i = 0; i < nresp && i < conv_ctxt->num_expected ; i++) { in input_userauth_info_response_pam()
389 if (i < conv_ctxt->num_expected) { in input_userauth_info_response_pam()
397 if (nresp < conv_ctxt->num_expected) in input_userauth_info_response_pam()
399 nresp, conv_ctxt->num_expected); in input_userauth_info_response_pam()
402 if (nresp > conv_ctxt->num_expected) in input_userauth_info_response_pam()