Lines Matching refs:nums
526 __u16 i, nums; in sctp_process_strreset_outreq() local
554 nums = (ntohs(param.p->length) - sizeof(*outreq)) / sizeof(__u16); in sctp_process_strreset_outreq()
556 for (i = 0; i < nums; i++) { in sctp_process_strreset_outreq()
587 if (nums) in sctp_process_strreset_outreq()
588 for (i = 0; i < nums; i++) in sctp_process_strreset_outreq()
597 SCTP_STREAM_RESET_INCOMING_SSN, nums, str_p, GFP_ATOMIC); in sctp_process_strreset_outreq()
615 __u16 i, nums; in sctp_process_strreset_inreq() local
640 nums = (ntohs(param.p->length) - sizeof(*inreq)) / sizeof(__u16); in sctp_process_strreset_inreq()
642 for (i = 0; i < nums; i++) { in sctp_process_strreset_inreq()
649 if (!sctp_stream_outq_is_empty(stream, nums, str_p)) { in sctp_process_strreset_inreq()
655 chunk = sctp_make_strreset_req(asoc, nums, str_p, 1, 0); in sctp_process_strreset_inreq()
659 if (nums) in sctp_process_strreset_inreq()
660 for (i = 0; i < nums; i++) in sctp_process_strreset_inreq()
922 __u16 i, nums, flags = 0; in sctp_process_strreset_resp() local
947 nums = (ntohs(outreq->param_hdr.length) - sizeof(*outreq)) / in sctp_process_strreset_resp()
952 if (nums) { in sctp_process_strreset_resp()
953 for (i = 0; i < nums; i++) { in sctp_process_strreset_resp()
973 nums, str_p, GFP_ATOMIC); in sctp_process_strreset_resp()
984 nums = (ntohs(inreq->param_hdr.length) - sizeof(*inreq)) / in sctp_process_strreset_resp()
990 nums, str_p, GFP_ATOMIC); in sctp_process_strreset_resp()
1044 nums = ntohs(addstrm->number_of_streams); in sctp_process_strreset_resp()
1045 number = stream->outcnt - nums; in sctp_process_strreset_resp()
1056 0, nums, GFP_ATOMIC); in sctp_process_strreset_resp()
1067 nums = ntohs(addstrm->number_of_streams); in sctp_process_strreset_resp()
1070 nums, 0, GFP_ATOMIC); in sctp_process_strreset_resp()