Home
last modified time | relevance | path

Searched refs:inreq (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/sctp/
H A Dstream.c610 struct sctp_strreset_inreq *inreq = param.v; in sctp_process_strreset_inreq() local
618 request_seq = ntohl(inreq->request_seq); in sctp_process_strreset_inreq()
640 nums = (ntohs(param.p->length) - sizeof(*inreq)) / sizeof(__u16); in sctp_process_strreset_inreq()
641 str_p = inreq->list_of_streams; in sctp_process_strreset_inreq()
975 struct sctp_strreset_inreq *inreq; in sctp_process_strreset_resp() local
978 /* if the result is performed, it's impossible for inreq */ in sctp_process_strreset_resp()
982 inreq = (struct sctp_strreset_inreq *)req; in sctp_process_strreset_resp()
983 str_p = inreq->list_of_streams; in sctp_process_strreset_resp()
984 nums = (ntohs(inreq->param_hdr.length) - sizeof(*inreq)) / in sctp_process_strreset_resp()
[all...]
H A Dsm_make_chunk.c3647 struct sctp_strreset_inreq inreq; in sctp_make_strreset_req() local
3652 inlen = (sizeof(inreq) + stream_len) * in; in sctp_make_strreset_req()
3672 inreq.param_hdr.type = SCTP_PARAM_RESET_IN_REQUEST; in sctp_make_strreset_req()
3673 inreq.param_hdr.length = htons(inlen); in sctp_make_strreset_req()
3674 inreq.request_seq = htonl(asoc->strreset_outseq + out); in sctp_make_strreset_req()
3676 sctp_addto_chunk(retval, sizeof(inreq), &inreq); in sctp_make_strreset_req()
/kernel/linux/linux-6.6/net/sctp/
H A Dstream.c610 struct sctp_strreset_inreq *inreq = param.v; in sctp_process_strreset_inreq() local
618 request_seq = ntohl(inreq->request_seq); in sctp_process_strreset_inreq()
640 nums = (ntohs(param.p->length) - sizeof(*inreq)) / sizeof(__u16); in sctp_process_strreset_inreq()
641 str_p = inreq->list_of_streams; in sctp_process_strreset_inreq()
975 struct sctp_strreset_inreq *inreq; in sctp_process_strreset_resp() local
978 /* if the result is performed, it's impossible for inreq */ in sctp_process_strreset_resp()
982 inreq = (struct sctp_strreset_inreq *)req; in sctp_process_strreset_resp()
983 str_p = inreq->list_of_streams; in sctp_process_strreset_resp()
984 nums = (ntohs(inreq->param_hdr.length) - sizeof(*inreq)) / in sctp_process_strreset_resp()
[all...]
H A Dsm_make_chunk.c3685 struct sctp_strreset_inreq inreq; in sctp_make_strreset_req() local
3690 inlen = (sizeof(inreq) + stream_len) * in; in sctp_make_strreset_req()
3710 inreq.param_hdr.type = SCTP_PARAM_RESET_IN_REQUEST; in sctp_make_strreset_req()
3711 inreq.param_hdr.length = htons(inlen); in sctp_make_strreset_req()
3712 inreq.request_seq = htonl(asoc->strreset_outseq + out); in sctp_make_strreset_req()
3714 sctp_addto_chunk(retval, sizeof(inreq), &inreq); in sctp_make_strreset_req()
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
H A Df_mass_storage.c583 rc = start_transfer(common->fsg, common->fsg->bulk_in, bh->inreq); in start_in_transfer()
704 bh->inreq->length = 0; in do_read()
735 bh->inreq->length = nread; in do_read()
751 bh->inreq->zero = 0; in do_read()
1550 bh->inreq->zero = 0; in finish_reply()
1563 bh->inreq->zero = 1; in finish_reply()
1657 bh->inreq->length = US_BULK_CS_WRAP_LEN; in send_status()
1658 bh->inreq->zero = 0; in send_status()
2081 bh->inreq->length = reply; in do_scsi_command()
2228 if (bh->inreq) { in do_set_interface()
[all...]
H A Dstorage_common.h155 struct usb_request *inreq; member
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Df_mass_storage.c553 rc = start_transfer(common->fsg, common->fsg->bulk_in, bh->inreq); in start_in_transfer()
677 bh->inreq->length = 0; in do_read()
708 bh->inreq->length = nread; in do_read()
724 bh->inreq->zero = 0; in do_read()
1599 bh->inreq->zero = 0; in finish_reply()
1612 bh->inreq->zero = 1; in finish_reply()
1706 bh->inreq->length = US_BULK_CS_WRAP_LEN; in send_status()
1707 bh->inreq->zero = 0; in send_status()
2171 bh->inreq->length = reply; in do_scsi_command()
2318 if (bh->inreq) { in do_set_interface()
[all...]
H A Dstorage_common.h155 struct usb_request *inreq; member

Completed in 19 milliseconds