/linux-4.1.27/drivers/scsi/ |
D | qlogicfas408.c | 96 static int ql_pdma(struct qlogicfas408_priv *priv, int phase, char *request, int reqlen) in ql_pdma() argument 105 if (reqlen >= 128 && (inb(qbase + 8) & 2)) { /* full */ in ql_pdma() 107 reqlen -= 128; in ql_pdma() 110 while (reqlen >= 84 && !(j & 0xc0)) /* 2/3 */ in ql_pdma() 114 reqlen -= 84; in ql_pdma() 117 if (reqlen >= 44 && (inb(qbase + 8) & 8)) { /* 1/3 */ in ql_pdma() 119 reqlen -= 44; in ql_pdma() 126 while (reqlen && !((j & 0x10) && (j & 0xc0))) in ql_pdma() 130 while (reqlen && !((j = inb(qbase + 8)) & 0x10)) in ql_pdma() 133 reqlen--; in ql_pdma() [all …]
|
D | NCR53c406a.c | 346 static __inline__ int NCR53c406a_pio_read(unsigned char *request, unsigned int reqlen) in NCR53c406a_pio_read() argument 352 while (reqlen) { in NCR53c406a_pio_read() 382 if (len > reqlen) in NCR53c406a_pio_read() 383 len = reqlen; in NCR53c406a_pio_read() 388 reqlen -= len & 0xfc; in NCR53c406a_pio_read() 392 reqlen--; in NCR53c406a_pio_read() 400 static __inline__ int NCR53c406a_pio_write(unsigned char *request, unsigned int reqlen) in NCR53c406a_pio_write() argument 406 while (reqlen && !(i & 0x40)) { in NCR53c406a_pio_write() 432 if (len > reqlen) in NCR53c406a_pio_write() 433 len = reqlen; in NCR53c406a_pio_write() [all …]
|
D | dpt_i2o.c | 323 u32 reqlen; in adpt_inquiry() local 342 reqlen = 17; // SINGLE SGE, 64 bit in adpt_inquiry() 344 reqlen = 14; // SINGLE SGE, 32 bit in adpt_inquiry() 346 msg[0] = reqlen<<16 | SGL_OFFSET_12; in adpt_inquiry() 389 rcode = adpt_i2o_post_wait(pHba, msg, reqlen<<2, 120); in adpt_inquiry() 2227 u32 reqlen; in adpt_scsi_to_i2o() local 2288 reqlen = 16; // SINGLE SGE in adpt_scsi_to_i2o() 2292 reqlen = 14; // SINGLE SGE in adpt_scsi_to_i2o() 2314 reqlen = mptr - msg; in adpt_scsi_to_i2o() 2323 reqlen = 12; in adpt_scsi_to_i2o() [all …]
|
D | eata_generic.h | 277 __u8 reqlen; /* Request Sense Length * member
|
D | dc395x.c | 1015 u32 reqlen = scsi_bufflen(cmd); in build_srb() local 1023 reqlen, scsi_sglist(cmd), scsi_sg_count(cmd), in build_srb() 1039 if (srb->total_xfer_length > reqlen) { in build_srb() 1040 sgp->length -= (srb->total_xfer_length - reqlen); in build_srb() 1041 srb->total_xfer_length = reqlen; in build_srb()
|
D | eata_pio.c | 352 cp->reqlen = 0; in eata_pio_queue_lck()
|
/linux-4.1.27/drivers/scsi/pcmcia/ |
D | sym53c500_cs.c | 245 SYM53C500_pio_read(int fast_pio, int base, unsigned char *request, unsigned int reqlen) in SYM53C500_pio_read() argument 251 while (reqlen) { in SYM53C500_pio_read() 281 if (len > reqlen) in SYM53C500_pio_read() 282 len = reqlen; in SYM53C500_pio_read() 287 reqlen -= len & 0xfc; in SYM53C500_pio_read() 291 reqlen--; in SYM53C500_pio_read() 300 SYM53C500_pio_write(int fast_pio, int base, unsigned char *request, unsigned int reqlen) in SYM53C500_pio_write() argument 306 while (reqlen && !(i & 0x40)) { in SYM53C500_pio_write() 332 if (len > reqlen) in SYM53C500_pio_write() 333 len = reqlen; in SYM53C500_pio_write() [all …]
|
/linux-4.1.27/net/netfilter/ |
D | nf_conntrack_pptp.c | 270 unsigned int reqlen, in pptp_inbound_pkt() argument 398 unsigned int reqlen, in pptp_outbound_pkt() argument 521 unsigned int datalen, reqlen, nexthdr_off; in conntrack_pptp_help() local 557 reqlen = datalen; in conntrack_pptp_help() 559 if (msg > 0 && msg <= PPTP_MSG_MAX && reqlen < pptp_msg_size[msg]) in conntrack_pptp_help() 561 if (reqlen > sizeof(*pptpReq)) in conntrack_pptp_help() 562 reqlen = sizeof(*pptpReq); in conntrack_pptp_help() 564 pptpReq = skb_header_pointer(skb, nexthdr_off, reqlen, &_pptpReq); in conntrack_pptp_help() 577 ret = pptp_outbound_pkt(skb, protoff, ctlh, pptpReq, reqlen, ct, in conntrack_pptp_help() 581 ret = pptp_inbound_pkt(skb, protoff, ctlh, pptpReq, reqlen, ct, in conntrack_pptp_help()
|
/linux-4.1.27/drivers/isdn/mISDN/ |
D | hwchannel.c | 479 bchannel_get_rxbuf(struct bchannel *bch, int reqlen) in bchannel_get_rxbuf() argument 485 if (len < reqlen) { in bchannel_get_rxbuf() 487 bch->nr, reqlen, len); in bchannel_get_rxbuf() 504 if (unlikely(reqlen > bch->maxlen)) in bchannel_get_rxbuf() 507 if (reqlen >= bch->minlen) { in bchannel_get_rxbuf() 508 len = reqlen; in bchannel_get_rxbuf()
|
/linux-4.1.27/drivers/net/wireless/ |
D | zd1201.c | 518 int reqlen; in zd1201_setconfig() local 537 reqlen = len>12 ? 12 : len; in zd1201_setconfig() 546 memcpy(request+8, buf, reqlen-4); in zd1201_setconfig() 547 buf += reqlen-4; in zd1201_setconfig() 549 memcpy(request+4, buf, reqlen); in zd1201_setconfig() 550 buf += reqlen; in zd1201_setconfig() 553 len -= reqlen; in zd1201_setconfig()
|
/linux-4.1.27/drivers/infiniband/hw/mlx5/ |
D | main.c | 404 size_t reqlen; in mlx5_ib_alloc_ucontext() local 411 reqlen = udata->inlen - sizeof(struct ib_uverbs_cmd_hdr); in mlx5_ib_alloc_ucontext() 412 if (reqlen == sizeof(struct mlx5_ib_alloc_ucontext_req)) in mlx5_ib_alloc_ucontext() 414 else if (reqlen == sizeof(struct mlx5_ib_alloc_ucontext_req_v2)) in mlx5_ib_alloc_ucontext() 419 err = ib_copy_from_udata(&req, udata, reqlen); in mlx5_ib_alloc_ucontext()
|
/linux-4.1.27/drivers/scsi/bfa/ |
D | bfa_fcs.c | 1452 u16 reqlen; in bfa_fcs_fabric_send_flogi_acc() local 1462 reqlen = fc_flogi_acc_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), in bfa_fcs_fabric_send_flogi_acc() 1471 reqlen, &fchs, bfa_fcs_fabric_flogiacc_comp, fabric, in bfa_fcs_fabric_send_flogi_acc()
|
D | bfa_svc.c | 114 static void hal_fcxp_tx_plog(struct bfa_s *bfa, u32 reqlen, 772 hal_fcxp_tx_plog(struct bfa_s *bfa, u32 reqlen, struct bfa_fcxp_s *fcxp, in hal_fcxp_tx_plog() argument 778 if (reqlen > 0) { in hal_fcxp_tx_plog() 785 reqlen + sizeof(struct fchs_s), fchs, in hal_fcxp_tx_plog() 790 reqlen + sizeof(struct fchs_s), in hal_fcxp_tx_plog() 795 reqlen + sizeof(struct fchs_s), fchs); in hal_fcxp_tx_plog() 1057 u32 reqlen, struct fchs_s *fchs, bfa_cb_fcxp_send_t cbfn, in bfa_fcxp_send() argument 1077 reqi->req_tot_len = reqlen; in bfa_fcxp_send()
|
D | bfa_svc.h | 637 u32 reqlen, struct fchs_s *fchs,
|
/linux-4.1.27/crypto/ |
D | algif_skcipher.c | 519 unsigned int reqlen = sizeof(struct skcipher_async_req) + in skcipher_recvmsg_async() local 525 req = kmalloc(reqlen, GFP_KERNEL); in skcipher_recvmsg_async()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | dsi.c | 2915 int channel, u8 *reqdata, int reqlen) in dsi_vc_generic_send_read_request() argument 2924 channel, reqlen); in dsi_vc_generic_send_read_request() 2926 if (reqlen == 0) { in dsi_vc_generic_send_read_request() 2929 } else if (reqlen == 1) { in dsi_vc_generic_send_read_request() 2932 } else if (reqlen == 2) { in dsi_vc_generic_send_read_request() 2943 " failed\n", channel, reqlen); in dsi_vc_generic_send_read_request() 3090 u8 *reqdata, int reqlen, u8 *buf, int buflen) in dsi_vc_generic_read() argument 3095 r = dsi_vc_generic_send_read_request(dsidev, channel, reqdata, reqlen); in dsi_vc_generic_read()
|
/linux-4.1.27/drivers/staging/lustre/lustre/lmv/ |
D | lmv_obd.c | 1072 unsigned int nr, reqlen; in lmv_iocontrol() local 1081 reqlen = offsetof(typeof(*hur), in lmv_iocontrol() 1084 OBD_ALLOC_LARGE(req, reqlen); in lmv_iocontrol() 1091 reqlen, req, uarg); in lmv_iocontrol() 1094 OBD_FREE_LARGE(req, reqlen); in lmv_iocontrol()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | pack_generic.c | 218 int reqlen, rc; in lustre_pack_request_v2() local 220 reqlen = lustre_msg_size_v2(count, lens); in lustre_pack_request_v2() 222 rc = sptlrpc_cli_alloc_reqbuf(req, reqlen); in lustre_pack_request_v2() 226 req->rq_reqlen = reqlen; in lustre_pack_request_v2()
|
/linux-4.1.27/drivers/scsi/lpfc/ |
D | lpfc_sli.c | 4936 uint32_t alloclen, reqlen; in lpfc_sli4_retrieve_pport_name() local 4956 reqlen = sizeof(struct lpfc_mbx_get_cntl_attributes); in lpfc_sli4_retrieve_pport_name() 4958 LPFC_MBOX_OPCODE_GET_CNTL_ATTRIBUTES, reqlen, in lpfc_sli4_retrieve_pport_name() 4960 if (alloclen < reqlen) { in lpfc_sli4_retrieve_pport_name() 4964 "(%d)\n", alloclen, reqlen); in lpfc_sli4_retrieve_pport_name() 14409 uint32_t reqlen, alloclen, pg_pairs; in lpfc_sli4_post_els_sgl_list() local 14416 reqlen = phba->sli4_hba.els_xri_cnt * sizeof(struct sgl_page_pairs) + in lpfc_sli4_post_els_sgl_list() 14418 if (reqlen > SLI4_PAGE_SIZE) { in lpfc_sli4_post_els_sgl_list() 14421 "size (%d) great than a page\n", reqlen); in lpfc_sli4_post_els_sgl_list() 14430 LPFC_MBOX_OPCODE_FCOE_POST_SGL_PAGES, reqlen, in lpfc_sli4_post_els_sgl_list() [all …]
|
/linux-4.1.27/include/video/ |
D | omapdss.h | 681 u8 *reqdata, int reqlen,
|