Home
last modified time | relevance | path

Searched refs:reqlen (Results 1 – 10 of 10) sorted by relevance

/linux/net/netfilter/
H A Dnf_conntrack_pptp.c255 unsigned int reqlen, in pptp_inbound_pkt() argument
382 unsigned int reqlen, in pptp_outbound_pkt() argument
504 unsigned int datalen, reqlen, nexthdr_off; in conntrack_pptp_help() local
550 reqlen = datalen; in conntrack_pptp_help()
552 if (msg > 0 && msg <= PPTP_MSG_MAX && reqlen < pptp_msg_size[msg]) in conntrack_pptp_help()
554 if (reqlen > sizeof(*pptpReq)) in conntrack_pptp_help()
555 reqlen = sizeof(*pptpReq); in conntrack_pptp_help()
557 pptpReq = skb_header_pointer(skb, nexthdr_off, reqlen, &_pptpReq); in conntrack_pptp_help()
570 ret = pptp_outbound_pkt(skb, protoff, ctlh, pptpReq, reqlen, ct, in conntrack_pptp_help()
574 ret = pptp_inbound_pkt(skb, protoff, ctlh, pptpReq, reqlen, ct, in conntrack_pptp_help()
/linux/drivers/regulator/
H A Dqcom_smd-regulator.c45 int reqlen = 0; in rpm_reg_write_active() local
49 req[reqlen].key = cpu_to_le32(RPM_KEY_SWEN); in rpm_reg_write_active()
50 req[reqlen].nbytes = cpu_to_le32(sizeof(u32)); in rpm_reg_write_active()
51 req[reqlen].value = cpu_to_le32(vreg->is_enabled); in rpm_reg_write_active()
52 reqlen++; in rpm_reg_write_active()
56 req[reqlen].key = cpu_to_le32(RPM_KEY_UV); in rpm_reg_write_active()
57 req[reqlen].nbytes = cpu_to_le32(sizeof(u32)); in rpm_reg_write_active()
58 req[reqlen].value = cpu_to_le32(vreg->uV); in rpm_reg_write_active()
59 reqlen++; in rpm_reg_write_active()
63 req[reqlen].key = cpu_to_le32(RPM_KEY_MA); in rpm_reg_write_active()
[all …]
/linux/drivers/isdn/mISDN/
H A Dhwchannel.c470 bchannel_get_rxbuf(struct bchannel *bch, int reqlen) in bchannel_get_rxbuf() argument
476 if (len < reqlen) { in bchannel_get_rxbuf()
478 bch->nr, reqlen, len); in bchannel_get_rxbuf()
495 if (unlikely(reqlen > bch->maxlen)) in bchannel_get_rxbuf()
498 if (reqlen >= bch->minlen) { in bchannel_get_rxbuf()
499 len = reqlen; in bchannel_get_rxbuf()
/linux/drivers/scsi/elx/libefc/
H A Defc_els.h33 efc_els_io_alloc(struct efc_node *node, u32 reqlen);
35 efc_els_io_alloc_size(struct efc_node *node, u32 reqlen, u32 rsplen);
H A Defc_els.c35 efc_els_io_alloc(struct efc_node *node, u32 reqlen) in efc_els_io_alloc() argument
37 return efc_els_io_alloc_size(node, reqlen, EFC_ELS_RSP_LEN); in efc_els_io_alloc()
41 efc_els_io_alloc_size(struct efc_node *node, u32 reqlen, u32 rsplen) in efc_els_io_alloc_size() argument
68 els->io.req.size = reqlen; in efc_els_io_alloc_size()
/linux/arch/arm64/kvm/
H A Dguest.c434 unsigned int reqoffset, reqlen; /* User-requested offset and length */ in sve_reg_to_region() local
458 reqlen = KVM_SVE_ZREG_SIZE; in sve_reg_to_region()
468 reqlen = KVM_SVE_PREG_SIZE; in sve_reg_to_region()
479 region->klen = min(maxlen, reqlen); in sve_reg_to_region()
480 region->upad = reqlen - region->klen; in sve_reg_to_region()
/linux/drivers/scsi/bfa/
H A Dbfa_fcs.c1326 u16 reqlen; in bfa_fcs_fabric_send_flogi_acc() local
1336 reqlen = fc_flogi_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_fabric_send_flogi_acc()
1345 reqlen, &fchs, bfa_fcs_fabric_flogiacc_comp, fabric, in bfa_fcs_fabric_send_flogi_acc()
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddsi.c2902 int channel, u8 *reqdata, int reqlen) in dsi_vc_generic_send_read_request() argument
2911 channel, reqlen); in dsi_vc_generic_send_read_request()
2913 if (reqlen == 0) { in dsi_vc_generic_send_read_request()
2916 } else if (reqlen == 1) { in dsi_vc_generic_send_read_request()
2919 } else if (reqlen == 2) { in dsi_vc_generic_send_read_request()
2930 " failed\n", channel, reqlen); in dsi_vc_generic_send_read_request()
3077 u8 *reqdata, int reqlen, u8 *buf, int buflen) in dsi_vc_generic_read() argument
3082 r = dsi_vc_generic_send_read_request(dsidev, channel, reqdata, reqlen); in dsi_vc_generic_read()
/linux/drivers/scsi/
H A Ddc395x.c818 u32 reqlen = scsi_bufflen(cmd); in build_srb() local
837 if (srb->total_xfer_length > reqlen) { in build_srb()
838 sgp->length -= (srb->total_xfer_length - reqlen); in build_srb()
839 srb->total_xfer_length = reqlen; in build_srb()
/linux/drivers/scsi/lpfc/
H A Dlpfc_sli.c5968 uint32_t alloclen, reqlen; in lpfc_sli4_get_ctl_attr() local
5978 reqlen = sizeof(struct lpfc_mbx_get_cntl_attributes); in lpfc_sli4_get_ctl_attr()
5980 LPFC_MBOX_OPCODE_GET_CNTL_ATTRIBUTES, reqlen, in lpfc_sli4_get_ctl_attr()
5983 if (alloclen < reqlen) { in lpfc_sli4_get_ctl_attr()
5987 "(%d)\n", alloclen, reqlen); in lpfc_sli4_get_ctl_attr()
18180 uint32_t reqlen, alloclen, pg_pairs; in lpfc_sli4_post_sgl_list() local
18187 reqlen = post_cnt * sizeof(struct sgl_page_pairs) + in lpfc_sli4_post_sgl_list()
18189 if (reqlen > SLI4_PAGE_SIZE) { in lpfc_sli4_post_sgl_list()
18192 "size (%d) great than a page\n", reqlen); in lpfc_sli4_post_sgl_list()
18202 LPFC_MBOX_OPCODE_FCOE_POST_SGL_PAGES, reqlen, in lpfc_sli4_post_sgl_list()
[all …]