buf_len 31 arch/powerpc/kernel/machine_kexec_file_64.c unsigned long buf_len) buf_len 37 arch/powerpc/kernel/machine_kexec_file_64.c return kexec_image_probe_default(image, buf, buf_len); buf_len 606 arch/powerpc/platforms/ps3/os-area.c const unsigned int buf_len = 8 * OS_AREA_SEGMENT_SIZE; buf_len 615 arch/powerpc/platforms/ps3/os-area.c header = kmalloc(buf_len, GFP_KERNEL); buf_len 621 arch/powerpc/platforms/ps3/os-area.c count = os_area_flash_read(header, buf_len, 0); buf_len 249 arch/powerpc/platforms/pseries/papr_scm.c unsigned int cmd, void *buf, unsigned int buf_len, int *cmd_rc) buf_len 312 arch/s390/kernel/machine_kexec_file.c unsigned long buf_len) buf_len 319 arch/s390/kernel/machine_kexec_file.c if (buf_len < HEAD_END) buf_len 322 arch/s390/kernel/machine_kexec_file.c return kexec_image_probe_default(image, buf, buf_len); buf_len 136 arch/sparc/include/asm/hypervisor.h unsigned long buf_len, buf_len 88 arch/x86/include/asm/insn.h extern void insn_init(struct insn *insn, const void *kaddr, int buf_len, int x86_64); buf_len 108 arch/x86/include/asm/insn.h const void *kaddr, int buf_len) buf_len 111 arch/x86/include/asm/insn.h insn_init(insn, kaddr, buf_len, 1); buf_len 113 arch/x86/include/asm/insn.h insn_init(insn, kaddr, buf_len, 0); buf_len 40 arch/x86/lib/insn.c void insn_init(struct insn *insn, const void *kaddr, int buf_len, int x86_64) buf_len 46 arch/x86/lib/insn.c if (buf_len > MAX_INSN_SIZE) buf_len 47 arch/x86/lib/insn.c buf_len = MAX_INSN_SIZE; buf_len 51 arch/x86/lib/insn.c insn->end_kaddr = kaddr + buf_len; buf_len 366 drivers/acpi/apei/ghes.c size_t buf_len) buf_len 368 drivers/acpi/apei/ghes.c ghes_copy_tofrom_phys(estatus, buf_paddr, buf_len, 1, fixmap_idx); buf_len 439 drivers/acpi/nfit/core.c unsigned int cmd, void *buf, unsigned int buf_len, int *cmd_rc) buf_len 598 drivers/acpi/nfit/core.c if (in_buf.buffer.length + offset + out_size > buf_len) { buf_len 619 drivers/acpi/nfit/core.c if (offset + in_buf.buffer.length < buf_len) { buf_len 625 drivers/acpi/nfit/core.c rc = buf_len - offset - in_buf.buffer.length; buf_len 631 drivers/acpi/nfit/core.c __func__, dimm_name, cmd_name, buf_len, buf_len 346 drivers/acpi/nfit/nfit.h unsigned int cmd, void *buf, unsigned int buf_len, int *cmd_rc); buf_len 223 drivers/base/devcoredump.c size_t buf_len, void *data, buf_len 231 drivers/base/devcoredump.c if (offset + buf_len > data_len) buf_len 232 drivers/base/devcoredump.c buf_len = data_len - offset; buf_len 233 drivers/base/devcoredump.c return sg_pcopy_to_buffer(table, sg_nents(table), buffer, buf_len, buf_len 4770 drivers/block/drbd/drbd_receiver.c (unsigned int)bs.buf_len); buf_len 218 drivers/block/drbd/drbd_vli.h size_t buf_len; /* in bytes */ buf_len 229 drivers/block/drbd/drbd_vli.h bs->buf_len = len; buf_len 237 drivers/block/drbd/drbd_vli.h memset(bs->buf, 0, bs->buf_len); buf_len 256 drivers/block/drbd/drbd_vli.h if ((bs->cur.b + ((bs->cur.bit + bits -1) >> 3)) - bs->buf >= bs->buf_len) buf_len 289 drivers/block/drbd/drbd_vli.h if (bs->cur.b + ((bs->cur.bit + bs->pad_bits + bits -1) >> 3) - bs->buf >= bs->buf_len) buf_len 290 drivers/block/drbd/drbd_vli.h bits = ((bs->buf_len - (bs->cur.b - bs->buf)) << 3) buf_len 935 drivers/block/mtip32xx/mtip32xx.c int buf_len; buf_len 961 drivers/block/mtip32xx/mtip32xx.c int buf_len, buf_len 971 drivers/block/mtip32xx/mtip32xx.c .buf_len = buf_len, buf_len 3464 drivers/block/mtip32xx/mtip32xx.c if (icmd->buf_len) { buf_len 3467 drivers/block/mtip32xx/mtip32xx.c command_sg->info = cpu_to_le32((icmd->buf_len-1) & 0x3FFFFF); buf_len 4931 drivers/block/rbd.c void *buf, int buf_len) buf_len 4937 drivers/block/rbd.c int num_pages = calc_pages_for(0, buf_len); buf_len 4954 drivers/block/rbd.c osd_req_op_extent_init(req, 0, CEPH_OSD_OP_READ, 0, buf_len, 0, 0); buf_len 4955 drivers/block/rbd.c osd_req_op_extent_osd_data_pages(req, 0, pages, buf_len, 0, false, buf_len 613 drivers/block/rsxx/cregs.c log_str = &card->log.buf[card->log.buf_len]; buf_len 614 drivers/block/rsxx/cregs.c cnt = min(cmd->cnt8 - off, LOG_BUF_SIZE8 - card->log.buf_len); buf_len 618 drivers/block/rsxx/cregs.c card->log.buf_len += len; buf_len 625 drivers/block/rsxx/cregs.c (card->log.buf_len == LOG_BUF_SIZE8)) { buf_len 626 drivers/block/rsxx/cregs.c if (card->log.buf_len != 1) /* Don't log blank lines. */ buf_len 628 drivers/block/rsxx/cregs.c card->log.buf_len); buf_len 629 drivers/block/rsxx/cregs.c card->log.buf_len = 0; buf_len 143 drivers/block/rsxx/rsxx_priv.h int buf_len; buf_len 759 drivers/bluetooth/btmrvl_sdio.c u16 buf_len = 0; buf_len 774 drivers/bluetooth/btmrvl_sdio.c ret = btmrvl_sdio_read_rx_len(card, &buf_len); buf_len 782 drivers/bluetooth/btmrvl_sdio.c num_blocks = DIV_ROUND_UP(buf_len, blksz); buf_len 784 drivers/bluetooth/btmrvl_sdio.c if (buf_len <= SDIO_HEADER_LEN buf_len 786 drivers/bluetooth/btmrvl_sdio.c BT_ERR("invalid packet length: %d", buf_len); buf_len 820 drivers/bluetooth/btmrvl_sdio.c buf_len = payload[0]; buf_len 821 drivers/bluetooth/btmrvl_sdio.c buf_len |= payload[1] << 8; buf_len 822 drivers/bluetooth/btmrvl_sdio.c buf_len |= payload[2] << 16; buf_len 824 drivers/bluetooth/btmrvl_sdio.c if (buf_len > blksz * num_blocks) { buf_len 826 drivers/bluetooth/btmrvl_sdio.c buf_len, blksz * num_blocks); buf_len 838 drivers/bluetooth/btmrvl_sdio.c skb_put(skb, buf_len); buf_len 848 drivers/bluetooth/btmrvl_sdio.c hdev->stat.byte_rx += buf_len; buf_len 853 drivers/bluetooth/btmrvl_sdio.c skb_put(skb, buf_len); buf_len 859 drivers/bluetooth/btmrvl_sdio.c hdev->stat.byte_rx += buf_len; buf_len 464 drivers/char/hw_random/n2-drv.c u64 *buffer, unsigned long buf_len, buf_len 477 drivers/char/hw_random/n2-drv.c buffer_ra, buf_len); buf_len 357 drivers/crypto/bcm/cipher.h void (*spu_dump_msg_hdr)(u8 *buf, unsigned int buf_len); buf_len 20 drivers/crypto/bcm/spu.c void spum_dump_msg_hdr(u8 *buf, unsigned int buf_len) buf_len 41 drivers/crypto/bcm/spu.c packet_log("SPU Message header %p len: %u\n", buf, buf_len); buf_len 314 drivers/crypto/bcm/spu.c if (buf + buf_len != ptr) { buf_len 317 drivers/crypto/bcm/spu.c buf, buf_len, buf + buf_len, ptr); buf_len 608 drivers/crypto/bcm/spu.c unsigned int buf_len = 0; buf_len 679 drivers/crypto/bcm/spu.c buf_len += sizeof(struct SPUHEADER); buf_len 712 drivers/crypto/bcm/spu.c buf_len += hash_parms->key_len; buf_len 747 drivers/crypto/bcm/spu.c buf_len += cipher_parms->key_len; buf_len 763 drivers/crypto/bcm/spu.c buf_len += cipher_parms->iv_len; buf_len 808 drivers/crypto/bcm/spu.c buf_len += sizeof(struct BDESC_HEADER); buf_len 820 drivers/crypto/bcm/spu.c buf_len += sizeof(struct BD_HEADER); buf_len 822 drivers/crypto/bcm/spu.c packet_dump(" SPU request header: ", spu_hdr, buf_len); buf_len 824 drivers/crypto/bcm/spu.c return buf_len; buf_len 218 drivers/crypto/bcm/spu.h void spum_dump_msg_hdr(u8 *buf, unsigned int buf_len); buf_len 508 drivers/crypto/bcm/spu2.c void spu2_dump_msg_hdr(u8 *buf, unsigned int buf_len) buf_len 520 drivers/crypto/bcm/spu2.c packet_log("SPU2 message header %p len: %u\n", buf, buf_len); buf_len 535 drivers/crypto/bcm/spu2.c if (FMD_SIZE + omd_len != buf_len) { buf_len 538 drivers/crypto/bcm/spu2.c buf_len, FMD_SIZE + omd_len); buf_len 948 drivers/crypto/bcm/spu2.c unsigned int buf_len; buf_len 1085 drivers/crypto/bcm/spu2.c buf_len = sizeof(struct SPU2_FMD); buf_len 1091 drivers/crypto/bcm/spu2.c buf_len += hash_parms->key_len; buf_len 1096 drivers/crypto/bcm/spu2.c buf_len += cipher_parms->key_len; buf_len 1101 drivers/crypto/bcm/spu2.c buf_len += cipher_parms->iv_len; buf_len 1104 drivers/crypto/bcm/spu2.c packet_dump(" SPU request header: ", spu_hdr, buf_len); buf_len 1106 drivers/crypto/bcm/spu2.c return buf_len; buf_len 174 drivers/crypto/bcm/spu2.h void spu2_dump_msg_hdr(u8 *buf, unsigned int buf_len); buf_len 97 drivers/crypto/ixp4xx_crypto.c u16 buf_len; buf_len 101 drivers/crypto/ixp4xx_crypto.c u16 buf_len; buf_len 332 drivers/crypto/ixp4xx_crypto.c dma_unmap_single(dev, buf->phys_next, buf->buf_len, buf->dir); buf_len 644 drivers/crypto/ixp4xx_crypto.c buf->buf_len = HMAC_PAD_BLOCKLEN; buf_len 804 drivers/crypto/ixp4xx_crypto.c buf->buf_len = len; buf_len 1032 drivers/crypto/ixp4xx_crypto.c lastlen = buf->buf_len; buf_len 1035 drivers/crypto/ixp4xx_crypto.c buf->buf_len - authsize; buf_len 1054 drivers/crypto/ixp4xx_crypto.c lastlen = buf->buf_len; buf_len 1057 drivers/crypto/ixp4xx_crypto.c buf->buf_len - authsize; buf_len 68 drivers/crypto/nx/nx-sha256.c u64 buf_len = (sctx->count % SHA256_BLOCK_SIZE); buf_len 78 drivers/crypto/nx/nx-sha256.c memcpy(sctx->buf + buf_len, data, len); buf_len 106 drivers/crypto/nx/nx-sha256.c if (buf_len) { buf_len 107 drivers/crypto/nx/nx-sha256.c data_len = buf_len; buf_len 113 drivers/crypto/nx/nx-sha256.c if (data_len != buf_len) { buf_len 131 drivers/crypto/nx/nx-sha256.c data_len = to_process - buf_len; buf_len 137 drivers/crypto/nx/nx-sha256.c to_process = data_len + buf_len; buf_len 160 drivers/crypto/nx/nx-sha256.c data += to_process - buf_len; buf_len 161 drivers/crypto/nx/nx-sha256.c buf_len = 0; buf_len 68 drivers/crypto/nx/nx-sha512.c u64 buf_len = (sctx->count[0] % SHA512_BLOCK_SIZE); buf_len 78 drivers/crypto/nx/nx-sha512.c memcpy(sctx->buf + buf_len, data, len); buf_len 106 drivers/crypto/nx/nx-sha512.c if (buf_len) { buf_len 107 drivers/crypto/nx/nx-sha512.c data_len = buf_len; buf_len 112 drivers/crypto/nx/nx-sha512.c if (data_len != buf_len) { buf_len 130 drivers/crypto/nx/nx-sha512.c data_len = to_process - buf_len; buf_len 136 drivers/crypto/nx/nx-sha512.c if (data_len != (to_process - buf_len)) { buf_len 141 drivers/crypto/nx/nx-sha512.c to_process = data_len + buf_len; buf_len 164 drivers/crypto/nx/nx-sha512.c data += to_process - buf_len; buf_len 165 drivers/crypto/nx/nx-sha512.c buf_len = 0; buf_len 2092 drivers/dma/amba-pl08x.c struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, buf_len 2104 drivers/dma/amba-pl08x.c __func__, period_len, buf_len, buf_len 2114 drivers/dma/amba-pl08x.c for (tmp = 0; tmp < buf_len; tmp += period_len) { buf_len 1284 drivers/dma/at_hdmac.c atc_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, buf_len 1295 drivers/dma/at_hdmac.c unsigned int periods = buf_len / period_len; buf_len 1301 drivers/dma/at_hdmac.c periods, buf_len, period_len); buf_len 1303 drivers/dma/at_hdmac.c if (unlikely(!atslave || !buf_len || !period_len)) { buf_len 1346 drivers/dma/at_hdmac.c first->total_len = buf_len; buf_len 735 drivers/dma/at_xdmac.c size_t buf_len, size_t period_len, buf_len 741 drivers/dma/at_xdmac.c unsigned int periods = buf_len / period_len; buf_len 746 drivers/dma/at_xdmac.c __func__, &buf_addr, buf_len, period_len, buf_len 811 drivers/dma/at_xdmac.c first->xfer_size = buf_len; buf_len 305 drivers/dma/bcm2835-dma.c dma_addr_t src, dma_addr_t dst, size_t buf_len, buf_len 309 drivers/dma/bcm2835-dma.c size_t len = buf_len, total_len; buf_len 346 drivers/dma/bcm2835-dma.c if (buf_len) { buf_len 375 drivers/dma/bcm2835-dma.c if (buf_len && (d->size != buf_len)) buf_len 695 drivers/dma/bcm2835-dma.c struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, buf_len 714 drivers/dma/bcm2835-dma.c if (!buf_len) { buf_len 723 drivers/dma/bcm2835-dma.c period_len = buf_len; buf_len 729 drivers/dma/bcm2835-dma.c if (buf_len % period_len) buf_len 732 drivers/dma/bcm2835-dma.c __func__, buf_len, period_len); buf_len 758 drivers/dma/bcm2835-dma.c DIV_ROUND_UP(buf_len, period_len) * buf_len 769 drivers/dma/bcm2835-dma.c frames, src, dst, buf_len, buf_len 568 drivers/dma/dma-axi-dmac.c struct dma_chan *c, dma_addr_t buf_addr, size_t buf_len, buf_len 579 drivers/dma/dma-axi-dmac.c if (!axi_dmac_check_len(chan, buf_len) || buf_len 583 drivers/dma/dma-axi-dmac.c if (period_len == 0 || buf_len % period_len) buf_len 586 drivers/dma/dma-axi-dmac.c num_periods = buf_len / period_len; buf_len 399 drivers/dma/dma-jz4780.c struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, buf_len 408 drivers/dma/dma-jz4780.c if (buf_len % period_len) buf_len 411 drivers/dma/dma-jz4780.c periods = buf_len / period_len; buf_len 1116 drivers/dma/ep93xx_dma.c size_t buf_len, size_t period_len, buf_len 1145 drivers/dma/ep93xx_dma.c for (offset = 0; offset < buf_len; offset += period_len) { buf_len 443 drivers/dma/fsl-edma-common.c struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len, buf_len 460 drivers/dma/fsl-edma-common.c sg_len = buf_len / period_len; buf_len 483 drivers/dma/fsl-edma-common.c if (dma_buf_next >= dma_addr + buf_len) buf_len 235 drivers/dma/fsl-edma-common.h struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len, buf_len 367 drivers/dma/img-mdc-dma.c struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, buf_len 377 drivers/dma/img-mdc-dma.c if (!buf_len && !period_len) buf_len 391 drivers/dma/img-mdc-dma.c mdesc->list_xfer_size = buf_len; buf_len 395 drivers/dma/img-mdc-dma.c while (buf_len > 0) { buf_len 396 drivers/dma/img-mdc-dma.c size_t remainder = min(period_len, buf_len); buf_len 433 drivers/dma/img-mdc-dma.c buf_len -= xfer_size; buf_len 476 drivers/dma/img-mdc-dma.c size_t buf_len = sg_dma_len(sg); buf_len 478 drivers/dma/img-mdc-dma.c while (buf_len > 0) { buf_len 495 drivers/dma/img-mdc-dma.c buf_len); buf_len 512 drivers/dma/img-mdc-dma.c buf_len -= xfer_size; buf_len 867 drivers/dma/imx-dma.c struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len, buf_len 875 drivers/dma/imx-dma.c unsigned int periods = buf_len / period_len; buf_len 878 drivers/dma/imx-dma.c __func__, imxdmac->channel, buf_len, period_len); buf_len 1525 drivers/dma/imx-sdma.c struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len, buf_len 1531 drivers/dma/imx-sdma.c int num_periods = buf_len / period_len; buf_len 1554 drivers/dma/imx-sdma.c while (buf < buf_len) { buf_len 590 drivers/dma/k3dma.c size_t buf_len, size_t period_len, buf_len 604 drivers/dma/k3dma.c buf_len, period_len, (int)dir); buf_len 606 drivers/dma/k3dma.c avail = buf_len; buf_len 616 drivers/dma/k3dma.c avail = buf_len; buf_len 122 drivers/dma/mmp_tdma.c size_t buf_len; buf_len 423 drivers/dma/mmp_tdma.c struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len, buf_len 429 drivers/dma/mmp_tdma.c int num_periods = buf_len / period_len; buf_len 451 drivers/dma/mmp_tdma.c while (buf < buf_len) { buf_len 477 drivers/dma/mmp_tdma.c tdmac->buf_len = buf_len; buf_len 536 drivers/dma/mmp_tdma.c tdmac->buf_len - tdmac->pos); buf_len 594 drivers/dma/mxs-dma.c struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len, buf_len 600 drivers/dma/mxs-dma.c u32 num_periods = buf_len / period_len; buf_len 624 drivers/dma/mxs-dma.c while (buf < buf_len) { buf_len 941 drivers/dma/owl-dma.c dma_addr_t buf_addr, size_t buf_len, buf_len 952 drivers/dma/owl-dma.c unsigned int periods = buf_len / period_len; buf_len 1191 drivers/dma/sh/rcar-dmac.c size_t buf_len, size_t period_len, buf_len 1201 drivers/dma/sh/rcar-dmac.c if (rchan->mid_rid < 0 || buf_len < period_len) { buf_len 1204 drivers/dma/sh/rcar-dmac.c __func__, buf_len, period_len, rchan->mid_rid); buf_len 1211 drivers/dma/sh/rcar-dmac.c sg_len = buf_len / period_len; buf_len 692 drivers/dma/sh/shdma-base.c struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, buf_len 700 drivers/dma/sh/shdma-base.c unsigned int sg_len = buf_len / period_len; buf_len 718 drivers/dma/sh/shdma-base.c if (slave_id < 0 || (buf_len < period_len)) { buf_len 721 drivers/dma/sh/shdma-base.c __func__, buf_len, period_len, slave_id); buf_len 758 drivers/dma/sirf-dma.c size_t buf_len, size_t period_len, buf_len 776 drivers/dma/sirf-dma.c if (buf_len != 2 * period_len) buf_len 796 drivers/dma/sirf-dma.c sdesc->ylen = buf_len / SIRFSOC_DMA_WORD_LEN - 1; buf_len 2510 drivers/dma/ste_dma40.c size_t buf_len, size_t period_len, buf_len 2513 drivers/dma/ste_dma40.c unsigned int periods = buf_len / period_len; buf_len 262 drivers/dma/stm32-dma.c static enum dma_slave_buswidth stm32_dma_get_max_width(u32 buf_len, buf_len 272 drivers/dma/stm32-dma.c while ((buf_len < max_width || buf_len % max_width) && buf_len 303 drivers/dma/stm32-dma.c static bool stm32_dma_is_burst_possible(u32 buf_len, u32 threshold) buf_len 310 drivers/dma/stm32-dma.c return ((buf_len % ((threshold + 1) * 4)) == 0); buf_len 313 drivers/dma/stm32-dma.c static u32 stm32_dma_get_best_burst(u32 buf_len, u32 max_burst, u32 threshold, buf_len 318 drivers/dma/stm32-dma.c if (best_burst == 1 || !stm32_dma_is_burst_possible(buf_len, threshold)) buf_len 321 drivers/dma/stm32-dma.c while ((buf_len < best_burst * width && best_burst > 1) || buf_len 695 drivers/dma/stm32-dma.c u32 buf_len) buf_len 717 drivers/dma/stm32-dma.c dst_best_burst = stm32_dma_get_best_burst(buf_len, buf_len 727 drivers/dma/stm32-dma.c src_addr_width = stm32_dma_get_max_width(buf_len, threshold); buf_len 735 drivers/dma/stm32-dma.c src_best_burst = stm32_dma_get_best_burst(buf_len, buf_len 765 drivers/dma/stm32-dma.c src_best_burst = stm32_dma_get_best_burst(buf_len, buf_len 775 drivers/dma/stm32-dma.c dst_addr_width = stm32_dma_get_max_width(buf_len, threshold); buf_len 783 drivers/dma/stm32-dma.c dst_best_burst = stm32_dma_get_best_burst(buf_len, buf_len 894 drivers/dma/stm32-dma.c struct dma_chan *c, dma_addr_t buf_addr, size_t buf_len, buf_len 904 drivers/dma/stm32-dma.c if (!buf_len || !period_len) { buf_len 914 drivers/dma/stm32-dma.c if (buf_len % period_len) { buf_len 941 drivers/dma/stm32-dma.c if (buf_len == period_len) buf_len 949 drivers/dma/stm32-dma.c num_periods = buf_len / period_len; buf_len 397 drivers/dma/stm32-mdma.c u32 buf_len, u32 tlen) buf_len 408 drivers/dma/stm32-mdma.c if ((((buf_len | addr) & (max_width - 1)) == 0) && buf_len 416 drivers/dma/stm32-mdma.c static u32 stm32_mdma_get_best_burst(u32 buf_len, u32 tlen, u32 max_burst, buf_len 421 drivers/dma/stm32-mdma.c best_burst = min((u32)1 << __ffs(tlen | buf_len), buf_len 499 drivers/dma/stm32-mdma.c u32 buf_len) buf_len 577 drivers/dma/stm32-mdma.c dst_best_burst = stm32_mdma_get_best_burst(buf_len, tlen, buf_len 585 drivers/dma/stm32-mdma.c src_addr_width = stm32_mdma_get_max_width(addr, buf_len, tlen); buf_len 597 drivers/dma/stm32-mdma.c src_best_burst = stm32_mdma_get_best_burst(buf_len, tlen, buf_len 626 drivers/dma/stm32-mdma.c src_best_burst = stm32_mdma_get_best_burst(buf_len, tlen, buf_len 633 drivers/dma/stm32-mdma.c dst_addr_width = stm32_mdma_get_max_width(addr, buf_len, tlen); buf_len 645 drivers/dma/stm32-mdma.c dst_best_burst = stm32_mdma_get_best_burst(buf_len, tlen, buf_len 822 drivers/dma/stm32-mdma.c size_t buf_len, size_t period_len, buf_len 845 drivers/dma/stm32-mdma.c if (!buf_len || !period_len || period_len > STM32_MDMA_MAX_BLOCK_LEN) { buf_len 850 drivers/dma/stm32-mdma.c if (buf_len % period_len) { buf_len 855 drivers/dma/stm32-mdma.c count = buf_len / period_len; buf_len 764 drivers/dma/sun6i-dma.c size_t buf_len, buf_len 776 drivers/dma/sun6i-dma.c unsigned int i, periods = buf_len / period_len; buf_len 1124 drivers/dma/tegra20-apb-dma.c struct dma_chan *dc, dma_addr_t buf_addr, size_t buf_len, buf_len 1138 drivers/dma/tegra20-apb-dma.c if (!buf_len || !period_len) { buf_len 1163 drivers/dma/tegra20-apb-dma.c if (buf_len % period_len) { buf_len 1209 drivers/dma/tegra20-apb-dma.c dma_desc->bytes_requested = buf_len; buf_len 1210 drivers/dma/tegra20-apb-dma.c remain_len = buf_len; buf_len 122 drivers/dma/tegra210-adma.c size_t buf_len; buf_len 404 drivers/dma/tegra210-adma.c return desc->buf_len - (periods_remaining * desc->period_len); buf_len 609 drivers/dma/tegra210-adma.c struct dma_chan *dc, dma_addr_t buf_addr, size_t buf_len, buf_len 616 drivers/dma/tegra210-adma.c if (!buf_len || !period_len || period_len > ADMA_CH_TC_COUNT_MASK) { buf_len 621 drivers/dma/tegra210-adma.c if (buf_len % period_len) { buf_len 635 drivers/dma/tegra210-adma.c desc->buf_len = buf_len; buf_len 637 drivers/dma/tegra210-adma.c desc->num_periods = buf_len / period_len; buf_len 1266 drivers/dma/ti/edma.c struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, buf_len 1279 drivers/dma/ti/edma.c if (unlikely(!echan || !buf_len || !period_len)) buf_len 1302 drivers/dma/ti/edma.c if (unlikely(buf_len % period_len)) { buf_len 1307 drivers/dma/ti/edma.c nslots = (buf_len / period_len) + 1; buf_len 1325 drivers/dma/ti/edma.c period_len = buf_len; buf_len 1339 drivers/dma/ti/edma.c edesc->residue = edesc->residue_stat = buf_len; buf_len 1344 drivers/dma/ti/edma.c __func__, echan->ch_num, nslots, period_len, buf_len); buf_len 1068 drivers/dma/ti/omap-dma.c struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, buf_len 1118 drivers/dma/ti/omap-dma.c d->sg[0].fn = buf_len / period_len; buf_len 1875 drivers/dma/xilinx/xilinx_dma.c struct dma_chan *dchan, dma_addr_t buf_addr, size_t buf_len, buf_len 1890 drivers/dma/xilinx/xilinx_dma.c num_periods = buf_len / period_len; buf_len 604 drivers/dma/zx_dma.c struct dma_chan *chan, dma_addr_t dma_addr, size_t buf_len, buf_len 611 drivers/dma/zx_dma.c int num_periods = buf_len / period_len; buf_len 627 drivers/dma/zx_dma.c while (buf < buf_len) { buf_len 642 drivers/dma/zx_dma.c ds->size = buf_len; buf_len 293 drivers/fsi/fsi-occ.c size_t cmd_len, buf_len, resp_len, resp_data_len; buf_len 304 drivers/fsi/fsi-occ.c buf_len = max(cmd_len, resp_len); buf_len 305 drivers/fsi/fsi-occ.c buf = kzalloc(buf_len << 2, GFP_KERNEL); buf_len 413 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c int i, buf_len, ret; buf_len 422 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c buf_len = snprintf(buf, PAGE_SIZE, "states: %d\n", data.nums); buf_len 424 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c buf_len += snprintf(buf + buf_len, PAGE_SIZE, "%d %s\n", i, buf_len 430 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c return buf_len; buf_len 473 drivers/gpu/drm/drm_ioctl.c static int drm_copy_field(char __user *buf, size_t *buf_len, const char *value) buf_len 479 drivers/gpu/drm/drm_ioctl.c if (len > *buf_len) buf_len 480 drivers/gpu/drm/drm_ioctl.c len = *buf_len; buf_len 484 drivers/gpu/drm/drm_ioctl.c *buf_len = strlen(value); buf_len 27 drivers/gpu/drm/vboxvideo/hgsmi_base.c p->buf_len = sizeof(struct hgsmi_host_flags); buf_len 16 drivers/gpu/drm/vboxvideo/hgsmi_ch_setup.h u32 buf_len; buf_len 193 drivers/hv/hv_fcopy.c u32 buf_len; buf_len 205 drivers/hv/hv_fcopy.c buf_len = fcopy_transaction.recv_len; buf_len 221 drivers/hv/hv_fcopy.c vmbus_sendpacket(channel, recv_buffer, buf_len, req_id, buf_len 522 drivers/hv/hv_kvp.c u32 buf_len; buf_len 532 drivers/hv/hv_kvp.c buf_len = kvp_transaction.recv_len; buf_len 620 drivers/hv/hv_kvp.c vmbus_sendpacket(channel, recv_buffer, buf_len, req_id, buf_len 250 drivers/hv/hv_snapshot.c u32 buf_len; buf_len 259 drivers/hv/hv_snapshot.c buf_len = vss_transaction.recv_len; buf_len 277 drivers/hv/hv_snapshot.c vmbus_sendpacket(channel, recv_buffer, buf_len, req_id, buf_len 109 drivers/i2c/busses/i2c-at91-master.c dev->buf_len, dma->direction); buf_len 118 drivers/i2c/busses/i2c-at91-master.c if (!dev->buf_len) buf_len 125 drivers/i2c/busses/i2c-at91-master.c if (--dev->buf_len == 0) { buf_len 131 drivers/i2c/busses/i2c-at91-master.c dev_dbg(dev->dev, "wrote 0x%x, to go %zu\n", *dev->buf, dev->buf_len); buf_len 141 drivers/i2c/busses/i2c-at91-master.c dev->buf_len, DMA_TO_DEVICE); buf_len 163 drivers/i2c/busses/i2c-at91-master.c if (!dev->buf_len) buf_len 169 drivers/i2c/busses/i2c-at91-master.c dma_addr = dma_map_single(dev->dev, dev->buf, dev->buf_len, buf_len 185 drivers/i2c/busses/i2c-at91-master.c part1_len = dev->buf_len & ~0x3; buf_len 192 drivers/i2c/busses/i2c-at91-master.c part2_len = dev->buf_len & 0x3; buf_len 208 drivers/i2c/busses/i2c-at91-master.c sg_dma_len(&dma->sg[0]) = dev->buf_len; buf_len 239 drivers/i2c/busses/i2c-at91-master.c if (!dev->buf_len) { buf_len 246 drivers/i2c/busses/i2c-at91-master.c --dev->buf_len; buf_len 257 drivers/i2c/busses/i2c-at91-master.c dev->buf_len += *dev->buf; buf_len 258 drivers/i2c/busses/i2c-at91-master.c dev->msg->len = dev->buf_len + 1; buf_len 260 drivers/i2c/busses/i2c-at91-master.c dev->buf_len); buf_len 264 drivers/i2c/busses/i2c-at91-master.c dev->buf_len = 1; buf_len 269 drivers/i2c/busses/i2c-at91-master.c if (!dev->use_alt_cmd && dev->buf_len == 1) buf_len 272 drivers/i2c/busses/i2c-at91-master.c dev_dbg(dev->dev, "read 0x%x, to go %zu\n", *dev->buf, dev->buf_len); buf_len 283 drivers/i2c/busses/i2c-at91-master.c dev->buf_len, DMA_FROM_DEVICE); buf_len 287 drivers/i2c/busses/i2c-at91-master.c dev->buf += dev->buf_len - 2; buf_len 288 drivers/i2c/busses/i2c-at91-master.c dev->buf_len = 2; buf_len 300 drivers/i2c/busses/i2c-at91-master.c size_t buf_len; buf_len 302 drivers/i2c/busses/i2c-at91-master.c buf_len = (dev->use_alt_cmd) ? dev->buf_len : dev->buf_len - 2; buf_len 307 drivers/i2c/busses/i2c-at91-master.c dma_addr = dma_map_single(dev->dev, dev->buf, buf_len, DMA_FROM_DEVICE); buf_len 315 drivers/i2c/busses/i2c-at91-master.c if (dev->fifo_size && IS_ALIGNED(buf_len, 4)) { buf_len 328 drivers/i2c/busses/i2c-at91-master.c sg_dma_len(&dma->sg[0]) = buf_len; buf_len 488 drivers/i2c/busses/i2c-at91-master.c (dev->msg->flags & I2C_M_RD) ? "read" : "write", dev->buf_len); buf_len 511 drivers/i2c/busses/i2c-at91-master.c if (!dev->buf_len) { buf_len 518 drivers/i2c/busses/i2c-at91-master.c if (!dev->use_alt_cmd && dev->buf_len <= 1 && buf_len 531 drivers/i2c/busses/i2c-at91-master.c if (dev->use_dma && (dev->buf_len > AT91_I2C_DMA_THRESHOLD)) { buf_len 541 drivers/i2c/busses/i2c-at91-master.c if (dev->use_dma && (dev->buf_len > AT91_I2C_DMA_THRESHOLD)) { buf_len 548 drivers/i2c/busses/i2c-at91-master.c (dev->buf_len ? AT91_TWI_TXRDY : 0)); buf_len 654 drivers/i2c/busses/i2c-at91-master.c dev->buf_len = m_start->len; buf_len 130 drivers/i2c/busses/i2c-at91.h size_t buf_len; buf_len 127 drivers/i2c/busses/i2c-davinci.c size_t buf_len; buf_len 435 drivers/i2c/busses/i2c-davinci.c dev->buf_len = msg->len; buf_len 438 drivers/i2c/busses/i2c-davinci.c davinci_i2c_write_reg(dev, DAVINCI_I2C_CNT_REG, dev->buf_len); buf_len 478 drivers/i2c/busses/i2c-davinci.c if ((!(msg->flags & I2C_M_RD)) && dev->buf_len) { buf_len 480 drivers/i2c/busses/i2c-davinci.c dev->buf_len--; buf_len 494 drivers/i2c/busses/i2c-davinci.c dev->buf_len = 0; buf_len 497 drivers/i2c/busses/i2c-davinci.c if (dev->buf_len) { buf_len 502 drivers/i2c/busses/i2c-davinci.c dev->buf_len); buf_len 505 drivers/i2c/busses/i2c-davinci.c dev->buf_len = 0; buf_len 623 drivers/i2c/busses/i2c-davinci.c dev->buf_len = 0; buf_len 629 drivers/i2c/busses/i2c-davinci.c dev->buf_len = 0; buf_len 636 drivers/i2c/busses/i2c-davinci.c if (((dev->buf_len == 0) && (dev->stop != 0)) || buf_len 648 drivers/i2c/busses/i2c-davinci.c if (dev->buf_len) { buf_len 652 drivers/i2c/busses/i2c-davinci.c dev->buf_len--; buf_len 653 drivers/i2c/busses/i2c-davinci.c if (dev->buf_len) buf_len 666 drivers/i2c/busses/i2c-davinci.c if (dev->buf_len) { buf_len 669 drivers/i2c/busses/i2c-davinci.c dev->buf_len--; buf_len 670 drivers/i2c/busses/i2c-davinci.c if (dev->buf_len) buf_len 246 drivers/i2c/busses/i2c-designware-master.c u32 buf_len = dev->tx_buf_len; buf_len 270 drivers/i2c/busses/i2c-designware-master.c buf_len = msgs[dev->msg_write_idx].len; buf_len 284 drivers/i2c/busses/i2c-designware-master.c while (buf_len > 0 && tx_limit > 0 && rx_limit > 0) { buf_len 301 drivers/i2c/busses/i2c-designware-master.c buf_len == 1 && !(flags & I2C_M_RECV_LEN)) buf_len 320 drivers/i2c/busses/i2c-designware-master.c tx_limit--; buf_len--; buf_len 324 drivers/i2c/busses/i2c-designware-master.c dev->tx_buf_len = buf_len; buf_len 331 drivers/i2c/busses/i2c-designware-master.c if (buf_len > 0 || flags & I2C_M_RECV_LEN) { buf_len 79 drivers/i2c/busses/i2c-dln2.c __le16 buf_len; buf_len 90 drivers/i2c/busses/i2c-dln2.c tx->buf_len = cpu_to_le16(data_len); buf_len 110 drivers/i2c/busses/i2c-dln2.c __le16 buf_len; buf_len 113 drivers/i2c/busses/i2c-dln2.c __le16 buf_len; buf_len 124 drivers/i2c/busses/i2c-dln2.c tx.buf_len = cpu_to_le16(data_len); buf_len 130 drivers/i2c/busses/i2c-dln2.c if (rx_len < sizeof(rx->buf_len) + data_len) buf_len 132 drivers/i2c/busses/i2c-dln2.c if (le16_to_cpu(rx->buf_len) != data_len) buf_len 48 drivers/i2c/busses/i2c-highlander.c size_t buf_len; buf_len 241 drivers/i2c/busses/i2c-highlander.c cnt = (dev->buf_len + 1) >> 1; buf_len 247 drivers/i2c/busses/i2c-highlander.c smbus_read_data(data, dev->buf, dev->buf_len); buf_len 259 drivers/i2c/busses/i2c-highlander.c smbus_write_data(dev->buf, data, dev->buf_len); buf_len 261 drivers/i2c/busses/i2c-highlander.c cnt = (dev->buf_len + 1) >> 1; buf_len 294 drivers/i2c/busses/i2c-highlander.c dev->buf_len = 1; buf_len 298 drivers/i2c/busses/i2c-highlander.c dev->buf_len = data->block[0]; buf_len 311 drivers/i2c/busses/i2c-highlander.c switch (dev->buf_len) { buf_len 325 drivers/i2c/busses/i2c-highlander.c dev_err(dev->dev, "unsupported xfer size %d\n", dev->buf_len); buf_len 337 drivers/i2c/busses/i2c-highlander.c highlander_i2c_command(dev, command, dev->buf_len); buf_len 194 drivers/i2c/busses/i2c-omap.c size_t buf_len; buf_len 677 drivers/i2c/busses/i2c-omap.c omap->buf_len = msg->len; buf_len 682 drivers/i2c/busses/i2c-omap.c omap_i2c_write_reg(omap, OMAP_I2C_CNT_REG, omap->buf_len); buf_len 923 drivers/i2c/busses/i2c-omap.c if (omap->buf_len) { buf_len 926 drivers/i2c/busses/i2c-omap.c omap->buf_len--; buf_len 927 drivers/i2c/busses/i2c-omap.c if (omap->buf_len) { buf_len 929 drivers/i2c/busses/i2c-omap.c omap->buf_len--; buf_len 935 drivers/i2c/busses/i2c-omap.c if (omap->buf_len) { buf_len 937 drivers/i2c/busses/i2c-omap.c omap->buf_len--; buf_len 938 drivers/i2c/busses/i2c-omap.c if (omap->buf_len) { buf_len 940 drivers/i2c/busses/i2c-omap.c omap->buf_len--; buf_len 1007 drivers/i2c/busses/i2c-omap.c omap->buf_len--; buf_len 1015 drivers/i2c/busses/i2c-omap.c omap->buf_len--; buf_len 1027 drivers/i2c/busses/i2c-omap.c omap->buf_len--; buf_len 1035 drivers/i2c/busses/i2c-omap.c omap->buf_len--; buf_len 1129 drivers/i2c/busses/i2c-omap.c num_bytes = omap->buf_len; buf_len 1158 drivers/i2c/busses/i2c-omap.c num_bytes = omap->buf_len; buf_len 5299 drivers/infiniband/hw/hfi1/chip.c static char *flag_string(char *buf, int buf_len, u64 flags, buf_len 5304 drivers/infiniband/hw/hfi1/chip.c int len = buf_len; buf_len 5483 drivers/infiniband/hw/hfi1/chip.c static char *cce_err_status_string(char *buf, int buf_len, u64 flags) buf_len 5485 drivers/infiniband/hw/hfi1/chip.c return flag_string(buf, buf_len, flags, buf_len 5490 drivers/infiniband/hw/hfi1/chip.c static char *rxe_err_status_string(char *buf, int buf_len, u64 flags) buf_len 5492 drivers/infiniband/hw/hfi1/chip.c return flag_string(buf, buf_len, flags, buf_len 5497 drivers/infiniband/hw/hfi1/chip.c static char *misc_err_status_string(char *buf, int buf_len, u64 flags) buf_len 5499 drivers/infiniband/hw/hfi1/chip.c return flag_string(buf, buf_len, flags, misc_err_status_flags, buf_len 5503 drivers/infiniband/hw/hfi1/chip.c static char *pio_err_status_string(char *buf, int buf_len, u64 flags) buf_len 5505 drivers/infiniband/hw/hfi1/chip.c return flag_string(buf, buf_len, flags, buf_len 5510 drivers/infiniband/hw/hfi1/chip.c static char *sdma_err_status_string(char *buf, int buf_len, u64 flags) buf_len 5512 drivers/infiniband/hw/hfi1/chip.c return flag_string(buf, buf_len, flags, buf_len 5517 drivers/infiniband/hw/hfi1/chip.c static char *egress_err_status_string(char *buf, int buf_len, u64 flags) buf_len 5519 drivers/infiniband/hw/hfi1/chip.c return flag_string(buf, buf_len, flags, buf_len 5524 drivers/infiniband/hw/hfi1/chip.c static char *egress_err_info_string(char *buf, int buf_len, u64 flags) buf_len 5526 drivers/infiniband/hw/hfi1/chip.c return flag_string(buf, buf_len, flags, buf_len 5531 drivers/infiniband/hw/hfi1/chip.c static char *send_err_status_string(char *buf, int buf_len, u64 flags) buf_len 5533 drivers/infiniband/hw/hfi1/chip.c return flag_string(buf, buf_len, flags, buf_len 5952 drivers/infiniband/hw/hfi1/chip.c static char *send_context_err_status_string(char *buf, int buf_len, u64 flags) buf_len 5954 drivers/infiniband/hw/hfi1/chip.c return flag_string(buf, buf_len, flags, buf_len 7720 drivers/infiniband/hw/hfi1/chip.c static char *dcc_err_string(char *buf, int buf_len, u64 flags) buf_len 7722 drivers/infiniband/hw/hfi1/chip.c return flag_string(buf, buf_len, flags, dcc_err_flags, buf_len 7726 drivers/infiniband/hw/hfi1/chip.c static char *lcb_err_string(char *buf, int buf_len, u64 flags) buf_len 7728 drivers/infiniband/hw/hfi1/chip.c return flag_string(buf, buf_len, flags, lcb_err_flags, buf_len 7732 drivers/infiniband/hw/hfi1/chip.c static char *dc8051_err_string(char *buf, int buf_len, u64 flags) buf_len 7734 drivers/infiniband/hw/hfi1/chip.c return flag_string(buf, buf_len, flags, dc8051_err_flags, buf_len 7738 drivers/infiniband/hw/hfi1/chip.c static char *dc8051_info_err_string(char *buf, int buf_len, u64 flags) buf_len 7740 drivers/infiniband/hw/hfi1/chip.c return flag_string(buf, buf_len, flags, dc8051_info_err_flags, buf_len 7744 drivers/infiniband/hw/hfi1/chip.c static char *dc8051_info_host_msg_string(char *buf, int buf_len, u64 flags) buf_len 7746 drivers/infiniband/hw/hfi1/chip.c return flag_string(buf, buf_len, flags, dc8051_info_host_msg_flags, buf_len 3646 drivers/infiniband/hw/i40iw/i40iw_cm.c u16 buf_len = 0; buf_len 3691 drivers/infiniband/hw/i40iw/i40iw_cm.c buf_len = conn_param->private_data_len + I40IW_MAX_IETF_SIZE; buf_len 3693 drivers/infiniband/hw/i40iw/i40iw_cm.c status = i40iw_allocate_dma_mem(dev->hw, &iwqp->ietf_mem, buf_len, 1); buf_len 3712 drivers/infiniband/hw/i40iw/i40iw_cm.c buf_len, buf_len 268 drivers/infiniband/hw/qedr/qedr.h size_t buf_len; buf_len 701 drivers/infiniband/hw/qedr/verbs.c size_t buf_len, int access, int dmasync, buf_len 708 drivers/infiniband/hw/qedr/verbs.c q->buf_len = buf_len; buf_len 709 drivers/infiniband/hw/qedr/verbs.c q->umem = ib_umem_get(udata, q->buf_addr, q->buf_len, access, dmasync); buf_len 1555 drivers/infiniband/hw/qedr/verbs.c qp->usq.buf_len, qp->urq.buf_addr, qp->urq.buf_len); buf_len 451 drivers/input/mouse/cyapa_gen5.c int buf_len; buf_len 454 drivers/input/mouse/cyapa_gen5.c buf_len = 0; buf_len 456 drivers/input/mouse/cyapa_gen5.c buf_len = (*len < CYAPA_REG_MAP_SIZE) ? buf_len 494 drivers/input/mouse/cyapa_gen5.c if (buf && buf_len && func && buf_len 496 drivers/input/mouse/cyapa_gen5.c length = min(buf_len, length); buf_len 514 drivers/input/mouse/cyapa_gen5.c } else if (buf && buf_len && func && buf_len 516 drivers/input/mouse/cyapa_gen5.c length = min(buf_len, length); buf_len 1859 drivers/input/mouse/cyapa_gen5.c static s32 cyapa_parse_structure_data(u8 data_format, u8 *buf, int buf_len) buf_len 1870 drivers/input/mouse/cyapa_gen5.c if (buf_len < data_size) buf_len 93 drivers/input/touchscreen/usbtouchscreen.c int buf_len; buf_len 1413 drivers/input/touchscreen/usbtouchscreen.c int pkt_len, pos, buf_len, tmp; buf_len 1416 drivers/input/touchscreen/usbtouchscreen.c if (unlikely(usbtouch->buf_len)) { buf_len 1419 drivers/input/touchscreen/usbtouchscreen.c usbtouch->buffer, usbtouch->buf_len); buf_len 1430 drivers/input/touchscreen/usbtouchscreen.c if (usbtouch->buf_len + append >= usbtouch->type->rept_size) buf_len 1432 drivers/input/touchscreen/usbtouchscreen.c memcpy(usbtouch->buffer + usbtouch->buf_len, pkt, append); buf_len 1433 drivers/input/touchscreen/usbtouchscreen.c usbtouch->buf_len += append; buf_len 1436 drivers/input/touchscreen/usbtouchscreen.c usbtouch->buffer, usbtouch->buf_len); buf_len 1442 drivers/input/touchscreen/usbtouchscreen.c tmp = pkt_len - usbtouch->buf_len; buf_len 1443 drivers/input/touchscreen/usbtouchscreen.c if (usbtouch->buf_len + tmp >= usbtouch->type->rept_size) buf_len 1445 drivers/input/touchscreen/usbtouchscreen.c memcpy(usbtouch->buffer + usbtouch->buf_len, pkt, tmp); buf_len 1449 drivers/input/touchscreen/usbtouchscreen.c buf_len = len - tmp; buf_len 1452 drivers/input/touchscreen/usbtouchscreen.c buf_len = len; buf_len 1457 drivers/input/touchscreen/usbtouchscreen.c while (pos < buf_len) { buf_len 1460 drivers/input/touchscreen/usbtouchscreen.c buf_len - pos); buf_len 1469 drivers/input/touchscreen/usbtouchscreen.c if (likely((pkt_len > 0) && (pkt_len <= buf_len - pos))) { buf_len 1473 drivers/input/touchscreen/usbtouchscreen.c memcpy(usbtouch->buffer, buffer + pos, buf_len - pos); buf_len 1474 drivers/input/touchscreen/usbtouchscreen.c usbtouch->buf_len = buf_len - pos; buf_len 1481 drivers/input/touchscreen/usbtouchscreen.c usbtouch->buf_len = 0; buf_len 195 drivers/leds/led-class-flash.c int i, ret, buf_len; buf_len 205 drivers/leds/led-class-flash.c buf_len = sprintf(pbuf, "%s ", buf_len 207 drivers/leds/led-class-flash.c pbuf += buf_len; buf_len 521 drivers/mailbox/bcm-pdc-mailbox.c u32 buf_len, u32 flags) buf_len 528 drivers/mailbox/bcm-pdc-mailbox.c pdcs->pdc_idx, pdcs->rxout, buf_len, flags); buf_len 533 drivers/mailbox/bcm-pdc-mailbox.c rxd->ctrl2 = cpu_to_le32(buf_len); buf_len 548 drivers/mailbox/bcm-pdc-mailbox.c pdc_build_txd(struct pdc_state *pdcs, dma_addr_t dma_addr, u32 buf_len, buf_len 556 drivers/mailbox/bcm-pdc-mailbox.c pdcs->pdc_idx, pdcs->txout, buf_len, flags); buf_len 561 drivers/mailbox/bcm-pdc-mailbox.c txd->ctrl2 = cpu_to_le32(buf_len); buf_len 308 drivers/media/dvb-core/dvb_net.c size_t buf_len; buf_len 758 drivers/media/dvb-core/dvb_net.c static void dvb_net_ule(struct net_device *dev, const u8 *buf, size_t buf_len) buf_len 766 drivers/media/dvb-core/dvb_net.c .buf_len = buf_len, buf_len 781 drivers/media/dvb-core/dvb_net.c for (h.ts = h.buf, h.ts_end = h.buf + h.buf_len; buf_len 699 drivers/media/dvb-frontends/dvb-pll.c u8 *buf, int buf_len) buf_len 706 drivers/media/dvb-frontends/dvb-pll.c if (buf_len < 5) buf_len 142 drivers/media/pci/bt8xx/dvb-bt8xx.c static int thomson_dtt7579_tuner_calc_regs(struct dvb_frontend *fe, u8* pllbuf, int buf_len) buf_len 149 drivers/media/pci/bt8xx/dvb-bt8xx.c if (buf_len < 5) buf_len 337 drivers/media/pci/bt8xx/dvb-bt8xx.c static int advbt771_samsung_tdtc9251dh0_tuner_calc_regs(struct dvb_frontend *fe, u8 *pllbuf, int buf_len) buf_len 344 drivers/media/pci/bt8xx/dvb-bt8xx.c if (buf_len < 5) return -EINVAL; buf_len 506 drivers/media/pci/bt8xx/dvb-bt8xx.c static int digitv_alps_tded4_tuner_calc_regs(struct dvb_frontend *fe, u8 *pllbuf, int buf_len) buf_len 511 drivers/media/pci/bt8xx/dvb-bt8xx.c if (buf_len < 5) buf_len 186 drivers/media/pci/tw686x/tw686x-video.c unsigned int buf_len) buf_len 201 drivers/media/pci/tw686x/tw686x-video.c while (len && buf_len) { buf_len 208 drivers/media/pci/tw686x/tw686x-video.c entry_len = min_t(unsigned int, entry_len, buf_len); buf_len 214 drivers/media/pci/tw686x/tw686x-video.c buf_len -= entry_len; buf_len 217 drivers/media/pci/tw686x/tw686x-video.c if (!buf_len) buf_len 231 drivers/media/pci/tw686x/tw686x-video.c unsigned int buf_len; buf_len 237 drivers/media/pci/tw686x/tw686x-video.c buf_len = (vc->width * vc->height * vc->format->depth) >> 3; buf_len 238 drivers/media/pci/tw686x/tw686x-video.c if (tw686x_sg_desc_fill(vc->sg_descs[pb], buf, buf_len)) { buf_len 596 drivers/media/rc/mceusb.c static void mceusb_dev_printdata(struct mceusb_dev *ir, u8 *buf, int buf_len, buf_len 605 drivers/media/rc/mceusb.c if (offset < 0 || offset >= buf_len) buf_len 610 drivers/media/rc/mceusb.c min(len, buf_len - offset), buf + offset, len, buf_len); buf_len 615 drivers/media/rc/mceusb.c subcmd = (offset + 1 < buf_len) ? buf[offset + 1] : 0; buf_len 636 drivers/media/rc/mceusb.c if (offset + len > buf_len) buf_len 1257 drivers/media/rc/mceusb.c static void mceusb_process_ir_data(struct mceusb_dev *ir, int buf_len) buf_len 1268 drivers/media/rc/mceusb.c if (buf_len <= i) buf_len 1271 drivers/media/rc/mceusb.c for (; i < buf_len; i++) { buf_len 1275 drivers/media/rc/mceusb.c mceusb_dev_printdata(ir, ir->buf_in, buf_len, i - 1, buf_len 1277 drivers/media/rc/mceusb.c if (i + ir->rem < buf_len) buf_len 1324 drivers/media/rc/mceusb.c mceusb_dev_printdata(ir, ir->buf_in, buf_len, buf_len 218 drivers/media/rc/nuvoton-cir.c ssize_t buf_len = 0; buf_len 233 drivers/media/rc/nuvoton-cir.c buf_len += snprintf(buf + buf_len, PAGE_SIZE - buf_len, buf_len 236 drivers/media/rc/nuvoton-cir.c buf_len += snprintf(buf + buf_len, PAGE_SIZE - buf_len, "\n"); buf_len 240 drivers/media/rc/nuvoton-cir.c return buf_len; buf_len 888 drivers/media/tuners/tuner-simple.c u8 *buf, int buf_len) buf_len 896 drivers/media/tuners/tuner-simple.c if (buf_len < 5) buf_len 125 drivers/media/usb/dvb-usb/vp702x.c if (buflen > st->buf_len) { buf_len 134 drivers/media/usb/dvb-usb/vp702x.c st->buf_len = buflen; buf_len 342 drivers/media/usb/dvb-usb/vp702x.c st->buf_len = 16; buf_len 343 drivers/media/usb/dvb-usb/vp702x.c st->buf = kmalloc(st->buf_len, GFP_KERNEL); buf_len 104 drivers/media/usb/dvb-usb/vp702x.h int buf_len; buf_len 955 drivers/media/usb/go7007/go7007-usb.c int buf_len, i; buf_len 978 drivers/media/usb/go7007/go7007-usb.c buf_len = msgs[i].len + 3; buf_len 979 drivers/media/usb/go7007/go7007-usb.c buf[buf_len++] = msgs[++i].len; buf_len 989 drivers/media/usb/go7007/go7007-usb.c buf_len = 4; buf_len 999 drivers/media/usb/go7007/go7007-usb.c buf_len = msgs[i].len + 3; buf_len 1000 drivers/media/usb/go7007/go7007-usb.c buf[buf_len++] = 0; buf_len 1003 drivers/media/usb/go7007/go7007-usb.c buf, buf_len, 0) < 0) buf_len 51 drivers/media/usb/rainshadow-cec/rainshadow-cec.c unsigned int buf_len; buf_len 117 drivers/media/usb/rainshadow-cec/rainshadow-cec.c if (!rain->buf_len) { buf_len 123 drivers/media/usb/rainshadow-cec/rainshadow-cec.c rain->buf_len--; buf_len 174 drivers/media/usb/rainshadow-cec/rainshadow-cec.c if (rain->buf_len == DATA_SIZE) { buf_len 179 drivers/media/usb/rainshadow-cec/rainshadow-cec.c rain->buf_len++; buf_len 347 drivers/media/usb/s2255/s2255drv.c s32 buf_len, int bOut); buf_len 564 drivers/misc/cardreader/rtsx_pcr.c int rtsx_pci_read_ppbuf(struct rtsx_pcr *pcr, u8 *buf, int buf_len) buf_len 571 drivers/misc/cardreader/rtsx_pcr.c if (buf_len > 512) buf_len 572 drivers/misc/cardreader/rtsx_pcr.c buf_len = 512; buf_len 576 drivers/misc/cardreader/rtsx_pcr.c for (i = 0; i < buf_len / 256; i++) { buf_len 590 drivers/misc/cardreader/rtsx_pcr.c if (buf_len % 256) { buf_len 593 drivers/misc/cardreader/rtsx_pcr.c for (j = 0; j < buf_len % 256; j++) buf_len 601 drivers/misc/cardreader/rtsx_pcr.c memcpy(ptr, rtsx_pci_get_cmd_data(pcr), buf_len % 256); buf_len 607 drivers/misc/cardreader/rtsx_pcr.c int rtsx_pci_write_ppbuf(struct rtsx_pcr *pcr, u8 *buf, int buf_len) buf_len 614 drivers/misc/cardreader/rtsx_pcr.c if (buf_len > 512) buf_len 615 drivers/misc/cardreader/rtsx_pcr.c buf_len = 512; buf_len 619 drivers/misc/cardreader/rtsx_pcr.c for (i = 0; i < buf_len / 256; i++) { buf_len 633 drivers/misc/cardreader/rtsx_pcr.c if (buf_len % 256) { buf_len 636 drivers/misc/cardreader/rtsx_pcr.c for (j = 0; j < buf_len % 256; j++) { buf_len 157 drivers/misc/cardreader/rtsx_usb.c int rtsx_usb_read_ppbuf(struct rtsx_ucr *ucr, u8 *buf, int buf_len) buf_len 159 drivers/misc/cardreader/rtsx_usb.c return rtsx_usb_seq_read_register(ucr, PPBUF_BASE2, (u16)buf_len, buf); buf_len 163 drivers/misc/cardreader/rtsx_usb.c int rtsx_usb_write_ppbuf(struct rtsx_ucr *ucr, u8 *buf, int buf_len) buf_len 165 drivers/misc/cardreader/rtsx_usb.c return rtsx_usb_seq_write_register(ucr, PPBUF_BASE2, (u16)buf_len, buf); buf_len 157 drivers/misc/cxl/main.c void cxl_dump_debug_buffer(void *buf, size_t buf_len) buf_len 167 drivers/misc/cxl/main.c for (i = 0; i * 4 < buf_len; i += 4) { buf_len 168 drivers/misc/cxl/main.c if ((i + 3) * 4 < buf_len) buf_len 171 drivers/misc/cxl/main.c else if ((i + 2) * 4 < buf_len) buf_len 174 drivers/misc/cxl/main.c else if ((i + 1) * 4 < buf_len) buf_len 72 drivers/misc/sgi-xp/xpc_partition.c size_t buf_len = 0; buf_len 96 drivers/misc/sgi-xp/xpc_partition.c if (len > buf_len) { buf_len 98 drivers/misc/sgi-xp/xpc_partition.c buf_len = L1_CACHE_ALIGN(len); buf_len 99 drivers/misc/sgi-xp/xpc_partition.c buf = xpc_kmalloc_cacheline_aligned(buf_len, GFP_KERNEL, buf_len 103 drivers/misc/sgi-xp/xpc_partition.c "len=0x%016lx\n", buf_len); buf_len 328 drivers/mmc/host/rtsx_pci_sdmmc.c u16 byte_cnt, u8 *buf, int buf_len, int timeout) buf_len 338 drivers/mmc/host/rtsx_pci_sdmmc.c buf_len = 0; buf_len 368 drivers/mmc/host/rtsx_pci_sdmmc.c if (buf && buf_len) { buf_len 369 drivers/mmc/host/rtsx_pci_sdmmc.c err = rtsx_pci_read_ppbuf(pcr, buf, buf_len); buf_len 381 drivers/mmc/host/rtsx_pci_sdmmc.c struct mmc_command *cmd, u16 byte_cnt, u8 *buf, int buf_len, buf_len 391 drivers/mmc/host/rtsx_pci_sdmmc.c buf_len = 0; buf_len 397 drivers/mmc/host/rtsx_pci_sdmmc.c if (buf && buf_len) { buf_len 398 drivers/mmc/host/rtsx_pci_sdmmc.c err = rtsx_pci_write_ppbuf(pcr, buf, buf_len); buf_len 93 drivers/mmc/host/rtsx_usb_sdmmc.c u16 byte_cnt, u8 *buf, int buf_len, int timeout) buf_len 100 drivers/mmc/host/rtsx_usb_sdmmc.c buf_len = 0; buf_len 180 drivers/mmc/host/rtsx_usb_sdmmc.c if (buf && buf_len) { buf_len 200 drivers/mmc/host/rtsx_usb_sdmmc.c u16 byte_cnt, u8 *buf, int buf_len, int timeout) buf_len 207 drivers/mmc/host/rtsx_usb_sdmmc.c buf_len = 0; buf_len 209 drivers/mmc/host/rtsx_usb_sdmmc.c if (buf && buf_len) { buf_len 210 drivers/mmc/host/rtsx_usb_sdmmc.c err = rtsx_usb_write_ppbuf(ucr, buf, buf_len); buf_len 2402 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c int i, ret, buf_len = 0, nbufs = 0; buf_len 2460 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c buf_len = instr->ctx.data.len; buf_len 2463 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c desc = gpmi_chain_data_write(this, buf_write, buf_len); buf_len 2470 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c buf_len = instr->ctx.data.len; buf_len 2473 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c desc = gpmi_chain_data_read(this, buf_read, buf_len, buf_len 2539 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c gpmi_raw_len_to_len(this, buf_len)); buf_len 165 drivers/mtd/nand/raw/omap2.c int buf_len; buf_len 581 drivers/mtd/nand/raw/omap2.c if (info->buf_len && (info->buf_len < bytes)) buf_len 582 drivers/mtd/nand/raw/omap2.c bytes = info->buf_len; buf_len 583 drivers/mtd/nand/raw/omap2.c else if (!info->buf_len) buf_len 588 drivers/mtd/nand/raw/omap2.c info->buf_len -= bytes; buf_len 639 drivers/mtd/nand/raw/omap2.c info->buf_len = len; buf_len 689 drivers/mtd/nand/raw/omap2.c info->buf_len = len; buf_len 138 drivers/net/dsa/sja1105/sja1105.h void *packed_buf, u64 buf_len); buf_len 145 drivers/net/dsa/sja1105/sja1105_spi.c void *packed_buf, u64 buf_len) buf_len 158 drivers/net/dsa/sja1105/sja1105_spi.c chunk.len = min_t(int, buf_len, SJA1105_SIZE_SPI_MSG_MAXLEN); buf_len 168 drivers/net/dsa/sja1105/sja1105_spi.c distance_to_end = (uintptr_t)(packed_buf + buf_len - buf_len 359 drivers/net/dsa/sja1105/sja1105_spi.c void *config_buf, int buf_len) buf_len 379 drivers/net/dsa/sja1105/sja1105_spi.c crc_len = buf_len - 4; buf_len 381 drivers/net/dsa/sja1105/sja1105_spi.c final_header_ptr = config_buf + buf_len - SJA1105_SIZE_TABLE_HEADER; buf_len 402 drivers/net/dsa/sja1105/sja1105_spi.c int buf_len; buf_len 404 drivers/net/dsa/sja1105/sja1105_spi.c buf_len = sja1105_static_config_get_length(config); buf_len 405 drivers/net/dsa/sja1105/sja1105_spi.c config_buf = kcalloc(buf_len, sizeof(char), GFP_KERNEL); buf_len 409 drivers/net/dsa/sja1105/sja1105_spi.c rc = static_config_buf_prepare_for_upload(priv, config_buf, buf_len); buf_len 442 drivers/net/dsa/sja1105/sja1105_spi.c config_buf, buf_len); buf_len 2097 drivers/net/ethernet/atheros/atl1c/atl1c_main.c u16 buf_len = skb_headlen(skb); buf_len 2127 drivers/net/ethernet/atheros/atl1c/atl1c_main.c if (mapped_len < buf_len) { buf_len 2137 drivers/net/ethernet/atheros/atl1c/atl1c_main.c buffer_info->length = buf_len - mapped_len; buf_len 1698 drivers/net/ethernet/atheros/atl1e/atl1e_main.c u16 buf_len = skb_headlen(skb); buf_len 1730 drivers/net/ethernet/atheros/atl1e/atl1e_main.c while (mapped_len < buf_len) { buf_len 1743 drivers/net/ethernet/atheros/atl1e/atl1e_main.c ((buf_len - mapped_len) >= MAX_TX_BUF_LEN) ? buf_len 1744 drivers/net/ethernet/atheros/atl1e/atl1e_main.c MAX_TX_BUF_LEN : (buf_len - mapped_len); buf_len 1777 drivers/net/ethernet/atheros/atl1e/atl1e_main.c buf_len = skb_frag_size(frag); buf_len 1779 drivers/net/ethernet/atheros/atl1e/atl1e_main.c seg_num = (buf_len + MAX_TX_BUF_LEN - 1) / MAX_TX_BUF_LEN; buf_len 1789 drivers/net/ethernet/atheros/atl1e/atl1e_main.c (buf_len > MAX_TX_BUF_LEN) ? buf_len 1790 drivers/net/ethernet/atheros/atl1e/atl1e_main.c MAX_TX_BUF_LEN : buf_len; buf_len 1791 drivers/net/ethernet/atheros/atl1e/atl1e_main.c buf_len -= tx_buffer->length; buf_len 1875 drivers/net/ethernet/atheros/atlx/atl1.c rfd_desc->buf_len = cpu_to_le16(adapter->rx_buffer_len); buf_len 2190 drivers/net/ethernet/atheros/atlx/atl1.c u16 buf_len = skb->len; buf_len 2200 drivers/net/ethernet/atheros/atlx/atl1.c buf_len -= skb->data_len; buf_len 2222 drivers/net/ethernet/atheros/atlx/atl1.c if (buf_len > hdr_len) { buf_len 2225 drivers/net/ethernet/atheros/atlx/atl1.c data_len = buf_len - hdr_len; buf_len 2249 drivers/net/ethernet/atheros/atlx/atl1.c buffer_info->length = buf_len; buf_len 2253 drivers/net/ethernet/atheros/atlx/atl1.c offset, buf_len, PCI_DMA_TODEVICE); buf_len 2262 drivers/net/ethernet/atheros/atlx/atl1.c buf_len = skb_frag_size(frag); buf_len 2264 drivers/net/ethernet/atheros/atlx/atl1.c nseg = (buf_len + ATL1_MAX_TX_BUF_LEN - 1) / buf_len 2271 drivers/net/ethernet/atheros/atlx/atl1.c buffer_info->length = (buf_len > ATL1_MAX_TX_BUF_LEN) ? buf_len 2272 drivers/net/ethernet/atheros/atlx/atl1.c ATL1_MAX_TX_BUF_LEN : buf_len; buf_len 2273 drivers/net/ethernet/atheros/atlx/atl1.c buf_len -= buffer_info->length; buf_len 424 drivers/net/ethernet/atheros/atlx/atl1.h __le16 buf_len; /* Size of the receive buffer in host memory */ buf_len 144 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c void bnx2x_fill_fw_str(struct bnx2x *bp, char *buf, size_t buf_len) buf_len 152 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c strlcpy(buf, bp->fw_ver, buf_len); buf_len 160 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c bnx2x_vf_fill_fw_str(bp, buf, buf_len); buf_len 1378 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h void bnx2x_fill_fw_str(struct bnx2x *bp, char *buf, size_t buf_len); buf_len 87 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h u32 buf_len = (((len*4) > FW_BUF_SIZE) ? FW_BUF_SIZE : (len*4)); buf_len 88 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h u32 buf_len32 = buf_len/4; buf_len 91 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h memset(GUNZIP_BUF(bp), (u8)fill, buf_len); buf_len 519 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h size_t buf_len) buf_len 521 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h strlcpy(buf, bp->acquire_resp.pfdev_info.fw_ver, buf_len); buf_len 599 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h size_t buf_len) {} buf_len 3067 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c BNXT_COREDUMP_BUF_LEN(info->buf_len)) { buf_len 3127 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c void *buf, u32 buf_len, u32 offset) buf_len 3144 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c info.buf_len = buf_len; buf_len 3236 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c u32 offset = 0, seg_hdr_len, seg_record_len, buf_len = 0; buf_len 3245 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c buf_len = *dump_len; buf_len 3280 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c BNXT_COREDUMP_BUF_LEN(buf_len))) { buf_len 3297 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c &seg_len, buf, buf_len, buf_len 44 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.h u32 buf_len; buf_len 2401 drivers/net/ethernet/broadcom/cnic_defs.h __le16 buf_len; buf_len 637 drivers/net/ethernet/brocade/bna/bfa_msgq.c bfa_msgq_rsp_copy(struct bfa_msgq *msgq, u8 *buf, size_t buf_len) buf_len 640 drivers/net/ethernet/brocade/bna/bfa_msgq.c size_t len = buf_len; buf_len 121 drivers/net/ethernet/brocade/bna/bfa_msgq.h void bfa_msgq_rsp_copy(struct bfa_msgq *msgq, u8 *buf, size_t buf_len); buf_len 176 drivers/net/ethernet/cavium/thunder/nicvf_queues.c gfp_t gfp, u32 buf_len, u64 *rbuf) buf_len 184 drivers/net/ethernet/cavium/thunder/nicvf_queues.c ((nic->rb_page_offset + buf_len) <= PAGE_SIZE)) { buf_len 203 drivers/net/ethernet/cavium/thunder/nicvf_queues.c buf_len += XDP_PACKET_HEADROOM; buf_len 214 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nic->rb_page_offset, buf_len, buf_len 225 drivers/net/ethernet/cavium/thunder/nicvf_queues.c nic->rb_page_offset += buf_len; buf_len 1790 drivers/net/ethernet/emulex/benet/be_cmds.c int be_cmd_get_fat_dump(struct be_adapter *adapter, u32 buf_len, void *buf) buf_len 1799 drivers/net/ethernet/emulex/benet/be_cmds.c if (buf_len == 0) buf_len 1802 drivers/net/ethernet/emulex/benet/be_cmds.c total_size = buf_len; buf_len 2376 drivers/net/ethernet/emulex/benet/be_cmds.c req->buf_len = cpu_to_le32(data_size); buf_len 2510 drivers/net/ethernet/emulex/benet/be_cmds.c req->buf_len = cpu_to_le32(data_size); buf_len 1474 drivers/net/ethernet/emulex/benet/be_cmds.h u32 buf_len; buf_len 1509 drivers/net/ethernet/emulex/benet/be_cmds.h u32 buf_len; buf_len 2460 drivers/net/ethernet/emulex/benet/be_cmds.h int be_cmd_get_fat_dump(struct be_adapter *adapter, u32 buf_len, void *buf); buf_len 264 drivers/net/ethernet/emulex/benet/be_ethtool.c u32 buf_len, void *buf) buf_len 282 drivers/net/ethernet/emulex/benet/be_ethtool.c while ((total_read_len < buf_len) && !eof) { buf_len 283 drivers/net/ethernet/emulex/benet/be_ethtool.c chunk_size = min_t(u32, (buf_len - total_read_len), buf_len 132 drivers/net/ethernet/freescale/enetc/enetc.c temp_bd.buf_len = cpu_to_le16(len); buf_len 212 drivers/net/ethernet/freescale/enetc/enetc.c temp_bd.buf_len = cpu_to_le16(len); buf_len 653 drivers/net/ethernet/freescale/enetc/enetc.c size = le16_to_cpu(rxbd->r.buf_len); buf_len 695 drivers/net/ethernet/freescale/enetc/enetc.c size = le16_to_cpu(rxbd->r.buf_len); buf_len 345 drivers/net/ethernet/freescale/enetc/enetc_hw.h __le16 buf_len; buf_len 416 drivers/net/ethernet/freescale/enetc/enetc_hw.h __le16 buf_len; buf_len 131 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c int bd_num, buf_len; buf_len 148 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c buf_len = sizeof(struct hclge_desc) * bd_num; buf_len 149 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c desc_src = kzalloc(buf_len, GFP_KERNEL); buf_len 971 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c u32 bd_num, buf_len; buf_len 987 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c buf_len = sizeof(struct hclge_desc) * bd_num; buf_len 988 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c desc_src = kzalloc(buf_len, GFP_KERNEL); buf_len 9877 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int bd_num, bd_num_max, buf_len, i; buf_len 9894 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c buf_len = sizeof(*desc_src) * bd_num_max; buf_len 9895 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c desc_src = kzalloc(buf_len, GFP_KERNEL); buf_len 187 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c enum bufdesc_len buf_len) buf_len 215 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c HINIC_CMDQ_WQE_HEADER_SET(buf_len, BUFDESC_LEN) | buf_len 244 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c wqe_scmd->buf_desc.buf_len = in_size; buf_len 347 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h u32 buf_len; buf_len 402 drivers/net/ethernet/huawei/hinic/hinic_rx.c ((pkt_len & (rxq->buf_len - 1)) ? 1 : 0); buf_len 526 drivers/net/ethernet/huawei/hinic/hinic_rx.c rxq->buf_len = HINIC_RX_BUF_SZ; buf_len 38 drivers/net/ethernet/huawei/hinic/hinic_rx.h u16 buf_len; buf_len 995 drivers/net/ethernet/intel/i40e/i40e_adminq.c e->msg_len = min(datalen, e->buf_len); buf_len 59 drivers/net/ethernet/intel/i40e/i40e_adminq.h u16 buf_len; buf_len 282 drivers/net/ethernet/intel/i40e/i40e_common.c void *buffer, u16 buf_len) buf_len 314 drivers/net/ethernet/intel/i40e/i40e_common.c if (buffer && buf_len != 0 && len != 0 && buf_len 317 drivers/net/ethernet/intel/i40e/i40e_common.c if (buf_len < len) buf_len 318 drivers/net/ethernet/intel/i40e/i40e_common.c len = buf_len; buf_len 9273 drivers/net/ethernet/intel/i40e/i40e_main.c event.buf_len = I40E_MAX_AQ_BUF_SIZE; buf_len 9274 drivers/net/ethernet/intel/i40e/i40e_main.c event.msg_buf = kzalloc(event.buf_len, GFP_KERNEL); buf_len 9557 drivers/net/ethernet/intel/i40e/i40e_main.c int buf_len; buf_len 9560 drivers/net/ethernet/intel/i40e/i40e_main.c buf_len = 40 * sizeof(struct i40e_aqc_list_capabilities_element_resp); buf_len 9562 drivers/net/ethernet/intel/i40e/i40e_main.c cap_buf = kzalloc(buf_len, GFP_KERNEL); buf_len 9567 drivers/net/ethernet/intel/i40e/i40e_main.c err = i40e_aq_discover_capabilities(&pf->hw, cap_buf, buf_len, buf_len 9575 drivers/net/ethernet/intel/i40e/i40e_main.c buf_len = data_size; buf_len 33 drivers/net/ethernet/intel/i40e/i40e_prototype.h void *desc, void *buffer, u16 buf_len); buf_len 896 drivers/net/ethernet/intel/iavf/iavf_adminq.c e->msg_len = min(datalen, e->buf_len); buf_len 59 drivers/net/ethernet/intel/iavf/iavf_adminq.h u16 buf_len; buf_len 261 drivers/net/ethernet/intel/iavf/iavf_common.c void *buffer, u16 buf_len) buf_len 289 drivers/net/ethernet/intel/iavf/iavf_common.c if (buf_len < len) buf_len 290 drivers/net/ethernet/intel/iavf/iavf_common.c len = buf_len; buf_len 2281 drivers/net/ethernet/intel/iavf/iavf_main.c event.buf_len = IAVF_MAX_AQ_BUF_SIZE; buf_len 2282 drivers/net/ethernet/intel/iavf/iavf_main.c event.msg_buf = kzalloc(event.buf_len, GFP_KERNEL); buf_len 34 drivers/net/ethernet/intel/iavf/iavf_prototype.h void *desc, void *buffer, u16 buf_len); buf_len 74 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c event.buf_len = IAVF_MAX_AQ_BUF_SIZE; buf_len 75 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c event.msg_buf = kzalloc(event.buf_len, GFP_KERNEL); buf_len 199 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c event.buf_len = len; buf_len 200 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c event.msg_buf = kzalloc(event.buf_len, GFP_KERNEL); buf_len 1204 drivers/net/ethernet/intel/ice/ice_common.c u16 buf_len) buf_len 1235 drivers/net/ethernet/intel/ice/ice_common.c if (buf_len < len) buf_len 1236 drivers/net/ethernet/intel/ice/ice_common.c len = buf_len; buf_len 16 drivers/net/ethernet/intel/ice/ice_common.h ice_debug_cq(struct ice_hw *hw, u32 mask, void *desc, void *buf, u16 buf_len); buf_len 1083 drivers/net/ethernet/intel/ice/ice_controlq.c e->msg_len = min(datalen, e->buf_len); buf_len 76 drivers/net/ethernet/intel/ice/ice_controlq.h u16 buf_len; buf_len 1729 drivers/net/ethernet/intel/ice/ice_lib.c u8 buf_len = sizeof(*qg_buf); buf_len 1751 drivers/net/ethernet/intel/ice/ice_lib.c 1, qg_buf, buf_len, NULL); buf_len 1036 drivers/net/ethernet/intel/ice/ice_main.c event.buf_len = cq->rq_buf_size; buf_len 1037 drivers/net/ethernet/intel/ice/ice_main.c event.msg_buf = devm_kzalloc(&pf->pdev->dev, event.buf_len, buf_len 487 drivers/net/ethernet/intel/ice/ice_switch.c u16 buf_len; buf_len 489 drivers/net/ethernet/intel/ice/ice_switch.c buf_len = sizeof(*sw_buf); buf_len 490 drivers/net/ethernet/intel/ice/ice_switch.c sw_buf = devm_kzalloc(ice_hw_to_dev(hw), buf_len, GFP_KERNEL); buf_len 513 drivers/net/ethernet/intel/ice/ice_switch.c status = ice_aq_alloc_free_res(hw, 1, sw_buf, buf_len, opc, NULL); buf_len 3685 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u16 buf_len, dword_len; buf_len 3715 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c buf_len = bp->hdr.buf_len; buf_len 3716 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (!buf_len) buf_len 3719 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c if (length < round_up(buf_len, 4) + hdr_size) { buf_len 3726 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c dword_len = (buf_len + 3) >> 2; buf_len 3764 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c fw_cmd.hdr.buf_len = FW_CEM_CMD_DRIVER_INFO_LEN; buf_len 3775 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c (FW_CEM_HDR_LEN + fw_cmd.hdr.buf_len)); buf_len 2730 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h u8 buf_len; buf_len 444 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c hic.cmd.hdr.buf_len = FW_PHY_ACT_REQ_LEN; buf_len 739 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c token_cmd.hdr.buf_len = FW_PHY_TOKEN_REQ_LEN; buf_len 768 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c token_cmd.hdr.buf_len = FW_PHY_TOKEN_REQ_LEN; buf_len 799 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c write_cmd.hdr.buf_len = FW_INT_PHY_REQ_LEN; buf_len 829 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c hic.cmd.hdr.buf_len = FW_INT_PHY_REQ_LEN; buf_len 1286 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c fw_cmd.hdr.buf_len = FW_DISABLE_RXEN_LEN; buf_len 2781 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c fw_cmd.hdr.buf_len = FW_CEM_CMD_DRIVER_INFO_LEN + len; buf_len 2791 drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c (FW_CEM_HDR_LEN + fw_cmd.hdr.buf_len)); buf_len 34 drivers/net/ethernet/mellanox/mlx5/core/en/hv_vhca_stats.c int buf_len) buf_len 43 drivers/net/ethernet/mellanox/mlx5/core/en/hv_vhca_stats.c data + buf_len)) buf_len 63 drivers/net/ethernet/mellanox/mlx5/core/en/hv_vhca_stats.c int buf_len, rc; buf_len 69 drivers/net/ethernet/mellanox/mlx5/core/en/hv_vhca_stats.c buf_len = mlx5e_hv_vhca_stats_buf_size(priv); buf_len 73 drivers/net/ethernet/mellanox/mlx5/core/en/hv_vhca_stats.c memset(buf, 0, buf_len); buf_len 74 drivers/net/ethernet/mellanox/mlx5/core/en/hv_vhca_stats.c mlx5e_hv_vhca_fill_stats(priv, buf, buf_len); buf_len 76 drivers/net/ethernet/mellanox/mlx5/core/en/hv_vhca_stats.c rc = mlx5_hv_vhca_agent_write(agent, buf, buf_len); buf_len 125 drivers/net/ethernet/mellanox/mlx5/core/en/hv_vhca_stats.c int buf_len = mlx5e_hv_vhca_stats_buf_size(priv); buf_len 128 drivers/net/ethernet/mellanox/mlx5/core/en/hv_vhca_stats.c priv->stats_agent.buf = kvzalloc(buf_len, GFP_KERNEL); buf_len 348 drivers/net/ethernet/mellanox/mlxsw/pci.c size_t buf_len = MLXSW_PORT_MAX_MTU; buf_len 354 drivers/net/ethernet/mellanox/mlxsw/pci.c skb = netdev_alloc_skb_ip_align(NULL, buf_len); buf_len 361 drivers/net/ethernet/mellanox/mlxsw/pci.c buf_len, DMA_FROM_DEVICE); buf_len 103 drivers/net/ethernet/mscc/ocelot_board.c int sz, len, buf_len; buf_len 134 drivers/net/ethernet/mscc/ocelot_board.c buf_len = info.len - ETH_FCS_LEN; buf_len 135 drivers/net/ethernet/mscc/ocelot_board.c buf = (u32 *)skb_put(skb, buf_len); buf_len 142 drivers/net/ethernet/mscc/ocelot_board.c } while (len < buf_len); buf_len 1630 drivers/net/ethernet/qlogic/qed/qed_ll2.c u16 buf_len, void *cookie, u8 notify_fw) buf_len 1668 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_curb->buff_length = cpu_to_le16(buf_len); buf_len 1672 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_curp->buf_length = buf_len; buf_len 171 drivers/net/ethernet/qlogic/qed/qed_ll2.h u16 buf_len, void *cookie, u8 notify_fw); buf_len 80 drivers/net/ethernet/qlogic/qede/qede_filter.c int buf_len; buf_len 126 drivers/net/ethernet/qlogic/qede/qede_filter.c params.length = n->buf_len; buf_len 168 drivers/net/ethernet/qlogic/qede/qede_filter.c fltr->buf_len, DMA_TO_DEVICE); buf_len 196 drivers/net/ethernet/qlogic/qede/qede_filter.c fltr->buf_len, DMA_TO_DEVICE); buf_len 517 drivers/net/ethernet/qlogic/qede/qede_filter.c n->buf_len = min_hlen; buf_len 1998 drivers/net/ethernet/qlogic/qede/qede_filter.c n->buf_len = min_hlen; buf_len 2133 drivers/net/ethernet/qlogic/qede/qede_filter.c n->buf_len = min_hlen; buf_len 77 drivers/net/ethernet/qualcomm/qca_7k_common.c qcafrm_fsm_decode(struct qcafrm_handle *handle, u8 *buf, u16 buf_len, u8 recv_byte) buf_len 124 drivers/net/ethernet/qualcomm/qca_7k_common.c if (len > buf_len || len < QCAFRM_MIN_LEN) { buf_len 142 drivers/net/ethernet/qualcomm/qca_7k_common.h s32 qcafrm_fsm_decode(struct qcafrm_handle *handle, u8 *buf, u16 buf_len, u8 recv_byte); buf_len 1364 drivers/net/ethernet/renesas/sh_eth.c u32 buf_len; buf_len 1383 drivers/net/ethernet/renesas/sh_eth.c buf_len = ALIGN(mdp->rx_buf_sz, 32); buf_len 1384 drivers/net/ethernet/renesas/sh_eth.c dma_addr = dma_map_single(&mdp->pdev->dev, skb->data, buf_len, buf_len 1394 drivers/net/ethernet/renesas/sh_eth.c rxdesc->len = cpu_to_le32(buf_len << 16); buf_len 1632 drivers/net/ethernet/renesas/sh_eth.c u32 buf_len; buf_len 1709 drivers/net/ethernet/renesas/sh_eth.c buf_len = ALIGN(mdp->rx_buf_sz, 32); buf_len 1710 drivers/net/ethernet/renesas/sh_eth.c rxdesc->len = cpu_to_le32(buf_len << 16); buf_len 1718 drivers/net/ethernet/renesas/sh_eth.c buf_len, DMA_FROM_DEVICE); buf_len 672 drivers/net/ethernet/rocker/rocker_main.c struct sk_buff *skb, size_t buf_len) buf_len 678 drivers/net/ethernet/rocker/rocker_main.c dma_handle = pci_map_single(pdev, skb->data, buf_len, buf_len 684 drivers/net/ethernet/rocker/rocker_main.c if (rocker_tlv_put_u16(desc_info, ROCKER_TLV_RX_FRAG_MAX_LEN, buf_len)) buf_len 689 drivers/net/ethernet/rocker/rocker_main.c pci_unmap_single(pdev, dma_handle, buf_len, PCI_DMA_FROMDEVICE); buf_len 704 drivers/net/ethernet/rocker/rocker_main.c size_t buf_len = rocker_port_rx_buf_len(rocker_port); buf_len 713 drivers/net/ethernet/rocker/rocker_main.c skb = netdev_alloc_skb_ip_align(dev, buf_len); buf_len 716 drivers/net/ethernet/rocker/rocker_main.c err = rocker_dma_rx_ring_skb_map(rocker_port, desc_info, skb, buf_len); buf_len 1867 drivers/net/ethernet/rocker/rocker_main.c char *buf, size_t buf_len) buf_len 1874 drivers/net/ethernet/rocker/rocker_main.c dma_handle = pci_map_single(pdev, buf, buf_len, DMA_TO_DEVICE); buf_len 1887 drivers/net/ethernet/rocker/rocker_main.c buf_len)) buf_len 1895 drivers/net/ethernet/rocker/rocker_main.c pci_unmap_single(pdev, dma_handle, buf_len, DMA_TO_DEVICE); buf_len 16 drivers/net/ethernet/rocker/rocker_tlv.c const char *buf, int buf_len) buf_len 24 drivers/net/ethernet/rocker/rocker_tlv.c rocker_tlv_for_each(tlv, head, buf_len, rem) { buf_len 110 drivers/net/ethernet/rocker/rocker_tlv.h const char *buf, int buf_len); buf_len 3596 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c unsigned int buf_len = len - prev_len; buf_len 3599 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c buf_len = priv->dma_buf_sz; buf_len 3602 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c buf_len, DMA_FROM_DEVICE); buf_len 3604 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c buf->page, 0, buf_len, buf_len 583 drivers/net/ethernet/ti/netcp_core.c unsigned int buf_len, dma_sz = sizeof(*ndesc); buf_len 600 drivers/net/ethernet/ti/netcp_core.c buf_len = (int)GET_SW_DATA1(desc); buf_len 609 drivers/net/ethernet/ti/netcp_core.c buf_len = (int)GET_SW_DATA1(desc); buf_len 612 drivers/net/ethernet/ti/netcp_core.c netcp_frag_free(buf_len <= PAGE_SIZE, buf_ptr); buf_len 643 drivers/net/ethernet/ti/netcp_core.c unsigned int dma_sz, buf_len, org_buf_len; buf_len 663 drivers/net/ethernet/ti/netcp_core.c get_pkt_info(&dma_buff, &buf_len, &dma_desc, desc); buf_len 676 drivers/net/ethernet/ti/netcp_core.c accum_sz = buf_len; buf_len 677 drivers/net/ethernet/ti/netcp_core.c dma_unmap_single(netcp->dev, dma_buff, buf_len, DMA_FROM_DEVICE); buf_len 688 drivers/net/ethernet/ti/netcp_core.c __skb_put(skb, buf_len); buf_len 700 drivers/net/ethernet/ti/netcp_core.c get_pkt_info(&dma_buff, &buf_len, &dma_desc, ndesc); buf_len 706 drivers/net/ethernet/ti/netcp_core.c if (likely(dma_buff && buf_len && page)) { buf_len 711 drivers/net/ethernet/ti/netcp_core.c &dma_buff, buf_len, page); buf_len 716 drivers/net/ethernet/ti/netcp_core.c offset_in_page(dma_buff), buf_len, PAGE_SIZE); buf_len 717 drivers/net/ethernet/ti/netcp_core.c accum_sz += buf_len; buf_len 792 drivers/net/ethernet/ti/netcp_core.c unsigned int buf_len, dma_sz; buf_len 804 drivers/net/ethernet/ti/netcp_core.c get_org_pkt_info(&dma, &buf_len, desc); buf_len 823 drivers/net/ethernet/ti/netcp_core.c dma_unmap_single(netcp->dev, dma, buf_len, buf_len 825 drivers/net/ethernet/ti/netcp_core.c netcp_frag_free((buf_len <= PAGE_SIZE), buf_ptr); buf_len 827 drivers/net/ethernet/ti/netcp_core.c dma_unmap_page(netcp->dev, dma, buf_len, buf_len 855 drivers/net/ethernet/ti/netcp_core.c unsigned int buf_len, dma_sz; buf_len 872 drivers/net/ethernet/ti/netcp_core.c buf_len = NETCP_PACKET_SIZE + NETCP_SOP_OFFSET; buf_len 873 drivers/net/ethernet/ti/netcp_core.c primary_buf_len = SKB_DATA_ALIGN(buf_len) + buf_len 884 drivers/net/ethernet/ti/netcp_core.c dma = dma_map_single(netcp->dev, bufptr, buf_len, buf_len 900 drivers/net/ethernet/ti/netcp_core.c buf_len = PAGE_SIZE; buf_len 901 drivers/net/ethernet/ti/netcp_core.c dma = dma_map_page(netcp->dev, page, 0, buf_len, DMA_TO_DEVICE); buf_len 910 drivers/net/ethernet/ti/netcp_core.c desc_info |= buf_len & KNAV_DMA_DESC_PKT_LEN_MASK; buf_len 915 drivers/net/ethernet/ti/netcp_core.c set_org_pkt_info(dma, buf_len, hwdesc); buf_len 979 drivers/net/ethernet/ti/netcp_core.c unsigned int buf_len; buf_len 982 drivers/net/ethernet/ti/netcp_core.c get_pkt_info(&dma_buf, &buf_len, &dma_desc, ndesc); buf_len 984 drivers/net/ethernet/ti/netcp_core.c if (dma_buf && buf_len) buf_len 985 drivers/net/ethernet/ti/netcp_core.c dma_unmap_single(netcp->dev, dma_buf, buf_len, buf_len 989 drivers/net/ethernet/ti/netcp_core.c &dma_buf, buf_len); buf_len 1120 drivers/net/ethernet/ti/netcp_core.c u32 buf_len = skb_frag_size(frag); buf_len 1124 drivers/net/ethernet/ti/netcp_core.c dma_addr = dma_map_page(dev, page, page_offset, buf_len, buf_len 1134 drivers/net/ethernet/ti/netcp_core.c dma_unmap_page(dev, dma_addr, buf_len, DMA_TO_DEVICE); buf_len 1139 drivers/net/ethernet/ti/netcp_core.c set_pkt_info(dma_addr, buf_len, 0, ndesc); buf_len 1142 drivers/net/ethernet/ti/netcp_core.c pkt_len += buf_len; buf_len 198 drivers/net/ethernet/xscale/ixp4xx_eth.c u16 buf_len; /* buffer length */ buf_len 209 drivers/net/ethernet/xscale/ixp4xx_eth.c u16 buf_len; /* buffer length */ buf_len 602 drivers/net/ethernet/xscale/ixp4xx_eth.c phys, desc->next, desc->buf_len, desc->pkt_len, buf_len 646 drivers/net/ethernet/xscale/ixp4xx_eth.c desc->buf_len, DMA_TO_DEVICE); buf_len 649 drivers/net/ethernet/xscale/ixp4xx_eth.c ALIGN((desc->data & 3) + desc->buf_len, 4), buf_len 729 drivers/net/ethernet/xscale/ixp4xx_eth.c desc->buf_len = MAX_MRU; buf_len 763 drivers/net/ethernet/xscale/ixp4xx_eth.c desc->buf_len = MAX_MRU; buf_len 881 drivers/net/ethernet/xscale/ixp4xx_eth.c desc->buf_len = desc->pkt_len = len; buf_len 1118 drivers/net/ethernet/xscale/ixp4xx_eth.c desc->buf_len = MAX_MRU; buf_len 1307 drivers/net/ethernet/xscale/ixp4xx_eth.c desc->buf_len = desc->pkt_len = 1; buf_len 2744 drivers/net/virtio_net.c unsigned int buf_len = hdr_len + ETH_HLEN + VLAN_HLEN + packet_len; buf_len 2745 drivers/net/virtio_net.c unsigned int min_buf_len = DIV_ROUND_UP(buf_len, rq_size); buf_len 293 drivers/net/wan/ixp4xx_hss.c u16 buf_len; /* buffer length */ buf_len 301 drivers/net/wan/ixp4xx_hss.c u16 buf_len; /* buffer length */ buf_len 574 drivers/net/wan/ixp4xx_hss.c phys, desc->next, desc->buf_len, desc->pkt_len, buf_len 613 drivers/net/wan/ixp4xx_hss.c desc->buf_len, DMA_TO_DEVICE); buf_len 616 drivers/net/wan/ixp4xx_hss.c ALIGN((desc->data & 3) + desc->buf_len, 4), buf_len 743 drivers/net/wan/ixp4xx_hss.c desc->buf_len = RX_SIZE; buf_len 775 drivers/net/wan/ixp4xx_hss.c desc->buf_len = RX_SIZE; buf_len 886 drivers/net/wan/ixp4xx_hss.c desc->buf_len = desc->pkt_len = len; buf_len 997 drivers/net/wan/ixp4xx_hss.c desc->buf_len = RX_SIZE; buf_len 708 drivers/net/wimax/i2400m/control.c const void *buf, size_t buf_len) buf_len 721 drivers/net/wimax/i2400m/control.c i2400m, buf, buf_len); buf_len 729 drivers/net/wimax/i2400m/control.c result = i2400m_msg_size_check(i2400m, msg_l3l4_hdr, buf_len); buf_len 734 drivers/net/wimax/i2400m/control.c msg_type, buf_len); buf_len 735 drivers/net/wimax/i2400m/control.c d_dump(2, dev, buf, buf_len); buf_len 744 drivers/net/wimax/i2400m/control.c result = i2400m_tx(i2400m, buf, buf_len, I2400M_PT_CTRL); buf_len 763 drivers/net/wimax/i2400m/control.c wimax_msg(&i2400m->wimax_dev, "echo", buf, buf_len, GFP_KERNEL); buf_len 816 drivers/net/wimax/i2400m/control.c i2400m, buf, buf_len, ack_skb); buf_len 828 drivers/net/wimax/i2400m/control.c i2400m, buf, buf_len, result); buf_len 454 drivers/net/wimax/i2400m/netdev.c unsigned i, const void *buf, int buf_len) buf_len 461 drivers/net/wimax/i2400m/netdev.c i2400m, buf, buf_len); buf_len 470 drivers/net/wimax/i2400m/netdev.c skb = __netdev_alloc_skb(net_dev, buf_len, GFP_KERNEL); buf_len 476 drivers/net/wimax/i2400m/netdev.c skb_put_data(skb, buf, buf_len); buf_len 485 drivers/net/wimax/i2400m/netdev.c net_dev->stats.rx_bytes += buf_len; buf_len 487 drivers/net/wimax/i2400m/netdev.c buf_len); buf_len 488 drivers/net/wimax/i2400m/netdev.c d_dump(4, dev, buf, buf_len); buf_len 492 drivers/net/wimax/i2400m/netdev.c i2400m, buf, buf_len); buf_len 713 drivers/net/wimax/i2400m/tx.c int i2400m_tx(struct i2400m *i2400m, const void *buf, size_t buf_len, buf_len 726 drivers/net/wimax/i2400m/tx.c i2400m, buf, buf_len, pl_type); buf_len 727 drivers/net/wimax/i2400m/tx.c padded_len = ALIGN(buf_len, I2400M_PL_ALIGN); buf_len 728 drivers/net/wimax/i2400m/tx.c d_printf(5, dev, "padded_len %zd buf_len %zd\n", padded_len, buf_len); buf_len 780 drivers/net/wimax/i2400m/tx.c memcpy(ptr, buf, buf_len); buf_len 781 drivers/net/wimax/i2400m/tx.c memset(ptr + buf_len, 0xad, padded_len - buf_len); buf_len 782 drivers/net/wimax/i2400m/tx.c i2400m_pld_set(&tx_msg->pld[num_pls], buf_len, pl_type); buf_len 785 drivers/net/wimax/i2400m/tx.c pl_type, buf_len); buf_len 793 drivers/net/wimax/i2400m/tx.c num_pls+1, ptr - i2400m->tx_buf, buf_len, padded_len); buf_len 805 drivers/net/wimax/i2400m/tx.c i2400m, buf, buf_len, pl_type, result); buf_len 83 drivers/net/wimax/i2400m/usb-notif.c size_t buf_len) buf_len 90 drivers/net/wimax/i2400m/usb-notif.c i2400mu, buf, buf_len); buf_len 92 drivers/net/wimax/i2400m/usb-notif.c if (buf_len < sizeof(i2400m_ZERO_BARKER)) buf_len 100 drivers/net/wimax/i2400m/usb-notif.c ret = i2400m_is_boot_barker(i2400m, buf, buf_len); buf_len 104 drivers/net/wimax/i2400m/usb-notif.c i2400m_unknown_barker(i2400m, buf, buf_len); buf_len 108 drivers/net/wimax/i2400m/usb-notif.c i2400mu, buf, buf_len, ret); buf_len 639 drivers/net/wireless/ath/ath10k/core.c size_t buf_len, buf_len 648 drivers/net/wireless/ath/ath10k/core.c return scnprintf(buf, buf_len, "bit%d", feat); buf_len 651 drivers/net/wireless/ath/ath10k/core.c return scnprintf(buf, buf_len, "%s", ath10k_core_fw_feature_str[feat]); buf_len 656 drivers/net/wireless/ath/ath10k/core.c size_t buf_len) buf_len 664 drivers/net/wireless/ath/ath10k/core.c len += scnprintf(buf + len, buf_len - len, ","); buf_len 667 drivers/net/wireless/ath/ath10k/core.c buf_len - len, buf_len 1155 drivers/net/wireless/ath/ath10k/core.c const void *buf, size_t buf_len, buf_len 1168 drivers/net/wireless/ath/ath10k/core.c while (buf_len > sizeof(struct ath10k_fw_ie)) { buf_len 1174 drivers/net/wireless/ath/ath10k/core.c buf_len -= sizeof(*hdr); buf_len 1177 drivers/net/wireless/ath/ath10k/core.c if (buf_len < ALIGN(board_ie_len, 4)) { buf_len 1179 drivers/net/wireless/ath/ath10k/core.c buf_len, ALIGN(board_ie_len, 4)); buf_len 1233 drivers/net/wireless/ath/ath10k/core.c buf_len -= board_ie_len; buf_len 155 drivers/net/wireless/ath/ath10k/debug.c size_t len = 0, buf_len = 8192; buf_len 161 drivers/net/wireless/ath/ath10k/debug.c buf = kzalloc(buf_len, GFP_KERNEL); buf_len 174 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 181 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 466 drivers/net/wireless/ath/ath10k/debug.c size_t len = 0, buf_len = 500; buf_len 469 drivers/net/wireless/ath/ath10k/debug.c buf = kmalloc(buf_len, GFP_KERNEL); buf_len 475 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 477 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 480 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 1495 drivers/net/wireless/ath/ath10k/debug.c size_t buf_len; buf_len 1508 drivers/net/wireless/ath/ath10k/debug.c buf_len = ATH10K_TPC_CONFIG_BUF_SIZE; buf_len 1509 drivers/net/wireless/ath/ath10k/debug.c *len += scnprintf(buf + *len, buf_len - *len, buf_len 1511 drivers/net/wireless/ath/ath10k/debug.c *len += scnprintf(buf + *len, buf_len - *len, buf_len 1514 drivers/net/wireless/ath/ath10k/debug.c *len += scnprintf(buf + *len, buf_len - *len, buf_len 1516 drivers/net/wireless/ath/ath10k/debug.c *len += scnprintf(buf + *len, buf_len - *len, buf_len 1520 drivers/net/wireless/ath/ath10k/debug.c *len += scnprintf(buf + *len, buf_len - *len, buf_len 1523 drivers/net/wireless/ath/ath10k/debug.c *len += scnprintf(buf + *len, buf_len - *len, "\n"); buf_len 1526 drivers/net/wireless/ath/ath10k/debug.c *len += scnprintf(buf + *len, buf_len - *len, buf_len 1533 drivers/net/wireless/ath/ath10k/debug.c *len += scnprintf(buf + *len, buf_len - *len, buf_len 1542 drivers/net/wireless/ath/ath10k/debug.c size_t len, buf_len; buf_len 1545 drivers/net/wireless/ath/ath10k/debug.c buf_len = ATH10K_TPC_CONFIG_BUF_SIZE; buf_len 1554 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, "\n"); buf_len 1555 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 1557 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 1561 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 1563 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 1567 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 1571 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 1575 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 1584 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 1593 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 1602 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 1610 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 1619 drivers/net/wireless/ath/ath10k/debug.c if (len >= buf_len) buf_len 2169 drivers/net/wireless/ath/ath10k/debug.c size_t len = 0, buf_len = 4096; buf_len 2173 drivers/net/wireless/ath/ath10k/debug.c buf = kzalloc(buf_len, GFP_KERNEL); buf_len 2179 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 2183 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 2187 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 2191 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 2195 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 2199 drivers/net/wireless/ath/ath10k/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 546 drivers/net/wireless/ath/ath10k/debugfs_sta.c len += scnprintf(buf + len, buf_len - len, \ buf_len 552 drivers/net/wireless/ath/ath10k/debugfs_sta.c buf_len - len, "\n"); \ buf_len 554 drivers/net/wireless/ath/ath10k/debugfs_sta.c buf_len - len, \ buf_len 559 drivers/net/wireless/ath/ath10k/debugfs_sta.c len += scnprintf(buf + len, buf_len - len, "\n"); \ buf_len 570 drivers/net/wireless/ath/ath10k/debugfs_sta.c size_t len = 0, buf_len = 1048 * IEEE80211_NUM_TIDS; buf_len 575 drivers/net/wireless/ath/ath10k/debugfs_sta.c buf = kzalloc(buf_len, GFP_KERNEL); buf_len 583 drivers/net/wireless/ath/ath10k/debugfs_sta.c len += scnprintf(buf + len, buf_len - len, buf_len 585 drivers/net/wireless/ath/ath10k/debugfs_sta.c len += scnprintf(buf + len, buf_len - len, buf_len 587 drivers/net/wireless/ath/ath10k/debugfs_sta.c len += scnprintf(buf + len, buf_len - len, "MSDUs from FW\t\t\t"); buf_len 590 drivers/net/wireless/ath/ath10k/debugfs_sta.c len += scnprintf(buf + len, buf_len - len, "MSDUs unchained\t\t\t"); buf_len 593 drivers/net/wireless/ath/ath10k/debugfs_sta.c len += scnprintf(buf + len, buf_len - len, buf_len 597 drivers/net/wireless/ath/ath10k/debugfs_sta.c len += scnprintf(buf + len, buf_len - len, buf_len 601 drivers/net/wireless/ath/ath10k/debugfs_sta.c len += scnprintf(buf + len, buf_len - len, buf_len 606 drivers/net/wireless/ath/ath10k/debugfs_sta.c len += scnprintf(buf + len, buf_len - len, buf_len 611 drivers/net/wireless/ath/ath10k/debugfs_sta.c len += scnprintf(buf + len, buf_len - len, "\n"); buf_len 613 drivers/net/wireless/ath/ath10k/debugfs_sta.c len += scnprintf(buf + len, buf_len - len, buf_len 619 drivers/net/wireless/ath/ath10k/debugfs_sta.c len += scnprintf(buf + len, buf_len - len, "\n"); buf_len 621 drivers/net/wireless/ath/ath10k/debugfs_sta.c len += scnprintf(buf + len, buf_len - len, buf_len 36 drivers/net/wireless/ath/ath10k/hif.h size_t buf_len); buf_len 108 drivers/net/wireless/ath/ath10k/hif.h size_t buf_len) buf_len 110 drivers/net/wireless/ath/ath10k/hif.h return ar->hif.ops->diag_read(ar, address, buf, buf_len); buf_len 1420 drivers/net/wireless/ath/ath10k/pci.c size_t buf_len) buf_len 1422 drivers/net/wireless/ath/ath10k/pci.c return ath10k_pci_diag_read_mem(ar, address, buf, buf_len); buf_len 1470 drivers/net/wireless/ath/ath10k/pci.c u8 *buf, size_t buf_len) buf_len 1526 drivers/net/wireless/ath/ath10k/pci.c if (buf_len < (skip_size + section_size)) { buf_len 1527 drivers/net/wireless/ath/ath10k/pci.c ath10k_warn(ar, "ramdump buffer is too small: %zu\n", buf_len); buf_len 1531 drivers/net/wireless/ath/ath10k/pci.c buf_len -= skip_size + section_size; buf_len 1662 drivers/net/wireless/ath/ath10k/pci.c size_t buf_len; buf_len 1678 drivers/net/wireless/ath/ath10k/pci.c buf_len = crash_data->ramdump_buf_len; buf_len 1680 drivers/net/wireless/ath/ath10k/pci.c memset(buf, 0, buf_len); buf_len 1685 drivers/net/wireless/ath/ath10k/pci.c if (current_region->len > buf_len) { buf_len 1689 drivers/net/wireless/ath/ath10k/pci.c buf_len); buf_len 1711 drivers/net/wireless/ath/ath10k/pci.c buf_len -= sizeof(*hdr); buf_len 1742 drivers/net/wireless/ath/ath10k/pci.c buf_len -= count; buf_len 218 drivers/net/wireless/ath/ath10k/pci.h size_t buf_len); buf_len 1582 drivers/net/wireless/ath/ath10k/sdio.c size_t buf_len) buf_len 1594 drivers/net/wireless/ath/ath10k/sdio.c ret = ath10k_sdio_read(ar, MBOX_WINDOW_DATA_ADDRESS, buf, buf_len); buf_len 374 drivers/net/wireless/ath/ath10k/testmode.c int ret, buf_len; buf_len 396 drivers/net/wireless/ath/ath10k/testmode.c buf_len = nla_len(tb[ATH10K_TM_ATTR_DATA]); buf_len 401 drivers/net/wireless/ath/ath10k/testmode.c cmd_id, buf, buf_len); buf_len 403 drivers/net/wireless/ath/ath10k/testmode.c ath10k_dbg_dump(ar, ATH10K_DBG_TESTMODE, NULL, "", buf, buf_len); buf_len 405 drivers/net/wireless/ath/ath10k/testmode.c skb = ath10k_wmi_alloc_skb(ar, buf_len); buf_len 411 drivers/net/wireless/ath/ath10k/testmode.c memcpy(skb->data, buf, buf_len); buf_len 116 drivers/net/wireless/ath/ath10k/trace.h const void *buf, size_t buf_len), buf_len 118 drivers/net/wireless/ath/ath10k/trace.h TP_ARGS(ar, msg, prefix, buf, buf_len), buf_len 125 drivers/net/wireless/ath/ath10k/trace.h __field(size_t, buf_len) buf_len 126 drivers/net/wireless/ath/ath10k/trace.h __dynamic_array(u8, buf, buf_len) buf_len 134 drivers/net/wireless/ath/ath10k/trace.h __entry->buf_len = buf_len; buf_len 135 drivers/net/wireless/ath/ath10k/trace.h memcpy(__get_dynamic_array(buf), buf, buf_len); buf_len 148 drivers/net/wireless/ath/ath10k/trace.h TP_PROTO(struct ath10k *ar, int id, const void *buf, size_t buf_len), buf_len 150 drivers/net/wireless/ath/ath10k/trace.h TP_ARGS(ar, id, buf, buf_len), buf_len 156 drivers/net/wireless/ath/ath10k/trace.h __field(size_t, buf_len) buf_len 157 drivers/net/wireless/ath/ath10k/trace.h __dynamic_array(u8, buf, buf_len) buf_len 164 drivers/net/wireless/ath/ath10k/trace.h __entry->buf_len = buf_len; buf_len 165 drivers/net/wireless/ath/ath10k/trace.h memcpy(__get_dynamic_array(buf), buf, buf_len); buf_len 173 drivers/net/wireless/ath/ath10k/trace.h __entry->buf_len buf_len 178 drivers/net/wireless/ath/ath10k/trace.h TP_PROTO(struct ath10k *ar, int id, const void *buf, size_t buf_len), buf_len 180 drivers/net/wireless/ath/ath10k/trace.h TP_ARGS(ar, id, buf, buf_len), buf_len 186 drivers/net/wireless/ath/ath10k/trace.h __field(size_t, buf_len) buf_len 187 drivers/net/wireless/ath/ath10k/trace.h __dynamic_array(u8, buf, buf_len) buf_len 194 drivers/net/wireless/ath/ath10k/trace.h __entry->buf_len = buf_len; buf_len 195 drivers/net/wireless/ath/ath10k/trace.h memcpy(__get_dynamic_array(buf), buf, buf_len); buf_len 203 drivers/net/wireless/ath/ath10k/trace.h __entry->buf_len buf_len 208 drivers/net/wireless/ath/ath10k/trace.h TP_PROTO(struct ath10k *ar, const void *buf, size_t buf_len), buf_len 210 drivers/net/wireless/ath/ath10k/trace.h TP_ARGS(ar, buf, buf_len), buf_len 215 drivers/net/wireless/ath/ath10k/trace.h __field(size_t, buf_len) buf_len 216 drivers/net/wireless/ath/ath10k/trace.h __dynamic_array(u8, buf, buf_len) buf_len 222 drivers/net/wireless/ath/ath10k/trace.h __entry->buf_len = buf_len; buf_len 223 drivers/net/wireless/ath/ath10k/trace.h memcpy(__get_dynamic_array(buf), buf, buf_len); buf_len 230 drivers/net/wireless/ath/ath10k/trace.h __entry->buf_len buf_len 235 drivers/net/wireless/ath/ath10k/trace.h TP_PROTO(struct ath10k *ar, const void *buf, size_t buf_len), buf_len 237 drivers/net/wireless/ath/ath10k/trace.h TP_ARGS(ar, buf, buf_len), buf_len 243 drivers/net/wireless/ath/ath10k/trace.h __field(size_t, buf_len) buf_len 244 drivers/net/wireless/ath/ath10k/trace.h __dynamic_array(u8, buf, buf_len) buf_len 251 drivers/net/wireless/ath/ath10k/trace.h __entry->buf_len = buf_len; buf_len 252 drivers/net/wireless/ath/ath10k/trace.h memcpy(__get_dynamic_array(buf), buf, buf_len); buf_len 260 drivers/net/wireless/ath/ath10k/trace.h __entry->buf_len buf_len 265 drivers/net/wireless/ath/ath10k/trace.h TP_PROTO(struct ath10k *ar, const void *buf, u16 buf_len), buf_len 267 drivers/net/wireless/ath/ath10k/trace.h TP_ARGS(ar, buf, buf_len), buf_len 273 drivers/net/wireless/ath/ath10k/trace.h __field(u16, buf_len) buf_len 274 drivers/net/wireless/ath/ath10k/trace.h __dynamic_array(u8, pktlog, buf_len) buf_len 281 drivers/net/wireless/ath/ath10k/trace.h __entry->buf_len = buf_len; buf_len 282 drivers/net/wireless/ath/ath10k/trace.h memcpy(__get_dynamic_array(pktlog), buf, buf_len); buf_len 290 drivers/net/wireless/ath/ath10k/trace.h __entry->buf_len buf_len 571 drivers/net/wireless/ath/ath10k/usb.c size_t buf_len) buf_len 578 drivers/net/wireless/ath/ath10k/usb.c if (buf_len < sizeof(struct ath10k_usb_ctrl_diag_resp_read)) buf_len 816 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->buf_len = ev->buf_len; buf_len 822 drivers/net/wireless/ath/ath10k/wmi-tlv.c msdu_len = __le32_to_cpu(arg->buf_len); buf_len 1079 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->buf_len = __le32_to_cpu(ev->buf_len); buf_len 2872 drivers/net/wireless/ath/ath10k/wmi-tlv.c u32 buf_len = msdu->len; buf_len 2898 drivers/net/wireless/ath/ath10k/wmi-tlv.c buf_len += IEEE80211_CCMP_MIC_LEN; buf_len 2901 drivers/net/wireless/ath/ath10k/wmi-tlv.c buf_len = min_t(u32, buf_len, WMI_TLV_MGMT_TX_FRAME_MAX_LEN); buf_len 2902 drivers/net/wireless/ath/ath10k/wmi-tlv.c buf_len = round_up(buf_len, 4); buf_len 2904 drivers/net/wireless/ath/ath10k/wmi-tlv.c len += buf_len; buf_len 2922 drivers/net/wireless/ath/ath10k/wmi-tlv.c cmd->buf_len = __cpu_to_le32(buf_len); buf_len 2931 drivers/net/wireless/ath/ath10k/wmi-tlv.c tlv->len = __cpu_to_le16(buf_len); buf_len 2934 drivers/net/wireless/ath/ath10k/wmi-tlv.c memcpy(ptr, msdu->data, buf_len); buf_len 3124 drivers/net/wireless/ath/ath10k/wmi-tlv.c cmd->buf_len = __cpu_to_le32(bcn->len); buf_len 3182 drivers/net/wireless/ath/ath10k/wmi-tlv.c cmd->buf_len = __cpu_to_le32(prb->len); buf_len 1649 drivers/net/wireless/ath/ath10k/wmi-tlv.h __le32 buf_len; buf_len 1883 drivers/net/wireless/ath/ath10k/wmi-tlv.h __le32 buf_len; buf_len 1989 drivers/net/wireless/ath/ath10k/wmi-tlv.h __le32 buf_len; buf_len 1994 drivers/net/wireless/ath/ath10k/wmi-tlv.h __le32 buf_len; buf_len 2500 drivers/net/wireless/ath/ath10k/wmi-tlv.h __le32 buf_len; buf_len 1914 drivers/net/wireless/ath/ath10k/wmi.c u32 buf_len = msdu->len; buf_len 1937 drivers/net/wireless/ath/ath10k/wmi.c buf_len += IEEE80211_CCMP_MIC_LEN; buf_len 1951 drivers/net/wireless/ath/ath10k/wmi.c cmd->hdr.buf_len = __cpu_to_le32(buf_len); buf_len 2255 drivers/net/wireless/ath/ath10k/wmi.c arg->buf_len = ev_hdr->buf_len; buf_len 2261 drivers/net/wireless/ath/ath10k/wmi.c msdu_len = __le32_to_cpu(arg->buf_len); buf_len 2266 drivers/net/wireless/ath/ath10k/wmi.c len = ALIGN(le32_to_cpu(arg->buf_len), 4); buf_len 2299 drivers/net/wireless/ath/ath10k/wmi.c arg->buf_len = ev_hdr->buf_len; buf_len 2305 drivers/net/wireless/ath/ath10k/wmi.c msdu_len = __le32_to_cpu(arg->buf_len); buf_len 2310 drivers/net/wireless/ath/ath10k/wmi.c len = ALIGN(le32_to_cpu(arg->buf_len), 4); buf_len 4110 drivers/net/wireless/ath/ath10k/wmi.c int buf_len, tlv_len, res, i = 0; buf_len 4116 drivers/net/wireless/ath/ath10k/wmi.c buf_len = phyerr->buf_len; buf_len 4120 drivers/net/wireless/ath/ath10k/wmi.c phyerr->tsf_timestamp, tsf, buf_len); buf_len 4128 drivers/net/wireless/ath/ath10k/wmi.c while (i < buf_len) { buf_len 4129 drivers/net/wireless/ath/ath10k/wmi.c if (i + sizeof(*tlv) > buf_len) { buf_len 4144 drivers/net/wireless/ath/ath10k/wmi.c if (i + sizeof(*tlv) + sizeof(*rr) > buf_len) { buf_len 4154 drivers/net/wireless/ath/ath10k/wmi.c if (i + sizeof(*tlv) + sizeof(*fftr) > buf_len) { buf_len 4175 drivers/net/wireless/ath/ath10k/wmi.c int buf_len, tlv_len, res, i = 0; buf_len 4181 drivers/net/wireless/ath/ath10k/wmi.c buf_len = phyerr->buf_len; buf_len 4183 drivers/net/wireless/ath/ath10k/wmi.c while (i < buf_len) { buf_len 4184 drivers/net/wireless/ath/ath10k/wmi.c if (i + sizeof(*tlv) > buf_len) { buf_len 4194 drivers/net/wireless/ath/ath10k/wmi.c if (i + sizeof(*tlv) + tlv_len > buf_len) { buf_len 4237 drivers/net/wireless/ath/ath10k/wmi.c arg->buf_len = skb->len - sizeof(*ev); buf_len 4257 drivers/net/wireless/ath/ath10k/wmi.c arg->buf_len = skb->len; buf_len 4282 drivers/net/wireless/ath/ath10k/wmi.c arg->buf_len = __le32_to_cpu(phyerr->buf_len); buf_len 4327 drivers/net/wireless/ath/ath10k/wmi.c arg->buf_len = __le32_to_cpu(phyerr->buf_len); buf_len 4351 drivers/net/wireless/ath/ath10k/wmi.c u32 count, i, buf_len, phy_err_code; buf_len 4366 drivers/net/wireless/ath/ath10k/wmi.c left_len = hdr_arg.buf_len; buf_len 4386 drivers/net/wireless/ath/ath10k/wmi.c buf_len = phyerr_arg.buf_len; buf_len 4389 drivers/net/wireless/ath/ath10k/wmi.c if (left_len < buf_len) { buf_len 4394 drivers/net/wireless/ath/ath10k/wmi.c left_len -= buf_len; buf_len 4411 drivers/net/wireless/ath/ath10k/wmi.c phyerr = phyerr + phyerr_arg.hdr_len + buf_len; buf_len 8096 drivers/net/wireless/ath/ath10k/wmi.c u32 buf_len = ATH10K_FW_STATS_BUF_SIZE; buf_len 8098 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "\n"); buf_len 8099 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s\n", buf_len 8101 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s\n\n", buf_len 8104 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8106 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10u\n", buf_len 8108 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10u\n", buf_len 8110 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10u\n", buf_len 8112 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10u\n", buf_len 8114 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10u\n", buf_len 8116 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10u\n", buf_len 8127 drivers/net/wireless/ath/ath10k/wmi.c u32 buf_len = ATH10K_FW_STATS_BUF_SIZE; buf_len 8129 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10u\n", buf_len 8131 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10u\n", buf_len 8133 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10u\n", buf_len 8135 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10u\n", buf_len 8137 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10u\n", buf_len 8140 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "\n"); buf_len 8149 drivers/net/wireless/ath/ath10k/wmi.c u32 buf_len = ATH10K_FW_STATS_BUF_SIZE; buf_len 8151 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "\n%30s\n", buf_len 8153 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s\n\n", buf_len 8156 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8158 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8160 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8162 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8164 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8166 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8168 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8170 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8172 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8174 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8176 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8178 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8180 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8182 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8184 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8186 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8189 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8192 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8194 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8196 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8198 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8200 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8210 drivers/net/wireless/ath/ath10k/wmi.c u32 buf_len = ATH10K_FW_STATS_BUF_SIZE; buf_len 8212 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "\n%30s\n", buf_len 8214 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s\n\n", buf_len 8217 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8220 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8222 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8224 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8226 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8228 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8230 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8232 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8234 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8236 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8238 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8240 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8242 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8244 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8254 drivers/net/wireless/ath/ath10k/wmi.c u32 buf_len = ATH10K_FW_STATS_BUF_SIZE; buf_len 8257 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8259 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8261 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8263 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8265 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8267 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8269 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8271 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8273 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8277 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, buf_len 8283 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, buf_len 8289 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, buf_len 8295 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, buf_len 8301 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, buf_len 8306 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "\n"); buf_len 8315 drivers/net/wireless/ath/ath10k/wmi.c u32 buf_len = ATH10K_FW_STATS_BUF_SIZE; buf_len 8317 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %pM\n", buf_len 8319 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8321 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8323 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8326 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %llu\n", buf_len 8329 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "\n"); buf_len 8338 drivers/net/wireless/ath/ath10k/wmi.c u32 buf_len = ATH10K_FW_STATS_BUF_SIZE; buf_len 8340 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %pM\n", buf_len 8342 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %llu\n", buf_len 8351 drivers/net/wireless/ath/ath10k/wmi.c u32 buf_len = ATH10K_FW_STATS_BUF_SIZE; buf_len 8374 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "\n"); buf_len 8375 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s (%zu)\n", buf_len 8377 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s\n\n", buf_len 8384 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "\n"); buf_len 8385 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s (%zu)\n", buf_len 8387 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s\n\n", buf_len 8398 drivers/net/wireless/ath/ath10k/wmi.c if (len >= buf_len) buf_len 8409 drivers/net/wireless/ath/ath10k/wmi.c unsigned int buf_len = ATH10K_FW_STATS_BUF_SIZE; buf_len 8433 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "\n"); buf_len 8434 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s (%zu)\n", buf_len 8436 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s\n\n", buf_len 8443 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "\n"); buf_len 8444 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s (%zu)\n", buf_len 8446 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s\n\n", buf_len 8457 drivers/net/wireless/ath/ath10k/wmi.c if (len >= buf_len) buf_len 8490 drivers/net/wireless/ath/ath10k/wmi.c u32 buf_len = ATH10K_FW_STATS_BUF_SIZE; buf_len 8493 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8495 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8497 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8499 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8501 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8503 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8505 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8507 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8509 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8513 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8518 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8523 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8528 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8533 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8538 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8543 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %u\n", buf_len 8546 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "\n"); buf_len 8556 drivers/net/wireless/ath/ath10k/wmi.c u32 buf_len = ATH10K_FW_STATS_BUF_SIZE; buf_len 8580 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8582 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8584 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8586 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8588 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8590 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8592 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8594 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8596 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8598 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8600 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8604 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s %10d\n", buf_len 8607 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "\n"); buf_len 8608 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s (%zu)\n", buf_len 8610 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s\n\n", buf_len 8616 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "\n"); buf_len 8617 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s (%zu)\n", buf_len 8619 drivers/net/wireless/ath/ath10k/wmi.c len += scnprintf(buf + len, buf_len - len, "%30s\n\n", buf_len 8637 drivers/net/wireless/ath/ath10k/wmi.c if (len >= buf_len) buf_len 3376 drivers/net/wireless/ath/ath10k/wmi.h __le32 buf_len; buf_len 3401 drivers/net/wireless/ath/ath10k/wmi.h __le32 buf_len; buf_len 3446 drivers/net/wireless/ath/ath10k/wmi.h __le32 buf_len; buf_len 3470 drivers/net/wireless/ath/ath10k/wmi.h __le32 buf_len; buf_len 3579 drivers/net/wireless/ath/ath10k/wmi.h __le32 buf_len; buf_len 5745 drivers/net/wireless/ath/ath10k/wmi.h __le32 buf_len; buf_len 5756 drivers/net/wireless/ath/ath10k/wmi.h __le32 buf_len; buf_len 6771 drivers/net/wireless/ath/ath10k/wmi.h __le32 buf_len; buf_len 6823 drivers/net/wireless/ath/ath10k/wmi.h u32 buf_len; buf_len 6832 drivers/net/wireless/ath/ath10k/wmi.h u32 buf_len; buf_len 305 drivers/net/wireless/ath/ath6kl/debug.c unsigned int len = 0, buf_len = 1500; buf_len 308 drivers/net/wireless/ath/ath6kl/debug.c buf = kzalloc(buf_len, GFP_KERNEL); buf_len 312 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "\n"); buf_len 313 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%25s\n", buf_len 315 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%25s\n\n", buf_len 317 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10u\n", buf_len 320 drivers/net/wireless/ath/ath6kl/debug.c if (WARN_ON(len > buf_len)) buf_len 321 drivers/net/wireless/ath/ath6kl/debug.c len = buf_len; buf_len 572 drivers/net/wireless/ath/ath6kl/debug.c unsigned int len = 0, buf_len = 1500; buf_len 581 drivers/net/wireless/ath/ath6kl/debug.c buf = kzalloc(buf_len, GFP_KERNEL); buf_len 593 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "\n"); buf_len 594 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%25s\n", buf_len 596 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%25s\n\n", buf_len 598 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 600 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 602 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 604 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 606 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 609 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 612 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 614 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 616 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 618 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 620 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 622 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%25s %10llu\n\n", buf_len 626 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%25s\n", buf_len 628 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%25s\n", buf_len 631 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 633 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10d\n", buf_len 635 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 637 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 639 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 641 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 643 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 645 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 647 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 649 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 651 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 653 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 655 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 657 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 659 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n\n", buf_len 662 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%25s\n", buf_len 664 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%25s\n", buf_len 666 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 668 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 670 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10llu\n", buf_len 672 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10d\n", buf_len 674 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10d\n", buf_len 676 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10d\n", buf_len 678 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%20s %10d\n", buf_len 681 drivers/net/wireless/ath/ath6kl/debug.c if (len > buf_len) buf_len 682 drivers/net/wireless/ath/ath6kl/debug.c len = buf_len; buf_len 698 drivers/net/wireless/ath/ath6kl/debug.c (len += scnprintf(buf + len, buf_len - len, fmt_str, \ buf_len 711 drivers/net/wireless/ath/ath6kl/debug.c unsigned int buf_len, len = 0; buf_len 714 drivers/net/wireless/ath/ath6kl/debug.c buf_len = CREDIT_INFO_DISPLAY_STRING_LEN + buf_len 716 drivers/net/wireless/ath/ath6kl/debug.c buf = kzalloc(buf_len, GFP_KERNEL); buf_len 720 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%25s%5d\n", buf_len 723 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%25s%5d\n", buf_len 727 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 743 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%12d\n", buf_len 747 drivers/net/wireless/ath/ath6kl/debug.c if (len > buf_len) buf_len 748 drivers/net/wireless/ath/ath6kl/debug.c len = buf_len; buf_len 763 drivers/net/wireless/ath/ath6kl/debug.c unsigned int buf_len, unsigned int len, buf_len 770 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "%s:", name); buf_len 774 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, " %u", *counter); buf_len 776 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, "\n"); buf_len 788 drivers/net/wireless/ath/ath6kl/debug.c unsigned int buf_len, len = 0; buf_len 791 drivers/net/wireless/ath/ath6kl/debug.c buf_len = sizeof(struct htc_endpoint_stats) / sizeof(u32) * buf_len 793 drivers/net/wireless/ath/ath6kl/debug.c buf = kmalloc(buf_len, GFP_KERNEL); buf_len 799 drivers/net/wireless/ath/ath6kl/debug.c len = print_endpoint_stat(target, buf, buf_len, len, \ buf_len 828 drivers/net/wireless/ath/ath6kl/debug.c if (len > buf_len) buf_len 829 drivers/net/wireless/ath/ath6kl/debug.c len = buf_len; buf_len 1166 drivers/net/wireless/ath/ath6kl/debug.c unsigned int len, buf_len; buf_len 1193 drivers/net/wireless/ath/ath6kl/debug.c buf_len = 100 + num_entries * 100; buf_len 1194 drivers/net/wireless/ath/ath6kl/debug.c buf = kzalloc(buf_len, GFP_KERNEL); buf_len 1198 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 1205 drivers/net/wireless/ath/ath6kl/debug.c len += scnprintf(buf + len, buf_len - len, buf_len 1212 drivers/net/wireless/ath/ath6kl/debug.c if (len > buf_len) buf_len 1213 drivers/net/wireless/ath/ath6kl/debug.c len = buf_len; buf_len 305 drivers/net/wireless/ath/ath6kl/htc.h u32 buf_len; buf_len 363 drivers/net/wireless/ath/ath6kl/htc.h u8 buf_len; buf_len 659 drivers/net/wireless/ath/ath6kl/htc.h packet->buf_len = len; buf_len 1310 drivers/net/wireless/ath/ath6kl/htc_mbox.c if (padded_len > packet->buf_len) { buf_len 1312 drivers/net/wireless/ath/ath6kl/htc_mbox.c padded_len, rx_len, packet->buf_len); buf_len 1833 drivers/net/wireless/ath/ath6kl/htc_mbox.c if (packet->act_len > packet->buf_len) { buf_len 1840 drivers/net/wireless/ath/ath6kl/htc_mbox.c packet->act_len = min(packet->act_len, packet->buf_len); buf_len 2287 drivers/net/wireless/ath/ath6kl/htc_mbox.c if (packet->act_len > packet->buf_len) buf_len 2340 drivers/net/wireless/ath/ath6kl/htc_mbox.c first_pkt->endpoint, depth, first_pkt->buf_len); buf_len 2401 drivers/net/wireless/ath/ath6kl/htc_mbox.c packet, packet->buf_len, buf_len 2809 drivers/net/wireless/ath/ath6kl/htc_mbox.c packet->buf_len = ctrl_bufsz; buf_len 1117 drivers/net/wireless/ath/ath6kl/htc_pipe.c packet, packet->buf_len, buf_len 1641 drivers/net/wireless/ath/ath6kl/htc_pipe.c first->buf_len); buf_len 1688 drivers/net/wireless/ath/ath6kl/htc_pipe.c packet, packet->buf_len, buf_len 1661 drivers/net/wireless/ath/ath6kl/init.c static void ath6kl_init_get_fwcaps(struct ath6kl *ar, char *buf, size_t buf_len) buf_len 1675 drivers/net/wireless/ath/ath6kl/init.c if (buf_len - len < 4) { buf_len 1680 drivers/net/wireless/ath/ath6kl/init.c strncpy(buf + buf_len - trunc_len, trunc, trunc_len); buf_len 1686 drivers/net/wireless/ath/ath6kl/init.c len += scnprintf(buf + len, buf_len - len, "%s,", buf_len 46 drivers/net/wireless/ath/ath6kl/testmode.c void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, size_t buf_len) buf_len 50 drivers/net/wireless/ath/ath6kl/testmode.c if (!buf || buf_len == 0) buf_len 53 drivers/net/wireless/ath/ath6kl/testmode.c skb = cfg80211_testmode_alloc_event_skb(ar->wiphy, buf_len, GFP_KERNEL); buf_len 59 drivers/net/wireless/ath/ath6kl/testmode.c nla_put(skb, ATH6KL_TM_ATTR_DATA, buf_len, buf)) buf_len 74 drivers/net/wireless/ath/ath6kl/testmode.c int err, buf_len; buf_len 91 drivers/net/wireless/ath/ath6kl/testmode.c buf_len = nla_len(tb[ATH6KL_TM_ATTR_DATA]); buf_len 93 drivers/net/wireless/ath/ath6kl/testmode.c ath6kl_wmi_test_cmd(ar->wmi, buf, buf_len); buf_len 22 drivers/net/wireless/ath/ath6kl/testmode.h void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, size_t buf_len); buf_len 29 drivers/net/wireless/ath/ath6kl/testmode.h size_t buf_len) buf_len 11 drivers/net/wireless/ath/ath6kl/trace.h static inline unsigned int ath6kl_get_wmi_id(void *buf, size_t buf_len) buf_len 15 drivers/net/wireless/ath/ath6kl/trace.h if (buf_len < sizeof(*hdr)) buf_len 40 drivers/net/wireless/ath/ath6kl/trace.h TP_PROTO(void *buf, size_t buf_len), buf_len 42 drivers/net/wireless/ath/ath6kl/trace.h TP_ARGS(buf, buf_len), buf_len 46 drivers/net/wireless/ath/ath6kl/trace.h __field(size_t, buf_len) buf_len 47 drivers/net/wireless/ath/ath6kl/trace.h __dynamic_array(u8, buf, buf_len) buf_len 51 drivers/net/wireless/ath/ath6kl/trace.h __entry->id = ath6kl_get_wmi_id(buf, buf_len); buf_len 52 drivers/net/wireless/ath/ath6kl/trace.h __entry->buf_len = buf_len; buf_len 53 drivers/net/wireless/ath/ath6kl/trace.h memcpy(__get_dynamic_array(buf), buf, buf_len); buf_len 58 drivers/net/wireless/ath/ath6kl/trace.h __entry->id, __entry->buf_len buf_len 63 drivers/net/wireless/ath/ath6kl/trace.h TP_PROTO(void *buf, size_t buf_len), buf_len 65 drivers/net/wireless/ath/ath6kl/trace.h TP_ARGS(buf, buf_len), buf_len 69 drivers/net/wireless/ath/ath6kl/trace.h __field(size_t, buf_len) buf_len 70 drivers/net/wireless/ath/ath6kl/trace.h __dynamic_array(u8, buf, buf_len) buf_len 74 drivers/net/wireless/ath/ath6kl/trace.h __entry->id = ath6kl_get_wmi_id(buf, buf_len); buf_len 75 drivers/net/wireless/ath/ath6kl/trace.h __entry->buf_len = buf_len; buf_len 76 drivers/net/wireless/ath/ath6kl/trace.h memcpy(__get_dynamic_array(buf), buf, buf_len); buf_len 81 drivers/net/wireless/ath/ath6kl/trace.h __entry->id, __entry->buf_len buf_len 87 drivers/net/wireless/ath/ath6kl/trace.h void *buf, size_t buf_len), buf_len 89 drivers/net/wireless/ath/ath6kl/trace.h TP_ARGS(addr, flags, buf, buf_len), buf_len 95 drivers/net/wireless/ath/ath6kl/trace.h __field(size_t, buf_len) buf_len 96 drivers/net/wireless/ath/ath6kl/trace.h __dynamic_array(u8, buf, buf_len) buf_len 102 drivers/net/wireless/ath/ath6kl/trace.h __entry->buf_len = buf_len; buf_len 103 drivers/net/wireless/ath/ath6kl/trace.h memcpy(__get_dynamic_array(buf), buf, buf_len); buf_len 116 drivers/net/wireless/ath/ath6kl/trace.h __entry->buf_len buf_len 175 drivers/net/wireless/ath/ath6kl/trace.h TP_PROTO(void *buf, size_t buf_len), buf_len 177 drivers/net/wireless/ath/ath6kl/trace.h TP_ARGS(buf, buf_len), buf_len 180 drivers/net/wireless/ath/ath6kl/trace.h __field(size_t, buf_len) buf_len 181 drivers/net/wireless/ath/ath6kl/trace.h __dynamic_array(u8, buf, buf_len) buf_len 185 drivers/net/wireless/ath/ath6kl/trace.h __entry->buf_len = buf_len; buf_len 186 drivers/net/wireless/ath/ath6kl/trace.h memcpy(__get_dynamic_array(buf), buf, buf_len); buf_len 190 drivers/net/wireless/ath/ath6kl/trace.h "irq len %zd\n", __entry->buf_len buf_len 196 drivers/net/wireless/ath/ath6kl/trace.h size_t buf_len), buf_len 198 drivers/net/wireless/ath/ath6kl/trace.h TP_ARGS(status, endpoint, buf, buf_len), buf_len 203 drivers/net/wireless/ath/ath6kl/trace.h __field(size_t, buf_len) buf_len 204 drivers/net/wireless/ath/ath6kl/trace.h __dynamic_array(u8, buf, buf_len) buf_len 210 drivers/net/wireless/ath/ath6kl/trace.h __entry->buf_len = buf_len; buf_len 211 drivers/net/wireless/ath/ath6kl/trace.h memcpy(__get_dynamic_array(buf), buf, buf_len); buf_len 218 drivers/net/wireless/ath/ath6kl/trace.h __entry->buf_len buf_len 224 drivers/net/wireless/ath/ath6kl/trace.h size_t buf_len), buf_len 226 drivers/net/wireless/ath/ath6kl/trace.h TP_ARGS(status, endpoint, buf, buf_len), buf_len 231 drivers/net/wireless/ath/ath6kl/trace.h __field(size_t, buf_len) buf_len 232 drivers/net/wireless/ath/ath6kl/trace.h __dynamic_array(u8, buf, buf_len) buf_len 238 drivers/net/wireless/ath/ath6kl/trace.h __entry->buf_len = buf_len; buf_len 239 drivers/net/wireless/ath/ath6kl/trace.h memcpy(__get_dynamic_array(buf), buf, buf_len); buf_len 246 drivers/net/wireless/ath/ath6kl/trace.h __entry->buf_len buf_len 301 drivers/net/wireless/ath/ath6kl/trace.h const void *buf, size_t buf_len), buf_len 303 drivers/net/wireless/ath/ath6kl/trace.h TP_ARGS(msg, prefix, buf, buf_len), buf_len 308 drivers/net/wireless/ath/ath6kl/trace.h __field(size_t, buf_len) buf_len 309 drivers/net/wireless/ath/ath6kl/trace.h __dynamic_array(u8, buf, buf_len) buf_len 315 drivers/net/wireless/ath/ath6kl/trace.h __entry->buf_len = buf_len; buf_len 316 drivers/net/wireless/ath/ath6kl/trace.h memcpy(__get_dynamic_array(buf), buf, buf_len); buf_len 226 drivers/net/wireless/ath/ath9k/ar9002_mac.c ctl1 = i->buf_len[0] | (i->is_last ? 0 : AR_TxMore); buf_len 56 drivers/net/wireless/ath/ath9k/ar9003_mac.c checksum += (val = (i->buf_len[0] << AR_BufLen_S) & AR_BufLen); buf_len 58 drivers/net/wireless/ath/ath9k/ar9003_mac.c checksum += (val = (i->buf_len[1] << AR_BufLen_S) & AR_BufLen); buf_len 60 drivers/net/wireless/ath/ath9k/ar9003_mac.c checksum += (val = (i->buf_len[2] << AR_BufLen_S) & AR_BufLen); buf_len 62 drivers/net/wireless/ath/ath9k/ar9003_mac.c checksum += (val = (i->buf_len[3] << AR_BufLen_S) & AR_BufLen); buf_len 98 drivers/net/wireless/ath/ath9k/beacon.c info.buf_len[0] = roundup(skb->len, 4); buf_len 700 drivers/net/wireless/ath/ath9k/mac.h int buf_len[4]; buf_len 1409 drivers/net/wireless/ath/ath9k/xmit.c info.buf_len[0] = skb->len; buf_len 46 drivers/net/wireless/ath/wcn36xx/testmode.c int ret = 0, buf_len; buf_len 55 drivers/net/wireless/ath/wcn36xx/testmode.c buf_len = nla_len(tb[WCN36XX_TM_ATTR_DATA]); buf_len 61 drivers/net/wireless/ath/wcn36xx/testmode.c buf, buf_len); buf_len 63 drivers/net/wireless/ath/wcn36xx/testmode.c wcn36xx_dbg_dump(WCN36XX_DBG_TESTMODE_DUMP, "REQ ", buf, buf_len); buf_len 41 drivers/net/wireless/ath/wil6210/trace.h TP_PROTO(struct wmi_cmd_hdr *wmi, void *buf, u16 buf_len), buf_len 43 drivers/net/wireless/ath/wil6210/trace.h TP_ARGS(wmi, buf, buf_len), buf_len 49 drivers/net/wireless/ath/wil6210/trace.h __field(u16, buf_len) buf_len 50 drivers/net/wireless/ath/wil6210/trace.h __dynamic_array(u8, buf, buf_len) buf_len 57 drivers/net/wireless/ath/wil6210/trace.h __entry->buf_len = buf_len; buf_len 58 drivers/net/wireless/ath/wil6210/trace.h memcpy(__get_dynamic_array(buf), buf, buf_len); buf_len 63 drivers/net/wireless/ath/wil6210/trace.h __entry->mid, __entry->command_id, __entry->buf_len, buf_len 69 drivers/net/wireless/ath/wil6210/trace.h TP_PROTO(struct wmi_cmd_hdr *wmi, void *buf, u16 buf_len), buf_len 70 drivers/net/wireless/ath/wil6210/trace.h TP_ARGS(wmi, buf, buf_len) buf_len 74 drivers/net/wireless/ath/wil6210/trace.h TP_PROTO(struct wmi_cmd_hdr *wmi, void *buf, u16 buf_len), buf_len 75 drivers/net/wireless/ath/wil6210/trace.h TP_ARGS(wmi, buf, buf_len) buf_len 432 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c u16 buf_len; buf_len 456 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c buf_len = min_t(u16, len, BRCMF_TX_IOCTL_MAX_MSG_SIZE); buf_len 457 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c request->input_buf_len = cpu_to_le16(buf_len); buf_len 461 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c memcpy(msgbuf->ioctbuf, buf, buf_len); buf_len 463 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c memset(msgbuf->ioctbuf, 0, buf_len); buf_len 1410 drivers/net/wireless/marvell/mwifiex/sdio.c card->mpa_rx.buf_len, mport, 1)) buf_len 1843 drivers/net/wireless/marvell/mwifiex/sdio.c card->mpa_tx.buf_len, mport); buf_len 1851 drivers/net/wireless/marvell/mwifiex/sdio.c adapter->dbg.last_mp_wr_len[index] = card->mpa_tx.buf_len; buf_len 2100 drivers/net/wireless/marvell/mwifiex/sdio.c card->mpa_tx.buf_len = 0; buf_len 2107 drivers/net/wireless/marvell/mwifiex/sdio.c card->mpa_rx.buf_len = 0; buf_len 110 drivers/net/wireless/marvell/mwifiex/sdio.h #define MP_TX_AGGR_BUF_HAS_ROOM(a, len) ((a->mpa_tx.buf_len+len) \ buf_len 115 drivers/net/wireless/marvell/mwifiex/sdio.h memmove(&a->mpa_tx.buf[a->mpa_tx.buf_len], \ buf_len 117 drivers/net/wireless/marvell/mwifiex/sdio.h a->mpa_tx.buf_len += pkt_len; \ buf_len 136 drivers/net/wireless/marvell/mwifiex/sdio.h a->mpa_tx.buf_len = 0; \ buf_len 150 drivers/net/wireless/marvell/mwifiex/sdio.h ((a->mpa_rx.buf_len+rx_len) <= a->mpa_rx.buf_size) buf_len 155 drivers/net/wireless/marvell/mwifiex/sdio.h a->mpa_rx.buf_len = 0; \ buf_len 164 drivers/net/wireless/marvell/mwifiex/sdio.h u32 buf_len; buf_len 175 drivers/net/wireless/marvell/mwifiex/sdio.h u32 buf_len; buf_len 796 drivers/net/wireless/marvell/mwifiex/sdio.h card->mpa_rx.buf_len += rx_len; buf_len 1021 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c u8 *buf, u16 buf_len) buf_len 1023 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c u16 num_chan = buf_len / 2; buf_len 740 drivers/net/wireless/marvell/mwifiex/util.c int buf_len, pad; buf_len 742 drivers/net/wireless/marvell/mwifiex/util.c buf_len = rx_len + MWIFIEX_RX_HEADROOM + MWIFIEX_DMA_ALIGN_SZ; buf_len 744 drivers/net/wireless/marvell/mwifiex/util.c skb = __dev_alloc_skb(buf_len, flags); buf_len 213 drivers/net/wireless/mediatek/mt76/dma.c int buf_len = SKB_WITH_OVERHEAD(q->buf_size); buf_len 225 drivers/net/wireless/mediatek/mt76/dma.c dma_unmap_single(dev->dev, buf_addr, buf_len, DMA_FROM_DEVICE); buf_len 1352 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c int buf_len, ret, ntlv = 2; buf_len 1363 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c buf_len = sizeof(*wtbl_hdr); buf_len 1366 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c wtbl_ht = (struct wtbl_ht *)(buf + buf_len); buf_len 1373 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c buf_len += sizeof(*wtbl_ht); buf_len 1384 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c wtbl_vht = (struct wtbl_vht *)(buf + buf_len); buf_len 1385 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c buf_len += sizeof(*wtbl_vht); buf_len 1402 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c wtbl_smps = (struct wtbl_smps *)(buf + buf_len); buf_len 1403 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c buf_len += sizeof(*wtbl_smps); buf_len 1414 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c wtbl_raw = (struct wtbl_raw *)(buf + buf_len); buf_len 1415 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c buf_len += sizeof(*wtbl_raw); buf_len 1425 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c buf, buf_len, true); buf_len 1438 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c buf_len = sizeof(*sta_hdr); buf_len 1440 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c sta_ht = (struct sta_rec_ht *)(buf + buf_len); buf_len 1444 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c buf_len += sizeof(*sta_ht); buf_len 1449 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c sta_vht = (struct sta_rec_vht *)(buf + buf_len); buf_len 1450 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c buf_len += sizeof(*sta_vht); buf_len 1459 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c buf, buf_len, true); buf_len 490 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c unsigned int buf_len = 0; buf_len 517 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c buf_len = skb->len; buf_len 644 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.c set_tx_desc_tx_buffer_size(pdesc, (u16)buf_len); buf_len 520 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c unsigned int buf_len = 0; buf_len 544 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c buf_len = skb->len; buf_len 671 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.c SET_TX_DESC_TX_BUFFER_SIZE(pdesc, (u16) buf_len); buf_len 654 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c unsigned int buf_len; buf_len 680 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c buf_len = skb->len; buf_len 418 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c unsigned int buf_len = 0; buf_len 444 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c buf_len = skb->len; buf_len 566 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.c set_tx_desc_tx_buffer_size(pdesc, (u16)buf_len); buf_len 673 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c unsigned int buf_len = 0; buf_len 692 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c buf_len = skb->len; buf_len 804 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c set_tx_desc_tx_buffer_size(pdesc, buf_len); buf_len 31 drivers/net/wireless/st/cw1200/hwio.c void *buf, size_t buf_len, int buf_id) buf_len 37 drivers/net/wireless/st/cw1200/hwio.c if (WARN_ON(((unsigned long)buf & 3) && (buf_len > 4))) { buf_len 48 drivers/net/wireless/st/cw1200/hwio.c buf, buf_len); buf_len 52 drivers/net/wireless/st/cw1200/hwio.c const void *buf, size_t buf_len, int buf_id) buf_len 63 drivers/net/wireless/st/cw1200/hwio.c buf, buf_len); buf_len 99 drivers/net/wireless/st/cw1200/hwio.c size_t buf_len) buf_len 103 drivers/net/wireless/st/cw1200/hwio.c ret = __cw1200_reg_read(priv, addr, buf, buf_len, 0); buf_len 109 drivers/net/wireless/st/cw1200/hwio.c size_t buf_len) buf_len 113 drivers/net/wireless/st/cw1200/hwio.c ret = __cw1200_reg_write(priv, addr, buf, buf_len, 0); buf_len 118 drivers/net/wireless/st/cw1200/hwio.c int cw1200_data_read(struct cw1200_common *priv, void *buf, size_t buf_len) buf_len 128 drivers/net/wireless/st/cw1200/hwio.c buf_len, buf_id_rx + 1); buf_len 145 drivers/net/wireless/st/cw1200/hwio.c size_t buf_len) buf_len 155 drivers/net/wireless/st/cw1200/hwio.c buf_len, buf_id_tx); buf_len 172 drivers/net/wireless/st/cw1200/hwio.c size_t buf_len, u32 prefetch, u16 port_addr) buf_len 177 drivers/net/wireless/st/cw1200/hwio.c if ((buf_len / 2) >= 0x1000) { buf_len 224 drivers/net/wireless/st/cw1200/hwio.c ret = __cw1200_reg_read(priv, port_addr, buf, buf_len, 0); buf_len 236 drivers/net/wireless/st/cw1200/hwio.c size_t buf_len) buf_len 240 drivers/net/wireless/st/cw1200/hwio.c if ((buf_len / 2) >= 0x1000) { buf_len 256 drivers/net/wireless/st/cw1200/hwio.c buf, buf_len, 0); buf_len 157 drivers/net/wireless/st/cw1200/hwio.h void *buf, size_t buf_len); buf_len 159 drivers/net/wireless/st/cw1200/hwio.h const void *buf, size_t buf_len); buf_len 162 drivers/net/wireless/st/cw1200/hwio.h void *buf, size_t buf_len); buf_len 164 drivers/net/wireless/st/cw1200/hwio.h const void *buf, size_t buf_len); buf_len 200 drivers/net/wireless/st/cw1200/hwio.h size_t buf_len, u32 prefetch, u16 port_addr); buf_len 202 drivers/net/wireless/st/cw1200/hwio.h size_t buf_len); buf_len 205 drivers/net/wireless/st/cw1200/hwio.h void *buf, size_t buf_len) buf_len 207 drivers/net/wireless/st/cw1200/hwio.h return cw1200_indirect_read(priv, addr, buf, buf_len, buf_len 213 drivers/net/wireless/st/cw1200/hwio.h void *buf, size_t buf_len) buf_len 215 drivers/net/wireless/st/cw1200/hwio.h return cw1200_indirect_read(priv, addr, buf, buf_len, buf_len 1078 drivers/net/wireless/st/cw1200/wsm.c size_t buf_len = buf->data - buf->begin; buf_len 1100 drivers/net/wireless/st/cw1200/wsm.c buf_len); buf_len 1102 drivers/net/wireless/st/cw1200/wsm.c pr_debug("[WSM] >>> 0x%.4X (%zu)\n", cmd, buf_len); buf_len 1108 drivers/net/wireless/st/cw1200/wsm.c buf_len += 4; buf_len 1112 drivers/net/wireless/st/cw1200/wsm.c ((__le16 *)buf->begin)[0] = __cpu_to_le16(buf_len); buf_len 1118 drivers/net/wireless/st/cw1200/wsm.c priv->wsm_cmd.len = buf_len; buf_len 1140 drivers/net/wireless/st/cw1200/wsm.c buf->begin, buf_len); buf_len 69 drivers/net/wireless/ti/wl1251/cmd.c int wl1251_cmd_test(struct wl1251 *wl, void *buf, size_t buf_len, u8 answer) buf_len 75 drivers/net/wireless/ti/wl1251/cmd.c ret = wl1251_cmd_send(wl, CMD_TEST, buf, buf_len); buf_len 90 drivers/net/wireless/ti/wl1251/cmd.c wl1251_mem_read(wl, wl->cmd_box_addr, buf, buf_len); buf_len 391 drivers/net/wireless/ti/wl1251/cmd.c void *buf, size_t buf_len) buf_len 399 drivers/net/wireless/ti/wl1251/cmd.c WARN_ON(buf_len > WL1251_MAX_TEMPLATE_SIZE); buf_len 400 drivers/net/wireless/ti/wl1251/cmd.c buf_len = min_t(size_t, buf_len, WL1251_MAX_TEMPLATE_SIZE); buf_len 401 drivers/net/wireless/ti/wl1251/cmd.c cmd_len = ALIGN(sizeof(*cmd) + buf_len, 4); buf_len 409 drivers/net/wireless/ti/wl1251/cmd.c cmd->size = cpu_to_le16(buf_len); buf_len 412 drivers/net/wireless/ti/wl1251/cmd.c memcpy(cmd->data, buf, buf_len); buf_len 18 drivers/net/wireless/ti/wl1251/cmd.h int wl1251_cmd_send(struct wl1251 *wl, u16 type, void *buf, size_t buf_len); buf_len 19 drivers/net/wireless/ti/wl1251/cmd.h int wl1251_cmd_test(struct wl1251 *wl, void *buf, size_t buf_len, u8 answer); buf_len 32 drivers/net/wireless/ti/wl1251/cmd.h void *buf, size_t buf_len); buf_len 831 drivers/net/wireless/ti/wlcore/cmd.c int wl1271_cmd_test(struct wl1271 *wl, void *buf, size_t buf_len, u8 answer) buf_len 839 drivers/net/wireless/ti/wlcore/cmd.c res_len = buf_len; buf_len 841 drivers/net/wireless/ti/wlcore/cmd.c ret = wl1271_cmd_send(wl, CMD_TEST, buf, buf_len, res_len); buf_len 1012 drivers/net/wireless/ti/wlcore/cmd.c u16 template_id, void *buf, size_t buf_len, buf_len 1021 drivers/net/wireless/ti/wlcore/cmd.c WARN_ON(buf_len > WL1271_CMD_TEMPL_MAX_SIZE); buf_len 1022 drivers/net/wireless/ti/wlcore/cmd.c buf_len = min_t(size_t, buf_len, WL1271_CMD_TEMPL_MAX_SIZE); buf_len 1032 drivers/net/wireless/ti/wlcore/cmd.c cmd->len = cpu_to_le16(buf_len); buf_len 1040 drivers/net/wireless/ti/wlcore/cmd.c memcpy(cmd->template_data, buf, buf_len); buf_len 31 drivers/net/wireless/ti/wlcore/cmd.h int wl1271_cmd_test(struct wl1271 *wl, void *buf, size_t buf_len, u8 answer); buf_len 43 drivers/net/wireless/ti/wlcore/cmd.h u16 template_id, void *buf, size_t buf_len, buf_len 60 drivers/net/wireless/ti/wlcore/testmode.c int buf_len, ret, len; buf_len 71 drivers/net/wireless/ti/wlcore/testmode.c buf_len = nla_len(tb[WL1271_TM_ATTR_DATA]); buf_len 76 drivers/net/wireless/ti/wlcore/testmode.c if (buf_len > sizeof(struct wl1271_command)) buf_len 92 drivers/net/wireless/ti/wlcore/testmode.c ret = wl1271_cmd_test(wl, buf, buf_len, answer); buf_len 113 drivers/net/wireless/ti/wlcore/testmode.c len = nla_total_size(buf_len); buf_len 120 drivers/net/wireless/ti/wlcore/testmode.c if (nla_put(skb, WL1271_TM_ATTR_DATA, buf_len, buf)) { buf_len 209 drivers/net/wireless/ti/wlcore/testmode.c int buf_len, ret; buf_len 222 drivers/net/wireless/ti/wlcore/testmode.c buf_len = nla_len(tb[WL1271_TM_ATTR_DATA]); buf_len 224 drivers/net/wireless/ti/wlcore/testmode.c if (buf_len > sizeof(struct wl1271_command)) buf_len 228 drivers/net/wireless/ti/wlcore/testmode.c ret = wl1271_cmd_configure(wl, ie_id, buf, buf_len); buf_len 994 drivers/nvdimm/bus.c u64 buf_len = 0; buf_len 1064 drivers/nvdimm/bus.c in_len, out_len, buf_len); buf_len 1097 drivers/nvdimm/bus.c buf_len = (u64) out_len + (u64) in_len; buf_len 1098 drivers/nvdimm/bus.c if (buf_len > ND_IOCTL_MAX_BUFLEN) { buf_len 1100 drivers/nvdimm/bus.c cmd_name, buf_len, ND_IOCTL_MAX_BUFLEN); buf_len 1105 drivers/nvdimm/bus.c buf = vmalloc(buf_len); buf_len 1111 drivers/nvdimm/bus.c if (copy_from_user(buf, p, buf_len)) { buf_len 1122 drivers/nvdimm/bus.c rc = nd_desc->ndctl(nd_desc, nvdimm, cmd, buf, buf_len, &cmd_rc); buf_len 1133 drivers/nvdimm/bus.c if (copy_to_user(p, buf, buf_len)) buf_len 21 drivers/pci/controller/pci-hyperv-intf.c int hyperv_read_cfg_blk(struct pci_dev *dev, void *buf, unsigned int buf_len, buf_len 27 drivers/pci/controller/pci-hyperv-intf.c return hvpci_block_ops.read_block(dev, buf, buf_len, block_id, buf_len 5364 drivers/scsi/bfa/bfa_svc.c u16 buf_len; buf_len 5374 drivers/scsi/bfa/bfa_svc.c buf_len = sizeof(struct bfa_uf_buf_s); buf_len 5375 drivers/scsi/bfa/bfa_svc.c uf_bp_msg->buf_len = cpu_to_be16(buf_len); buf_len 5378 drivers/scsi/bfa/bfa_svc.c bfa_alen_set(&uf_bp_msg->alen, buf_len, ufm_pbs_pa(ufm, i)); buf_len 386 drivers/scsi/bfa/bfi_ms.h __be16 buf_len; /* total buffer length */ buf_len 99 drivers/scsi/bnx2fc/57xx_hsi_bnx2fc.h __le16 buf_len; buf_len 1499 drivers/scsi/bnx2fc/bnx2fc_hwi.c if (offset < bd[i].buf_len) buf_len 1501 drivers/scsi/bnx2fc/bnx2fc_hwi.c offset -= bd[i].buf_len; buf_len 1708 drivers/scsi/bnx2fc/bnx2fc_hwi.c fcoe_bd_tbl->buf_len; buf_len 1786 drivers/scsi/bnx2fc/bnx2fc_hwi.c cached_sge->cur_buf_rem = fcoe_bd_tbl->buf_len; buf_len 1794 drivers/scsi/bnx2fc/bnx2fc_hwi.c cached_sge->cur_buf_rem = fcoe_bd_tbl->buf_len; buf_len 1801 drivers/scsi/bnx2fc/bnx2fc_hwi.c cached_sge->second_buf_rem = fcoe_bd_tbl->buf_len; buf_len 643 drivers/scsi/bnx2fc/bnx2fc_io.c mp_req_bd->buf_len = CNIC_PAGE_SIZE; buf_len 655 drivers/scsi/bnx2fc/bnx2fc_io.c mp_resp_bd->buf_len = CNIC_PAGE_SIZE; buf_len 1633 drivers/scsi/bnx2fc/bnx2fc_io.c bd[bd_index + sg_frags].buf_len = (u16)frag_size; buf_len 1677 drivers/scsi/bnx2fc/bnx2fc_io.c bd[bd_count].buf_len = (u16)sg_len; buf_len 1703 drivers/scsi/bnx2fc/bnx2fc_io.c bd[0].buf_len = bd[0].flags = 0; buf_len 221 drivers/scsi/csiostor/csio_lnode.c csio_hostname(uint8_t *buf, size_t buf_len) buf_len 223 drivers/scsi/csiostor/csio_lnode.c if (snprintf(buf, buf_len, "%s", init_utsname()->nodename) > 0) buf_len 229 drivers/scsi/csiostor/csio_lnode.c csio_osname(uint8_t *buf, size_t buf_len) buf_len 231 drivers/scsi/csiostor/csio_lnode.c if (snprintf(buf, buf_len, "%s %s %s", buf_len 3212 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c ulong buf_len; buf_len 3247 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c buf_len = tx_len; buf_len 3249 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (buf_len > client_len) buf_len 3250 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c buf_len = client_len; buf_len 3252 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (buf_len > server_len) buf_len 3253 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c buf_len = server_len; buf_len 3255 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (buf_len > max_vdma_size) buf_len 3256 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c buf_len = max_vdma_size; buf_len 3260 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rc = h_copy_rdma(buf_len, buf_len 3274 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rc = h_copy_rdma(buf_len, buf_len 3303 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c tx_len -= buf_len; buf_len 3305 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c client_len -= buf_len; buf_len 3309 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c client_ioba += buf_len; buf_len 3311 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c server_len -= buf_len; buf_len 3315 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c server_ioba += buf_len; buf_len 3844 drivers/scsi/ipr.c static struct ipr_sglist *ipr_alloc_ucode_buffer(int buf_len) buf_len 3850 drivers/scsi/ipr.c sg_size = buf_len / (IPR_MAX_SGLIST - 1); buf_len 3862 drivers/scsi/ipr.c sglist->scatterlist = sgl_alloc_order(buf_len, order, false, GFP_KERNEL, buf_len 354 drivers/scsi/libfc/fc_disc.c disc->buf_len = 0; buf_len 399 drivers/scsi/libfc/fc_disc.c tlen = disc->buf_len; buf_len 400 drivers/scsi/libfc/fc_disc.c disc->buf_len = 0; buf_len 418 drivers/scsi/libfc/fc_disc.c disc->buf_len = (unsigned char) plen; buf_len 420 drivers/scsi/libfc/fc_disc.c disc->buf_len = 0; buf_len 468 drivers/scsi/libfc/fc_disc.c disc->buf_len = (unsigned char) len; buf_len 3678 drivers/scsi/lpfc/lpfc_bsg.c sli_cfg_mbx->un.sli_config_emb0_subsys.mse[0].buf_len); buf_len 3822 drivers/scsi/lpfc/lpfc_bsg.c mse[index].buf_len, buf_len 3839 drivers/scsi/lpfc/lpfc_bsg.c mse[index].buf_len, buf_len 4055 drivers/scsi/lpfc/lpfc_bsg.c mse[0].buf_len); buf_len 4164 drivers/scsi/lpfc/lpfc_bsg.c mse[i].buf_len); buf_len 199 drivers/scsi/lpfc/lpfc_bsg.h uint32_t buf_len; buf_len 202 drivers/scsi/lpfc/lpfc_bsg.h #define lpfc_mbox_sli_config_mse_len_WORD buf_len buf_len 206 drivers/scsi/lpfc/lpfc_bsg.h uint32_t buf_len; buf_len 209 drivers/scsi/lpfc/lpfc_bsg.h #define lpfc_mbox_sli_config_ecmn_hbd_len_WORD buf_len buf_len 725 drivers/scsi/mvsas/mv_64xx.c int buf_len, int from, void *prd) buf_len 734 drivers/scsi/mvsas/mv_64xx.c buf_prd->len = cpu_to_le32(buf_len); buf_len 987 drivers/scsi/mvsas/mv_94xx.c int buf_len, int from, void *prd) buf_len 1012 drivers/scsi/mvsas/mv_94xx.c im_len.len = buf_len; buf_len 154 drivers/scsi/mvsas/mv_sas.h int buf_len, int from, void *prd); buf_len 356 drivers/scsi/scsi.c int buf_len) buf_len 364 drivers/scsi/scsi.c result = scsi_vpd_inquiry(sdev, buf, 0, buf_len); buf_len 372 drivers/scsi/scsi.c for (i = 4; i < min(result, buf_len); i++) buf_len 376 drivers/scsi/scsi.c if (i < result && i >= buf_len) buf_len 383 drivers/scsi/scsi.c result = scsi_vpd_inquiry(sdev, buf, page, buf_len); buf_len 260 drivers/scsi/scsi_common.c int scsi_set_sense_information(u8 *buf, int buf_len, u64 info) buf_len 272 drivers/scsi/scsi_common.c if (buf_len < len + 0xc) buf_len 310 drivers/scsi/scsi_common.c int scsi_set_sense_field_pointer(u8 *buf, int buf_len, u16 fp, u8 bp, bool cd) buf_len 322 drivers/scsi/scsi_common.c if (buf_len < len + 8) buf_len 105 drivers/scsi/scsi_logging.c static size_t scsi_format_opcode_name(char *buffer, size_t buf_len, buf_len 117 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, buf_len 128 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, "%s", cdb_name); buf_len 130 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, "opcode=0x%x", cdb0); buf_len 131 drivers/scsi/scsi_logging.c if (WARN_ON(off >= buf_len)) buf_len 134 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buf_len 137 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buf_len 142 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, "%s", sa_name); buf_len 144 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, "%s, sa=0x%x", buf_len 147 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, buf_len 150 drivers/scsi/scsi_logging.c WARN_ON(off >= buf_len); buf_len 244 drivers/scsi/scsi_logging.c scsi_format_extd_sense(char *buffer, size_t buf_len, buf_len 253 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, "Add. Sense: %s", buf_len 256 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buf_len 260 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, "<<vendor>>"); buf_len 261 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buf_len 264 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buf_len 266 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buf_len 273 drivers/scsi/scsi_logging.c scsi_format_sense_hdr(char *buffer, size_t buf_len, buf_len 279 drivers/scsi/scsi_logging.c off = scnprintf(buffer, buf_len, "Sense Key : "); buf_len 282 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buf_len 285 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buf_len 287 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, buf_len 291 drivers/scsi/scsi_logging.c off += scnprintf(buffer + off, buf_len - off, "[descriptor] "); buf_len 83 drivers/scsi/snic/snic_disc.c u32 ntgts, buf_len = 0; buf_len 101 drivers/scsi/snic/snic_disc.c buf_len = ntgts * sizeof(struct snic_tgt_id) + SNIC_SG_DESC_ALIGN; buf_len 103 drivers/scsi/snic/snic_disc.c buf = kzalloc(buf_len, GFP_KERNEL|GFP_DMA); buf_len 114 drivers/scsi/snic/snic_disc.c pa = dma_map_single(&snic->pdev->dev, buf, buf_len, DMA_FROM_DEVICE); buf_len 133 drivers/scsi/snic/snic_disc.c buf_len, buf_len 141 drivers/scsi/snic/snic_disc.c dma_unmap_single(&snic->pdev->dev, pa, buf_len, buf_len 1932 drivers/scsi/ufs/ufshcd.c u16 buf_len; buf_len 1937 drivers/scsi/ufs/ufshcd.c buf_len = be16_to_cpu( buf_len 1939 drivers/scsi/ufs/ufshcd.c if (likely(buf_len >= resp_len)) { buf_len 2943 drivers/scsi/ufs/ufshcd.c u8 selector, u8 *desc_buf, int *buf_len) buf_len 2959 drivers/scsi/ufs/ufshcd.c if (*buf_len < QUERY_DESC_MIN_SIZE || *buf_len > QUERY_DESC_MAX_SIZE) { buf_len 2961 drivers/scsi/ufs/ufshcd.c __func__, *buf_len); buf_len 2970 drivers/scsi/ufs/ufshcd.c request->upiu_req.length = cpu_to_be16(*buf_len); buf_len 2995 drivers/scsi/ufs/ufshcd.c *buf_len = be16_to_cpu(response->upiu_res.length); buf_len 3023 drivers/scsi/ufs/ufshcd.c u8 *desc_buf, int *buf_len) buf_len 3030 drivers/scsi/ufs/ufshcd.c selector, desc_buf, buf_len); buf_len 915 drivers/scsi/ufs/ufshcd.h u8 *desc_buf, int *buf_len); buf_len 773 drivers/siox/siox-core.c size_t buf_len; buf_len 794 drivers/siox/siox-core.c buf_len = smaster->setbuf_len + inbytes + buf_len 796 drivers/siox/siox-core.c if (smaster->buf_len < buf_len) { buf_len 797 drivers/siox/siox-core.c u8 *buf = krealloc(smaster->buf, buf_len, GFP_KERNEL); buf_len 801 drivers/siox/siox-core.c "failed to realloc buffer to %zu\n", buf_len); buf_len 806 drivers/siox/siox-core.c smaster->buf_len = buf_len; buf_len 29 drivers/siox/siox.h size_t buf_len; buf_len 111 drivers/spi/spi-armada-3700.c size_t buf_len; buf_len 434 drivers/spi/spi-armada-3700.c a3700_spi->buf_len = xfer->len; buf_len 468 drivers/spi/spi-armada-3700.c addr_cnt = a3700_spi->buf_len % 4; buf_len 475 drivers/spi/spi-armada-3700.c a3700_spi->buf_len -= addr_cnt; buf_len 500 drivers/spi/spi-armada-3700.c while (!a3700_is_wfifo_full(a3700_spi) && a3700_spi->buf_len) { buf_len 503 drivers/spi/spi-armada-3700.c a3700_spi->buf_len -= 4; buf_len 521 drivers/spi/spi-armada-3700.c while (!a3700_is_rfifo_empty(a3700_spi) && a3700_spi->buf_len) { buf_len 523 drivers/spi/spi-armada-3700.c if (a3700_spi->buf_len >= 4) { buf_len 527 drivers/spi/spi-armada-3700.c a3700_spi->buf_len -= 4; buf_len 535 drivers/spi/spi-armada-3700.c while (a3700_spi->buf_len) { buf_len 539 drivers/spi/spi-armada-3700.c a3700_spi->buf_len--; buf_len 630 drivers/spi/spi-armada-3700.c a3700_spi->buf_len); buf_len 648 drivers/spi/spi-armada-3700.c a3700_spi->xmit_data = (a3700_spi->buf_len != 0); buf_len 651 drivers/spi/spi-armada-3700.c while (a3700_spi->buf_len) { buf_len 752 drivers/spi/spi-armada-3700.c while (a3700_spi->buf_len) { buf_len 757 drivers/spi/spi-armada-3700.c if (a3700_spi->buf_len < 4) buf_len 776 drivers/spi/spi-armada-3700.c a3700_spi->buf_len -= a3700_spi->byte_len; buf_len 23 drivers/ssb/sprom.c static int sprom2hex(const u16 *sprom, char *buf, size_t buf_len, buf_len 29 drivers/ssb/sprom.c pos += snprintf(buf + pos, buf_len - pos - 1, buf_len 31 drivers/ssb/sprom.c pos += snprintf(buf + pos, buf_len - pos - 1, "\n"); buf_len 419 drivers/staging/greybus/tools/loopback_test.c char *buf, int buf_len, buf_len 424 drivers/staging/greybus/tools/loopback_test.c memset(buf, 0x00, buf_len); buf_len 425 drivers/staging/greybus/tools/loopback_test.c len = snprintf(buf, buf_len, "%u-%u-%u %u:%u:%u", buf_len 430 drivers/staging/greybus/tools/loopback_test.c len += snprintf(&buf[len], buf_len - len, buf_len 439 drivers/staging/greybus/tools/loopback_test.c len += snprintf(&buf[len], buf_len - len, buf_len 446 drivers/staging/greybus/tools/loopback_test.c len += snprintf(&buf[len], buf_len - len, buf_len 452 drivers/staging/greybus/tools/loopback_test.c len += snprintf(&buf[len], buf_len - len, buf_len 458 drivers/staging/greybus/tools/loopback_test.c len += snprintf(&buf[len], buf_len - len, buf_len 465 drivers/staging/greybus/tools/loopback_test.c len += snprintf(&buf[len], buf_len - len, buf_len 473 drivers/staging/greybus/tools/loopback_test.c len += snprintf(&buf[len], buf_len - len, ",%s,%s,%u,%u,%u", buf_len 477 drivers/staging/greybus/tools/loopback_test.c len += snprintf(&buf[len], buf_len - len, ",%u,%u,%f,%u", buf_len 483 drivers/staging/greybus/tools/loopback_test.c len += snprintf(&buf[len], buf_len - len, ",%u,%u,%f,%u", buf_len 489 drivers/staging/greybus/tools/loopback_test.c len += snprintf(&buf[len], buf_len - len, ",%u,%u,%f,%u", buf_len 495 drivers/staging/greybus/tools/loopback_test.c len += snprintf(&buf[len], buf_len - len, ",%u,%u,%f,%u", buf_len 501 drivers/staging/greybus/tools/loopback_test.c len += snprintf(&buf[len], buf_len - len, ",%u,%u,%f,%u", buf_len 82 drivers/staging/netlogic/xlr_net.c int buf_len = sizeof(struct sk_buff *); buf_len 91 drivers/staging/netlogic/xlr_net.c memcpy(skb_data, &skb, buf_len); buf_len 605 drivers/staging/ralink-gdma/ralink-gdma.c struct dma_chan *c, dma_addr_t buf_addr, size_t buf_len, buf_len 613 drivers/staging/ralink-gdma/ralink-gdma.c if (buf_len % period_len) buf_len 622 drivers/staging/ralink-gdma/ralink-gdma.c num_periods = buf_len / period_len; buf_len 628 drivers/staging/ralink-gdma/ralink-gdma.c desc->residue = buf_len; buf_len 88 drivers/staging/rtl8188eu/include/osdep_service.h void rtw_buf_free(u8 **buf, u32 *buf_len); buf_len 89 drivers/staging/rtl8188eu/include/osdep_service.h void rtw_buf_update(u8 **buf, u32 *buf_len, u8 *src, u32 src_len); buf_len 62 drivers/staging/rtl8188eu/os_dep/osdep_service.c void rtw_buf_free(u8 **buf, u32 *buf_len) buf_len 64 drivers/staging/rtl8188eu/os_dep/osdep_service.c *buf_len = 0; buf_len 69 drivers/staging/rtl8188eu/os_dep/osdep_service.c void rtw_buf_update(u8 **buf, u32 *buf_len, u8 *src, u32 src_len) buf_len 75 drivers/staging/rtl8188eu/os_dep/osdep_service.c if (!buf || !buf_len) buf_len 92 drivers/staging/rtl8188eu/os_dep/osdep_service.c *buf_len = 0; buf_len 94 drivers/staging/rtl8188eu/os_dep/osdep_service.c *buf_len = dup_len; buf_len 34 drivers/staging/rtl8712/xmit_linux.c return (uint)(pfile->buf_len - ((addr_t)(pfile->cur_addr) - buf_len 42 drivers/staging/rtl8712/xmit_linux.c pfile->pkt_len = pfile->buf_len = pktptr->len; buf_len 53 drivers/staging/rtl8712/xmit_linux.c skb_copy_bits(pfile->pkt, pfile->buf_len - pfile->pkt_len, buf_len 26 drivers/staging/rtl8712/xmit_osdep.h u32 buf_len; buf_len 1803 drivers/staging/rtl8723bs/core/rtw_cmd.c static void rtw_btinfo_hdl(struct adapter *adapter, u8 *buf, u16 buf_len) buf_len 1813 drivers/staging/rtl8723bs/core/rtw_cmd.c if (info->len > buf_len-2) { buf_len 1815 drivers/staging/rtl8723bs/core/rtw_cmd.c len = buf_len-2; buf_len 1154 drivers/staging/rtl8723bs/include/ieee80211.h #define for_each_ie(ie, buf, buf_len) \ buf_len 1155 drivers/staging/rtl8723bs/include/ieee80211.h for (ie = (void*)buf; (((u8 *)ie) - ((u8 *)buf) + 1) < buf_len; ie = (void*)(((u8 *)ie) + *(((u8 *)ie)+1) + 2)) buf_len 247 drivers/staging/rtl8723bs/include/osdep_service.h void rtw_buf_free(u8 **buf, u32 *buf_len); buf_len 248 drivers/staging/rtl8723bs/include/osdep_service.h void rtw_buf_update(u8 **buf, u32 *buf_len, u8 *src, u32 src_len); buf_len 17 drivers/staging/rtl8723bs/include/xmit_osdep.h __kernel_size_t buf_len; buf_len 319 drivers/staging/rtl8723bs/os_dep/osdep_service.c void rtw_buf_free(u8 **buf, u32 *buf_len) buf_len 321 drivers/staging/rtl8723bs/os_dep/osdep_service.c if (!buf || !buf_len) buf_len 325 drivers/staging/rtl8723bs/os_dep/osdep_service.c *buf_len = 0; buf_len 331 drivers/staging/rtl8723bs/os_dep/osdep_service.c void rtw_buf_update(u8 **buf, u32 *buf_len, u8 *src, u32 src_len) buf_len 337 drivers/staging/rtl8723bs/os_dep/osdep_service.c if (!buf || !buf_len) buf_len 352 drivers/staging/rtl8723bs/os_dep/osdep_service.c ori_len = *buf_len; buf_len 355 drivers/staging/rtl8723bs/os_dep/osdep_service.c *buf_len = 0; buf_len 357 drivers/staging/rtl8723bs/os_dep/osdep_service.c *buf_len = dup_len; buf_len 15 drivers/staging/rtl8723bs/os_dep/xmit_linux.c return (pfile->buf_len - ((SIZE_PTR)(pfile->cur_addr) - (SIZE_PTR)(pfile->buf_start))); buf_len 22 drivers/staging/rtl8723bs/os_dep/xmit_linux.c pfile->pkt_len = pfile->buf_len = pktptr->len; buf_len 35 drivers/staging/rtl8723bs/os_dep/xmit_linux.c skb_copy_bits(pfile->pkt, pfile->buf_len - pfile->pkt_len, rmem, len); buf_len 97 drivers/staging/rts5208/ms.c int use_sg, void *buf, int buf_len) buf_len 103 drivers/staging/rts5208/ms.c if (!buf || !buf_len) buf_len 140 drivers/staging/rts5208/ms.c retval = rtsx_transfer_data(chip, MS_CARD, buf, buf_len, buf_len 1252 drivers/staging/rts5208/ms.c u16 block_addr, u8 page_num, u8 *buf, int buf_len) buf_len 1323 drivers/staging/rts5208/ms.c if (buf && buf_len) { buf_len 1324 drivers/staging/rts5208/ms.c if (buf_len > MS_EXTRA_SIZE) buf_len 1325 drivers/staging/rts5208/ms.c buf_len = MS_EXTRA_SIZE; buf_len 1326 drivers/staging/rts5208/ms.c memcpy(buf, data, buf_len); buf_len 1333 drivers/staging/rts5208/ms.c u8 page_num, u8 *buf, int buf_len) buf_len 1339 drivers/staging/rts5208/ms.c if (!buf || (buf_len < MS_EXTRA_SIZE)) buf_len 2015 drivers/staging/rts5208/rtsx_chip.c int rtsx_read_ppbuf(struct rtsx_chip *chip, u8 *buf, int buf_len) buf_len 2027 drivers/staging/rts5208/rtsx_chip.c for (i = 0; i < buf_len / 256; i++) { buf_len 2041 drivers/staging/rts5208/rtsx_chip.c if (buf_len % 256) { buf_len 2044 drivers/staging/rts5208/rtsx_chip.c for (j = 0; j < buf_len % 256; j++) buf_len 2052 drivers/staging/rts5208/rtsx_chip.c memcpy(ptr, rtsx_get_cmd_data(chip), buf_len % 256); buf_len 2057 drivers/staging/rts5208/rtsx_chip.c int rtsx_write_ppbuf(struct rtsx_chip *chip, u8 *buf, int buf_len) buf_len 2069 drivers/staging/rts5208/rtsx_chip.c for (i = 0; i < buf_len / 256; i++) { buf_len 2083 drivers/staging/rts5208/rtsx_chip.c if (buf_len % 256) { buf_len 2086 drivers/staging/rts5208/rtsx_chip.c for (j = 0; j < buf_len % 256; j++) { buf_len 983 drivers/staging/rts5208/rtsx_chip.h int rtsx_read_ppbuf(struct rtsx_chip *chip, u8 *buf, int buf_len); buf_len 984 drivers/staging/rts5208/rtsx_chip.h int rtsx_write_ppbuf(struct rtsx_chip *chip, u8 *buf, int buf_len); buf_len 644 drivers/staging/rts5208/rtsx_scsi.c int lun, u8 *buf, int buf_len) buf_len 648 drivers/staging/rts5208/rtsx_scsi.c int data_size = buf_len; buf_len 972 drivers/staging/rts5208/rtsx_scsi.c unsigned int buf_len; buf_len 985 drivers/staging/rts5208/rtsx_scsi.c buf_len = (scsi_bufflen(srb) > 12) ? 0x14 : 12; buf_len 987 drivers/staging/rts5208/rtsx_scsi.c buf = kmalloc(buf_len, GFP_KERNEL); buf_len 996 drivers/staging/rts5208/rtsx_scsi.c if ((buf_len > 12) && chip->mspro_formatter_enable && buf_len 1037 drivers/staging/rts5208/rtsx_scsi.c buf_len = min_t(unsigned int, scsi_bufflen(srb), buf_len); buf_len 1038 drivers/staging/rts5208/rtsx_scsi.c rtsx_stor_set_xfer_buf(buf, buf_len, srb); buf_len 1041 drivers/staging/rts5208/rtsx_scsi.c scsi_set_resid(srb, scsi_bufflen(srb) - buf_len); buf_len 1541 drivers/staging/rts5208/rtsx_scsi.c int buf_len; buf_len 1661 drivers/staging/rts5208/rtsx_scsi.c buf_len = min_t(unsigned int, scsi_bufflen(srb), sizeof(status)); buf_len 1662 drivers/staging/rts5208/rtsx_scsi.c rtsx_stor_set_xfer_buf(status, buf_len, srb); buf_len 1663 drivers/staging/rts5208/rtsx_scsi.c scsi_set_resid(srb, scsi_bufflen(srb) - buf_len); buf_len 2410 drivers/staging/rts5208/rtsx_scsi.c int buf_len; buf_len 2529 drivers/staging/rts5208/rtsx_scsi.c buf_len = min_t(unsigned int, scsi_bufflen(srb), sizeof(rtsx_status)); buf_len 2530 drivers/staging/rts5208/rtsx_scsi.c rtsx_stor_set_xfer_buf(rtsx_status, buf_len, srb); buf_len 2531 drivers/staging/rts5208/rtsx_scsi.c scsi_set_resid(srb, scsi_bufflen(srb) - buf_len); buf_len 2777 drivers/staging/rts5208/rtsx_scsi.c unsigned int buf_len; buf_len 2805 drivers/staging/rts5208/rtsx_scsi.c buf_len = 0x3A; buf_len 2808 drivers/staging/rts5208/rtsx_scsi.c buf_len = 0x6A; buf_len 2812 drivers/staging/rts5208/rtsx_scsi.c buf = kmalloc(buf_len, GFP_KERNEL); buf_len 2857 drivers/staging/rts5208/rtsx_scsi.c rtsx_stor_set_xfer_buf(buf, buf_len, srb); buf_len 262 drivers/staging/rts5208/sd.c u16 blk_cnt, u8 bus_width, u8 *buf, int buf_len, buf_len 272 drivers/staging/rts5208/sd.c buf_len = 0; buf_len 274 drivers/staging/rts5208/sd.c if (buf_len > 512) buf_len 318 drivers/staging/rts5208/sd.c if (buf && buf_len) { buf_len 319 drivers/staging/rts5208/sd.c retval = rtsx_read_ppbuf(chip, buf, buf_len); buf_len 329 drivers/staging/rts5208/sd.c u8 bus_width, u8 *buf, int buf_len, int timeout) buf_len 338 drivers/staging/rts5208/sd.c buf_len = 0; buf_len 340 drivers/staging/rts5208/sd.c if (buf_len > 512) { buf_len 345 drivers/staging/rts5208/sd.c if (buf && buf_len) { buf_len 346 drivers/staging/rts5208/sd.c retval = rtsx_write_ppbuf(chip, buf, buf_len); buf_len 976 drivers/staging/rts5208/sd.c u8 func_to_switch, u8 *buf, int buf_len) buf_len 74 drivers/staging/rts5208/xd.c static int xd_read_id(struct rtsx_chip *chip, u8 id_cmd, u8 *id_buf, u8 buf_len) buf_len 95 drivers/staging/rts5208/xd.c if (id_buf && buf_len) { buf_len 96 drivers/staging/rts5208/xd.c if (buf_len > 4) buf_len 97 drivers/staging/rts5208/xd.c buf_len = 4; buf_len 98 drivers/staging/rts5208/xd.c memcpy(id_buf, ptr, buf_len); buf_len 139 drivers/staging/rts5208/xd.c u8 *buf, int buf_len) buf_len 164 drivers/staging/rts5208/xd.c if (buf && buf_len) { buf_len 167 drivers/staging/rts5208/xd.c if (buf_len > 11) buf_len 168 drivers/staging/rts5208/xd.c buf_len = 11; buf_len 169 drivers/staging/rts5208/xd.c memcpy(buf, ptr, buf_len); buf_len 176 drivers/staging/rts5208/xd.c u8 *buf, int buf_len) buf_len 180 drivers/staging/rts5208/xd.c if (!buf || (buf_len < 0)) buf_len 185 drivers/staging/rts5208/xd.c for (i = 0; i < buf_len; i++) buf_len 195 drivers/staging/rts5208/xd.c memcpy(buf, rtsx_get_cmd_data(chip), buf_len); buf_len 201 drivers/staging/rts5208/xd.c int buf_len) buf_len 206 drivers/staging/rts5208/xd.c if (!buf || (buf_len < 10)) buf_len 242 drivers/staging/rts5208/xd.c retval = xd_read_data_from_ppb(chip, 0, buf, buf_len); buf_len 259 drivers/staging/rts5208/xd.c if (ecc_byte < buf_len) { buf_len 270 drivers/staging/rts5208/xd.c retval = xd_read_data_from_ppb(chip, 256, buf, buf_len); buf_len 287 drivers/staging/rts5208/xd.c if (ecc_byte < buf_len) { buf_len 223 drivers/staging/vt6656/device.h unsigned int buf_len; buf_len 976 drivers/staging/vt6656/rxtx.c tx_context->buf_len = tx_bytes; buf_len 1070 drivers/staging/vt6656/rxtx.c context->buf_len = count + 4; /* USB header */ buf_len 288 drivers/staging/vt6656/usbpipe.c dev_dbg(&priv->usb->dev, "Write %d bytes\n", context->buf_len); buf_len 327 drivers/staging/vt6656/usbpipe.c context->buf_len, buf_len 1168 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c u8 iftype, u32 buf_len) buf_len 1212 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c mgmt_tx->size = buf_len; buf_len 1230 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c u32 buf_len = len + sizeof(p2p_vendor_spec) + buf_len 1247 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c mgmt_tx->buff = kmalloc(buf_len, GFP_KERNEL); buf_len 1281 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c buf_len); buf_len 581 drivers/target/iscsi/cxgbit/cxgbit_target.c struct iscsi_datain_req *dr, const void *buf, u32 buf_len) buf_len 586 drivers/target/iscsi/cxgbit/cxgbit_target.c return cxgbit_xmit_nondatain_pdu(conn, cmd, buf, buf_len); buf_len 833 drivers/target/iscsi/cxgbit/cxgbit_target.c unsigned int consumed = 0, buf_len; buf_len 841 drivers/target/iscsi/cxgbit/cxgbit_target.c buf_len = skb_seq_read(consumed, &buf, &st); buf_len 842 drivers/target/iscsi/cxgbit/cxgbit_target.c if (!buf_len) { buf_len 848 drivers/target/iscsi/cxgbit/cxgbit_target.c buf_len, skip + consumed); buf_len 650 drivers/target/iscsi/iscsi_target.c u32 buf_len) buf_len 655 drivers/target/iscsi/iscsi_target.c return iscsit_xmit_nondatain_pdu(conn, cmd, buf, buf_len); buf_len 40 drivers/target/iscsi/iscsi_target_erl1.c u32 buf_len, buf_len 52 drivers/target/iscsi/iscsi_target_erl1.c buf_len = ALIGN(buf_len, 4); buf_len 54 drivers/target/iscsi/iscsi_target_erl1.c buf_len += ISCSI_CRC_LEN; buf_len 57 drivers/target/iscsi/iscsi_target_erl1.c length = min(buf_len, OFFLOAD_BUF_SIZE); buf_len 67 drivers/target/iscsi/iscsi_target_erl1.c while (offset < buf_len) { buf_len 68 drivers/target/iscsi/iscsi_target_erl1.c size = min(buf_len - offset, length); buf_len 315 drivers/tee/tee_core.c if (buf.buf_len > TEE_MAX_ARG_SIZE || buf_len 316 drivers/tee/tee_core.c buf.buf_len < sizeof(struct tee_ioctl_open_session_arg)) buf_len 323 drivers/tee/tee_core.c if (sizeof(arg) + TEE_IOCTL_PARAM_SIZE(arg.num_params) != buf.buf_len) buf_len 386 drivers/tee/tee_core.c if (buf.buf_len > TEE_MAX_ARG_SIZE || buf_len 387 drivers/tee/tee_core.c buf.buf_len < sizeof(struct tee_ioctl_invoke_arg)) buf_len 394 drivers/tee/tee_core.c if (sizeof(arg) + TEE_IOCTL_PARAM_SIZE(arg.num_params) != buf.buf_len) buf_len 520 drivers/tee/tee_core.c if (buf.buf_len > TEE_MAX_ARG_SIZE || buf_len 521 drivers/tee/tee_core.c buf.buf_len < sizeof(struct tee_iocl_supp_recv_arg)) buf_len 528 drivers/tee/tee_core.c if (sizeof(*uarg) + TEE_IOCTL_PARAM_SIZE(num_params) != buf.buf_len) buf_len 618 drivers/tee/tee_core.c if (buf.buf_len > TEE_MAX_ARG_SIZE || buf_len 619 drivers/tee/tee_core.c buf.buf_len < sizeof(struct tee_iocl_supp_send_arg)) buf_len 627 drivers/tee/tee_core.c if (sizeof(*uarg) + TEE_IOCTL_PARAM_SIZE(num_params) > buf.buf_len) buf_len 308 drivers/tty/mips_ejtag_fdc.c unsigned int i, buf_len, cpu; buf_len 331 drivers/tty/mips_ejtag_fdc.c for (buf_len = 0, i = 0; buf_len < 4 && i < count; ++buf_len) { buf_len 333 drivers/tty/mips_ejtag_fdc.c buf[buf_len] = '\r'; buf_len 336 drivers/tty/mips_ejtag_fdc.c buf[buf_len] = s[i]; buf_len 340 drivers/tty/mips_ejtag_fdc.c inc[buf_len] = i; buf_len 342 drivers/tty/mips_ejtag_fdc.c word = mips_ejtag_fdc_encode(&buf_ptr, &buf_len, 1); buf_len 170 drivers/usb/gadget/function/rndis.c unsigned buf_len, rndis_resp_t *r) buf_len 186 drivers/usb/gadget/function/rndis.c if (buf_len && rndis_debug > 1) { buf_len 187 drivers/usb/gadget/function/rndis.c pr_debug("query OID %08x value, len %d:\n", OID, buf_len); buf_len 188 drivers/usb/gadget/function/rndis.c for (i = 0; i < buf_len; i += 16) { buf_len 485 drivers/usb/gadget/function/rndis.c u8 *buf, u32 buf_len, rndis_resp_t *r) buf_len 496 drivers/usb/gadget/function/rndis.c if (buf_len && rndis_debug > 1) { buf_len 497 drivers/usb/gadget/function/rndis.c pr_debug("set OID %08x value, len %d:\n", OID, buf_len); buf_len 498 drivers/usb/gadget/function/rndis.c for (i = 0; i < buf_len; i += 16) { buf_len 545 drivers/usb/gadget/function/rndis.c __func__, OID, buf_len); buf_len 1541 drivers/usb/gadget/udc/pch_udc.c unsigned long buf_len, buf_len 1558 drivers/usb/gadget/udc/pch_udc.c for (; ; bytes -= buf_len, ++len) { buf_len 1559 drivers/usb/gadget/udc/pch_udc.c td->status = PCH_UDC_BS_HST_BSY | min(buf_len, bytes); buf_len 1560 drivers/usb/gadget/udc/pch_udc.c if (bytes <= buf_len) buf_len 1567 drivers/usb/gadget/udc/pch_udc.c i += buf_len; buf_len 763 drivers/usb/gadget/udc/snps_udc_core.c unsigned long buf_len, gfp_t gfp_flags buf_len 776 drivers/usb/gadget/udc/snps_udc_core.c bytes, buf_len); buf_len 798 drivers/usb/gadget/udc/snps_udc_core.c for (i = buf_len; i < bytes; i += buf_len) { buf_len 807 drivers/usb/gadget/udc/snps_udc_core.c } else if (i == buf_len) { buf_len 823 drivers/usb/gadget/udc/snps_udc_core.c if ((bytes - i) >= buf_len) { buf_len 824 drivers/usb/gadget/udc/snps_udc_core.c txbytes = buf_len; buf_len 831 drivers/usb/gadget/udc/snps_udc_core.c if (i == buf_len) { buf_len 268 drivers/usb/host/isp1362-hcd.c size_t buf_len = urb->transfer_buffer_length - urb->actual_length; buf_len 281 drivers/usb/host/isp1362-hcd.c len = min_t(size_t, ep->maxpacket, buf_len); buf_len 286 drivers/usb/host/isp1362-hcd.c len = max_transfer_size(epq, buf_len, ep->maxpacket); buf_len 288 drivers/usb/host/isp1362-hcd.c (int)buf_len); buf_len 294 drivers/usb/host/isp1362-hcd.c len = min_t(size_t, ep->maxpacket, buf_len); buf_len 298 drivers/usb/host/isp1362-hcd.c len = max_transfer_size(epq, buf_len, ep->maxpacket); buf_len 303 drivers/usb/host/isp1362-hcd.c (int)buf_len); buf_len 565 drivers/usb/musb/cppi_dma.c size_t length = tx->buf_len - tx->offset; buf_len 632 drivers/usb/musb/cppi_dma.c if ((tx->offset + maxpacket) <= tx->buf_len) { buf_len 641 drivers/usb/musb/cppi_dma.c partial_len = tx->buf_len - tx->offset; buf_len 642 drivers/usb/musb/cppi_dma.c tx->offset = tx->buf_len; buf_len 766 drivers/usb/musb/cppi_dma.c size_t length = rx->buf_len - rx->offset; buf_len 826 drivers/usb/musb/cppi_dma.c rx->channel.actual_len, rx->buf_len); buf_len 989 drivers/usb/musb/cppi_dma.c cppi_ch->buf_len = len; buf_len 1239 drivers/usb/musb/cppi_dma.c if (tx_ch->offset >= tx_ch->buf_len) { buf_len 1271 drivers/usb/musb/cppi_dma.c if (rx_ch->channel.actual_len != rx_ch->buf_len buf_len 1538 drivers/usb/musb/cppi_dma.c cppi_ch->buf_len = 0; buf_len 89 drivers/usb/musb/cppi_dma.h u32 buf_len; buf_len 157 drivers/usb/musb/musb_trace.h __field(u32, buf_len) buf_len 166 drivers/usb/musb/musb_trace.h __entry->buf_len = urb->transfer_buffer_length; buf_len 175 drivers/usb/musb/musb_trace.h __entry->actual_len, __entry->buf_len, buf_len 218 drivers/usb/musb/musb_trace.h __field(unsigned int, buf_len) buf_len 229 drivers/usb/musb/musb_trace.h __entry->buf_len = req->request.length; buf_len 241 drivers/usb/musb/musb_trace.h __entry->actual_len, __entry->buf_len, buf_len 597 drivers/usb/serial/iuu_phoenix.c int buf_len; buf_len 606 drivers/usb/serial/iuu_phoenix.c buf_len = priv->writelen; buf_len 610 drivers/usb/serial/iuu_phoenix.c buf_len, buf_len, buf_ptr); buf_len 614 drivers/usb/serial/iuu_phoenix.c port->write_urb->transfer_buffer, buf_len + 3, buf_len 202 drivers/usb/storage/realtek_cr.c u8 *cmd, int cmd_len, u8 *buf, int buf_len, buf_len 214 drivers/usb/storage/realtek_cr.c bcb->DataTransferLength = cpu_to_le32(buf_len); buf_len 233 drivers/usb/storage/realtek_cr.c if (buf && buf_len) { buf_len 237 drivers/usb/storage/realtek_cr.c buf, buf_len, NULL); buf_len 264 drivers/usb/storage/realtek_cr.c residue = residue < buf_len ? residue : buf_len; buf_len 267 drivers/usb/storage/realtek_cr.c *act_len = buf_len - residue; buf_len 292 drivers/usb/storage/realtek_cr.c u8 *cmd, int cmd_len, u8 *buf, int buf_len, buf_len 303 drivers/usb/storage/realtek_cr.c bcb->DataTransferLength = cpu_to_le32(buf_len); buf_len 322 drivers/usb/storage/realtek_cr.c if (buf && buf_len) { buf_len 326 drivers/usb/storage/realtek_cr.c buf, buf_len, NULL); buf_len 461 drivers/usb/usbip/stub_rx.c unsigned long long buf_len; buf_len 482 drivers/usb/usbip/stub_rx.c buf_len = (unsigned long long)pdu->u.cmd_submit.transfer_buffer_length; buf_len 484 drivers/usb/usbip/stub_rx.c if (use_sg && !buf_len) { buf_len 490 drivers/usb/usbip/stub_rx.c if (buf_len) { buf_len 492 drivers/usb/usbip/stub_rx.c sgl = sgl_alloc(buf_len, GFP_KERNEL, &nents); buf_len 518 drivers/usb/usbip/stub_rx.c buffer = kzalloc(buf_len, GFP_KERNEL); buf_len 539 drivers/usb/usbip/stub_rx.c if (buf_len) { buf_len 362 drivers/vhost/vsock.c pkt->buf_len = pkt->len; buf_len 94 drivers/video/fbdev/uvesafb.c if (task->t.buf_len < utask->buf_len || buf_len 95 drivers/video/fbdev/uvesafb.c utask->buf_len > msg->len - sizeof(*utask)) { buf_len 105 drivers/video/fbdev/uvesafb.c if (task->t.buf_len && task->buf) buf_len 106 drivers/video/fbdev/uvesafb.c memcpy(task->buf, utask + 1, task->t.buf_len); buf_len 149 drivers/video/fbdev/uvesafb.c int len = sizeof(task->t) + task->t.buf_len; buf_len 176 drivers/video/fbdev/uvesafb.c memcpy((u8 *)(m + 1) + sizeof(task->t), task->buf, task->t.buf_len); buf_len 375 drivers/video/fbdev/uvesafb.c task->t.buf_len = par->vbe_state_size; buf_len 405 drivers/video/fbdev/uvesafb.c task->t.buf_len = par->vbe_state_size; buf_len 424 drivers/video/fbdev/uvesafb.c task->t.buf_len = sizeof(struct vbe_ib); buf_len 505 drivers/video/fbdev/uvesafb.c task->t.buf_len = sizeof(struct vbe_mode_ib); buf_len 624 drivers/video/fbdev/uvesafb.c task->t.buf_len = 0; buf_len 647 drivers/video/fbdev/uvesafb.c task->t.buf_len = EDID_LENGTH; buf_len 975 drivers/video/fbdev/uvesafb.c task->t.buf_len = sizeof(struct uvesafb_pal_entry) * count; buf_len 1274 drivers/video/fbdev/uvesafb.c task->t.buf_len = sizeof(struct vbe_crtc_ib); buf_len 49 fs/btrfs/send.c unsigned short buf_len:15; buf_len 337 fs/btrfs/send.c p->start = p->buf + p->buf_len - 1; buf_len 356 fs/btrfs/send.c p->buf_len = FS_PATH_INLINE_SIZE; buf_len 395 fs/btrfs/send.c if (p->buf_len >= len) buf_len 404 fs/btrfs/send.c old_buf_len = p->buf_len; buf_len 423 fs/btrfs/send.c p->buf_len = ksize(p->buf); buf_len 427 fs/btrfs/send.c p->end = p->buf + p->buf_len - 1; buf_len 955 fs/btrfs/send.c p->buf, p->buf_len); buf_len 963 fs/btrfs/send.c p->buf_len + p->buf - start); buf_len 969 fs/btrfs/send.c p->buf, p->buf_len); buf_len 1018 fs/btrfs/send.c int buf_len; buf_len 1034 fs/btrfs/send.c buf_len = PATH_MAX; buf_len 1035 fs/btrfs/send.c buf = kmalloc(buf_len, GFP_KERNEL); buf_len 1076 fs/btrfs/send.c if (name_len + data_len > buf_len) { buf_len 1077 fs/btrfs/send.c buf_len = name_len + data_len; buf_len 1082 fs/btrfs/send.c char *tmp = krealloc(buf, buf_len, buf_len 1090 fs/btrfs/send.c buf = kvmalloc(buf_len, GFP_KERNEL); buf_len 80 fs/cifs/link.c parse_mf_symlink(const u8 *buf, unsigned int buf_len, unsigned int *_link_len, buf_len 90 fs/cifs/link.c if (buf_len != CIFS_MF_SYMLINK_FILE_SIZE) buf_len 124 fs/cifs/link.c format_mf_symlink(u8 *buf, unsigned int buf_len, const char *link_str) buf_len 131 fs/cifs/link.c if (buf_len != CIFS_MF_SYMLINK_FILE_SIZE) buf_len 145 fs/cifs/link.c scnprintf(buf, buf_len, buf_len 424 fs/cifs/smb2ops.c size_t buf_len, buf_len 446 fs/cifs/smb2ops.c bytes_left = buf_len; buf_len 480 fs/cifs/smb2ops.c bytes_left = buf_len; buf_len 3950 fs/cifs/smb2ops.c char *buf, unsigned int buf_len, struct page **pages, buf_len 3987 fs/cifs/smb2ops.c min_t(unsigned int, buf_len, server->vals->read_rsp_size); buf_len 4028 fs/cifs/smb2ops.c if (buf_len <= data_offset) { buf_len 4057 fs/cifs/smb2ops.c } else if (buf_len >= data_offset + data_len) { buf_len 447 fs/jffs2/scan.c uint32_t hdr_crc, buf_ofs, buf_len; buf_len 497 fs/jffs2/scan.c buf_len = c->wbuf_pagesize; buf_len 499 fs/jffs2/scan.c buf_len = sizeof(*sm); buf_len 502 fs/jffs2/scan.c err = jffs2_fill_scan_buf(c, buf + buf_size - buf_len, buf_len 503 fs/jffs2/scan.c jeb->offset + c->sector_size - buf_len, buf_len 504 fs/jffs2/scan.c buf_len); buf_len 523 fs/jffs2/scan.c memcpy(sumptr + sumlen - buf_len, buf + buf_size - buf_len, buf_len); buf_len 525 fs/jffs2/scan.c if (buf_len < sumlen) { buf_len 529 fs/jffs2/scan.c sumlen - buf_len); buf_len 559 fs/jffs2/scan.c buf_len = c->sector_size; buf_len 561 fs/jffs2/scan.c buf_len = EMPTY_SCAN_SIZE(c->sector_size); buf_len 562 fs/jffs2/scan.c err = jffs2_fill_scan_buf(c, buf, buf_ofs, buf_len); buf_len 648 fs/jffs2/scan.c if (buf_ofs + buf_len < ofs + sizeof(*node)) { buf_len 649 fs/jffs2/scan.c buf_len = min_t(uint32_t, buf_size, jeb->offset + c->sector_size - ofs); buf_len 652 fs/jffs2/scan.c buf_len, ofs); buf_len 653 fs/jffs2/scan.c err = jffs2_fill_scan_buf(c, buf, ofs, buf_len); buf_len 667 fs/jffs2/scan.c scan_end = min_t(uint32_t, EMPTY_SCAN_SIZE(c->sector_size)/8, buf_len); buf_len 696 fs/jffs2/scan.c if (!buf_size && (scan_end != buf_len)) {/* XIP/point case */ buf_len 697 fs/jffs2/scan.c scan_end = buf_len; buf_len 702 fs/jffs2/scan.c buf_len = min_t(uint32_t, buf_size, jeb->offset + c->sector_size - ofs); buf_len 703 fs/jffs2/scan.c if (!buf_len) { buf_len 711 fs/jffs2/scan.c scan_end = buf_len; buf_len 713 fs/jffs2/scan.c buf_len, ofs); buf_len 714 fs/jffs2/scan.c err = jffs2_fill_scan_buf(c, buf, ofs, buf_len); buf_len 798 fs/jffs2/scan.c if (buf_ofs + buf_len < ofs + sizeof(struct jffs2_raw_inode)) { buf_len 799 fs/jffs2/scan.c buf_len = min_t(uint32_t, buf_size, jeb->offset + c->sector_size - ofs); buf_len 802 fs/jffs2/scan.c buf_len, ofs); buf_len 803 fs/jffs2/scan.c err = jffs2_fill_scan_buf(c, buf, ofs, buf_len); buf_len 815 fs/jffs2/scan.c if (buf_ofs + buf_len < ofs + je32_to_cpu(node->totlen)) { buf_len 816 fs/jffs2/scan.c buf_len = min_t(uint32_t, buf_size, jeb->offset + c->sector_size - ofs); buf_len 818 fs/jffs2/scan.c je32_to_cpu(node->totlen), buf_len, buf_len 820 fs/jffs2/scan.c err = jffs2_fill_scan_buf(c, buf, ofs, buf_len); buf_len 833 fs/jffs2/scan.c if (buf_ofs + buf_len < ofs + je32_to_cpu(node->totlen)) { buf_len 834 fs/jffs2/scan.c buf_len = min_t(uint32_t, buf_size, jeb->offset + c->sector_size - ofs); buf_len 836 fs/jffs2/scan.c je32_to_cpu(node->totlen), buf_len, buf_len 838 fs/jffs2/scan.c err = jffs2_fill_scan_buf(c, buf, ofs, buf_len); buf_len 850 fs/jffs2/scan.c if (buf_ofs + buf_len < ofs + je32_to_cpu(node->totlen)) { buf_len 851 fs/jffs2/scan.c buf_len = min_t(uint32_t, buf_size, jeb->offset + c->sector_size - ofs); buf_len 853 fs/jffs2/scan.c je32_to_cpu(node->totlen), buf_len, buf_len 855 fs/jffs2/scan.c err = jffs2_fill_scan_buf(c, buf, ofs, buf_len); buf_len 756 fs/ubifs/file.c bu->buf_len = bu->zbranch[bu->cnt - 1].offs + buf_len 759 fs/ubifs/file.c ubifs_assert(c, bu->buf_len > 0); buf_len 760 fs/ubifs/file.c ubifs_assert(c, bu->buf_len <= c->leb_size); buf_len 761 fs/ubifs/file.c bu->buf = kmalloc(bu->buf_len, GFP_NOFS | __GFP_NOWARN); buf_len 878 fs/ubifs/file.c bu->buf_len = c->max_bu_buf_len; buf_len 905 fs/ubifs/io.c int err, buf_len = ALIGN(len, c->min_io_size); buf_len 909 fs/ubifs/io.c buf_len); buf_len 922 fs/ubifs/io.c err = ubifs_leb_write(c, lnum, buf, offs, buf_len); buf_len 1535 fs/ubifs/tnc.c if (len > bu->buf_len) { buf_len 1567 fs/ubifs/tnc.c if (len > bu->buf_len) { buf_len 1581 fs/ubifs/tnc.c if (len > bu->buf_len) buf_len 1760 fs/ubifs/tnc.c if (len > bu->buf_len) { buf_len 1761 fs/ubifs/tnc.c ubifs_err(c, "buffer too small %d vs %d", bu->buf_len, len); buf_len 432 fs/ubifs/tnc_commit.c int lnum, offs, len, next_len, buf_len, buf_offs, used, avail; buf_len 442 fs/ubifs/tnc_commit.c buf_len = ubifs_idx_node_sz(c, c->fanout); buf_len 443 fs/ubifs/tnc_commit.c buf_len = ALIGN(buf_len, c->min_io_size); buf_len 445 fs/ubifs/tnc_commit.c avail = buf_len; buf_len 466 fs/ubifs/tnc_commit.c avail = buf_len; buf_len 521 fs/ubifs/tnc_commit.c blen = buf_len; buf_len 539 fs/ubifs/tnc_commit.c avail = buf_len - used; buf_len 828 fs/ubifs/tnc_commit.c int i, lnum, offs, len, next_len, buf_len, buf_offs, used; buf_len 843 fs/ubifs/tnc_commit.c buf_len = ALIGN(c->max_idx_node_sz, c->min_io_size); buf_len 845 fs/ubifs/tnc_commit.c avail = buf_len; buf_len 912 fs/ubifs/tnc_commit.c avail = buf_len; buf_len 984 fs/ubifs/tnc_commit.c blen = buf_len; buf_len 1007 fs/ubifs/tnc_commit.c avail = buf_len - used; buf_len 807 fs/ubifs/ubifs.h int buf_len; buf_len 431 fs/xfs/xfs_trace.h __field(size_t, buf_len) buf_len 447 fs/xfs/xfs_trace.h __entry->buf_len = BBTOB(bip->bli_buf->b_length); buf_len 459 fs/xfs/xfs_trace.h __entry->buf_len, buf_len 784 include/linux/dmaengine.h struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, buf_len 864 include/linux/dmaengine.h struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, buf_len 871 include/linux/dmaengine.h return chan->device->device_prep_dma_cyclic(chan, buf_addr, buf_len, buf_len 1604 include/linux/hyperv.h int hyperv_read_cfg_blk(struct pci_dev *dev, void *buf, unsigned int buf_len, buf_len 1613 include/linux/hyperv.h int (*read_block)(struct pci_dev *dev, void *buf, unsigned int buf_len, buf_len 145 include/linux/kexec.h unsigned long buf_len); buf_len 187 include/linux/kexec.h unsigned long buf_len); buf_len 79 include/linux/libnvdimm.h unsigned int buf_len, int *cmd_rc); buf_len 272 include/linux/libnvdimm.h unsigned int buf_len, int *cmd_rc) buf_len 277 include/linux/libnvdimm.h return nd_desc->ndctl(nd_desc, nvdimm, cmd, buf, buf_len, cmd_rc); buf_len 54 include/linux/mpi.h int mpi_read_buffer(MPI a, uint8_t *buf, unsigned buf_len, unsigned *nbytes, buf_len 665 include/linux/qed/qed_rdma_if.h dma_addr_t addr, u16 buf_len, void *cookie, buf_len 1304 include/linux/rtsx_pci.h int rtsx_pci_read_ppbuf(struct rtsx_pcr *pcr, u8 *buf, int buf_len); buf_len 1305 include/linux/rtsx_pci.h int rtsx_pci_write_ppbuf(struct rtsx_pcr *pcr, u8 *buf, int buf_len); buf_len 87 include/linux/rtsx_usb.h extern int rtsx_usb_read_ppbuf(struct rtsx_ucr *ucr, u8 *buf, int buf_len); buf_len 88 include/linux/rtsx_usb.h extern int rtsx_usb_write_ppbuf(struct rtsx_ucr *ucr, u8 *buf, int buf_len); buf_len 55 include/linux/virtio_vsock.h u32 buf_len; buf_len 258 include/media/dvb_frontend.h int (*calc_regs)(struct dvb_frontend *fe, u8 *buf, int buf_len); buf_len 191 include/net/ip_vs.h static inline const char *ip_vs_dbg_addr(int af, char *buf, size_t buf_len, buf_len 198 include/net/ip_vs.h len = snprintf(&buf[*idx], buf_len - *idx, "[%pI6c]", buf_len 202 include/net/ip_vs.h len = snprintf(&buf[*idx], buf_len - *idx, "%pI4", buf_len 206 include/net/ip_vs.h BUG_ON(*idx > buf_len + 1); buf_len 625 include/scsi/libfc.h unsigned char buf_len; buf_len 66 include/scsi/scsi_common.h int scsi_set_sense_information(u8 *buf, int buf_len, u64 info); buf_len 67 include/scsi/scsi_common.h int scsi_set_sense_field_pointer(u8 *buf, int buf_len, u16 fp, u8 bp, bool cd); buf_len 406 include/scsi/scsi_device.h int buf_len); buf_len 328 include/trace/trace_events.h #define __print_hex(buf, buf_len) \ buf_len 329 include/trace/trace_events.h trace_print_hex_seq(p, buf, buf_len, false) buf_len 332 include/trace/trace_events.h #define __print_hex_str(buf, buf_len) \ buf_len 333 include/trace/trace_events.h trace_print_hex_seq(p, buf, buf_len, true) buf_len 502 include/uapi/linux/bpf.h __u32 buf_len; /* input/output: buf len */ buf_len 130 include/uapi/linux/tee.h __u64 buf_len; buf_len 35 include/uapi/video/uvesafb.h int buf_len; buf_len 1177 kernel/bpf/cgroup.c size_t, buf_len, u64, flags) buf_len 1187 kernel/bpf/cgroup.c tmp_ret = sysctl_cpy_dir(ctx->head->parent, &buf, &buf_len); buf_len 1192 kernel/bpf/cgroup.c ret = strscpy(buf, ctx->table->procname, buf_len); buf_len 1234 kernel/bpf/cgroup.c char *, buf, size_t, buf_len) buf_len 1236 kernel/bpf/cgroup.c return copy_sysctl_value(buf, buf_len, ctx->cur_val, ctx->cur_len); buf_len 1249 kernel/bpf/cgroup.c size_t, buf_len) buf_len 1252 kernel/bpf/cgroup.c if (buf && buf_len) buf_len 1253 kernel/bpf/cgroup.c memset(buf, '\0', buf_len); buf_len 1256 kernel/bpf/cgroup.c return copy_sysctl_value(buf, buf_len, ctx->new_val, ctx->new_len); buf_len 1269 kernel/bpf/cgroup.c const char *, buf, size_t, buf_len) buf_len 1271 kernel/bpf/cgroup.c if (!ctx->write || !ctx->new_val || !ctx->new_len || !buf || !buf_len) buf_len 1274 kernel/bpf/cgroup.c if (buf_len > PAGE_SIZE - 1) buf_len 1277 kernel/bpf/cgroup.c memcpy(ctx->new_val, buf, buf_len); buf_len 1278 kernel/bpf/cgroup.c ctx->new_len = buf_len; buf_len 364 kernel/bpf/helpers.c static int __bpf_strtoull(const char *buf, size_t buf_len, u64 flags, buf_len 369 kernel/bpf/helpers.c size_t cur_len = buf_len; buf_len 374 kernel/bpf/helpers.c if (!buf || !buf_len || !res || !is_negative) buf_len 383 kernel/bpf/helpers.c while (cur_buf < buf + buf_len && isspace(*cur_buf)) buf_len 386 kernel/bpf/helpers.c *is_negative = (cur_buf < buf + buf_len && *cur_buf == '-'); buf_len 415 kernel/bpf/helpers.c static int __bpf_strtoll(const char *buf, size_t buf_len, u64 flags, buf_len 422 kernel/bpf/helpers.c err = __bpf_strtoull(buf, buf_len, flags, &_res, &is_negative); buf_len 437 kernel/bpf/helpers.c BPF_CALL_4(bpf_strtol, const char *, buf, size_t, buf_len, u64, flags, buf_len 443 kernel/bpf/helpers.c err = __bpf_strtoll(buf, buf_len, flags, &_res); buf_len 462 kernel/bpf/helpers.c BPF_CALL_4(bpf_strtoul, const char *, buf, size_t, buf_len, u64, flags, buf_len 469 kernel/bpf/helpers.c err = __bpf_strtoull(buf, buf_len, flags, &_res, &is_negative); buf_len 2725 kernel/bpf/syscall.c if (put_user(len, &uattr->task_fd_query.buf_len)) buf_len 2727 kernel/bpf/syscall.c input_len = attr->task_fd_query.buf_len; buf_len 63 kernel/kexec_elf.c static bool elf_is_ehdr_sane(const struct elfhdr *ehdr, size_t buf_len) buf_len 91 kernel/kexec_elf.c } else if (ehdr->e_phoff + phdr_size > buf_len) { buf_len 110 kernel/kexec_elf.c } else if (ehdr->e_shoff + shdr_size > buf_len) { buf_len 185 kernel/kexec_elf.c static bool elf_is_phdr_sane(const struct elf_phdr *phdr, size_t buf_len) buf_len 191 kernel/kexec_elf.c } else if (phdr->p_offset + phdr->p_filesz > buf_len) { buf_len 39 kernel/kexec_file.c unsigned long buf_len) buf_len 45 kernel/kexec_file.c ret = (*fops)->probe(buf, buf_len); buf_len 57 kernel/kexec_file.c unsigned long buf_len) buf_len 59 kernel/kexec_file.c return kexec_image_probe_default(image, buf, buf_len); buf_len 93 kernel/kexec_file.c unsigned long buf_len) buf_len 100 kernel/kexec_file.c return image->fops->verify_sig(buf, buf_len); buf_len 104 kernel/kexec_file.c unsigned long buf_len) buf_len 106 kernel/kexec_file.c return kexec_image_verify_sig_default(image, buf, buf_len); buf_len 217 kernel/trace/trace_output.c trace_print_hex_seq(struct trace_seq *p, const unsigned char *buf, int buf_len, buf_len 224 kernel/trace/trace_output.c for (i = 0; i < buf_len; i += 16) buf_len 225 kernel/trace/trace_output.c trace_seq_printf(p, fmt, min(buf_len - i, 16), &buf[i]); buf_len 239 kernel/trace/trace_output.c size_t buf_len = count * el_size; buf_len 243 kernel/trace/trace_output.c while (ptr < buf + buf_len) { buf_len 143 lib/mpi/mpicoder.c int mpi_read_buffer(MPI a, uint8_t *buf, unsigned buf_len, unsigned *nbytes, buf_len 165 lib/mpi/mpicoder.c if (buf_len < n - lzeros) { buf_len 260 lib/mpi/mpicoder.c int i, x, buf_len; buf_len 275 lib/mpi/mpicoder.c buf_len = miter.length; buf_len 279 lib/mpi/mpicoder.c i = min_t(unsigned, nbytes - n, buf_len); buf_len 284 lib/mpi/mpicoder.c buf_len -= i; buf_len 285 lib/mpi/mpicoder.c if (!buf_len) { buf_len 287 lib/mpi/mpicoder.c buf_len = miter.length; buf_len 304 lib/mpi/mpicoder.c if (!--buf_len) { buf_len 306 lib/mpi/mpicoder.c buf_len = miter.length; buf_len 125 net/bluetooth/ecdh_helper.c unsigned int buf_len; buf_len 140 net/bluetooth/ecdh_helper.c buf_len = crypto_ecdh_key_len(&p); buf_len 141 net/bluetooth/ecdh_helper.c buf = kmalloc(buf_len, GFP_KERNEL); buf_len 147 net/bluetooth/ecdh_helper.c err = crypto_ecdh_encode_key(buf, buf_len, &p); buf_len 151 net/bluetooth/ecdh_helper.c err = crypto_kpp_set_secret(tfm, buf, buf_len); buf_len 55 net/ceph/auth_none.c au->buf_len = p - (void *)au->buf; buf_len 56 net/ceph/auth_none.c dout("%s built authorizer len %d\n", __func__, au->buf_len); buf_len 111 net/ceph/auth_none.c auth->authorizer_buf_len = au->buf_len; buf_len 18 net/ceph/auth_none.h int buf_len; buf_len 55 net/ceph/auth_x.c int buf_len, int plaintext_len) buf_len 64 net/ceph/auth_x.c ret = ceph_crypt(secret, true, buf + sizeof(u32), buf_len - sizeof(u32), buf_len 161 net/ceph/crypto.c const void *buf, unsigned int buf_len) buf_len 167 net/ceph/crypto.c unsigned int chunk_len = PAGE_ALIGN(off + buf_len); buf_len 171 net/ceph/crypto.c if (buf_len == 0) { buf_len 194 net/ceph/crypto.c unsigned int len = min(chunk_len - off, buf_len); buf_len 205 net/ceph/crypto.c buf_len -= len; buf_len 207 net/ceph/crypto.c WARN_ON(buf_len != 0); buf_len 219 net/ceph/crypto.c void *buf, int buf_len, int in_len, int *pout_len) buf_len 229 net/ceph/crypto.c WARN_ON(crypt_len > buf_len); buf_len 283 net/ceph/crypto.c void *buf, int buf_len, int in_len, int *pout_len) buf_len 290 net/ceph/crypto.c return ceph_aes_crypt(key, encrypt, buf, buf_len, in_len, buf_len 28 net/ceph/crypto.h void *buf, int buf_len, int in_len, int *pout_len); buf_len 1767 net/ipv4/cipso_ipv4.c static int cipso_v4_genopt(unsigned char *buf, u32 buf_len, buf_len 1774 net/ipv4/cipso_ipv4.c if (buf_len <= CIPSO_V4_HDR_LEN) buf_len 1782 net/ipv4/cipso_ipv4.c memset(buf, 0, buf_len); buf_len 1788 net/ipv4/cipso_ipv4.c buf_len - CIPSO_V4_HDR_LEN); buf_len 1794 net/ipv4/cipso_ipv4.c buf_len - CIPSO_V4_HDR_LEN); buf_len 1800 net/ipv4/cipso_ipv4.c buf_len - CIPSO_V4_HDR_LEN); buf_len 1806 net/ipv4/cipso_ipv4.c buf_len - CIPSO_V4_HDR_LEN); buf_len 1842 net/ipv4/cipso_ipv4.c u32 buf_len; buf_len 1858 net/ipv4/cipso_ipv4.c buf_len = CIPSO_V4_OPT_LEN_MAX; buf_len 1859 net/ipv4/cipso_ipv4.c buf = kmalloc(buf_len, GFP_ATOMIC); buf_len 1865 net/ipv4/cipso_ipv4.c ret_val = cipso_v4_genopt(buf, buf_len, doi_def, secattr); buf_len 1868 net/ipv4/cipso_ipv4.c buf_len = ret_val; buf_len 1874 net/ipv4/cipso_ipv4.c opt_len = (buf_len + 3) & ~3; buf_len 1880 net/ipv4/cipso_ipv4.c memcpy(opt->opt.__data, buf, buf_len); buf_len 1927 net/ipv4/cipso_ipv4.c u32 buf_len; buf_len 1935 net/ipv4/cipso_ipv4.c buf_len = CIPSO_V4_OPT_LEN_MAX; buf_len 1936 net/ipv4/cipso_ipv4.c buf = kmalloc(buf_len, GFP_ATOMIC); buf_len 1942 net/ipv4/cipso_ipv4.c ret_val = cipso_v4_genopt(buf, buf_len, doi_def, secattr); buf_len 1945 net/ipv4/cipso_ipv4.c buf_len = ret_val; buf_len 1951 net/ipv4/cipso_ipv4.c opt_len = (buf_len + 3) & ~3; buf_len 1957 net/ipv4/cipso_ipv4.c memcpy(opt->opt.__data, buf, buf_len); buf_len 2176 net/ipv4/cipso_ipv4.c u32 buf_len = CIPSO_V4_OPT_LEN_MAX; buf_len 2180 net/ipv4/cipso_ipv4.c ret_val = cipso_v4_genopt(buf, buf_len, doi_def, secattr); buf_len 2183 net/ipv4/cipso_ipv4.c buf_len = ret_val; buf_len 2184 net/ipv4/cipso_ipv4.c opt_len = (buf_len + 3) & ~3; buf_len 2225 net/ipv4/cipso_ipv4.c memcpy(iph + 1, buf, buf_len); buf_len 2226 net/ipv4/cipso_ipv4.c if (opt_len > buf_len) buf_len 2227 net/ipv4/cipso_ipv4.c memset((char *)(iph + 1) + buf_len, 0, opt_len - buf_len); buf_len 727 net/ipv6/calipso.c static int calipso_genopt(unsigned char *buf, u32 start, u32 buf_len, buf_len 739 net/ipv6/calipso.c if (buf_len <= start + pad + CALIPSO_HDR_LEN) buf_len 751 net/ipv6/calipso.c buf_len - start - pad - len); buf_len 916 net/ipv6/calipso.c unsigned int start, end, buf_len, pad, hop_len; buf_len 931 net/ipv6/calipso.c buf_len = hop_len + start - end + CALIPSO_OPT_LEN_MAX_WITH_PAD; buf_len 932 net/ipv6/calipso.c new = kzalloc(buf_len, GFP_ATOMIC); buf_len 938 net/ipv6/calipso.c ret_val = calipso_genopt((unsigned char *)new, start, buf_len, doi_def, buf_len 945 net/ipv6/calipso.c buf_len = start + ret_val; buf_len 947 net/ipv6/calipso.c pad = ((buf_len & 4) + (end & 7)) & 7; buf_len 948 net/ipv6/calipso.c calipso_pad_write((unsigned char *)new, buf_len, pad); buf_len 949 net/ipv6/calipso.c buf_len += pad; buf_len 952 net/ipv6/calipso.c memcpy((char *)new + buf_len, (char *)hop + end, hop_len - end); buf_len 953 net/ipv6/calipso.c buf_len += hop_len - end; buf_len 956 net/ipv6/calipso.c new->hdrlen = buf_len / 8 - 1; buf_len 258 net/netfilter/ipvs/ip_vs_ftp.c unsigned int buf_len; buf_len 362 net/netfilter/ipvs/ip_vs_ftp.c buf_len = strlen(buf); buf_len 378 net/netfilter/ipvs/ip_vs_ftp.c buf, buf_len); buf_len 13 net/netfilter/ipvs/ip_vs_pe_sip.c static const char *ip_vs_dbg_callid(char *buf, size_t buf_len, buf_len 18 net/netfilter/ipvs/ip_vs_pe_sip.c size_t len = min3(max_len, callid_len, buf_len - *idx - 1); buf_len 319 net/tls/tls_device_fallback.c int buf_len; buf_len 325 net/tls/tls_device_fallback.c buf_len = TLS_CIPHER_AES_GCM_128_SALT_SIZE + buf_len 330 net/tls/tls_device_fallback.c buf = kmalloc(buf_len, GFP_ATOMIC); buf_len 291 net/vmw_vsock/virtio_transport.c int buf_len = VIRTIO_VSOCK_DEFAULT_RX_BUF_SIZE; buf_len 304 net/vmw_vsock/virtio_transport.c pkt->buf = kmalloc(buf_len, GFP_KERNEL); buf_len 310 net/vmw_vsock/virtio_transport.c pkt->buf_len = buf_len; buf_len 311 net/vmw_vsock/virtio_transport.c pkt->len = buf_len; buf_len 316 net/vmw_vsock/virtio_transport.c sg_init_one(&buf, pkt->buf, buf_len); buf_len 71 net/vmw_vsock/virtio_transport_common.c pkt->buf_len = len; buf_len 912 net/vmw_vsock/virtio_transport_common.c if (pkt->len <= last_pkt->buf_len - last_pkt->len) { buf_len 122 samples/bpf/task_fd_query_user.c char *buf, __u32 *buf_len, __u32 *prog_id, __u32 *fd_type, buf_len 156 samples/bpf/task_fd_query_user.c CHECK_PERROR_RET(bpf_task_fd_query(getpid(), fd, 0, buf, buf_len, buf_len 166 samples/bpf/task_fd_query_user.c char *buf, __u32 buf_len) buf_len 174 samples/bpf/task_fd_query_user.c buf, &buf_len, &prog_id, buf_len 201 samples/bpf/task_fd_query_user.c if (buf_len != 0) { buf_len 63 samples/seccomp/bpf-fancy.c JEQ((unsigned long)buf, JUMP(&l, buf_len)), buf_len 76 samples/seccomp/bpf-fancy.c LABEL(&l, buf_len), buf_len 660 security/apparmor/apparmorfs.c static ssize_t query_data(char *buf, size_t buf_len, buf_len 681 security/apparmor/apparmorfs.c if (buf_len < sizeof(bytes) + sizeof(blocks)) buf_len 711 security/apparmor/apparmorfs.c buf_len) { buf_len 753 security/apparmor/apparmorfs.c static ssize_t query_label(char *buf, size_t buf_len, buf_len 798 security/apparmor/apparmorfs.c return scnprintf(buf, buf_len, buf_len 66 security/integrity/ima/ima.h int buf_len; buf_len 316 security/integrity/ima/ima.h int ima_read_modsig(enum ima_hooks func, const void *buf, loff_t buf_len, buf_len 331 security/integrity/ima/ima.h loff_t buf_len, struct modsig **modsig) buf_len 644 security/integrity/ima/ima_main.c .buf_len = size}; buf_len 60 security/integrity/ima/ima_modsig.c int ima_read_modsig(enum ima_hooks func, const void *buf, loff_t buf_len, buf_len 70 security/integrity/ima/ima_modsig.c if (buf_len <= marker_len + sizeof(*sig)) buf_len 73 security/integrity/ima/ima_modsig.c p = buf + buf_len - marker_len; buf_len 77 security/integrity/ima/ima_modsig.c buf_len -= marker_len; buf_len 80 security/integrity/ima/ima_modsig.c rc = mod_check_sig(sig, buf_len, func_tokens[func]); buf_len 85 security/integrity/ima/ima_modsig.c buf_len -= sig_len + sizeof(*sig); buf_len 92 security/integrity/ima/ima_modsig.c hdr->pkcs7_msg = pkcs7_parse_message(buf + buf_len, sig_len); buf_len 99 security/integrity/ima/ima_modsig.c memcpy(hdr->raw_pkcs7, buf + buf_len, sig_len); buf_len 438 security/integrity/ima/ima_template_lib.c if ((!event_data->buf) || (event_data->buf_len == 0)) buf_len 442 security/integrity/ima/ima_template_lib.c event_data->buf_len, DATA_FMT_HEX, buf_len 239 security/tomoyo/realpath.c unsigned int buf_len = PAGE_SIZE / 2; buf_len 250 security/tomoyo/realpath.c buf_len <<= 1; buf_len 252 security/tomoyo/realpath.c buf = kmalloc(buf_len, GFP_NOFS); buf_len 256 security/tomoyo/realpath.c buf[buf_len - 1] = '\0'; buf_len 259 security/tomoyo/realpath.c pos = dentry->d_op->d_dname(dentry, buf, buf_len - 1); buf_len 271 security/tomoyo/realpath.c buf_len - 1); buf_len 274 security/tomoyo/realpath.c pos = tomoyo_get_absolute_path(path, buf, buf_len - 1); buf_len 281 security/tomoyo/realpath.c buf_len - 1); buf_len 1163 sound/core/control.c size_t buf_len, name_len; buf_len 1176 sound/core/control.c buf_len = ue->info.value.enumerated.names_length; buf_len 1179 sound/core/control.c name_len = strnlen(p, buf_len); buf_len 1180 sound/core/control.c if (name_len == 0 || name_len >= 64 || name_len == buf_len) { buf_len 1185 sound/core/control.c buf_len -= name_len + 1; buf_len 97 sound/usb/bcd2000/bcd2000.c const unsigned char *buf, unsigned int buf_len) buf_len 106 sound/usb/bcd2000/bcd2000.c bcd2000_dump_buffer(PREFIX "received from device: ", buf, buf_len); buf_len 108 sound/usb/bcd2000/bcd2000.c if (buf_len < 2) buf_len 117 sound/usb/bcd2000/bcd2000.c tocopy = min(payload_length, buf_len-1); buf_len 245 sound/x86/intel_hdmi_lpe_audio.h u32 buf_len:20; buf_len 88 tools/arch/x86/include/asm/insn.h extern void insn_init(struct insn *insn, const void *kaddr, int buf_len, int x86_64); buf_len 108 tools/arch/x86/include/asm/insn.h const void *kaddr, int buf_len) buf_len 111 tools/arch/x86/include/asm/insn.h insn_init(insn, kaddr, buf_len, 1); buf_len 113 tools/arch/x86/include/asm/insn.h insn_init(insn, kaddr, buf_len, 0); buf_len 40 tools/arch/x86/lib/insn.c void insn_init(struct insn *insn, const void *kaddr, int buf_len, int x86_64) buf_len 46 tools/arch/x86/lib/insn.c if (buf_len > MAX_INSN_SIZE) buf_len 47 tools/arch/x86/lib/insn.c buf_len = MAX_INSN_SIZE; buf_len 51 tools/arch/x86/lib/insn.c insn->end_kaddr = kaddr + buf_len; buf_len 331 tools/iio/iio_generic_buffer.c unsigned long buf_len = 128; buf_len 383 tools/iio/iio_generic_buffer.c buf_len = strtoul(optarg, &dummy, 10); buf_len 603 tools/iio/iio_generic_buffer.c ret = write_sysfs_int("length", buf_dir_name, buf_len); buf_len 616 tools/iio/iio_generic_buffer.c data = malloc(scan_size * buf_len); buf_len 651 tools/iio/iio_generic_buffer.c toread = buf_len; buf_len 502 tools/include/uapi/linux/bpf.h __u32 buf_len; /* input/output: buf len */ buf_len 684 tools/lib/bpf/bpf.c int bpf_task_fd_query(int pid, int fd, __u32 flags, char *buf, __u32 *buf_len, buf_len 695 tools/lib/bpf/bpf.c attr.task_fd_query.buf_len = *buf_len; buf_len 698 tools/lib/bpf/bpf.c *buf_len = attr.task_fd_query.buf_len; buf_len 171 tools/lib/bpf/bpf.h __u32 *buf_len, __u32 *prog_id, __u32 *fd_type, buf_len 69 tools/lib/bpf/libbpf_probes.c size_t insns_cnt, char *buf, size_t buf_len, __u32 ifindex) buf_len 115 tools/lib/bpf/libbpf_probes.c fd = bpf_load_program_xattr(&xattr, buf, buf_len); buf_len 53 tools/perf/tests/code-reading.c size_t *buf_len) buf_len 59 tools/perf/tests/code-reading.c while (*buf_len > 0) { buf_len 73 tools/perf/tests/code-reading.c (*buf_len)--; buf_len 106 tools/perf/tests/code-reading.c size_t buf_len) buf_len 125 tools/perf/tests/code-reading.c ret = read_objdump_chunk(&p, &buf, &buf_len); buf_len 275 tools/perf/util/arm-spe-pkt-decoder.c size_t buf_len) buf_len 285 tools/perf/util/arm-spe-pkt-decoder.c return snprintf(buf, buf_len, "%s", name); buf_len 287 tools/perf/util/arm-spe-pkt-decoder.c size_t blen = buf_len; buf_len 290 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, "EV"); buf_len 294 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, " EXCEPTION-GEN"); buf_len 299 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, " RETIRED"); buf_len 304 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, " L1D-ACCESS"); buf_len 309 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, " L1D-REFILL"); buf_len 314 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, " TLB-ACCESS"); buf_len 319 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, " TLB-REFILL"); buf_len 324 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, " NOT-TAKEN"); buf_len 329 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, " MISPRED"); buf_len 335 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, " LLC-ACCESS"); buf_len 340 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, " LLC-REFILL"); buf_len 345 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, " REMOTE-ACCESS"); buf_len 353 tools/perf/util/arm-spe-pkt-decoder.c return buf_len - blen; buf_len 357 tools/perf/util/arm-spe-pkt-decoder.c case 0: return snprintf(buf, buf_len, "%s", payload & 0x1 ? buf_len 360 tools/perf/util/arm-spe-pkt-decoder.c size_t blen = buf_len; buf_len 363 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, "ST"); buf_len 365 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, "LD"); buf_len 370 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, " AT"); buf_len 375 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, " EXCL"); buf_len 380 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, " AR"); buf_len 385 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, " SIMD-FP"); buf_len 392 tools/perf/util/arm-spe-pkt-decoder.c return buf_len - blen; buf_len 395 tools/perf/util/arm-spe-pkt-decoder.c size_t blen = buf_len; buf_len 397 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, "B"); buf_len 401 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, " COND"); buf_len 406 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, " IND"); buf_len 413 tools/perf/util/arm-spe-pkt-decoder.c return buf_len - blen; buf_len 419 tools/perf/util/arm-spe-pkt-decoder.c return snprintf(buf, buf_len, "%s %lld", name, payload); buf_len 426 tools/perf/util/arm-spe-pkt-decoder.c return snprintf(buf, buf_len, "%s 0x%llx el%d ns=%d", buf_len 428 tools/perf/util/arm-spe-pkt-decoder.c case 2: return snprintf(buf, buf_len, "VA 0x%llx", payload); buf_len 431 tools/perf/util/arm-spe-pkt-decoder.c return snprintf(buf, buf_len, "PA 0x%llx ns=%d", buf_len 436 tools/perf/util/arm-spe-pkt-decoder.c return snprintf(buf, buf_len, "%s 0x%lx el%d", name, buf_len 439 tools/perf/util/arm-spe-pkt-decoder.c size_t blen = buf_len; buf_len 441 tools/perf/util/arm-spe-pkt-decoder.c ret = snprintf(buf, buf_len, "%s %d ", name, buf_len 446 tools/perf/util/arm-spe-pkt-decoder.c case 0: ret = snprintf(buf, buf_len, "TOT"); break; buf_len 447 tools/perf/util/arm-spe-pkt-decoder.c case 1: ret = snprintf(buf, buf_len, "ISSUE"); break; buf_len 448 tools/perf/util/arm-spe-pkt-decoder.c case 2: ret = snprintf(buf, buf_len, "XLAT"); break; buf_len 454 tools/perf/util/arm-spe-pkt-decoder.c return buf_len - blen; buf_len 460 tools/perf/util/arm-spe-pkt-decoder.c return snprintf(buf, buf_len, "%s 0x%llx (%d)", buf_len 91 tools/perf/util/cs-etm.c size_t buf_len, buf_used; buf_len 1015 tools/perf/util/cs-etm.c etmq->buf_len = 0; buf_len 1036 tools/perf/util/cs-etm.c etmq->buf_len = aux_buffer->size; buf_len 1039 tools/perf/util/cs-etm.c return etmq->buf_len; buf_len 1536 tools/perf/util/cs-etm.c if (!etmq->buf_len) { buf_len 1549 tools/perf/util/cs-etm.c return etmq->buf_len; buf_len 1918 tools/perf/util/cs-etm.c etmq->buf_len, buf_len 1925 tools/perf/util/cs-etm.c etmq->buf_len -= processed; buf_len 2051 tools/perf/util/cs-etm.c } while (etmq->buf_len); buf_len 224 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c size_t buf_len) buf_len 229 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c return snprintf(buf, buf_len, "%s %s%d", buf_len 235 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c return snprintf(buf, buf_len, "%s", buf_len 50 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.h size_t buf_len); buf_len 659 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c size_t buf_len) buf_len 672 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c return snprintf(buf, buf_len, "%s", name); buf_len 674 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c size_t blen = buf_len; buf_len 696 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c return buf_len - blen; buf_len 703 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c return snprintf(buf, buf_len, "%s no ip", name); buf_len 711 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c return snprintf(buf, buf_len, "%s 0x%llx", name, payload); buf_len 713 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c return snprintf(buf, buf_len, "%s CTC 0x%x FC 0x%x", name, buf_len 716 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c return snprintf(buf, buf_len, "%s %lld", name, payload); buf_len 718 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c return snprintf(buf, buf_len, "%s TXAbort:%u InTX:%u", buf_len 724 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c ret = snprintf(buf, buf_len, "%s 0x%llx (NR=%d)", buf_len 728 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c return snprintf(buf, buf_len, "%s 0x%llx IP:0", name, payload); buf_len 730 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c return snprintf(buf, buf_len, "%s 0x%llx IP:1", name, payload); buf_len 733 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c return snprintf(buf, buf_len, "%s IP:0", name); buf_len 736 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c return snprintf(buf, buf_len, "%s IP:1", name); buf_len 738 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c return snprintf(buf, buf_len, "%s 0x%llx Hints 0x%x Extensions 0x%x", buf_len 742 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c return snprintf(buf, buf_len, "%s 0x%llx HW:%u CState:%u Sub-CState:%u", buf_len 747 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c return snprintf(buf, buf_len, "%s 0x%llx Last CState:%u Deepest CState:%u Wake Reason 0x%x", buf_len 753 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c return snprintf(buf, buf_len, "%s SZ %s-byte Type 0x%llx", buf_len 756 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c return snprintf(buf, buf_len, "%s ID 0x%02x Value 0x%llx", buf_len 761 tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c return snprintf(buf, buf_len, "%s 0x%llx (%d)", buf_len 457 tools/perf/util/unwind-libunwind-local.c char __maybe_unused *bufp, size_t __maybe_unused buf_len, buf_len 231 tools/testing/nvdimm/test/nfit.c struct nd_intel_fw_info *nd_cmd, unsigned int buf_len, buf_len 238 tools/testing/nvdimm/test/nfit.c __func__, t, nd_cmd, buf_len, idx); buf_len 240 tools/testing/nvdimm/test/nfit.c if (buf_len < sizeof(*nd_cmd)) buf_len 257 tools/testing/nvdimm/test/nfit.c struct nd_intel_fw_start *nd_cmd, unsigned int buf_len, buf_len 264 tools/testing/nvdimm/test/nfit.c __func__, t, nd_cmd, buf_len, idx); buf_len 266 tools/testing/nvdimm/test/nfit.c if (buf_len < sizeof(*nd_cmd)) buf_len 287 tools/testing/nvdimm/test/nfit.c struct nd_intel_fw_send_data *nd_cmd, unsigned int buf_len, buf_len 295 tools/testing/nvdimm/test/nfit.c __func__, t, nd_cmd, buf_len, idx); buf_len 297 tools/testing/nvdimm/test/nfit.c if (buf_len < sizeof(*nd_cmd)) buf_len 339 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, int idx) buf_len 345 tools/testing/nvdimm/test/nfit.c __func__, t, nd_cmd, buf_len, idx); buf_len 390 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, int idx) buf_len 396 tools/testing/nvdimm/test/nfit.c __func__, t, nd_cmd, buf_len, idx); buf_len 398 tools/testing/nvdimm/test/nfit.c if (buf_len < sizeof(*nd_cmd)) buf_len 450 tools/testing/nvdimm/test/nfit.c unsigned int buf_len) buf_len 452 tools/testing/nvdimm/test/nfit.c if (buf_len < sizeof(*nd_cmd)) buf_len 463 tools/testing/nvdimm/test/nfit.c *nd_cmd, unsigned int buf_len, void *label) buf_len 468 tools/testing/nvdimm/test/nfit.c if (buf_len < sizeof(*nd_cmd)) buf_len 472 tools/testing/nvdimm/test/nfit.c if (nd_cmd->in_length + sizeof(*nd_cmd) > buf_len) buf_len 478 tools/testing/nvdimm/test/nfit.c rc = buf_len - sizeof(*nd_cmd) - len; buf_len 484 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, void *label) buf_len 490 tools/testing/nvdimm/test/nfit.c if (buf_len < sizeof(*nd_cmd)) buf_len 494 tools/testing/nvdimm/test/nfit.c if (nd_cmd->in_length + sizeof(*nd_cmd) + 4 > buf_len) buf_len 501 tools/testing/nvdimm/test/nfit.c rc = buf_len - sizeof(*nd_cmd) - (len + 4); buf_len 509 tools/testing/nvdimm/test/nfit.c unsigned int buf_len) buf_len 513 tools/testing/nvdimm/test/nfit.c if (buf_len < sizeof(*nd_cmd)) buf_len 568 tools/testing/nvdimm/test/nfit.c struct nd_cmd_ars_start *ars_start, unsigned int buf_len, buf_len 571 tools/testing/nvdimm/test/nfit.c if (buf_len < sizeof(*ars_start)) buf_len 591 tools/testing/nvdimm/test/nfit.c struct nd_cmd_ars_status *ars_status, unsigned int buf_len, buf_len 594 tools/testing/nvdimm/test/nfit.c if (buf_len < ars_state->ars_status->out_length) buf_len 599 tools/testing/nvdimm/test/nfit.c memset(ars_status, 0, buf_len); buf_len 614 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, int *cmd_rc) buf_len 617 tools/testing/nvdimm/test/nfit.c if (buf_len < sizeof(*clear_err)) buf_len 697 tools/testing/nvdimm/test/nfit.c struct nd_cmd_translate_spa *spa, unsigned int buf_len) buf_len 699 tools/testing/nvdimm/test/nfit.c if (buf_len < spa->translate_length) buf_len 708 tools/testing/nvdimm/test/nfit.c static int nfit_test_cmd_smart(struct nd_intel_smart *smart, unsigned int buf_len, buf_len 711 tools/testing/nvdimm/test/nfit.c if (buf_len < sizeof(*smart)) buf_len 719 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, buf_len 722 tools/testing/nvdimm/test/nfit.c if (buf_len < sizeof(*smart_t)) buf_len 756 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, buf_len 764 tools/testing/nvdimm/test/nfit.c if (buf_len < size) buf_len 775 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, buf_len 780 tools/testing/nvdimm/test/nfit.c if (buf_len != sizeof(*inj)) buf_len 822 tools/testing/nvdimm/test/nfit.c struct nd_cmd_ars_err_inj *err_inj, unsigned int buf_len) buf_len 826 tools/testing/nvdimm/test/nfit.c if (buf_len != sizeof(*err_inj)) { buf_len 853 tools/testing/nvdimm/test/nfit.c struct nd_cmd_ars_err_inj_clr *err_clr, unsigned int buf_len) buf_len 857 tools/testing/nvdimm/test/nfit.c if (buf_len != sizeof(*err_clr)) { buf_len 880 tools/testing/nvdimm/test/nfit.c unsigned int buf_len) buf_len 902 tools/testing/nvdimm/test/nfit.c struct nd_intel_lss *nd_cmd, unsigned int buf_len) buf_len 906 tools/testing/nvdimm/test/nfit.c if (buf_len < sizeof(*nd_cmd)) buf_len 942 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, int dimm) buf_len 957 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, int dimm) buf_len 983 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, int dimm) buf_len 1008 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, int dimm) buf_len 1027 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, int dimm) buf_len 1051 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, int dimm) buf_len 1082 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, int dimm) buf_len 1105 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, int dimm) buf_len 1128 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, int dimm) buf_len 1155 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, int dimm) buf_len 1197 tools/testing/nvdimm/test/nfit.c unsigned int buf_len, int *cmd_rc) buf_len 1218 tools/testing/nvdimm/test/nfit.c buf_len = call_pkg->nd_size_in + call_pkg->nd_size_out; buf_len 1231 tools/testing/nvdimm/test/nfit.c buf, buf_len, i); buf_len 1235 tools/testing/nvdimm/test/nfit.c buf, buf_len, i); buf_len 1239 tools/testing/nvdimm/test/nfit.c buf, buf_len, i); buf_len 1243 tools/testing/nvdimm/test/nfit.c buf, buf_len, i); buf_len 1247 tools/testing/nvdimm/test/nfit.c buf, buf_len, i); buf_len 1251 tools/testing/nvdimm/test/nfit.c buf, buf_len, i); buf_len 1255 tools/testing/nvdimm/test/nfit.c buf, buf_len, i - t->dcr_idx); buf_len 1259 tools/testing/nvdimm/test/nfit.c buf, buf_len, i - t->dcr_idx); buf_len 1263 tools/testing/nvdimm/test/nfit.c buf, buf_len, i); buf_len 1267 tools/testing/nvdimm/test/nfit.c buf, buf_len, i); buf_len 1271 tools/testing/nvdimm/test/nfit.c buf, buf_len); buf_len 1275 tools/testing/nvdimm/test/nfit.c buf_len, i - t->dcr_idx); buf_len 1279 tools/testing/nvdimm/test/nfit.c buf_len, i - t->dcr_idx); buf_len 1283 tools/testing/nvdimm/test/nfit.c buf_len, i - t->dcr_idx); buf_len 1287 tools/testing/nvdimm/test/nfit.c buf_len, i - t->dcr_idx); buf_len 1291 tools/testing/nvdimm/test/nfit.c buf_len, i - t->dcr_idx); buf_len 1294 tools/testing/nvdimm/test/nfit.c rc = nfit_test_cmd_smart(buf, buf_len, buf_len 1299 tools/testing/nvdimm/test/nfit.c buf_len, buf_len 1305 tools/testing/nvdimm/test/nfit.c buf_len, buf_len 1313 tools/testing/nvdimm/test/nfit.c buf_len, buf_len 1335 tools/testing/nvdimm/test/nfit.c rc = nfit_test_cmd_get_config_size(buf, buf_len); buf_len 1338 tools/testing/nvdimm/test/nfit.c rc = nfit_test_cmd_get_config_data(buf, buf_len, buf_len 1342 tools/testing/nvdimm/test/nfit.c rc = nfit_test_cmd_set_config_data(buf, buf_len, buf_len 1359 tools/testing/nvdimm/test/nfit.c buf_len = call_pkg->nd_size_in + call_pkg->nd_size_out; buf_len 1365 tools/testing/nvdimm/test/nfit.c acpi_desc->nvdimm_bus, buf, buf_len); buf_len 1369 tools/testing/nvdimm/test/nfit.c buf_len); buf_len 1373 tools/testing/nvdimm/test/nfit.c buf_len); buf_len 1377 tools/testing/nvdimm/test/nfit.c buf_len); buf_len 1389 tools/testing/nvdimm/test/nfit.c rc = nfit_test_cmd_ars_cap(buf, buf_len); buf_len 1393 tools/testing/nvdimm/test/nfit.c buf_len, cmd_rc); buf_len 1396 tools/testing/nvdimm/test/nfit.c rc = nfit_test_cmd_ars_status(ars_state, buf, buf_len, buf_len 1400 tools/testing/nvdimm/test/nfit.c rc = nfit_test_cmd_clear_error(t, buf, buf_len, cmd_rc); buf_len 209 tools/testing/selftests/bpf/bpf_helpers.h unsigned long long buf_len, buf_len 213 tools/testing/selftests/bpf/bpf_helpers.h unsigned long long buf_len) = buf_len 216 tools/testing/selftests/bpf/bpf_helpers.h unsigned long long buf_len) = buf_len 219 tools/testing/selftests/bpf/bpf_helpers.h unsigned long long buf_len) = buf_len 221 tools/testing/selftests/bpf/bpf_helpers.h static int (*bpf_strtol)(const char *buf, unsigned long long buf_len, buf_len 224 tools/testing/selftests/bpf/bpf_helpers.h static int (*bpf_strtoul)(const char *buf, unsigned long long buf_len, buf_len 1387 tools/testing/selftests/bpf/test_sysctl.c static int fixup_sysctl_value(const char *buf, size_t buf_len, buf_len 1395 tools/testing/selftests/bpf/test_sysctl.c if (buf_len > sizeof(value)) { buf_len 1396 tools/testing/selftests/bpf/test_sysctl.c log_err("Value is too big (%zd) to use in fixup", buf_len); buf_len 1404 tools/testing/selftests/bpf/test_sysctl.c memcpy(value.raw, buf, buf_len); buf_len 88 tools/testing/selftests/bpf/test_verifier_log.c static void test_log_good(char *log, size_t buf_len, size_t log_len, buf_len 94 tools/testing/selftests/bpf/test_verifier_log.c memset(log, 1, buf_len); buf_len 99 tools/testing/selftests/bpf/test_verifier_log.c len = strnlen(log, buf_len); buf_len 100 tools/testing/selftests/bpf/test_verifier_log.c if (len == buf_len) { buf_len 115 tools/testing/selftests/bpf/test_verifier_log.c check_ones(log + len + 1, buf_len - len - 1, buf_len 39 tools/testing/selftests/capabilities/test_execve.c int buf_len; buf_len 41 tools/testing/selftests/capabilities/test_execve.c buf_len = vsnprintf(buf, sizeof(buf), fmt, ap); buf_len 42 tools/testing/selftests/capabilities/test_execve.c if (buf_len < 0) buf_len 45 tools/testing/selftests/capabilities/test_execve.c if (buf_len >= sizeof(buf)) buf_len 56 tools/testing/selftests/capabilities/test_execve.c written = write(fd, buf, buf_len); buf_len 57 tools/testing/selftests/capabilities/test_execve.c if (written != buf_len) { buf_len 62 tools/testing/selftests/mount/unprivileged-remount-test.c int buf_len; buf_len 64 tools/testing/selftests/mount/unprivileged-remount-test.c buf_len = vsnprintf(buf, sizeof(buf), fmt, ap); buf_len 65 tools/testing/selftests/mount/unprivileged-remount-test.c if (buf_len < 0) { buf_len 69 tools/testing/selftests/mount/unprivileged-remount-test.c if (buf_len >= sizeof(buf)) { buf_len 80 tools/testing/selftests/mount/unprivileged-remount-test.c written = write(fd, buf, buf_len); buf_len 81 tools/testing/selftests/mount/unprivileged-remount-test.c if (written != buf_len) { buf_len 45 tools/testing/selftests/safesetid/safesetid-test.c int buf_len; buf_len 47 tools/testing/selftests/safesetid/safesetid-test.c buf_len = vsnprintf(buf, sizeof(buf), fmt, ap); buf_len 48 tools/testing/selftests/safesetid/safesetid-test.c if (buf_len < 0) { buf_len 53 tools/testing/selftests/safesetid/safesetid-test.c if (buf_len >= sizeof(buf)) { buf_len 64 tools/testing/selftests/safesetid/safesetid-test.c written = write(fd, buf, buf_len); buf_len 65 tools/testing/selftests/safesetid/safesetid-test.c if (written != buf_len) {