rlen 807 arch/ia64/kernel/unwind.c desc_prologue (int body, unw_word rlen, unsigned char mask, unsigned char grsave, rlen 830 arch/ia64/kernel/unwind.c sr->region_len = rlen; rlen 165 arch/ia64/kernel/unwind_decoder.c unw_word rlen; rlen 167 arch/ia64/kernel/unwind_decoder.c rlen = (code & 0x1f); rlen 168 arch/ia64/kernel/unwind_decoder.c UNW_DEC_PROLOGUE(R1, body, rlen, arg); rlen 176 arch/ia64/kernel/unwind_decoder.c unw_word rlen; rlen 182 arch/ia64/kernel/unwind_decoder.c rlen = unw_decode_uleb128 (&dp); rlen 183 arch/ia64/kernel/unwind_decoder.c UNW_DEC_PROLOGUE_GR(R2, rlen, mask, grsave, arg); rlen 190 arch/ia64/kernel/unwind_decoder.c unw_word rlen; rlen 192 arch/ia64/kernel/unwind_decoder.c rlen = unw_decode_uleb128 (&dp); rlen 193 arch/ia64/kernel/unwind_decoder.c UNW_DEC_PROLOGUE(R3, ((code & 0x3) == 1), rlen, arg); rlen 66 arch/powerpc/kernel/isa-bridge.c int rlen = 0; rlen 68 arch/powerpc/kernel/isa-bridge.c range = of_get_property(isa_node, "ranges", &rlen); rlen 69 arch/powerpc/kernel/isa-bridge.c if (range == NULL || (rlen < sizeof(struct isa_range))) rlen 82 arch/powerpc/kernel/isa-bridge.c rlen -= sizeof(struct isa_range); rlen 83 arch/powerpc/kernel/isa-bridge.c if (rlen < sizeof(struct isa_range)) rlen 175 arch/powerpc/kernel/isa-bridge.c int rlen, i, rs; rlen 200 arch/powerpc/kernel/isa-bridge.c ranges = of_get_property(np, "ranges", &rlen); rlen 201 arch/powerpc/kernel/isa-bridge.c if (ranges == NULL || rlen < rs) { rlen 208 arch/powerpc/kernel/isa-bridge.c for (i = 0; (i + rs - 1) < rlen; i += rs) { rlen 97 arch/powerpc/platforms/4xx/pci.c int rlen; rlen 108 arch/powerpc/platforms/4xx/pci.c ranges = of_get_property(hose->dn, "dma-ranges", &rlen); rlen 113 arch/powerpc/platforms/4xx/pci.c while ((rlen -= np * 4) >= 0) { rlen 761 arch/powerpc/platforms/powermac/low_i2c.c int rlen = req->reply_len - 1; rlen 763 arch/powerpc/platforms/powermac/low_i2c.c if (rlen != len) { rlen 765 arch/powerpc/platforms/powermac/low_i2c.c " bytes, expected %d !\n", rlen, len); rlen 447 arch/powerpc/sysdev/fsl_rio.c int rlen; rlen 539 arch/powerpc/sysdev/fsl_rio.c dt_range = of_get_property(np, "reg", &rlen); rlen 567 arch/powerpc/sysdev/fsl_rio.c dt_range = of_get_property(np, "reg", &rlen); rlen 586 arch/powerpc/sysdev/fsl_rio.c dt_range = of_get_property(np, "ranges", &rlen); rlen 15 arch/s390/include/asm/cpcmd.h int __cpcmd(const char *cmd, char *response, int rlen, int *response_code); rlen 30 arch/s390/include/asm/cpcmd.h int cpcmd(const char *cmd, char *response, int rlen, int *response_code); rlen 38 arch/s390/kernel/cpcmd.c static int diag8_response(int cmdlen, char *response, int *rlen) rlen 43 arch/s390/kernel/cpcmd.c register unsigned long reg5 asm ("5") = *rlen; rlen 51 arch/s390/kernel/cpcmd.c : "d" (reg2), "d" (reg3), "d" (*rlen) : "cc"); rlen 52 arch/s390/kernel/cpcmd.c *rlen = reg5; rlen 60 arch/s390/kernel/cpcmd.c int __cpcmd(const char *cmd, char *response, int rlen, int *response_code) rlen 73 arch/s390/kernel/cpcmd.c memset(response, 0, rlen); rlen 74 arch/s390/kernel/cpcmd.c response_len = rlen; rlen 75 arch/s390/kernel/cpcmd.c rc = diag8_response(cmdlen, response, &rlen); rlen 82 arch/s390/kernel/cpcmd.c return rlen; rlen 86 arch/s390/kernel/cpcmd.c int cpcmd(const char *cmd, char *response, int rlen, int *response_code) rlen 93 arch/s390/kernel/cpcmd.c lowbuf = kmalloc(rlen, GFP_KERNEL); rlen 99 arch/s390/kernel/cpcmd.c len = __cpcmd(cmd, lowbuf, rlen, response_code); rlen 101 arch/s390/kernel/cpcmd.c memcpy(response, lowbuf, rlen); rlen 105 arch/s390/kernel/cpcmd.c len = __cpcmd(cmd, response, rlen, response_code); rlen 195 arch/sparc/kernel/of_device_32.c unsigned int rlen; rlen 198 arch/sparc/kernel/of_device_32.c ranges = of_get_property(parent, "ranges", &rlen); rlen 199 arch/sparc/kernel/of_device_32.c if (ranges == NULL || rlen == 0) { rlen 213 arch/sparc/kernel/of_device_32.c rlen /= 4; rlen 215 arch/sparc/kernel/of_device_32.c for (; rlen >= rone; rlen -= rone, ranges += rone) { rlen 249 arch/sparc/kernel/of_device_64.c int rone, rlen; rlen 251 arch/sparc/kernel/of_device_64.c ranges = of_get_property(parent, "ranges", &rlen); rlen 252 arch/sparc/kernel/of_device_64.c if (ranges == NULL || rlen == 0) { rlen 266 arch/sparc/kernel/of_device_64.c rlen /= 4; rlen 268 arch/sparc/kernel/of_device_64.c for (; rlen >= rone; rlen -= rone, ranges += rone) { rlen 179 crypto/cmac.c unsigned int rlen; rlen 185 crypto/cmac.c rlen = bs - ctx->len - 1; rlen 186 crypto/cmac.c if (rlen) rlen 187 crypto/cmac.c memset(p, 0, rlen); rlen 3221 crypto/testmgr.c template[i].rlen); rlen 3226 crypto/testmgr.c template[i].rlen); rlen 3232 crypto/testmgr.c template[i].rlen); rlen 3236 crypto/testmgr.c hexdump(result, template[i].rlen); rlen 124 crypto/testmgr.h unsigned short rlen; rlen 19546 crypto/testmgr.h .rlen = 16, rlen 19560 crypto/testmgr.h .rlen = 16, rlen 19574 crypto/testmgr.h .rlen = 16, rlen 19588 crypto/testmgr.h .rlen = 16, rlen 19602 crypto/testmgr.h .rlen = 16, rlen 19616 crypto/testmgr.h .rlen = 16, rlen 145 crypto/xcbc.c unsigned int rlen; rlen 151 crypto/xcbc.c rlen = bs - ctx->len -1; rlen 152 crypto/xcbc.c if (rlen) rlen 153 crypto/xcbc.c memset(p, 0, rlen); rlen 162 drivers/acpi/ec.c u8 rlen; rlen 665 drivers/acpi/ec.c } else if (t->rlen > t->ri) { rlen 668 drivers/acpi/ec.c if (t->rlen == t->ri) { rlen 825 drivers/acpi/ec.c if (!ec || (!t) || (t->wlen && !t->wdata) || (t->rlen && !t->rdata)) rlen 828 drivers/acpi/ec.c memset(t->rdata, 0, t->rlen); rlen 853 drivers/acpi/ec.c .wlen = 0, .rlen = 1}; rlen 862 drivers/acpi/ec.c .wlen = 0, .rlen = 0}; rlen 874 drivers/acpi/ec.c .wlen = 1, .rlen = 1}; rlen 886 drivers/acpi/ec.c .wlen = 2, .rlen = 0}; rlen 928 drivers/acpi/ec.c .wlen = wdata_len, .rlen = rdata_len}; rlen 1142 drivers/acpi/ec.c t->rlen = 1; rlen 182 drivers/bus/uniphier-system-bus.c int pna, bank, rlen, rone, ret; rlen 216 drivers/bus/uniphier-system-bus.c ranges = of_get_property(dev->of_node, "ranges", &rlen); rlen 222 drivers/bus/uniphier-system-bus.c rlen /= sizeof(*ranges); rlen 225 drivers/bus/uniphier-system-bus.c for (; rlen >= rone; rlen -= rone) { rlen 124 drivers/char/pcmcia/cm4000_cs.c unsigned short rlen; /* bytes avail. after write */ rlen 676 drivers/char/pcmcia/cm4000_cs.c dev->rlen = rlen 704 drivers/char/pcmcia/cm4000_cs.c dev->rlen = rlen 748 drivers/char/pcmcia/cm4000_cs.c dev->rlen = rlen 848 drivers/char/pcmcia/cm4000_cs.c dev->rlen = rlen 957 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) || (dev->rpos < dev->rlen)))) { rlen 988 drivers/char/pcmcia/cm4000_cs.c j = min(count, (size_t)(dev->rlen - dev->rpos)); rlen 997 drivers/char/pcmcia/cm4000_cs.c j = min(count, (size_t)(dev->rlen - dev->rpos)); rlen 1008 drivers/char/pcmcia/cm4000_cs.c if (dev->proto == 0 && count > dev->rlen - dev->rpos && i) { rlen 1016 drivers/char/pcmcia/cm4000_cs.c dev->rpos = dev->rlen + 1; rlen 1275 drivers/char/pcmcia/cm4000_cs.c io_read_num_rec_bytes(iobase, &dev->rlen); rlen 1278 drivers/char/pcmcia/cm4000_cs.c if (dev->rlen >= infolen + 4) rlen 1284 drivers/char/pcmcia/cm4000_cs.c if (s > dev->rlen) { rlen 1287 drivers/char/pcmcia/cm4000_cs.c dev->rlen = s; rlen 1340 drivers/char/pcmcia/cm4000_cs.c io_read_num_rec_bytes(iobase, &dev->rlen); rlen 1341 drivers/char/pcmcia/cm4000_cs.c DEBUGP(4, dev, "Read NumRecBytes = %i\n", dev->rlen); rlen 1346 drivers/char/pcmcia/cm4000_cs.c dev->rpos = dev->proto ? 0 : nr == 4 ? 5 : nr > dev->rlen ? 5 : nr; rlen 1348 drivers/char/pcmcia/cm4000_cs.c dev->rlen, dev->rpos, nr); rlen 53 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->rlen += enc_iv_len; rlen 81 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->rlen += nbytes; rlen 61 drivers/crypto/cavium/cpt/request_manager.h u16 rlen; /* Output length */ rlen 134 drivers/fsi/fsi-occ.c size_t rlen, data_length; rlen 180 drivers/fsi/fsi-occ.c rlen = PAGE_SIZE; rlen 182 drivers/fsi/fsi-occ.c &rlen); rlen 187 drivers/fsi/fsi-occ.c client->data_size = rlen; rlen 2051 drivers/gpu/drm/msm/dsi/dsi_host.c int rlen = msg->rx_len; rlen 2054 drivers/gpu/drm/msm/dsi/dsi_host.c if (rlen <= 2) { rlen 2056 drivers/gpu/drm/msm/dsi/dsi_host.c pkt_size = rlen; rlen 2061 drivers/gpu/drm/msm/dsi/dsi_host.c if (rlen < data_byte) rlen 2062 drivers/gpu/drm/msm/dsi/dsi_host.c pkt_size = rlen; rlen 2080 drivers/gpu/drm/msm/dsi/dsi_host.c rlen, pkt_size, rx_byte); rlen 2120 drivers/gpu/drm/msm/dsi/dsi_host.c if (rlen <= data_byte) { rlen 2121 drivers/gpu/drm/msm/dsi/dsi_host.c diff = data_byte - rlen; rlen 2125 drivers/gpu/drm/msm/dsi/dsi_host.c rlen -= data_byte; rlen 2133 drivers/gpu/drm/msm/dsi/dsi_host.c if (rlen < data_byte) rlen 2134 drivers/gpu/drm/msm/dsi/dsi_host.c pkt_size += rlen; rlen 2148 drivers/gpu/drm/msm/dsi/dsi_host.c buf = msm_host->rx_buf + (10 - rlen); rlen 596 drivers/gpu/drm/msm/edp/edp_ctrl.c int rlen; rlen 614 drivers/gpu/drm/msm/edp/edp_ctrl.c rlen = drm_dp_dpcd_read_link_status(ctrl->drm_aux, link_status); rlen 615 drivers/gpu/drm/msm/edp/edp_ctrl.c if (rlen < DP_LINK_STATUS_SIZE) { rlen 654 drivers/gpu/drm/msm/edp/edp_ctrl.c int rlen; rlen 671 drivers/gpu/drm/msm/edp/edp_ctrl.c rlen = drm_dp_dpcd_read_link_status(ctrl->drm_aux, link_status); rlen 672 drivers/gpu/drm/msm/edp/edp_ctrl.c if (rlen < DP_LINK_STATUS_SIZE) { rlen 76 drivers/gpu/drm/panel/panel-sony-acx565akm.c const u8 *wbuf, int wlen, u8 *rbuf, int rlen) rlen 92 drivers/gpu/drm/panel/panel-sony-acx565akm.c if (rlen > 1 && wlen == 0) { rlen 111 drivers/gpu/drm/panel/panel-sony-acx565akm.c if (rlen) { rlen 114 drivers/gpu/drm/panel/panel-sony-acx565akm.c x->len = rlen; rlen 482 drivers/i2c/busses/i2c-axxia.c u32 rlen = i2c_m_recv_len(&msgs[1]) ? I2C_SMBUS_BLOCK_MAX : msgs[1].len; rlen 488 drivers/i2c/busses/i2c-axxia.c writel(rlen, idev->base + MST_RX_XFER); rlen 185 drivers/i2c/busses/i2c-xlp9xx.c u8 rlen, *buf = priv->msg_buf; rlen 193 drivers/i2c/busses/i2c-xlp9xx.c rlen = xlp9xx_read_i2c_reg(priv, XLP9XX_I2C_MRXFIFO); rlen 208 drivers/i2c/busses/i2c-xlp9xx.c if (rlen > I2C_SMBUS_BLOCK_MAX || rlen == 0) { rlen 209 drivers/i2c/busses/i2c-xlp9xx.c rlen = 0; /*abort transfer */ rlen 216 drivers/i2c/busses/i2c-xlp9xx.c *buf++ = rlen; rlen 218 drivers/i2c/busses/i2c-xlp9xx.c ++rlen; /* account for error check byte */ rlen 220 drivers/i2c/busses/i2c-xlp9xx.c priv->msg_buf_remaining = rlen; rlen 221 drivers/i2c/busses/i2c-xlp9xx.c priv->msg_len = rlen + 1; rlen 1257 drivers/ide/pmac.c unsigned long rbase, rlen; rlen 1290 drivers/ide/pmac.c rlen = pci_resource_len(pdev, 0); rlen 1292 drivers/ide/pmac.c base = ioremap(rbase, rlen); rlen 14 drivers/media/dvb-frontends/si2168.c static void cmd_init(struct si2168_cmd *cmd, const u8 *buf, int wlen, int rlen) rlen 18 drivers/media/dvb-frontends/si2168.c cmd->rlen = rlen; rlen 41 drivers/media/dvb-frontends/si2168.c if (cmd->rlen) { rlen 46 drivers/media/dvb-frontends/si2168.c ret = i2c_master_recv(client, cmd->args, cmd->rlen); rlen 49 drivers/media/dvb-frontends/si2168.c } else if (ret != cmd->rlen) { rlen 171 drivers/media/dvb-frontends/si2168.c *status, cmd.rlen, cmd.args); rlen 314 drivers/media/dvb-frontends/si2168.c cmd.rlen = 1; rlen 50 drivers/media/dvb-frontends/si2168_priv.h unsigned rlen; rlen 2593 drivers/media/pci/ddbridge/ddbridge-core.c u32 rlen) rlen 2611 drivers/media/pci/ddbridge/ddbridge-core.c if (rlen) rlen 2632 drivers/media/pci/ddbridge/ddbridge-core.c if (!rlen) { rlen 2636 drivers/media/pci/ddbridge/ddbridge-core.c if (rlen > 4) rlen 2639 drivers/media/pci/ddbridge/ddbridge-core.c while (rlen > 4) { rlen 2646 drivers/media/pci/ddbridge/ddbridge-core.c rlen -= 4; rlen 2648 drivers/media/pci/ddbridge/ddbridge-core.c ddbwritel(dev, 0x0003 | ((rlen << (8 + 3)) & 0x1F00), rlen 2657 drivers/media/pci/ddbridge/ddbridge-core.c if (rlen < 4) rlen 2658 drivers/media/pci/ddbridge/ddbridge-core.c data <<= ((4 - rlen) * 8); rlen 2660 drivers/media/pci/ddbridge/ddbridge-core.c while (rlen > 0) { rlen 2664 drivers/media/pci/ddbridge/ddbridge-core.c rlen--; rlen 34 drivers/media/pci/ddbridge/ddbridge-i2c.h u8 *wbuf, u32 wlen, u8 *rbuf, u32 rlen) rlen 39 drivers/media/pci/ddbridge/ddbridge-i2c.h .buf = rbuf, .len = rlen } }; rlen 45 drivers/media/pci/ngene/ngene-cards.c u8 *wbuf, u32 wlen, u8 *rbuf, u32 rlen) rlen 50 drivers/media/pci/ngene/ngene-cards.c .buf = rbuf, .len = rlen } }; rlen 32 drivers/media/tuners/si2157.c if (cmd->rlen) { rlen 37 drivers/media/tuners/si2157.c ret = i2c_master_recv(client, cmd->args, cmd->rlen); rlen 40 drivers/media/tuners/si2157.c } else if (ret != cmd->rlen) { rlen 85 drivers/media/tuners/si2157.c cmd.rlen = 4; rlen 107 drivers/media/tuners/si2157.c cmd.rlen = 1; rlen 124 drivers/media/tuners/si2157.c cmd.rlen = 13; rlen 198 drivers/media/tuners/si2157.c cmd.rlen = 1; rlen 213 drivers/media/tuners/si2157.c cmd.rlen = 1; rlen 221 drivers/media/tuners/si2157.c cmd.rlen = 10; rlen 261 drivers/media/tuners/si2157.c cmd.rlen = 1; rlen 326 drivers/media/tuners/si2157.c cmd.rlen = 4; rlen 337 drivers/media/tuners/si2157.c cmd.rlen = 4; rlen 348 drivers/media/tuners/si2157.c cmd.rlen = 4; rlen 363 drivers/media/tuners/si2157.c cmd.rlen = 1; rlen 409 drivers/media/tuners/si2157.c cmd.rlen = 12; rlen 451 drivers/media/tuners/si2157.c cmd.rlen = 1; rlen 51 drivers/media/tuners/si2157_priv.h unsigned rlen; rlen 23 drivers/media/usb/dvb-usb-v2/af9015.c int ret, wlen, rlen; rlen 79 drivers/media/usb/dvb-usb-v2/af9015.c rlen = ACK_HDR_LEN; rlen 84 drivers/media/usb/dvb-usb-v2/af9015.c rlen += req->data_len; rlen 89 drivers/media/usb/dvb-usb-v2/af9015.c rlen = 0; rlen 92 drivers/media/usb/dvb-usb-v2/af9015.c state->buf, rlen); rlen 97 drivers/media/usb/dvb-usb-v2/af9015.c if (rlen && state->buf[1]) { rlen 40 drivers/media/usb/dvb-usb-v2/af9035.c int ret, wlen, rlen; rlen 47 drivers/media/usb/dvb-usb-v2/af9035.c req->rlen > (BUF_LEN - ACK_HDR_LEN - CHECKSUM_LEN)) { rlen 49 drivers/media/usb/dvb-usb-v2/af9035.c req->wlen, req->rlen); rlen 61 drivers/media/usb/dvb-usb-v2/af9035.c rlen = ACK_HDR_LEN + req->rlen + CHECKSUM_LEN; rlen 70 drivers/media/usb/dvb-usb-v2/af9035.c rlen = 0; rlen 73 drivers/media/usb/dvb-usb-v2/af9035.c state->buf, wlen, state->buf, rlen); rlen 82 drivers/media/usb/dvb-usb-v2/af9035.c checksum = af9035_checksum(state->buf, rlen - 2); rlen 83 drivers/media/usb/dvb-usb-v2/af9035.c tmp_checksum = (state->buf[rlen - 2] << 8) | state->buf[rlen - 1]; rlen 106 drivers/media/usb/dvb-usb-v2/af9035.c if (req->rlen) rlen 107 drivers/media/usb/dvb-usb-v2/af9035.c memcpy(req->rbuf, &state->buf[ACK_HDR_LEN], req->rlen); rlen 41 drivers/media/usb/dvb-usb-v2/af9035.h u8 rlen; rlen 37 drivers/media/usb/dvb-usb-v2/anysee.c u8 *sbuf, u8 slen, u8 *rbuf, u8 rlen) rlen 79 drivers/media/usb/dvb-usb-v2/anysee.c rlen, state->buf); rlen 96 drivers/media/usb/dvb-usb-v2/anysee.c if (rbuf && rlen) rlen 97 drivers/media/usb/dvb-usb-v2/anysee.c memcpy(rbuf, state->buf, rlen); rlen 15 drivers/media/usb/dvb-usb-v2/au6610.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rlen 67 drivers/media/usb/dvb-usb-v2/au6610.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rlen 70 drivers/media/usb/dvb-usb-v2/au6610.c u8 wo = (rbuf == NULL || rlen == 0); /* write-only */ rlen 78 drivers/media/usb/dvb-usb-v2/au6610.c return au6610_usb_msg(d, request, addr, wbuf, wlen, rbuf, rlen); rlen 12 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rlen 39 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c if (rbuf && rlen) { rlen 47 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c rbuf, rlen, &actual_length, 2000); rlen 61 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rlen 66 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c ret = dvb_usb_v2_generic_io(d, wbuf, wlen, rbuf, rlen); rlen 86 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rlen 88 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c return dvb_usb_v2_generic_io(d, wbuf, wlen, rbuf, rlen); rlen 41 drivers/media/usb/dvb-usb-v2/dvbsky.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rlen 51 drivers/media/usb/dvb-usb-v2/dvbsky.c state->ibuf, rlen); rlen 53 drivers/media/usb/dvb-usb-v2/dvbsky.c if (!ret && (rlen != 0)) rlen 54 drivers/media/usb/dvb-usb-v2/dvbsky.c memcpy(rbuf, state->ibuf, rlen); rlen 18 drivers/media/usb/dvb-usb-v2/gl861.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rlen 22 drivers/media/usb/dvb-usb-v2/gl861.c int wo = (rbuf == NULL || rlen == 0); /* write-only */ rlen 34 drivers/media/usb/dvb-usb-v2/gl861.c buf = kmalloc(rlen, GFP_KERNEL); rlen 57 drivers/media/usb/dvb-usb-v2/gl861.c value, index, buf, rlen, 2000); rlen 60 drivers/media/usb/dvb-usb-v2/gl861.c memcpy(rbuf, buf, rlen); rlen 212 drivers/media/usb/dvb-usb-v2/gl861.c gl861_i2c_read_ex(struct dvb_usb_device *d, u8 addr, u8 *rbuf, u16 rlen) rlen 217 drivers/media/usb/dvb-usb-v2/gl861.c buf = kmalloc(rlen, GFP_KERNEL); rlen 223 drivers/media/usb/dvb-usb-v2/gl861.c addr << (8 + 1), 0x0100, buf, rlen, 2000); rlen 224 drivers/media/usb/dvb-usb-v2/gl861.c if (ret > 0 && rlen > 0) rlen 225 drivers/media/usb/dvb-usb-v2/gl861.c memcpy(buf, rbuf, rlen); rlen 141 drivers/media/usb/dvb-usb-v2/lmedm04.c u8 *wbuf, int wlen, u8 *rbuf, int rlen) rlen 146 drivers/media/usb/dvb-usb-v2/lmedm04.c if (max(wlen, rlen) > sizeof(st->usb_buffer)) rlen 156 drivers/media/usb/dvb-usb-v2/lmedm04.c st->usb_buffer, rlen); rlen 158 drivers/media/usb/dvb-usb-v2/lmedm04.c if (rlen) rlen 159 drivers/media/usb/dvb-usb-v2/lmedm04.c memcpy(rbuf, st->usb_buffer, rlen); rlen 472 drivers/media/usb/dvb-usb-v2/lmedm04.c u8 *wbuf, int wlen, u8 *rbuf, int rlen) rlen 478 drivers/media/usb/dvb-usb-v2/lmedm04.c return lme2510_usb_talk(d, wbuf, wlen, rbuf, rlen); rlen 563 drivers/media/usb/dvb-usb-v2/lmedm04.c int ret = 0, rlen = sizeof(rbuf); rlen 576 drivers/media/usb/dvb-usb-v2/lmedm04.c sizeof(clear_reg_3), rbuf, rlen); rlen 821 drivers/media/usb/dvb-usb-v2/lmedm04.c int ret = 0, len = 3, rlen = 1; rlen 828 drivers/media/usb/dvb-usb-v2/lmedm04.c voltage_high, len, rbuf, rlen); rlen 835 drivers/media/usb/dvb-usb-v2/lmedm04.c voltage_low, len, rbuf, rlen); rlen 1128 drivers/media/usb/dvb-usb-v2/lmedm04.c int ret = 0, len = 3, rlen = 1; rlen 1132 drivers/media/usb/dvb-usb-v2/lmedm04.c ret = lme2510_usb_talk(d, onoff ? lnb_on : lnb_off, len, rbuf, rlen); rlen 53 drivers/media/usb/dvb-usb-v2/mxl111sf.c u8 cmd, u8 *wbuf, int wlen, u8 *rbuf, int rlen) rlen 56 drivers/media/usb/dvb-usb-v2/mxl111sf.c int wo = (rbuf == NULL || rlen == 0); /* write-only */ rlen 64 drivers/media/usb/dvb-usb-v2/mxl111sf.c pr_debug("%s(wlen = %d, rlen = %d)\n", __func__, wlen, rlen); rlen 68 drivers/media/usb/dvb-usb-v2/mxl111sf.c memset(state->rcvbuf, 0, rlen); rlen 75 drivers/media/usb/dvb-usb-v2/mxl111sf.c rlen); rlen 78 drivers/media/usb/dvb-usb-v2/mxl111sf.c memcpy(rbuf, state->rcvbuf, rlen); rlen 121 drivers/media/usb/dvb-usb-v2/mxl111sf.h u8 cmd, u8 *wbuf, int wlen, u8 *rbuf, int rlen); rlen 26 drivers/media/usb/dvb-usb-v2/zd1301.c unsigned int wlen, u8 *rbuf, unsigned int rlen) rlen 45 drivers/media/usb/dvb-usb-v2/zd1301.c if (rlen) { rlen 47 drivers/media/usb/dvb-usb-v2/zd1301.c dev->buf, rlen, &actual_length, 1000); rlen 56 drivers/media/usb/dvb-usb-v2/zd1301.c if (actual_length != rlen) { rlen 65 drivers/media/usb/dvb-usb-v2/zd1301.c dev->buf, rlen, &actual_length, rlen 77 drivers/media/usb/dvb-usb-v2/zd1301.c memcpy(rbuf, dev->buf, rlen); rlen 449 drivers/media/usb/dvb-usb/af9005.c int wlen, u8 * rbuf, int rlen) rlen 464 drivers/media/usb/dvb-usb/af9005.c if (rlen > 54) { rlen 482 drivers/media/usb/dvb-usb/af9005.c ret = dvb_usb_generic_rw(d, st->data, wlen + 7, st->data, rlen + 7, 0); rlen 492 drivers/media/usb/dvb-usb/af9005.c } else if (st->data[6] != rlen) { rlen 497 drivers/media/usb/dvb-usb/af9005.c for (i = 0; i < rlen; i++) rlen 3469 drivers/media/usb/dvb-usb/af9005.h u8 * wbuf, int wlen, u8 * rbuf, int rlen); rlen 87 drivers/media/usb/dvb-usb/cxusb.c u8 cmd, const u8 *wbuf, int wlen, u8 *rbuf, int rlen) rlen 97 drivers/media/usb/dvb-usb/cxusb.c if (rlen > MAX_XFER_SIZE) { rlen 98 drivers/media/usb/dvb-usb/cxusb.c warn("i2c rd: len=%d is too big!\n", rlen); rlen 105 drivers/media/usb/dvb-usb/cxusb.c ret = dvb_usb_generic_rw(d, st->data, 1 + wlen, st->data, rlen, 0); rlen 106 drivers/media/usb/dvb-usb/cxusb.c if (!ret && rbuf && rlen) rlen 107 drivers/media/usb/dvb-usb/cxusb.c memcpy(rbuf, st->data, rlen); rlen 178 drivers/media/usb/dvb-usb/cxusb.h u8 cmd, const u8 *wbuf, int wlen, u8 *rbuf, int rlen); rlen 138 drivers/media/usb/dvb-usb/dibusb-common.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rlen 144 drivers/media/usb/dvb-usb/dibusb-common.c wo = (rbuf == NULL || rlen == 0); rlen 164 drivers/media/usb/dvb-usb/dibusb-common.c sndbuf[wlen + 2] = (rlen >> 8) & 0xff; rlen 165 drivers/media/usb/dvb-usb/dibusb-common.c sndbuf[wlen + 3] = rlen & 0xff; rlen 168 drivers/media/usb/dvb-usb/dibusb-common.c ret = dvb_usb_generic_rw(d, sndbuf, len, rbuf, rlen, 0); rlen 26 drivers/media/usb/dvb-usb/digitv.c u8 cmd, u8 vv, u8 *wbuf, int wlen, u8 *rbuf, int rlen) rlen 31 drivers/media/usb/dvb-usb/digitv.c wo = (rbuf == NULL || rlen == 0); /* write-only */ rlen 33 drivers/media/usb/dvb-usb/digitv.c if (wlen > 4 || rlen > 4) rlen 41 drivers/media/usb/dvb-usb/digitv.c st->sndbuf[2] = wo ? wlen : rlen; rlen 48 drivers/media/usb/dvb-usb/digitv.c memcpy(rbuf, &st->rcvbuf[3], rlen); rlen 26 drivers/media/usb/dvb-usb/dtv5100.c u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen) rlen 55 drivers/media/usb/dvb-usb/dtv5100.c memcpy(st->data, rbuf, rlen); rlen 58 drivers/media/usb/dvb-usb/dtv5100.c type, value, index, st->data, rlen, rlen 13 drivers/media/usb/dvb-usb/dvb-usb-urb.c u16 rlen, int delay_ms) rlen 41 drivers/media/usb/dvb-usb/dvb-usb-urb.c if (!ret && rbuf && rlen) { rlen 48 drivers/media/usb/dvb-usb/dvb-usb-urb.c d->props.generic_bulk_ctrl_endpoint),rbuf,rlen,&actlen, rlen 104 drivers/media/usb/dvb-usb/pctv452e.c unsigned int rlen; rlen 125 drivers/media/usb/dvb-usb/pctv452e.c rlen = (read_len > 0) ? 64 : 0; rlen 127 drivers/media/usb/dvb-usb/pctv452e.c buf, rlen, /* delay_ms */ 0); rlen 72 drivers/media/usb/dvb-usb/ttusb2.c u8 *wbuf, int wlen, u8 *rbuf, int rlen) rlen 78 drivers/media/usb/dvb-usb/ttusb2.c if (4 + rlen > 64) rlen 103 drivers/media/usb/dvb-usb/ttusb2.c (rlen > 0 && r[3] != rlen)) { rlen 104 drivers/media/usb/dvb-usb/ttusb2.c warn("there might have been an error during control message transfer. (rlen = %d, was %d)",rlen,r[3]); rlen 110 drivers/media/usb/dvb-usb/ttusb2.c if (rlen > 0) rlen 111 drivers/media/usb/dvb-usb/ttusb2.c memcpy(rbuf, &r[4], rlen); rlen 94 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c u16 rlen) /* Amount of data to read */ rlen 108 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (res && (rlen > (sizeof(hdw->cmd_buffer) - 1))) { rlen 112 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c rlen,(unsigned int)(sizeof(hdw->cmd_buffer) - 1)); rlen 124 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c hdw->cmd_buffer[2] = rlen; /* answer length. Device will send one rlen 134 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c rlen + 1); rlen 146 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (res && rlen) { rlen 149 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c memset(res, 0, rlen); rlen 151 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c memcpy(res, hdw->cmd_buffer + 1, rlen); rlen 167 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c u16 rlen) rlen 169 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (!rdata) rlen = 0; rlen 171 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (rlen || !wlen) { rlen 172 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c return pvr2_i2c_read(hdw,i2c_addr,wdata,wlen,rdata,rlen); rlen 186 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) rlen 191 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (!(rlen || wlen)) { rlen 197 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if ((wlen != 0) || (rlen == 0)) return -EIO; rlen 199 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (rlen < 3) { rlen 207 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (rlen > 0) rdata[0] = 0; rlen 208 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (rlen > 1) rdata[1] = 0; rlen 256 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) rlen 258 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (!(rlen || wlen)) { rlen 262 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c return pvr2_i2c_basic_op(hdw,i2c_addr,wdata,wlen,rdata,rlen); rlen 269 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) rlen 282 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c u8 i2c_addr,u8 *wdata,u16 wlen,u8 *rdata,u16 rlen) rlen 289 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (!(rlen || wlen)) { rlen 297 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c return pvr2_i2c_basic_op(hdw,i2c_addr,wdata,wlen,rdata,rlen); rlen 324 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (!rlen) goto success; rlen 326 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (rlen != 1) goto fail; rlen 332 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c ret = pvr2_i2c_basic_op(hdw,i2c_addr,wbuf,2,rdata,rlen); rlen 744 drivers/misc/fastrpc.c u64 len, rlen, pkt_size; rlen 768 drivers/misc/fastrpc.c rlen = pkt_size - metalen; rlen 804 drivers/misc/fastrpc.c rlen -= ALIGN(args, FASTRPC_ALIGN) - args; rlen 810 drivers/misc/fastrpc.c if (rlen < mlen) rlen 816 drivers/misc/fastrpc.c (pkt_size - rlen); rlen 823 drivers/misc/fastrpc.c rlen -= mlen; rlen 459 drivers/mtd/nand/raw/sh_flctl.c static void read_fiforeg(struct sh_flctl *flctl, int rlen, int offset) rlen 464 drivers/mtd/nand/raw/sh_flctl.c len_4align = (rlen + 3) / 4; rlen 467 drivers/mtd/nand/raw/sh_flctl.c if (flctl->chan_fifo0_rx && rlen >= 32 && rlen 468 drivers/mtd/nand/raw/sh_flctl.c flctl_dma_fifo0_transfer(flctl, buf, rlen, DMA_FROM_DEVICE) > 0) rlen 501 drivers/mtd/nand/raw/sh_flctl.c static void write_fiforeg(struct sh_flctl *flctl, int rlen, rlen 507 drivers/mtd/nand/raw/sh_flctl.c len_4align = (rlen + 3) / 4; rlen 514 drivers/mtd/nand/raw/sh_flctl.c static void write_ec_fiforeg(struct sh_flctl *flctl, int rlen, rlen 520 drivers/mtd/nand/raw/sh_flctl.c len_4align = (rlen + 3) / 4; rlen 526 drivers/mtd/nand/raw/sh_flctl.c if (flctl->chan_fifo0_tx && rlen >= 32 && rlen 527 drivers/mtd/nand/raw/sh_flctl.c flctl_dma_fifo0_transfer(flctl, buf, rlen, DMA_TO_DEVICE) > 0) rlen 133 drivers/net/ethernet/amd/sun3lance.c unsigned short rlen; rlen 397 drivers/net/ethernet/amd/sun3lance.c MEM->init.rlen = (RX_LOG_RING_SIZE << 13) | rlen 495 drivers/net/ethernet/amd/sun3lance.c MEM->init.rlen = (RX_LOG_RING_SIZE << 13) | rlen 572 drivers/net/ethernet/cavium/liquidio/liquidio_common.h u64 rlen:12; rlen 574 drivers/net/ethernet/cavium/liquidio/liquidio_common.h u64 rlen:12; rlen 69 drivers/net/ethernet/cavium/liquidio/octeon_nic.c rdp->rlen = rdatasize; rlen 640 drivers/net/ethernet/cavium/liquidio/request_manager.c rdp->rlen = sc->rdatasize; rlen 677 drivers/net/ethernet/cavium/liquidio/request_manager.c rdp->rlen = sc->rdatasize; rlen 1068 drivers/net/ethernet/intel/i40e/i40e_debugfs.c u16 rlen; rlen 1086 drivers/net/ethernet/intel/i40e/i40e_debugfs.c index, buff_len, buff, &rlen, rlen 1099 drivers/net/ethernet/intel/i40e/i40e_debugfs.c rlen, next_table, next_index); rlen 1102 drivers/net/ethernet/intel/i40e/i40e_debugfs.c buff, rlen, true); rlen 1371 drivers/net/ethernet/intel/i40e/i40e_debugfs.c u16 llen, rlen; rlen 1382 drivers/net/ethernet/intel/i40e/i40e_debugfs.c &llen, &rlen, NULL); rlen 1398 drivers/net/ethernet/intel/i40e/i40e_debugfs.c u16 llen, rlen; rlen 1410 drivers/net/ethernet/intel/i40e/i40e_debugfs.c &llen, &rlen, NULL); rlen 3414 drivers/net/ethernet/realtek/r8169_main.c u16 rlen; rlen 3461 drivers/net/ethernet/realtek/r8169_main.c rlen = 0; rlen 3463 drivers/net/ethernet/realtek/r8169_main.c rlen = data - 3; rlen 3464 drivers/net/ethernet/realtek/r8169_main.c data = rlen | (rlen<<4) | (rlen<<8) | (rlen<<12); rlen 50 drivers/net/usb/cx82310_eth.c u8 *wdata, int wlen, u8 *rdata, int rlen) rlen 111 drivers/net/usb/cx82310_eth.c min_t(int, rlen, CMD_PACKET_SIZE - 4)); rlen 545 drivers/net/wireless/ath/carl9170/carl9170.h u32 plen, void *payload, u32 rlen, void *resp); rlen 72 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c ssize_t rlen; \ rlen 100 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c data->rlen = iwl_dbgfs_##name##_read(data->arg, \ rlen 105 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c if (data->rlen < 0) \ rlen 106 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c return data->rlen; \ rlen 108 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c data->rbuf, data->rlen); \ rlen 795 drivers/net/wireless/intersil/hostap/hostap_hw.c int res, rlen = 0; rlen 841 drivers/net/wireless/intersil/hostap/hostap_hw.c rlen = (le16_to_cpu(rec.len) - 1) * 2; rlen 842 drivers/net/wireless/intersil/hostap/hostap_hw.c if (exact_len && rlen != len) { rlen 845 drivers/net/wireless/intersil/hostap/hostap_hw.c dev->name, rid, rlen, len); rlen 865 drivers/net/wireless/intersil/hostap/hostap_hw.c return rlen; rlen 239 drivers/of/address.c int rlen; rlen 245 drivers/of/address.c parser->range = of_get_property(node, name, &rlen); rlen 249 drivers/of/address.c parser->end = parser->range + rlen / sizeof(__be32); rlen 501 drivers/of/address.c unsigned int rlen; rlen 521 drivers/of/address.c ranges = of_get_property(parent, rprop, &rlen); rlen 526 drivers/of/address.c if (ranges == NULL || rlen == 0) { rlen 536 drivers/of/address.c rlen /= 4; rlen 538 drivers/of/address.c for (; rlen >= rone; rlen -= rone, ranges += rone) { rlen 115 drivers/of/fdt_address.c int rlen; rlen 119 drivers/of/fdt_address.c ranges = fdt_getprop(blob, parent, rprop, &rlen); rlen 122 drivers/of/fdt_address.c if (rlen == 0) { rlen 132 drivers/of/fdt_address.c rlen /= 4; rlen 134 drivers/of/fdt_address.c for (; rlen >= rone; rlen -= rone, ranges += rone) { rlen 734 drivers/pci/controller/pci-mvebu.c int rlen, nranges, rangesz, pna, i; rlen 739 drivers/pci/controller/pci-mvebu.c range = of_get_property(np, "ranges", &rlen); rlen 745 drivers/pci/controller/pci-mvebu.c nranges = rlen / sizeof(__be32) / rangesz; rlen 1494 drivers/s390/crypto/zcrypt_ccamisc.c size_t rlen, vlen; rlen 1512 drivers/s390/crypto/zcrypt_ccamisc.c rlen = vlen = PAGE_SIZE/2; rlen 1516 drivers/s390/crypto/zcrypt_ccamisc.c rarray, &rlen, varray, &vlen); rlen 1517 drivers/s390/crypto/zcrypt_ccamisc.c if (rc == 0 && rlen >= 10*8 && vlen >= 204) { rlen 898 drivers/scsi/fcoe/fcoe_ctlr.c size_t rlen; rlen 914 drivers/scsi/fcoe/fcoe_ctlr.c rlen = ntohs(fiph->fip_dl_len) * 4; rlen 915 drivers/scsi/fcoe/fcoe_ctlr.c if (rlen + sizeof(*fiph) > skb->len) rlen 919 drivers/scsi/fcoe/fcoe_ctlr.c while (rlen > 0) { rlen 921 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen < sizeof(*desc) || dlen > rlen) rlen 994 drivers/scsi/fcoe/fcoe_ctlr.c rlen -= dlen; rlen 1149 drivers/scsi/fcoe/fcoe_ctlr.c size_t rlen; rlen 1159 drivers/scsi/fcoe/fcoe_ctlr.c rlen = ntohs(fiph->fip_dl_len) * 4; rlen 1160 drivers/scsi/fcoe/fcoe_ctlr.c if (rlen + sizeof(*fiph) > skb->len) rlen 1164 drivers/scsi/fcoe/fcoe_ctlr.c while (rlen > 0) { rlen 1167 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen < sizeof(*desc) || dlen > rlen) rlen 1240 drivers/scsi/fcoe/fcoe_ctlr.c rlen -= dlen; rlen 1317 drivers/scsi/fcoe/fcoe_ctlr.c size_t rlen; rlen 1374 drivers/scsi/fcoe/fcoe_ctlr.c rlen = ntohs(fh->fip_dl_len) * FIP_BPW; rlen 1382 drivers/scsi/fcoe/fcoe_ctlr.c num_vlink_desc = rlen / sizeof(*vp); rlen 1390 drivers/scsi/fcoe/fcoe_ctlr.c while (rlen >= sizeof(*desc)) { rlen 1392 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen > rlen) rlen 1442 drivers/scsi/fcoe/fcoe_ctlr.c rlen -= dlen; rlen 2280 drivers/scsi/fcoe/fcoe_ctlr.c size_t rlen; rlen 2308 drivers/scsi/fcoe/fcoe_ctlr.c rlen = ntohs(fiph->fip_dl_len) * 4; rlen 2309 drivers/scsi/fcoe/fcoe_ctlr.c if (rlen + sizeof(*fiph) > skb->len) rlen 2313 drivers/scsi/fcoe/fcoe_ctlr.c while (rlen > 0) { rlen 2315 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen < sizeof(*desc) || dlen > rlen) rlen 2379 drivers/scsi/fcoe/fcoe_ctlr.c rlen -= dlen; rlen 2809 drivers/scsi/fcoe/fcoe_ctlr.c size_t rlen; rlen 2828 drivers/scsi/fcoe/fcoe_ctlr.c rlen = ntohs(fiph->fip_dl_len) * 4; rlen 2829 drivers/scsi/fcoe/fcoe_ctlr.c if (rlen + sizeof(*fiph) > skb->len) rlen 2833 drivers/scsi/fcoe/fcoe_ctlr.c while (rlen > 0) { rlen 2835 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen < sizeof(*desc) || dlen > rlen) rlen 2880 drivers/scsi/fcoe/fcoe_ctlr.c rlen -= dlen; rlen 318 drivers/scsi/fnic/fnic_fcs.c size_t rlen; rlen 337 drivers/scsi/fnic/fnic_fcs.c rlen = ntohs(fiph->fip_dl_len) * 4; rlen 338 drivers/scsi/fnic/fnic_fcs.c if (rlen + sizeof(*fiph) > skb->len) rlen 435 drivers/scsi/fnic/fnic_fcs.c size_t rlen; rlen 450 drivers/scsi/fnic/fnic_fcs.c rlen = ntohs(fiph->fip_dl_len) * 4; rlen 454 drivers/scsi/fnic/fnic_fcs.c while (rlen > 0) { rlen 474 drivers/scsi/fnic/fnic_fcs.c rlen -= dlen; rlen 184 drivers/scsi/libiscsi.c unsigned rlen, pad_len; rlen 190 drivers/scsi/libiscsi.c rlen = cmd->cmd_len - ISCSI_CDB_SIZE; rlen 192 drivers/scsi/libiscsi.c BUG_ON(rlen > sizeof(ecdb_ahdr->ecdb)); rlen 193 drivers/scsi/libiscsi.c ahslength = rlen + sizeof(ecdb_ahdr->reserved); rlen 195 drivers/scsi/libiscsi.c pad_len = iscsi_padding(rlen); rlen 203 drivers/scsi/libiscsi.c memset(&ecdb_ahdr->ecdb[rlen], 0, pad_len); rlen 208 drivers/scsi/libiscsi.c memcpy(ecdb_ahdr->ecdb, cmd->cmnd + ISCSI_CDB_SIZE, rlen); rlen 213 drivers/scsi/libiscsi.c "%u\n", cmd->cmd_len, rlen, pad_len, ahslength, rlen 85 drivers/scsi/qedf/qedf_fip.c ssize_t rlen; rlen 90 drivers/scsi/qedf/qedf_fip.c rlen = ntohs(fiph->fip_dl_len) * 4; rlen 92 drivers/scsi/qedf/qedf_fip.c while (rlen > 0) { rlen 100 drivers/scsi/qedf/qedf_fip.c rlen -= dlen; rlen 176 drivers/scsi/qedf/qedf_fip.c size_t rlen, dlen; rlen 231 drivers/scsi/qedf/qedf_fip.c rlen = ntohs(fiph->fip_dl_len) * FIP_BPW; rlen 233 drivers/scsi/qedf/qedf_fip.c while (rlen >= sizeof(*desc)) { rlen 280 drivers/scsi/qedf/qedf_fip.c rlen -= dlen; rlen 1701 drivers/scsi/scsi_debug.c int n, ret, alen, rlen; rlen 1755 drivers/scsi/scsi_debug.c rlen = n - 4; rlen 1756 drivers/scsi/scsi_debug.c put_unaligned_be32(rlen, arr + 0); rlen 1764 drivers/scsi/scsi_debug.c rlen = min(alen,n); rlen 1766 drivers/scsi/scsi_debug.c min(rlen, SDEBUG_MAX_TGTPGS_ARR_SZ)); rlen 3617 drivers/scsi/scsi_debug.c unsigned int rlen; /* response length (in bytes) */ rlen 3659 drivers/scsi/scsi_debug.c rlen = tlun_cnt * sz_lun; /* excluding 8 byte header */ rlen 3670 drivers/scsi/scsi_debug.c put_unaligned_be32(rlen, &arr[0]); rlen 36 drivers/scsi/scsi_netlink.c u32 rlen; rlen 50 drivers/scsi/scsi_netlink.c rlen = NLMSG_ALIGN(nlh->nlmsg_len); rlen 51 drivers/scsi/scsi_netlink.c if (rlen > skb->len) rlen 52 drivers/scsi/scsi_netlink.c rlen = skb->len; rlen 102 drivers/scsi/scsi_netlink.c skb_pull(skb, rlen); rlen 3705 drivers/scsi/scsi_transport_iscsi.c uint32_t rlen; rlen 3718 drivers/scsi/scsi_transport_iscsi.c rlen = NLMSG_ALIGN(nlh->nlmsg_len); rlen 3719 drivers/scsi/scsi_transport_iscsi.c if (rlen > skb->len) rlen 3720 drivers/scsi/scsi_transport_iscsi.c rlen = skb->len; rlen 3745 drivers/scsi/scsi_transport_iscsi.c skb_pull(skb, rlen); rlen 113 drivers/spi/spi-sc18is602.c int rlen = hw->rindex + len; rlen 118 drivers/spi/spi-sc18is602.c ret = i2c_master_recv(hw->client, hw->buffer, rlen); rlen 121 drivers/spi/spi-sc18is602.c if (ret != rlen) rlen 46 drivers/staging/rtl8712/xmit_linux.c uint _r8712_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen) rlen 51 drivers/staging/rtl8712/xmit_linux.c len = (rlen > len) ? len : rlen; rlen 47 drivers/staging/rtl8712/xmit_osdep.h uint _r8712_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen); rlen 2214 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c int rlen = 0, rtStatus = _FAIL; rlen 2227 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c rlen = rtw_retrive_from_file(file_path_bs, pHalData->para_file_buf, MAX_PARA_FILE_BUF_LEN); rlen 2228 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c if (rlen > 0) { rlen 2230 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c pHalData->mac_reg = vzalloc(rlen); rlen 2232 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c memcpy(pHalData->mac_reg, pHalData->para_file_buf, rlen); rlen 2233 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c pHalData->mac_reg_len = rlen; rlen 2273 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c int rlen = 0, rtStatus = _FAIL; rlen 2302 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c rlen = rtw_retrive_from_file(file_path_bs, pHalData->para_file_buf, MAX_PARA_FILE_BUF_LEN); rlen 2303 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c if (rlen > 0) { rlen 2305 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c pBuf = vzalloc(rlen); rlen 2307 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c memcpy(pBuf, pHalData->para_file_buf, rlen); rlen 2308 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c *pBufLen = rlen; rlen 2660 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c int rlen = 0, rtStatus = _FAIL; rlen 2671 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c rlen = rtw_retrive_from_file(file_path_bs, pHalData->para_file_buf, MAX_PARA_FILE_BUF_LEN); rlen 2672 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c if (rlen > 0) { rlen 2674 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c pHalData->bb_phy_reg_pg = vzalloc(rlen); rlen 2676 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c memcpy(pHalData->bb_phy_reg_pg, pHalData->para_file_buf, rlen); rlen 2677 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c pHalData->bb_phy_reg_pg_len = rlen; rlen 2704 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c int rlen = 0, rtStatus = _FAIL; rlen 2734 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c rlen = rtw_retrive_from_file(file_path_bs, pHalData->para_file_buf, MAX_PARA_FILE_BUF_LEN); rlen 2735 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c if (rlen > 0) { rlen 2737 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c pBuf = vzalloc(rlen); rlen 2739 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c memcpy(pBuf, pHalData->para_file_buf, rlen); rlen 2740 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c *pBufLen = rlen; rlen 2904 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c int rlen = 0, rtStatus = _FAIL; rlen 2916 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c rlen = rtw_retrive_from_file(file_path_bs, pHalData->para_file_buf, MAX_PARA_FILE_BUF_LEN); rlen 2917 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c if (rlen > 0) { rlen 2919 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c pHalData->rf_tx_pwr_track = vzalloc(rlen); rlen 2921 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c memcpy(pHalData->rf_tx_pwr_track, pHalData->para_file_buf, rlen); rlen 2922 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c pHalData->rf_tx_pwr_track_len = rlen; rlen 3218 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c int rlen = 0, rtStatus = _FAIL; rlen 3229 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c rlen = rtw_retrive_from_file(file_path_bs, pHalData->para_file_buf, MAX_PARA_FILE_BUF_LEN); rlen 3230 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c if (rlen > 0) { rlen 3232 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c pHalData->rf_tx_pwr_lmt = vzalloc(rlen); rlen 3234 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c memcpy(pHalData->rf_tx_pwr_lmt, pHalData->para_file_buf, rlen); rlen 3235 drivers/staging/rtl8723bs/hal/hal_com_phycfg.c pHalData->rf_tx_pwr_lmt_len = rlen; rlen 38 drivers/staging/rtl8723bs/include/xmit_osdep.h extern uint _rtw_pktfile_read (struct pkt_file *pfile, u8 *rmem, uint rlen); rlen 104 drivers/staging/rtl8723bs/os_dep/osdep_service.c int rlen = 0, sum = 0; rlen 110 drivers/staging/rtl8723bs/os_dep/osdep_service.c rlen = kernel_read(fp, buf + sum, len - sum, &fp->f_pos); rlen 111 drivers/staging/rtl8723bs/os_dep/osdep_service.c if (rlen > 0) rlen 112 drivers/staging/rtl8723bs/os_dep/osdep_service.c sum += rlen; rlen 113 drivers/staging/rtl8723bs/os_dep/osdep_service.c else if (0 != rlen) rlen 114 drivers/staging/rtl8723bs/os_dep/osdep_service.c return rlen; rlen 27 drivers/staging/rtl8723bs/os_dep/xmit_linux.c uint _rtw_pktfile_read (struct pkt_file *pfile, u8 *rmem, uint rlen) rlen 32 drivers/staging/rtl8723bs/os_dep/xmit_linux.c len = (rlen > len) ? len : rlen; rlen 207 drivers/staging/wilc1000/wilc_spi.c static int wilc_spi_rx(struct wilc *wilc, u8 *rb, u32 rlen) rlen 212 drivers/staging/wilc1000/wilc_spi.c if (rlen > 0) { rlen 216 drivers/staging/wilc1000/wilc_spi.c .len = rlen, rlen 220 drivers/staging/wilc1000/wilc_spi.c char *t_buffer = kzalloc(rlen, GFP_KERNEL); rlen 240 drivers/staging/wilc1000/wilc_spi.c rlen); rlen 247 drivers/staging/wilc1000/wilc_spi.c static int wilc_spi_tx_rx(struct wilc *wilc, u8 *wb, u8 *rb, u32 rlen) rlen 252 drivers/staging/wilc1000/wilc_spi.c if (rlen > 0) { rlen 257 drivers/staging/wilc1000/wilc_spi.c .len = rlen, rlen 275 drivers/staging/wilc1000/wilc_spi.c rlen); rlen 380 drivers/usb/gadget/udc/s3c-hsudc.c u32 buflen, rcnt, rlen; rlen 394 drivers/usb/gadget/udc/s3c-hsudc.c rlen = (csr & S3C_ESR_LWO) ? (rcnt * 2 - 1) : (rcnt * 2); rlen 396 drivers/usb/gadget/udc/s3c-hsudc.c hsreq->req.actual += min(rlen, buflen); rlen 397 drivers/usb/gadget/udc/s3c-hsudc.c is_short = (rlen < hsep->ep.maxpacket); rlen 504 drivers/usb/misc/uss720.c int rlen; rlen 511 drivers/usb/misc/uss720.c i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buf, length, &rlen, 20000); rlen 513 drivers/usb/misc/uss720.c printk(KERN_ERR "uss720: sendbulk ep 1 buf %p len %zu rlen %u\n", buf, length, rlen); rlen 515 drivers/usb/misc/uss720.c return rlen; rlen 565 drivers/usb/misc/uss720.c int rlen; rlen 572 drivers/usb/misc/uss720.c i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buffer, len, &rlen, 20000); rlen 574 drivers/usb/misc/uss720.c printk(KERN_ERR "uss720: sendbulk ep 1 buf %p len %zu rlen %u\n", buffer, len, rlen); rlen 576 drivers/usb/misc/uss720.c return rlen; rlen 583 drivers/usb/misc/uss720.c int rlen; rlen 590 drivers/usb/misc/uss720.c i = usb_bulk_msg(usbdev, usb_rcvbulkpipe(usbdev, 2), buffer, len, &rlen, 20000); rlen 592 drivers/usb/misc/uss720.c printk(KERN_ERR "uss720: recvbulk ep 2 buf %p len %zu rlen %u\n", buffer, len, rlen); rlen 594 drivers/usb/misc/uss720.c return rlen; rlen 616 drivers/usb/misc/uss720.c int rlen; rlen 623 drivers/usb/misc/uss720.c i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buffer, len, &rlen, 20000); rlen 625 drivers/usb/misc/uss720.c printk(KERN_ERR "uss720: sendbulk ep 1 buf %p len %zu rlen %u\n", buffer, len, rlen); rlen 627 drivers/usb/misc/uss720.c return rlen; rlen 1061 drivers/usb/typec/tcpm/tcpm.c int rlen = 0; rlen 1092 drivers/usb/typec/tcpm/tcpm.c rlen = port->nr_snk_vdo + 1; rlen 1111 drivers/usb/typec/tcpm/tcpm.c if (rlen >= 1) { rlen 1113 drivers/usb/typec/tcpm/tcpm.c } else if (rlen == 0) { rlen 1115 drivers/usb/typec/tcpm/tcpm.c rlen = 1; rlen 1118 drivers/usb/typec/tcpm/tcpm.c rlen = 1; rlen 1131 drivers/usb/typec/tcpm/tcpm.c rlen = 1; rlen 1138 drivers/usb/typec/tcpm/tcpm.c rlen = 1; rlen 1142 drivers/usb/typec/tcpm/tcpm.c rlen = 1; rlen 1152 drivers/usb/typec/tcpm/tcpm.c rlen = 1; rlen 1204 drivers/usb/typec/tcpm/tcpm.c return rlen; rlen 1210 drivers/usb/typec/tcpm/tcpm.c int rlen = 0; rlen 1228 drivers/usb/typec/tcpm/tcpm.c rlen = tcpm_pd_svdm(port, payload, cnt, response); rlen 1230 drivers/usb/typec/tcpm/tcpm.c if (rlen > 0) { rlen 1231 drivers/usb/typec/tcpm/tcpm.c tcpm_queue_vdm(port, response[0], &response[1], rlen - 1); rlen 219 drivers/usb/typec/ucsi/ucsi_ccg.c u32 rlen, rem_len = len, max_read_len = len; rlen 229 drivers/usb/typec/ucsi/ucsi_ccg.c rlen = min_t(u16, rem_len, max_read_len); rlen 230 drivers/usb/typec/ucsi/ucsi_ccg.c msgs[1].len = rlen; rlen 238 drivers/usb/typec/ucsi/ucsi_ccg.c rab += rlen; rlen 239 drivers/usb/typec/ucsi/ucsi_ccg.c rem_len -= rlen; rlen 55 drivers/video/fbdev/omap/lcd_mipid.c int wlen, u8 *rbuf, int rlen) rlen 83 drivers/video/fbdev/omap/lcd_mipid.c if (rlen) { rlen 89 drivers/video/fbdev/omap/lcd_mipid.c if (rlen > 1) { rlen 98 drivers/video/fbdev/omap/lcd_mipid.c x->len = rlen - 1; rlen 107 drivers/video/fbdev/omap/lcd_mipid.c if (rlen) rlen 106 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c const u8 *wbuf, int wlen, u8 *rbuf, int rlen) rlen 124 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c if (rlen > 1 && wlen == 0) { rlen 143 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c if (rlen) { rlen 146 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c x->len = rlen; rlen 73 fs/ext4/dir.c const int rlen = ext4_rec_len_from_disk(de->rec_len, rlen 76 fs/ext4/dir.c if (unlikely(rlen < EXT4_DIR_REC_LEN(1))) rlen 78 fs/ext4/dir.c else if (unlikely(rlen % 4 != 0)) rlen 80 fs/ext4/dir.c else if (unlikely(rlen < EXT4_DIR_REC_LEN(de->name_len))) rlen 82 fs/ext4/dir.c else if (unlikely(((char *) de - buf) + rlen > size)) rlen 84 fs/ext4/dir.c else if (unlikely(((char *) de - buf) + rlen > rlen 86 fs/ext4/dir.c ((char *) de - buf) + rlen != size)) { rlen 100 fs/ext4/dir.c rlen, de->name_len, size); rlen 106 fs/ext4/dir.c rlen, de->name_len, size); rlen 640 fs/ext4/dir.c int rlen; rlen 650 fs/ext4/dir.c rlen = ext4_rec_len_from_disk(de->rec_len, buf_size); rlen 651 fs/ext4/dir.c de = (struct ext4_dir_entry_2 *)((char *)de + rlen); rlen 652 fs/ext4/dir.c offset += rlen; rlen 1925 fs/ext4/namei.c int nlen, rlen; rlen 1938 fs/ext4/namei.c rlen = ext4_rec_len_from_disk(de->rec_len, buf_size); rlen 1939 fs/ext4/namei.c if ((de->inode ? rlen - nlen : rlen) >= reclen) rlen 1941 fs/ext4/namei.c de = (struct ext4_dir_entry_2 *)((char *)de + rlen); rlen 1942 fs/ext4/namei.c offset += rlen; rlen 1957 fs/ext4/namei.c int nlen, rlen; rlen 1960 fs/ext4/namei.c rlen = ext4_rec_len_from_disk(de->rec_len, buf_size); rlen 1964 fs/ext4/namei.c de1->rec_len = ext4_rec_len_to_disk(rlen - nlen, buf_size); rlen 2314 fs/gfs2/rgrp.c unsigned rlen; rlen 2323 fs/gfs2/rgrp.c rlen = min(rs->rs_free, len); rlen 2324 fs/gfs2/rgrp.c rs->rs_free -= rlen; rlen 2325 fs/gfs2/rgrp.c rgd->rd_reserved -= rlen; rlen 1520 fs/jfs/jfs_xtree.c int index, nextindex, llen, rlen; rlen 1643 fs/jfs/jfs_xtree.c rlen = lengthXAD(xad) - llen; rlen 1651 fs/jfs/jfs_xtree.c PXDlength(&pxdlock->pxd, rlen); rlen 1656 fs/jfs/jfs_xtree.c dbFree(ip, addressXAD(xad) + llen, (s64) rlen); rlen 787 fs/nfs/pnfs_nfs.c int nlen, rlen; rlen 817 fs/nfs/pnfs_nfs.c rlen = be32_to_cpup(p); rlen 819 fs/nfs/pnfs_nfs.c p = xdr_inline_decode(xdr, rlen); rlen 824 fs/nfs/pnfs_nfs.c if (rlen > INET6_ADDRSTRLEN + IPV6_SCOPE_ID_LEN + 8) { rlen 826 fs/nfs/pnfs_nfs.c rlen); rlen 829 fs/nfs/pnfs_nfs.c buf = kmalloc(rlen + 1, gfp_flags); rlen 834 fs/nfs/pnfs_nfs.c buf[rlen] = '\0'; rlen 835 fs/nfs/pnfs_nfs.c memcpy(buf, p, rlen); rlen 2174 fs/nfsd/nfs4proc.c u32 maxcount = 0, rlen = 0; rlen 2177 fs/nfsd/nfs4proc.c rlen = min(op->u.read.rd_length, maxcount); rlen 2179 fs/nfsd/nfs4proc.c return (op_encode_hdr_size + 2 + XDR_QUADLEN(rlen)) * sizeof(__be32); rlen 2184 fs/nfsd/nfs4proc.c u32 maxcount = 0, rlen = 0; rlen 2187 fs/nfsd/nfs4proc.c rlen = min(op->u.readdir.rd_maxcount, maxcount); rlen 2190 fs/nfsd/nfs4proc.c XDR_QUADLEN(rlen)) * sizeof(__be32); rlen 2298 fs/nfsd/nfs4proc.c u32 maxcount = 0, rlen = 0; rlen 2301 fs/nfsd/nfs4proc.c rlen = min(op->u.getdeviceinfo.gd_maxcount, maxcount); rlen 2305 fs/nfsd/nfs4proc.c XDR_QUADLEN(rlen) + rlen 305 fs/ocfs2/dir.c const int rlen = le16_to_cpu(de->rec_len); rlen 307 fs/ocfs2/dir.c if (unlikely(rlen < OCFS2_DIR_REC_LEN(1))) rlen 309 fs/ocfs2/dir.c else if (unlikely(rlen % 4 != 0)) rlen 311 fs/ocfs2/dir.c else if (unlikely(rlen < OCFS2_DIR_REC_LEN(de->name_len))) rlen 314 fs/ocfs2/dir.c ((char *) de - bh->b_data) + rlen > dir->i_sb->s_blocksize)) rlen 321 fs/ocfs2/dir.c offset, (unsigned long long)le64_to_cpu(de->inode), rlen, rlen 411 fs/ocfs2/reservations.c unsigned int *rlen) rlen 454 fs/ocfs2/reservations.c *rlen = best_len; rlen 459 fs/ocfs2/reservations.c return *rlen; rlen 26 fs/romfs/storage.c size_t rlen; rlen 29 fs/romfs/storage.c ret = ROMFS_MTD_READ(sb, pos, buflen, &rlen, buf); rlen 30 fs/romfs/storage.c return (ret < 0 || rlen != buflen) ? -EIO : 0; rlen 968 fs/ubifs/io.c int err, rlen, overlap; rlen 986 fs/ubifs/io.c rlen = wbuf->offs - offs; rlen 987 fs/ubifs/io.c if (rlen < 0) rlen 988 fs/ubifs/io.c rlen = 0; rlen 991 fs/ubifs/io.c memcpy(buf + rlen, wbuf->buf + offs + rlen - wbuf->offs, len - rlen); rlen 994 fs/ubifs/io.c if (rlen > 0) { rlen 996 fs/ubifs/io.c err = ubifs_leb_read(c, lnum, buf, offs, rlen, 0); rlen 1013 fs/ubifs/io.c rlen = le32_to_cpu(ch->len); rlen 1014 fs/ubifs/io.c if (rlen != len) { rlen 1015 fs/ubifs/io.c ubifs_err(c, "bad node length %d, expected %d", rlen, len); rlen 1651 fs/ubifs/tnc.c int rlen, overlap; rlen 1667 fs/ubifs/tnc.c rlen = wbuf->offs - offs; rlen 1668 fs/ubifs/tnc.c if (rlen < 0) rlen 1669 fs/ubifs/tnc.c rlen = 0; rlen 1672 fs/ubifs/tnc.c memcpy(buf + rlen, wbuf->buf + offs + rlen - wbuf->offs, len - rlen); rlen 1675 fs/ubifs/tnc.c if (rlen > 0) rlen 1677 fs/ubifs/tnc.c return ubifs_leb_read(c, lnum, buf, offs, rlen, 0); rlen 376 fs/xfs/libxfs/xfs_alloc.c xfs_extlen_t rlen; rlen 379 fs/xfs/libxfs/xfs_alloc.c rlen = args->len; rlen 380 fs/xfs/libxfs/xfs_alloc.c ASSERT(rlen >= args->minlen); rlen 381 fs/xfs/libxfs/xfs_alloc.c ASSERT(rlen <= args->maxlen); rlen 382 fs/xfs/libxfs/xfs_alloc.c if (args->prod <= 1 || rlen < args->mod || rlen == args->maxlen || rlen 383 fs/xfs/libxfs/xfs_alloc.c (args->mod == 0 && rlen < args->prod)) rlen 385 fs/xfs/libxfs/xfs_alloc.c k = rlen % args->prod; rlen 389 fs/xfs/libxfs/xfs_alloc.c rlen = rlen - (k - args->mod); rlen 391 fs/xfs/libxfs/xfs_alloc.c rlen = rlen - args->prod + (args->mod - k); rlen 393 fs/xfs/libxfs/xfs_alloc.c if ((int)rlen < (int)args->minlen) rlen 395 fs/xfs/libxfs/xfs_alloc.c ASSERT(rlen >= args->minlen && rlen <= args->maxlen); rlen 396 fs/xfs/libxfs/xfs_alloc.c ASSERT(rlen % args->prod == args->mod); rlen 398 fs/xfs/libxfs/xfs_alloc.c rlen + args->minleft); rlen 399 fs/xfs/libxfs/xfs_alloc.c args->len = rlen; rlen 416 fs/xfs/libxfs/xfs_alloc.c xfs_extlen_t rlen, /* length of returned extent */ rlen 478 fs/xfs/libxfs/xfs_alloc.c if (rbno == fbno && rlen == flen) rlen 481 fs/xfs/libxfs/xfs_alloc.c nfbno1 = rbno + rlen; rlen 482 fs/xfs/libxfs/xfs_alloc.c nflen1 = flen - rlen; rlen 484 fs/xfs/libxfs/xfs_alloc.c } else if (rbno + rlen == fbno + flen) { rlen 486 fs/xfs/libxfs/xfs_alloc.c nflen1 = flen - rlen; rlen 491 fs/xfs/libxfs/xfs_alloc.c nfbno2 = rbno + rlen; rlen 1109 fs/xfs/libxfs/xfs_alloc.c xfs_extlen_t rlen; /* length of returned extent */ rlen 1450 fs/xfs/libxfs/xfs_alloc.c rlen = args->len; rlen 1451 fs/xfs/libxfs/xfs_alloc.c (void)xfs_alloc_compute_diff(args->agbno, rlen, args->alignment, rlen 1454 fs/xfs/libxfs/xfs_alloc.c ASSERT(ltnew + rlen <= ltbnoa + ltlena); rlen 1455 fs/xfs/libxfs/xfs_alloc.c ASSERT(ltnew + rlen <= be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length)); rlen 1460 fs/xfs/libxfs/xfs_alloc.c ltnew, rlen, XFSA_FIXUP_BNO_OK))) rlen 1500 fs/xfs/libxfs/xfs_alloc.c xfs_extlen_t rlen; /* length of returned extent */ rlen 1539 fs/xfs/libxfs/xfs_alloc.c &rlen, &busy_gen); rlen 1551 fs/xfs/libxfs/xfs_alloc.c &rbno, &rlen, &busy_gen); rlen 1553 fs/xfs/libxfs/xfs_alloc.c if (rlen >= args->maxlen) rlen 1581 fs/xfs/libxfs/xfs_alloc.c rlen = XFS_EXTLEN_MIN(args->maxlen, rlen); rlen 1582 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, rlen == 0 || rlen 1583 fs/xfs/libxfs/xfs_alloc.c (rlen <= flen && rbno + rlen <= fbno + flen), error0); rlen 1584 fs/xfs/libxfs/xfs_alloc.c if (rlen < args->maxlen) { rlen 1590 fs/xfs/libxfs/xfs_alloc.c bestrlen = rlen; rlen 1606 fs/xfs/libxfs/xfs_alloc.c &rbno, &rlen, &busy_gen); rlen 1607 fs/xfs/libxfs/xfs_alloc.c rlen = XFS_EXTLEN_MIN(args->maxlen, rlen); rlen 1608 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, rlen == 0 || rlen 1609 fs/xfs/libxfs/xfs_alloc.c (rlen <= flen && rbno + rlen <= fbno + flen), rlen 1611 fs/xfs/libxfs/xfs_alloc.c if (rlen > bestrlen) { rlen 1612 fs/xfs/libxfs/xfs_alloc.c bestrlen = rlen; rlen 1616 fs/xfs/libxfs/xfs_alloc.c if (rlen == args->maxlen) rlen 1624 fs/xfs/libxfs/xfs_alloc.c rlen = bestrlen; rlen 1633 fs/xfs/libxfs/xfs_alloc.c args->len = rlen; rlen 1634 fs/xfs/libxfs/xfs_alloc.c if (rlen < args->minlen) { rlen 1645 fs/xfs/libxfs/xfs_alloc.c rlen = args->len; rlen 1646 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, rlen <= flen, error0); rlen 1653 fs/xfs/libxfs/xfs_alloc.c rbno, rlen, XFSA_FIXUP_CNT_OK))) rlen 1658 fs/xfs/libxfs/xfs_alloc.c args->len = rlen; rlen 5182 fs/xfs/libxfs/xfs_bmap.c xfs_filblks_t *rlen, /* i/o: amount remaining */ rlen 5200 fs/xfs/libxfs/xfs_bmap.c xfs_filblks_t len = *rlen; /* length to unmap in file */ rlen 5241 fs/xfs/libxfs/xfs_bmap.c *rlen = 0; rlen 5249 fs/xfs/libxfs/xfs_bmap.c *rlen = 0; rlen 5475 fs/xfs/libxfs/xfs_bmap.c *rlen = 0; rlen 5477 fs/xfs/libxfs/xfs_bmap.c *rlen = end - start + 1; rlen 205 fs/xfs/libxfs/xfs_bmap.h xfs_fileoff_t bno, xfs_filblks_t *rlen, int flags, rlen 1482 fs/xfs/xfs_bmap_util.c xfs_filblks_t rlen; rlen 1531 fs/xfs/xfs_bmap_util.c uirec.br_blockcount = rlen = min_t(xfs_filblks_t, rlen 1553 fs/xfs/xfs_bmap_util.c tirec.br_startoff += rlen; rlen 1556 fs/xfs/xfs_bmap_util.c tirec.br_startblock += rlen; rlen 1557 fs/xfs/xfs_bmap_util.c tirec.br_blockcount -= rlen; rlen 609 fs/xfs/xfs_reflink.c xfs_filblks_t rlen; rlen 666 fs/xfs/xfs_reflink.c rlen = del.br_blockcount; rlen 667 fs/xfs/xfs_reflink.c error = __xfs_bunmapi(tp, ip, del.br_startoff, &rlen, 0, 1); rlen 672 fs/xfs/xfs_reflink.c xfs_trim_extent(&del, del.br_startoff + rlen, del.br_blockcount - rlen); rlen 1005 fs/xfs/xfs_reflink.c xfs_filblks_t rlen; rlen 1042 fs/xfs/xfs_reflink.c rlen = unmap_len; rlen 1043 fs/xfs/xfs_reflink.c while (rlen) { rlen 1045 fs/xfs/xfs_reflink.c error = __xfs_bunmapi(tp, ip, destoff, &rlen, 0, 1); rlen 1053 fs/xfs/xfs_reflink.c uirec.br_startblock = irec->br_startblock + rlen; rlen 1054 fs/xfs/xfs_reflink.c uirec.br_startoff = irec->br_startoff + rlen; rlen 1055 fs/xfs/xfs_reflink.c uirec.br_blockcount = unmap_len - rlen; rlen 1057 fs/xfs/xfs_reflink.c unmap_len = rlen; rlen 1405 fs/xfs/xfs_reflink.c xfs_extlen_t rlen; rlen 1433 fs/xfs/xfs_reflink.c aglen, &rbno, &rlen, true); rlen 1443 fs/xfs/xfs_reflink.c flen = XFS_FSB_TO_B(mp, rlen); rlen 1452 fs/xfs/xfs_reflink.c map[1].br_blockcount -= (rbno - agbno + rlen); rlen 1453 fs/xfs/xfs_reflink.c map[1].br_startoff += (rbno - agbno + rlen); rlen 1454 fs/xfs/xfs_reflink.c map[1].br_startblock += (rbno - agbno + rlen); rlen 1478 fs/xfs/xfs_reflink.c xfs_extlen_t rlen; rlen 1501 fs/xfs/xfs_reflink.c &rbno, &rlen, false); rlen 2106 kernel/trace/trace_events.c int rlen; rlen 2118 kernel/trace/trace_events.c rlen = strlen(ptr + len); rlen 2119 kernel/trace/trace_events.c memmove(ptr + elen, ptr + len, rlen); rlen 2121 kernel/trace/trace_events.c ptr[elen + rlen] = 0; rlen 321 lib/test_bpf.c unsigned int rlen; rlen 328 lib/test_bpf.c rlen = (len % plen) - 1; rlen 334 lib/test_bpf.c for (j = 0; j < rlen; j++) rlen 335 lib/test_bpf.c insn[i + j] = __BPF_JUMP(BPF_JMP | BPF_JA, rlen - 1 - j, rlen 792 mm/nommu.c unsigned long capabilities, rlen; rlen 807 mm/nommu.c rlen = PAGE_ALIGN(len); rlen 808 mm/nommu.c if (!rlen || rlen > TASK_SIZE) rlen 812 mm/nommu.c if ((pgoff + (rlen >> PAGE_SHIFT)) < pgoff) rlen 1385 net/iucv/af_iucv.c unsigned int copied, rlen; rlen 1409 net/iucv/af_iucv.c rlen = skb->len - offset; /* real length of skb */ rlen 1410 net/iucv/af_iucv.c copied = min_t(unsigned int, rlen, len); rlen 1411 net/iucv/af_iucv.c if (!rlen) rlen 1423 net/iucv/af_iucv.c if (copied < rlen) rlen 1446 net/iucv/af_iucv.c if (copied < rlen) { rlen 1494 net/iucv/af_iucv.c copied = rlen; rlen 806 net/nfc/llcp_sock.c unsigned int copied, rlen; rlen 836 net/nfc/llcp_sock.c rlen = skb->len; /* real length of skb */ rlen 837 net/nfc/llcp_sock.c copied = min_t(unsigned int, rlen, len); rlen 886 net/nfc/llcp_sock.c copied = rlen; rlen 2053 net/sctp/socket.c int rlen; rlen 2063 net/sctp/socket.c rlen = sctp_skb_pull(list, len); rlen 2064 net/sctp/socket.c skb->len -= (len-rlen); rlen 2065 net/sctp/socket.c skb->data_len -= (len-rlen); rlen 2067 net/sctp/socket.c if (!rlen) rlen 2070 net/sctp/socket.c len = rlen; rlen 302 scripts/kallsyms.c int c, rlen, total=0; rlen 313 scripts/kallsyms.c rlen = expand_symbol(best_table[c], best_table_len[c], result); rlen 314 scripts/kallsyms.c total += rlen; rlen 315 scripts/kallsyms.c result += rlen; rlen 158 sound/aoa/soundbus/i2sbus/core.c int i, layout = 0, rlen, ok = force; rlen 271 sound/aoa/soundbus/i2sbus/core.c rlen = resource_size(r); rlen 272 sound/aoa/soundbus/i2sbus/core.c if (rlen < sizeof(struct i2s_interface_regs)) rlen 274 sound/aoa/soundbus/i2sbus/core.c dev->intfregs = ioremap(r->start, rlen); rlen 277 sound/aoa/soundbus/i2sbus/core.c rlen = resource_size(r); rlen 278 sound/aoa/soundbus/i2sbus/core.c if (rlen < sizeof(struct dbdma_regs)) rlen 280 sound/aoa/soundbus/i2sbus/core.c dev->out.dbdma = ioremap(r->start, rlen); rlen 283 sound/aoa/soundbus/i2sbus/core.c rlen = resource_size(r); rlen 284 sound/aoa/soundbus/i2sbus/core.c if (rlen < sizeof(struct dbdma_regs)) rlen 286 sound/aoa/soundbus/i2sbus/core.c dev->in.dbdma = ioremap(r->start, rlen); rlen 47 tools/perf/util/demangle-java.c int rlen = 0; rlen 57 tools/perf/util/demangle-java.c if (rlen == (maxlen - 1)) rlen 65 tools/perf/util/demangle-java.c rlen += scnprintf(buf + rlen, maxlen - rlen, ", "); rlen 68 tools/perf/util/demangle-java.c rlen += scnprintf(buf + rlen, maxlen - rlen, "class "); rlen 72 tools/perf/util/demangle-java.c buf[rlen++] = *q; rlen 84 tools/perf/util/demangle-java.c rlen += scnprintf(buf + rlen, maxlen - rlen, ", "); rlen 85 tools/perf/util/demangle-java.c rlen += scnprintf(buf + rlen, maxlen - rlen, "%s", base_types[*q - 'A']); rlen 87 tools/perf/util/demangle-java.c rlen += scnprintf(buf + rlen, maxlen - rlen, "[]"); rlen 91 tools/perf/util/demangle-java.c buf[rlen++] = *q; rlen 95 tools/perf/util/demangle-java.c rlen += scnprintf(buf + rlen, maxlen - rlen, "void"); rlen 97 tools/perf/util/demangle-java.c rlen += scnprintf(buf + rlen, maxlen - rlen, "[]"); rlen 100 tools/perf/util/demangle-java.c buf[rlen++] = *q; rlen 110 tools/perf/util/demangle-java.c buf[rlen++] = *q; rlen 116 tools/perf/util/demangle-java.c buf[rlen++] = *q; rlen 124 tools/perf/util/demangle-java.c rlen += scnprintf(buf + rlen, maxlen - rlen, "."); rlen 133 tools/perf/util/demangle-java.c rlen += scnprintf(buf + rlen, maxlen - rlen, "."); rlen 136 tools/perf/util/demangle-java.c buf[rlen++] = *q; rlen 139 tools/perf/util/demangle-java.c buf[rlen] = '\0'; rlen 266 tools/perf/util/strfilter.c int len = 0, rlen; rlen 284 tools/perf/util/strfilter.c rlen = strfilter_node__sprint_pt(node->r, buf); rlen 285 tools/perf/util/strfilter.c if (rlen < 0) rlen 286 tools/perf/util/strfilter.c return rlen; rlen 287 tools/perf/util/strfilter.c len += rlen; rlen 91 tools/virtio/virtio-trace/trace-agent-ctl.c ssize_t rlen; rlen 106 tools/virtio/virtio-trace/trace-agent-ctl.c rlen = read(ctl_fd, buf, sizeof(buf)); rlen 107 tools/virtio/virtio-trace/trace-agent-ctl.c if (rlen < 0) { rlen 112 tools/virtio/virtio-trace/trace-agent-ctl.c if (rlen == 2 && buf[0] == '1') { rlen 120 tools/virtio/virtio-trace/trace-agent-ctl.c } else if (rlen == 2 && buf[0] == '0') { rlen 106 tools/virtio/virtio-trace/trace-agent-rw.c ssize_t rlen, wlen; rlen 127 tools/virtio/virtio-trace/trace-agent-rw.c rlen = splice(ts->in_fd, NULL, ts->read_pipe, NULL, rlen 130 tools/virtio/virtio-trace/trace-agent-rw.c if (rlen < 0) { rlen 133 tools/virtio/virtio-trace/trace-agent-rw.c } else if (rlen == 0) { rlen 149 tools/virtio/virtio-trace/trace-agent-rw.c rlen - wlen, rlen 168 tools/virtio/virtio-trace/trace-agent-rw.c } while (wlen < rlen); rlen 174 tools/virtio/vringh_test.c int status, err, rlen = 0; rlen 255 tools/virtio/vringh_test.c rlen = vringh_iov_pull_user(&riov, rbuf, rlen 257 tools/virtio/vringh_test.c if (rlen != 4) rlen 259 tools/virtio/vringh_test.c rlen); rlen 263 tools/virtio/vringh_test.c err = vringh_iov_push_user(&wiov, rbuf, rlen); rlen 264 tools/virtio/vringh_test.c if (err != rlen)