dlen 430 arch/s390/include/asm/cpacf.h : [dst] "+a" (r2), [dlen] "+d" (r3) dlen 351 arch/sparc/kernel/ldc.c void *data, int dlen, dlen 362 arch/sparc/kernel/ldc.c memcpy(p->u.u_data, data, dlen); dlen 67 crypto/842.c u8 *dst, unsigned int *dlen) dlen 71 crypto/842.c return sw842_compress(src, slen, dst, dlen, ctx->wmem); dlen 76 crypto/842.c u8 *dst, unsigned int *dlen, void *ctx) dlen 78 crypto/842.c return sw842_compress(src, slen, dst, dlen, ctx); dlen 83 crypto/842.c u8 *dst, unsigned int *dlen) dlen 85 crypto/842.c return sw842_decompress(src, slen, dst, dlen); dlen 90 crypto/842.c u8 *dst, unsigned int *dlen, void *ctx) dlen 92 crypto/842.c return sw842_decompress(src, slen, dst, dlen); dlen 1251 crypto/algapi.c void crypto_stats_rng_generate(struct crypto_alg *alg, unsigned int dlen, dlen 1258 crypto/algapi.c atomic64_add(dlen, &alg->stats.rng.generate_tlen); dlen 350 crypto/ansi_cprng.c u8 *rdata, unsigned int dlen) dlen 354 crypto/ansi_cprng.c return get_prng_bytes(rdata, dlen, prng, 0); dlen 386 crypto/ansi_cprng.c u8 *rdata, unsigned int dlen) dlen 390 crypto/ansi_cprng.c return get_prng_bytes(rdata, dlen, prng, 1); dlen 17 crypto/compress.c u8 *dst, unsigned int *dlen) dlen 20 crypto/compress.c dlen); dlen 25 crypto/compress.c u8 *dst, unsigned int *dlen) dlen 28 crypto/compress.c dlen); dlen 28 crypto/crypto_null.c unsigned int slen, u8 *dst, unsigned int *dlen) dlen 30 crypto/crypto_null.c if (slen > *dlen) dlen 33 crypto/crypto_null.c *dlen = slen; dlen 177 crypto/deflate.c u8 *dst, unsigned int *dlen, void *ctx) dlen 192 crypto/deflate.c stream->avail_out = *dlen; dlen 200 crypto/deflate.c *dlen = stream->total_out; dlen 206 crypto/deflate.c unsigned int slen, u8 *dst, unsigned int *dlen) dlen 210 crypto/deflate.c return __deflate_compress(src, slen, dst, dlen, dctx); dlen 214 crypto/deflate.c unsigned int slen, u8 *dst, unsigned int *dlen, dlen 217 crypto/deflate.c return __deflate_compress(src, slen, dst, dlen, ctx); dlen 221 crypto/deflate.c u8 *dst, unsigned int *dlen, void *ctx) dlen 237 crypto/deflate.c stream->avail_out = *dlen; dlen 256 crypto/deflate.c *dlen = stream->total_out; dlen 262 crypto/deflate.c unsigned int slen, u8 *dst, unsigned int *dlen) dlen 266 crypto/deflate.c return __deflate_decompress(src, slen, dst, dlen, dctx); dlen 270 crypto/deflate.c unsigned int slen, u8 *dst, unsigned int *dlen, dlen 273 crypto/deflate.c return __deflate_decompress(src, slen, dst, dlen, ctx); dlen 1933 crypto/drbg.c u8 *dst, unsigned int dlen) dlen 1945 crypto/drbg.c return drbg_generate_long(drbg, dst, dlen, addtl); dlen 145 crypto/jitterentropy-kcapi.c u8 *rdata, unsigned int dlen) dlen 151 crypto/jitterentropy-kcapi.c ret = jent_read_entropy(rng->entropy_collector, rdata, dlen); dlen 54 crypto/lz4.c u8 *dst, unsigned int *dlen, void *ctx) dlen 57 crypto/lz4.c slen, *dlen, ctx); dlen 62 crypto/lz4.c *dlen = out_len; dlen 67 crypto/lz4.c unsigned int slen, u8 *dst, unsigned int *dlen, dlen 70 crypto/lz4.c return __lz4_compress_crypto(src, slen, dst, dlen, ctx); dlen 74 crypto/lz4.c unsigned int slen, u8 *dst, unsigned int *dlen) dlen 78 crypto/lz4.c return __lz4_compress_crypto(src, slen, dst, dlen, ctx->lz4_comp_mem); dlen 82 crypto/lz4.c u8 *dst, unsigned int *dlen, void *ctx) dlen 84 crypto/lz4.c int out_len = LZ4_decompress_safe(src, dst, slen, *dlen); dlen 89 crypto/lz4.c *dlen = out_len; dlen 94 crypto/lz4.c unsigned int slen, u8 *dst, unsigned int *dlen, dlen 97 crypto/lz4.c return __lz4_decompress_crypto(src, slen, dst, dlen, NULL); dlen 102 crypto/lz4.c unsigned int *dlen) dlen 104 crypto/lz4.c return __lz4_decompress_crypto(src, slen, dst, dlen, NULL); dlen 53 crypto/lz4hc.c u8 *dst, unsigned int *dlen, void *ctx) dlen 56 crypto/lz4hc.c *dlen, LZ4HC_DEFAULT_CLEVEL, ctx); dlen 61 crypto/lz4hc.c *dlen = out_len; dlen 66 crypto/lz4hc.c unsigned int slen, u8 *dst, unsigned int *dlen, dlen 69 crypto/lz4hc.c return __lz4hc_compress_crypto(src, slen, dst, dlen, ctx); dlen 74 crypto/lz4hc.c unsigned int *dlen) dlen 78 crypto/lz4hc.c return __lz4hc_compress_crypto(src, slen, dst, dlen, dlen 83 crypto/lz4hc.c u8 *dst, unsigned int *dlen, void *ctx) dlen 85 crypto/lz4hc.c int out_len = LZ4_decompress_safe(src, dst, slen, *dlen); dlen 90 crypto/lz4hc.c *dlen = out_len; dlen 95 crypto/lz4hc.c unsigned int slen, u8 *dst, unsigned int *dlen, dlen 98 crypto/lz4hc.c return __lz4hc_decompress_crypto(src, slen, dst, dlen, NULL); dlen 103 crypto/lz4hc.c unsigned int *dlen) dlen 105 crypto/lz4hc.c return __lz4hc_decompress_crypto(src, slen, dst, dlen, NULL); dlen 53 crypto/lzo-rle.c u8 *dst, unsigned int *dlen, void *ctx) dlen 55 crypto/lzo-rle.c size_t tmp_len = *dlen; /* size_t(ulong) <-> uint on 64 bit */ dlen 63 crypto/lzo-rle.c *dlen = tmp_len; dlen 68 crypto/lzo-rle.c unsigned int slen, u8 *dst, unsigned int *dlen) dlen 72 crypto/lzo-rle.c return __lzorle_compress(src, slen, dst, dlen, ctx->lzorle_comp_mem); dlen 76 crypto/lzo-rle.c unsigned int slen, u8 *dst, unsigned int *dlen, dlen 79 crypto/lzo-rle.c return __lzorle_compress(src, slen, dst, dlen, ctx); dlen 83 crypto/lzo-rle.c u8 *dst, unsigned int *dlen) dlen 86 crypto/lzo-rle.c size_t tmp_len = *dlen; /* size_t(ulong) <-> uint on 64 bit */ dlen 93 crypto/lzo-rle.c *dlen = tmp_len; dlen 98 crypto/lzo-rle.c unsigned int slen, u8 *dst, unsigned int *dlen) dlen 100 crypto/lzo-rle.c return __lzorle_decompress(src, slen, dst, dlen); dlen 104 crypto/lzo-rle.c unsigned int slen, u8 *dst, unsigned int *dlen, dlen 107 crypto/lzo-rle.c return __lzorle_decompress(src, slen, dst, dlen); dlen 53 crypto/lzo.c u8 *dst, unsigned int *dlen, void *ctx) dlen 55 crypto/lzo.c size_t tmp_len = *dlen; /* size_t(ulong) <-> uint on 64 bit */ dlen 63 crypto/lzo.c *dlen = tmp_len; dlen 68 crypto/lzo.c unsigned int slen, u8 *dst, unsigned int *dlen) dlen 72 crypto/lzo.c return __lzo_compress(src, slen, dst, dlen, ctx->lzo_comp_mem); dlen 76 crypto/lzo.c unsigned int slen, u8 *dst, unsigned int *dlen, dlen 79 crypto/lzo.c return __lzo_compress(src, slen, dst, dlen, ctx); dlen 83 crypto/lzo.c u8 *dst, unsigned int *dlen) dlen 86 crypto/lzo.c size_t tmp_len = *dlen; /* size_t(ulong) <-> uint on 64 bit */ dlen 93 crypto/lzo.c *dlen = tmp_len; dlen 98 crypto/lzo.c unsigned int slen, u8 *dst, unsigned int *dlen) dlen 100 crypto/lzo.c return __lzo_decompress(src, slen, dst, dlen); dlen 104 crypto/lzo.c unsigned int slen, u8 *dst, unsigned int *dlen, dlen 107 crypto/lzo.c return __lzo_decompress(src, slen, dst, dlen); dlen 132 crypto/scompress.c if (req->dst && !req->dlen) dlen 135 crypto/scompress.c if (!req->dlen || req->dlen > SCOMP_SCRATCH_SIZE) dlen 136 crypto/scompress.c req->dlen = SCOMP_SCRATCH_SIZE; dlen 144 crypto/scompress.c scratch->dst, &req->dlen, *ctx); dlen 147 crypto/scompress.c scratch->dst, &req->dlen, *ctx); dlen 150 crypto/scompress.c req->dst = sgl_alloc(req->dlen, GFP_ATOMIC, NULL); dlen 156 crypto/scompress.c scatterwalk_map_and_copy(scratch->dst, req->dst, 0, req->dlen, dlen 2932 crypto/testmgr.c unsigned int dlen = COMP_BUF_SIZE; dlen 2939 crypto/testmgr.c ilen, output, &dlen); dlen 2947 crypto/testmgr.c ilen = dlen; dlen 2948 crypto/testmgr.c dlen = COMP_BUF_SIZE; dlen 2950 crypto/testmgr.c ilen, decomp_output, &dlen); dlen 2957 crypto/testmgr.c if (dlen != ctemplate[i].inlen) { dlen 2960 crypto/testmgr.c dlen); dlen 2969 crypto/testmgr.c hexdump(decomp_output, dlen); dlen 2977 crypto/testmgr.c unsigned int dlen = COMP_BUF_SIZE; dlen 2983 crypto/testmgr.c ilen, decomp_output, &dlen); dlen 2991 crypto/testmgr.c if (dlen != dtemplate[i].outlen) { dlen 2994 crypto/testmgr.c dlen); dlen 2999 crypto/testmgr.c if (memcmp(decomp_output, dtemplate[i].output, dlen)) { dlen 3002 crypto/testmgr.c hexdump(decomp_output, dlen); dlen 3040 crypto/testmgr.c unsigned int dlen = COMP_BUF_SIZE; dlen 3050 crypto/testmgr.c memset(output, 0, dlen); dlen 3053 crypto/testmgr.c sg_init_one(&dst, output, dlen); dlen 3064 crypto/testmgr.c acomp_request_set_params(req, &src, &dst, ilen, dlen); dlen 3077 crypto/testmgr.c ilen = req->dlen; dlen 3078 crypto/testmgr.c dlen = COMP_BUF_SIZE; dlen 3080 crypto/testmgr.c sg_init_one(&dst, decomp_out, dlen); dlen 3082 crypto/testmgr.c acomp_request_set_params(req, &src, &dst, ilen, dlen); dlen 3093 crypto/testmgr.c if (req->dlen != ctemplate[i].inlen) { dlen 3095 crypto/testmgr.c i + 1, algo, req->dlen); dlen 3102 crypto/testmgr.c if (memcmp(input_vec, decomp_out, req->dlen)) { dlen 3105 crypto/testmgr.c hexdump(output, req->dlen); dlen 3117 crypto/testmgr.c unsigned int dlen = COMP_BUF_SIZE; dlen 3127 crypto/testmgr.c memset(output, 0, dlen); dlen 3130 crypto/testmgr.c sg_init_one(&dst, output, dlen); dlen 3141 crypto/testmgr.c acomp_request_set_params(req, &src, &dst, ilen, dlen); dlen 3154 crypto/testmgr.c if (req->dlen != dtemplate[i].outlen) { dlen 3156 crypto/testmgr.c i + 1, algo, req->dlen); dlen 3163 crypto/testmgr.c if (memcmp(output, dtemplate[i].output, req->dlen)) { dlen 3166 crypto/testmgr.c hexdump(output, req->dlen); dlen 151 crypto/zstd.c u8 *dst, unsigned int *dlen, void *ctx) dlen 157 crypto/zstd.c out_len = ZSTD_compressCCtx(zctx->cctx, dst, *dlen, src, slen, params); dlen 160 crypto/zstd.c *dlen = out_len; dlen 165 crypto/zstd.c unsigned int slen, u8 *dst, unsigned int *dlen) dlen 169 crypto/zstd.c return __zstd_compress(src, slen, dst, dlen, ctx); dlen 173 crypto/zstd.c unsigned int slen, u8 *dst, unsigned int *dlen, dlen 176 crypto/zstd.c return __zstd_compress(src, slen, dst, dlen, ctx); dlen 180 crypto/zstd.c u8 *dst, unsigned int *dlen, void *ctx) dlen 185 crypto/zstd.c out_len = ZSTD_decompressDCtx(zctx->dctx, dst, *dlen, src, slen); dlen 188 crypto/zstd.c *dlen = out_len; dlen 193 crypto/zstd.c unsigned int slen, u8 *dst, unsigned int *dlen) dlen 197 crypto/zstd.c return __zstd_decompress(src, slen, dst, dlen, ctx); dlen 201 crypto/zstd.c unsigned int slen, u8 *dst, unsigned int *dlen, dlen 204 crypto/zstd.c return __zstd_decompress(src, slen, dst, dlen, ctx); dlen 401 drivers/block/paride/pcd.c static int pcd_command(struct pcd_unit *cd, char *cmd, int dlen, char *fun) dlen 412 drivers/block/paride/pcd.c write_reg(cd, 4, dlen % 256); dlen 413 drivers/block/paride/pcd.c write_reg(cd, 5, dlen / 256); dlen 509 drivers/block/paride/pcd.c static int pcd_atapi(struct pcd_unit *cd, char *cmd, int dlen, char *buf, char *fun) dlen 513 drivers/block/paride/pcd.c r = pcd_command(cd, cmd, dlen, fun); dlen 450 drivers/block/paride/pf.c static int pf_command(struct pf_unit *pf, char *cmd, int dlen, char *fun) dlen 461 drivers/block/paride/pf.c write_reg(pf, 4, dlen % 256); dlen 462 drivers/block/paride/pf.c write_reg(pf, 5, dlen / 256); dlen 518 drivers/block/paride/pf.c static int pf_atapi(struct pf_unit *pf, char *cmd, int dlen, char *buf, char *fun) dlen 522 drivers/block/paride/pf.c r = pf_command(pf, cmd, dlen, fun); dlen 213 drivers/block/paride/pg.c int dlen; /* transfer size requested */ dlen 320 drivers/block/paride/pg.c static int pg_command(struct pg *dev, char *cmd, int dlen, unsigned long tmo) dlen 331 drivers/block/paride/pg.c write_reg(dev, 4, dlen % 256); dlen 332 drivers/block/paride/pg.c write_reg(dev, 5, dlen / 256); dlen 346 drivers/block/paride/pg.c printk("%s: Command sent, dlen=%d packet= ", dev->name, dlen); dlen 364 drivers/block/paride/pg.c dev->dlen = 0; dlen 377 drivers/block/paride/pg.c dev->dlen += (1 - p) * d; dlen 592 drivers/block/paride/pg.c if (hdr.dlen < 0 || hdr.dlen > PG_MAX_DATA) dlen 611 drivers/block/paride/pg.c if (pg_command(dev, hdr.packet, hdr.dlen, jiffies + PG_TMO)) { dlen 644 drivers/block/paride/pg.c hdr.dlen = dev->dlen; dlen 647 drivers/block/paride/pg.c if (hdr.dlen < 0) { dlen 648 drivers/block/paride/pg.c hdr.dlen = -1 * hdr.dlen; dlen 649 drivers/block/paride/pg.c copy = hdr.dlen; dlen 297 drivers/block/paride/pt.c static int pt_command(struct pt_unit *tape, char *cmd, int dlen, char *fun) dlen 309 drivers/block/paride/pt.c write_reg(pi, 4, dlen % 256); dlen 310 drivers/block/paride/pt.c write_reg(pi, 5, dlen / 256); dlen 375 drivers/block/paride/pt.c static int pt_atapi(struct pt_unit *tape, char *cmd, int dlen, char *buf, char *fun) dlen 379 drivers/block/paride/pt.c r = pt_command(tape, cmd, dlen, fun); dlen 288 drivers/bluetooth/bfusb.c pkt_len = HCI_ACL_HDR_SIZE + __le16_to_cpu(hdr->dlen); dlen 298 drivers/bluetooth/bfusb.c pkt_len = HCI_SCO_HDR_SIZE + hdr->dlen; dlen 451 drivers/bluetooth/bluecard_cs.c int dlen; dlen 466 drivers/bluetooth/bluecard_cs.c dlen = __le16_to_cpu(ah->dlen); dlen 468 drivers/bluetooth/bluecard_cs.c info->rx_count = dlen; dlen 474 drivers/bluetooth/bluecard_cs.c info->rx_count = sh->dlen; dlen 291 drivers/bluetooth/bt3c_cs.c int dlen; dlen 306 drivers/bluetooth/bt3c_cs.c dlen = __le16_to_cpu(ah->dlen); dlen 308 drivers/bluetooth/bt3c_cs.c info->rx_count = dlen; dlen 314 drivers/bluetooth/bt3c_cs.c info->rx_count = sh->dlen; dlen 120 drivers/bluetooth/btmtksdio.c __le16 dlen; dlen 150 drivers/bluetooth/btmtksdio.c u16 dlen; dlen 180 drivers/bluetooth/btmtksdio.c hlen = sizeof(*hdr) + wmt_params->dlen; dlen 187 drivers/bluetooth/btmtksdio.c hdr->dlen = cpu_to_le16(wmt_params->dlen + 1); dlen 189 drivers/bluetooth/btmtksdio.c memcpy(wc.data, wmt_params->data, wmt_params->dlen); dlen 389 drivers/bluetooth/btmtksdio.c u16 dlen; dlen 445 drivers/bluetooth/btmtksdio.c dlen = skb->data[(&pkts[i])->loff]; dlen 448 drivers/bluetooth/btmtksdio.c dlen = get_unaligned_le16(skb->data + dlen 455 drivers/bluetooth/btmtksdio.c pad_size = skb->len - (&pkts[i])->hlen - dlen; dlen 667 drivers/bluetooth/btmtksdio.c wmt_params.dlen = sizeof(param); dlen 686 drivers/bluetooth/btmtksdio.c int err, dlen; dlen 712 drivers/bluetooth/btmtksdio.c dlen = min_t(int, 250, fw_size); dlen 715 drivers/bluetooth/btmtksdio.c if (fw_size - dlen <= 0) dlen 721 drivers/bluetooth/btmtksdio.c wmt_params.dlen = dlen; dlen 731 drivers/bluetooth/btmtksdio.c fw_size -= dlen; dlen 732 drivers/bluetooth/btmtksdio.c fw_ptr += dlen; dlen 737 drivers/bluetooth/btmtksdio.c wmt_params.dlen = 0; dlen 772 drivers/bluetooth/btmtksdio.c wmt_params.dlen = 0; dlen 813 drivers/bluetooth/btmtksdio.c wmt_params.dlen = sizeof(param); dlen 881 drivers/bluetooth/btmtksdio.c wmt_params.dlen = sizeof(param); dlen 68 drivers/bluetooth/btmtkuart.c __be16 dlen; dlen 80 drivers/bluetooth/btmtkuart.c __le16 dlen; dlen 110 drivers/bluetooth/btmtkuart.c u16 dlen; dlen 160 drivers/bluetooth/btmtkuart.c hlen = sizeof(*hdr) + wmt_params->dlen; dlen 167 drivers/bluetooth/btmtkuart.c hdr->dlen = cpu_to_le16(wmt_params->dlen + 1); dlen 169 drivers/bluetooth/btmtkuart.c memcpy(wc.data, wmt_params->data, wmt_params->dlen); dlen 245 drivers/bluetooth/btmtkuart.c int err, dlen; dlen 271 drivers/bluetooth/btmtkuart.c dlen = min_t(int, 250, fw_size); dlen 274 drivers/bluetooth/btmtkuart.c if (fw_size - dlen <= 0) dlen 280 drivers/bluetooth/btmtkuart.c wmt_params.dlen = dlen; dlen 290 drivers/bluetooth/btmtkuart.c fw_size -= dlen; dlen 291 drivers/bluetooth/btmtkuart.c fw_ptr += dlen; dlen 296 drivers/bluetooth/btmtkuart.c wmt_params.dlen = 0; dlen 446 drivers/bluetooth/btmtkuart.c bdev->stp_dlen = be16_to_cpu(shdr->dlen) & 0x0fff; dlen 649 drivers/bluetooth/btmtkuart.c wmt_params.dlen = sizeof(param); dlen 676 drivers/bluetooth/btmtkuart.c wmt_params.dlen = 4; dlen 711 drivers/bluetooth/btmtkuart.c wmt_params.dlen = 0; dlen 746 drivers/bluetooth/btmtkuart.c wmt_params.dlen = 0; dlen 765 drivers/bluetooth/btmtkuart.c wmt_params.dlen = 0; dlen 806 drivers/bluetooth/btmtkuart.c wmt_params.dlen = sizeof(param); dlen 851 drivers/bluetooth/btmtkuart.c wmt_params.dlen = sizeof(param); dlen 868 drivers/bluetooth/btmtkuart.c int err, dlen, type = 0; dlen 883 drivers/bluetooth/btmtkuart.c dlen = skb->len; dlen 886 drivers/bluetooth/btmtkuart.c shdr->dlen = cpu_to_be16((dlen & 0x0fff) | (type << 12)); dlen 665 drivers/bluetooth/btusb.c __le16 dlen = hci_acl_hdr(skb)->dlen; dlen 668 drivers/bluetooth/btusb.c hci_skb_expect(skb) = __le16_to_cpu(dlen); dlen 724 drivers/bluetooth/btusb.c hci_skb_expect(skb) = hci_sco_hdr(skb)->dlen; dlen 2519 drivers/bluetooth/btusb.c __le16 dlen; dlen 2549 drivers/bluetooth/btusb.c u16 dlen; dlen 2708 drivers/bluetooth/btusb.c hlen = sizeof(*hdr) + wmt_params->dlen; dlen 2715 drivers/bluetooth/btusb.c hdr->dlen = cpu_to_le16(wmt_params->dlen + 1); dlen 2717 drivers/bluetooth/btusb.c memcpy(wc.data, wmt_params->data, wmt_params->dlen); dlen 2794 drivers/bluetooth/btusb.c int err, dlen; dlen 2820 drivers/bluetooth/btusb.c dlen = min_t(int, 250, fw_size); dlen 2823 drivers/bluetooth/btusb.c if (fw_size - dlen <= 0) dlen 2829 drivers/bluetooth/btusb.c wmt_params.dlen = dlen; dlen 2839 drivers/bluetooth/btusb.c fw_size -= dlen; dlen 2840 drivers/bluetooth/btusb.c fw_ptr += dlen; dlen 2845 drivers/bluetooth/btusb.c wmt_params.dlen = 0; dlen 2874 drivers/bluetooth/btusb.c wmt_params.dlen = sizeof(param); dlen 2954 drivers/bluetooth/btusb.c wmt_params.dlen = 0; dlen 2995 drivers/bluetooth/btusb.c wmt_params.dlen = sizeof(param); dlen 3040 drivers/bluetooth/btusb.c wmt_params.dlen = sizeof(param); dlen 122 drivers/bluetooth/btwilink.c .offset_len_in_hdr = offsetof(struct hci_acl_hdr, dlen), dlen 129 drivers/bluetooth/btwilink.c .offset_len_in_hdr = offsetof(struct hci_sco_hdr, dlen), dlen 99 drivers/bluetooth/h4_recv.h u16 dlen; dlen 104 drivers/bluetooth/h4_recv.h dlen = 0; dlen 108 drivers/bluetooth/h4_recv.h dlen = skb->data[(&pkts[i])->loff]; dlen 109 drivers/bluetooth/h4_recv.h hci_skb_expect(skb) += dlen; dlen 111 drivers/bluetooth/h4_recv.h if (skb_tailroom(skb) < dlen) { dlen 118 drivers/bluetooth/h4_recv.h dlen = get_unaligned_le16(skb->data + dlen 120 drivers/bluetooth/h4_recv.h hci_skb_expect(skb) += dlen; dlen 122 drivers/bluetooth/h4_recv.h if (skb_tailroom(skb) < dlen) { dlen 133 drivers/bluetooth/h4_recv.h if (!dlen) { dlen 148 drivers/bluetooth/hci_ath.c const void *data, size_t dlen) dlen 153 drivers/bluetooth/hci_ath.c if (dlen > sizeof(cmd.data)) dlen 158 drivers/bluetooth/hci_ath.c cmd.len = dlen; dlen 159 drivers/bluetooth/hci_ath.c memcpy(cmd.data, data, dlen); dlen 161 drivers/bluetooth/hci_ath.c skb = __hci_cmd_sync(hdev, 0xfc0b, dlen + 4, &cmd, HCI_INIT_TIMEOUT); dlen 221 drivers/bluetooth/hci_h4.c u16 dlen; dlen 226 drivers/bluetooth/hci_h4.c dlen = 0; dlen 230 drivers/bluetooth/hci_h4.c dlen = skb->data[(&pkts[i])->loff]; dlen 231 drivers/bluetooth/hci_h4.c hci_skb_expect(skb) += dlen; dlen 233 drivers/bluetooth/hci_h4.c if (skb_tailroom(skb) < dlen) { dlen 240 drivers/bluetooth/hci_h4.c dlen = get_unaligned_le16(skb->data + dlen 242 drivers/bluetooth/hci_h4.c hci_skb_expect(skb) += dlen; dlen 244 drivers/bluetooth/hci_h4.c if (skb_tailroom(skb) < dlen) { dlen 255 drivers/bluetooth/hci_h4.c if (!dlen) { dlen 51 drivers/bluetooth/hci_intel.c __u8 dlen; dlen 939 drivers/bluetooth/hci_intel.c if (lpm->dlen < 1) { dlen 80 drivers/bluetooth/hci_nokia.c u8 dlen; dlen 96 drivers/bluetooth/hci_nokia.c u8 dlen; dlen 121 drivers/bluetooth/hci_nokia.c u8 dlen; dlen 241 drivers/bluetooth/hci_nokia.c hdr->dlen = sizeof(*pkt); dlen 280 drivers/bluetooth/hci_nokia.c neg_hdr->dlen = sizeof(*neg_cmd); dlen 542 drivers/bluetooth/hci_nokia.c if (hdr->dlen != sizeof(*evt)) { dlen 579 drivers/bluetooth/hci_nokia.c if (hdr->dlen != sizeof(*pkt)) { dlen 1165 drivers/crypto/amcc/crypto4xx_core.c u8 *dstn, unsigned int dlen) dlen 1176 drivers/crypto/amcc/crypto4xx_core.c ret = ppc4xx_prng_data_read(dev, dstn, dlen); dlen 41 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->req.dlen += enc_iv_len; dlen 62 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->req.dlen += nbytes; dlen 138 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->req.dlen += CONTROL_WORD_LEN; dlen 143 drivers/crypto/cavium/cpt/cptvf_algs.c req_info->req.dlen += sizeof(struct fc_context); dlen 169 drivers/crypto/cavium/cpt/cptvf_reqmanager.c info->dlen = g_sz_bytes + s_sz_bytes + SG_LIST_HDR_SIZE; dlen 170 drivers/crypto/cavium/cpt/cptvf_reqmanager.c info->in_buffer = kzalloc(info->dlen, GFP_KERNEL); dlen 189 drivers/crypto/cavium/cpt/cptvf_reqmanager.c info->dlen, dlen 192 drivers/crypto/cavium/cpt/cptvf_reqmanager.c dev_err(&pdev->dev, "Mapping DPTR Failed %d\n", info->dlen); dlen 279 drivers/crypto/cavium/cpt/cptvf_reqmanager.c info->dlen, DMA_BIDIRECTIONAL); dlen 441 drivers/crypto/cavium/cpt/cptvf_reqmanager.c cpt_req->dlen = info->dlen; dlen 471 drivers/crypto/cavium/cpt/cptvf_reqmanager.c vq_cmd.cmd.s.dlen = cpu_to_be16(cpt_req->dlen); dlen 49 drivers/crypto/cavium/cpt/request_manager.h u16 dlen; dlen 95 drivers/crypto/cavium/cpt/request_manager.h u32 dlen; dlen 118 drivers/crypto/cavium/cpt/request_manager.h u16 dlen; dlen 417 drivers/crypto/cavium/nitrox/nitrox_req.h __be16 dlen; dlen 123 drivers/crypto/cavium/zip/zip_crypto.c u8 *dst, unsigned int *dlen, dlen 131 drivers/crypto/cavium/zip/zip_crypto.c if (!zip_ctx || !src || !dst || !dlen) dlen 145 drivers/crypto/cavium/zip/zip_crypto.c zip_ops->output_len = *dlen; dlen 151 drivers/crypto/cavium/zip/zip_crypto.c *dlen = zip_ops->output_len; dlen 152 drivers/crypto/cavium/zip/zip_crypto.c memcpy(dst, zip_ops->output, *dlen); dlen 159 drivers/crypto/cavium/zip/zip_crypto.c u8 *dst, unsigned int *dlen, dlen 167 drivers/crypto/cavium/zip/zip_crypto.c if (!zip_ctx || !src || !dst || !dlen) dlen 186 drivers/crypto/cavium/zip/zip_crypto.c zip_ops->output_len = *dlen; dlen 191 drivers/crypto/cavium/zip/zip_crypto.c *dlen = zip_ops->output_len; dlen 192 drivers/crypto/cavium/zip/zip_crypto.c memcpy(dst, zip_ops->output, *dlen); dlen 228 drivers/crypto/cavium/zip/zip_crypto.c u8 *dst, unsigned int *dlen) dlen 233 drivers/crypto/cavium/zip/zip_crypto.c ret = zip_compress(src, slen, dst, dlen, zip_ctx); dlen 240 drivers/crypto/cavium/zip/zip_crypto.c u8 *dst, unsigned int *dlen) dlen 245 drivers/crypto/cavium/zip/zip_crypto.c ret = zip_decompress(src, slen, dst, dlen, zip_ctx); dlen 299 drivers/crypto/cavium/zip/zip_crypto.c u8 *dst, unsigned int *dlen, void *ctx) dlen 304 drivers/crypto/cavium/zip/zip_crypto.c ret = zip_compress(src, slen, dst, dlen, zip_ctx); dlen 311 drivers/crypto/cavium/zip/zip_crypto.c u8 *dst, unsigned int *dlen, void *ctx) dlen 316 drivers/crypto/cavium/zip/zip_crypto.c ret = zip_decompress(src, slen, dst, dlen, zip_ctx); dlen 65 drivers/crypto/cavium/zip/zip_crypto.h u8 *dst, unsigned int *dlen); dlen 68 drivers/crypto/cavium/zip/zip_crypto.h u8 *dst, unsigned int *dlen); dlen 75 drivers/crypto/cavium/zip/zip_crypto.h u8 *dst, unsigned int *dlen, void *ctx); dlen 78 drivers/crypto/cavium/zip/zip_crypto.h u8 *dst, unsigned int *dlen, void *ctx); dlen 291 drivers/crypto/chelsio/chtls/chtls.h __be32 dlen; /* data length in 32-byte units */ dlen 346 drivers/crypto/chelsio/chtls/chtls_hw.c kwr->req.dlen = cpu_to_be32(ULP_MEMIO_DATA_LEN_V(klen >> 5)); dlen 341 drivers/crypto/chelsio/chtls/chtls_io.c int dlen, int tls_immd, u32 credits, dlen 365 drivers/crypto/chelsio/chtls/chtls_io.c len = dlen + expn; dlen 367 drivers/crypto/chelsio/chtls/chtls_io.c dlen = (dlen < hws->mfs) ? dlen : hws->mfs; dlen 381 drivers/crypto/chelsio/chtls/chtls_io.c immd_len = (tls_immd ? dlen : 0); dlen 424 drivers/crypto/chelsio/chtls/chtls_io.c CPL_TX_TLS_SFO_SEG_LEN_V(dlen)); dlen 141 drivers/crypto/exynos-rng.c u8 *dst, unsigned int dlen, dlen 164 drivers/crypto/exynos-rng.c *read = min_t(size_t, dlen, EXYNOS_RNG_SEED_SIZE); dlen 196 drivers/crypto/exynos-rng.c u8 *dst, unsigned int dlen) dlen 209 drivers/crypto/exynos-rng.c ret = exynos_rng_get_random(rng, dst, dlen, &read); dlen 213 drivers/crypto/exynos-rng.c dlen -= read; dlen 217 drivers/crypto/exynos-rng.c } while (dlen > 0); dlen 1049 drivers/crypto/hifn_795x.c unsigned dlen, unsigned slen, u16 mask, u8 snum) dlen 1059 drivers/crypto/hifn_795x.c __cpu_to_le16(dlen & HIFN_BASE_CMD_LENMASK_LO); dlen 1061 drivers/crypto/hifn_795x.c dlen >>= 16; dlen 1065 drivers/crypto/hifn_795x.c ((dlen << HIFN_BASE_CMD_DSTLEN_S) & HIFN_BASE_CMD_DSTLEN_M)); dlen 1071 drivers/crypto/hifn_795x.c u8 *buf, unsigned dlen, unsigned slen, dlen 1081 drivers/crypto/hifn_795x.c cry_cmd->source_count = __cpu_to_le16(dlen & 0xffff); dlen 1082 drivers/crypto/hifn_795x.c dlen >>= 16; dlen 1084 drivers/crypto/hifn_795x.c ((dlen << HIFN_CRYPT_CMD_SRCLEN_S) & dlen 1458 drivers/crypto/hifn_795x.c unsigned dlen = PAGE_SIZE; dlen 1462 drivers/crypto/hifn_795x.c err = ablkcipher_add(&dlen, dst, slen, &nbytes); dlen 1471 drivers/crypto/hifn_795x.c if (dlen < nbytes) { dlen 1489 drivers/crypto/hifn_795x.c __func__, dlen, nbytes, slen, offset); dlen 1501 drivers/crypto/hifn_795x.c err = ablkcipher_add(&dlen, dst, nbytes, &nbytes); dlen 1526 drivers/crypto/hifn_795x.c unsigned long dlen, flags; dlen 1538 drivers/crypto/hifn_795x.c dlen = min(dst->length, nbytes); dlen 1541 drivers/crypto/hifn_795x.c !IS_ALIGNED(dlen, HIFN_D_DST_DALIGN)) dlen 1544 drivers/crypto/hifn_795x.c nbytes -= dlen; dlen 95 drivers/crypto/hisilicon/zip/zip_crypto.c u32 dlen, int sskip, int dskip) dlen 103 drivers/crypto/hisilicon/zip/zip_crypto.c sqe->dest_avail_out = dlen - dskip; dlen 318 drivers/crypto/hisilicon/zip/zip_crypto.c u32 status, dlen, head_size; dlen 329 drivers/crypto/hisilicon/zip/zip_crypto.c dlen = sqe->produced; dlen 335 drivers/crypto/hisilicon/zip/zip_crypto.c acomp_req->dlen = dlen + head_size; dlen 474 drivers/crypto/hisilicon/zip/zip_crypto.c if (!a_req->src || !a_req->slen || !a_req->dst || !a_req->dlen) dlen 493 drivers/crypto/hisilicon/zip/zip_crypto.c a_req->dlen, req->sskip, req->dskip); dlen 282 drivers/crypto/mediatek/mtk-aes.c u32 slen = aes->src.sg_len, dlen = aes->dst.sg_len; dlen 306 drivers/crypto/mediatek/mtk-aes.c for (nents = 0; nents < dlen; ++nents, dsg = sg_next(dsg)) { dlen 333 drivers/crypto/mediatek/mtk-aes.c mtk_aes_write(cryp, RDR_PREP_COUNT(aes->id), MTK_DESC_CNT(dlen)); dlen 88 drivers/crypto/nx/nx-842.c unsigned int slen, unsigned int dlen) dlen 92 drivers/crypto/nx/nx-842.c if (p->oremain < dlen) dlen 97 drivers/crypto/nx/nx-842.c p->out += dlen; dlen 98 drivers/crypto/nx/nx-842.c p->oremain -= dlen; dlen 99 drivers/crypto/nx/nx-842.c p->ototal += dlen; dlen 165 drivers/crypto/nx/nx-842.c unsigned int slen = p->iremain, dlen = p->oremain, tmplen; dlen 174 drivers/crypto/nx/nx-842.c if (p->oremain == 0 || hdrsize + c->minimum > dlen) dlen 195 drivers/crypto/nx/nx-842.c dlen -= hdrsize; dlen 200 drivers/crypto/nx/nx-842.c dlen -= dskip; dlen 202 drivers/crypto/nx/nx-842.c if (dlen % c->multiple) dlen 203 drivers/crypto/nx/nx-842.c dlen = round_down(dlen, c->multiple); dlen 204 drivers/crypto/nx/nx-842.c if (dlen < c->minimum) { dlen 207 drivers/crypto/nx/nx-842.c dlen = min(p->oremain, BOUNCE_BUFFER_SIZE); dlen 208 drivers/crypto/nx/nx-842.c dlen = round_down(dlen, c->multiple); dlen 210 drivers/crypto/nx/nx-842.c pr_debug("using comp dbounce buffer, len %x\n", dlen); dlen 212 drivers/crypto/nx/nx-842.c if (dlen > c->maximum) dlen 213 drivers/crypto/nx/nx-842.c dlen = c->maximum; dlen 215 drivers/crypto/nx/nx-842.c tmplen = dlen; dlen 218 drivers/crypto/nx/nx-842.c dlen = tmplen; /* reset dlen, if we're retrying */ dlen 219 drivers/crypto/nx/nx-842.c ret = ctx->driver->compress(src, slen, dst, &dlen, ctx->wmem); dlen 232 drivers/crypto/nx/nx-842.c memcpy(p->out + dskip, dst, dlen); dlen 235 drivers/crypto/nx/nx-842.c g->compressed_length = cpu_to_be32(dlen); dlen 244 drivers/crypto/nx/nx-842.c slen, *ignore, dlen, dskip); dlen 246 drivers/crypto/nx/nx-842.c return update_param(p, slen, dskip + dlen); dlen 251 drivers/crypto/nx/nx-842.c u8 *dst, unsigned int *dlen) dlen 267 drivers/crypto/nx/nx-842.c p.oremain = *dlen; dlen 270 drivers/crypto/nx/nx-842.c *dlen = 0; dlen 325 drivers/crypto/nx/nx-842.c *dlen = p.ototal; dlen 327 drivers/crypto/nx/nx-842.c pr_debug("compress total slen %x dlen %x\n", slen, *dlen); dlen 343 drivers/crypto/nx/nx-842.c unsigned int dlen = p->oremain, tmplen; dlen 381 drivers/crypto/nx/nx-842.c if (dlen % c->multiple) dlen 382 drivers/crypto/nx/nx-842.c dlen = round_down(dlen, c->multiple); dlen 383 drivers/crypto/nx/nx-842.c if (dlen < required_len || (u64)dst % c->alignment) { dlen 385 drivers/crypto/nx/nx-842.c dlen = min(required_len, BOUNCE_BUFFER_SIZE); dlen 386 drivers/crypto/nx/nx-842.c pr_debug("using decomp dbounce buffer, len %x\n", dlen); dlen 388 drivers/crypto/nx/nx-842.c if (dlen < c->minimum) dlen 390 drivers/crypto/nx/nx-842.c if (dlen > c->maximum) dlen 391 drivers/crypto/nx/nx-842.c dlen = c->maximum; dlen 393 drivers/crypto/nx/nx-842.c tmplen = dlen; dlen 396 drivers/crypto/nx/nx-842.c dlen = tmplen; /* reset dlen, if we're retrying */ dlen 397 drivers/crypto/nx/nx-842.c ret = ctx->driver->decompress(src, slen, dst, &dlen, ctx->wmem); dlen 406 drivers/crypto/nx/nx-842.c dlen = p->oremain; dlen 407 drivers/crypto/nx/nx-842.c if (dlen < required_len) { /* have ignore bytes */ dlen 409 drivers/crypto/nx/nx-842.c dlen = BOUNCE_BUFFER_SIZE; dlen 412 drivers/crypto/nx/nx-842.c ret = sw842_decompress(src, slen, dst, &dlen); dlen 419 drivers/crypto/nx/nx-842.c dlen -= ignore; dlen 424 drivers/crypto/nx/nx-842.c memcpy(p->out, dst, dlen); dlen 427 drivers/crypto/nx/nx-842.c slen, padding, dlen, ignore); dlen 429 drivers/crypto/nx/nx-842.c return update_param(p, slen + padding, dlen); dlen 434 drivers/crypto/nx/nx-842.c u8 *dst, unsigned int *dlen) dlen 448 drivers/crypto/nx/nx-842.c p.oremain = *dlen; dlen 451 drivers/crypto/nx/nx-842.c *dlen = 0; dlen 506 drivers/crypto/nx/nx-842.c *dlen = p.ototal; dlen 508 drivers/crypto/nx/nx-842.c pr_debug("decompress total slen %x dlen %x\n", slen, *dlen); dlen 184 drivers/crypto/nx/nx-842.h u8 *dst, unsigned int *dlen); dlen 187 drivers/crypto/nx/nx-842.h u8 *dst, unsigned int *dlen); dlen 72 drivers/crypto/qcom-rng.c u8 *dstn, unsigned int dlen) dlen 84 drivers/crypto/qcom-rng.c ret = qcom_rng_read(rng, dstn, dlen); dlen 16 drivers/crypto/sunxi-ss/sun4i-ss-prng.c unsigned int slen, u8 *dst, unsigned int dlen) dlen 26 drivers/crypto/sunxi-ss/sun4i-ss-prng.c unsigned int todo = (dlen / 4) * 4; dlen 214 drivers/crypto/sunxi-ss/sun4i-ss.h unsigned int slen, u8 *dst, unsigned int dlen); dlen 666 drivers/dma/dw/core.c size_t dlen; dlen 678 drivers/dma/dw/core.c ctlhi = dw->bytes2block(dwc, len, mem_width, &dlen); dlen 684 drivers/dma/dw/core.c desc->len = dlen; dlen 694 drivers/dma/dw/core.c mem += dlen; dlen 695 drivers/dma/dw/core.c len -= dlen; dlen 696 drivers/dma/dw/core.c total_len += dlen; dlen 716 drivers/dma/dw/core.c size_t dlen; dlen 726 drivers/dma/dw/core.c ctlhi = dw->bytes2block(dwc, len, reg_width, &dlen); dlen 731 drivers/dma/dw/core.c mem_width = __ffs(data_width | mem | dlen); dlen 733 drivers/dma/dw/core.c desc->len = dlen; dlen 743 drivers/dma/dw/core.c mem += dlen; dlen 744 drivers/dma/dw/core.c len -= dlen; dlen 745 drivers/dma/dw/core.c total_len += dlen; dlen 2048 drivers/gpu/drm/msm/dsi/dsi_host.c int data_byte, rx_byte, dlen, end; dlen 2112 drivers/gpu/drm/msm/dsi/dsi_host.c dlen = dsi_cmd_dma_rx(msm_host, buf, rx_byte, pkt_size); dlen 2114 drivers/gpu/drm/msm/dsi/dsi_host.c if (dlen <= 0) dlen 2129 drivers/gpu/drm/msm/dsi/dsi_host.c dlen -= 2; /* 2 crc */ dlen 2130 drivers/gpu/drm/msm/dsi/dsi_host.c dlen -= diff; dlen 2131 drivers/gpu/drm/msm/dsi/dsi_host.c buf += dlen; /* next start position */ dlen 2137 drivers/gpu/drm/msm/dsi/dsi_host.c DBG("buf=%p dlen=%d diff=%d", buf, dlen, diff); dlen 122 drivers/i2c/busses/i2c-sun6i-p2wi.c unsigned long dlen = P2WI_DLEN_DATA_LENGTH(1); dlen 135 drivers/i2c/busses/i2c-sun6i-p2wi.c dlen |= P2WI_DLEN_READ; dlen 139 drivers/i2c/busses/i2c-sun6i-p2wi.c writel(dlen, p2wi->regs + P2WI_DLEN); dlen 1044 drivers/infiniband/hw/cxgb3/iwch_cm.c unsigned int dlen = ntohs(hdr->len); dlen 1046 drivers/infiniband/hw/cxgb3/iwch_cm.c pr_debug("%s ep %p dlen %u\n", __func__, ep, dlen); dlen 1049 drivers/infiniband/hw/cxgb3/iwch_cm.c skb_trim(skb, dlen); dlen 1051 drivers/infiniband/hw/cxgb3/iwch_cm.c ep->rcv_seq += dlen; dlen 1052 drivers/infiniband/hw/cxgb3/iwch_cm.c BUG_ON(ep->rcv_seq != (ntohl(hdr->seq) + dlen)); dlen 1075 drivers/infiniband/hw/cxgb3/iwch_cm.c update_rx_credits(ep, dlen); dlen 1848 drivers/infiniband/hw/cxgb4/cm.c unsigned int dlen = ntohs(hdr->len); dlen 1856 drivers/infiniband/hw/cxgb4/cm.c pr_debug("ep %p tid %u dlen %u\n", ep, ep->hwtid, dlen); dlen 1858 drivers/infiniband/hw/cxgb4/cm.c skb_trim(skb, dlen); dlen 1863 drivers/infiniband/hw/cxgb4/cm.c update_rx_credits(ep, dlen); dlen 1864 drivers/infiniband/hw/cxgb4/cm.c ep->rcv_seq += dlen; dlen 1868 drivers/infiniband/hw/cxgb4/cm.c update_rx_credits(ep, dlen); dlen 1869 drivers/infiniband/hw/cxgb4/cm.c ep->rcv_seq += dlen; dlen 1875 drivers/infiniband/hw/cxgb4/cm.c update_rx_credits(ep, dlen); dlen 93 drivers/infiniband/hw/cxgb4/mem.c req->dlen = cpu_to_be32(ULP_MEMIO_DATA_LEN_V(len>>5)); dlen 157 drivers/infiniband/hw/cxgb4/mem.c req->dlen = cpu_to_be32(ULP_MEMIO_DATA_LEN_V( dlen 627 drivers/infiniband/ulp/ipoib/ipoib_cm.c int dlen = wc->byte_len; dlen 629 drivers/infiniband/ulp/ipoib/ipoib_cm.c small_skb = dev_alloc_skb(dlen + IPOIB_CM_RX_RESERVE); dlen 633 drivers/infiniband/ulp/ipoib/ipoib_cm.c dlen, DMA_FROM_DEVICE); dlen 634 drivers/infiniband/ulp/ipoib/ipoib_cm.c skb_copy_from_linear_data(skb, small_skb->data, dlen); dlen 636 drivers/infiniband/ulp/ipoib/ipoib_cm.c dlen, DMA_FROM_DEVICE); dlen 637 drivers/infiniband/ulp/ipoib/ipoib_cm.c skb_put(small_skb, dlen); dlen 220 drivers/media/pci/ttpci/av7110_av.c int av7110_pes_play(void *dest, struct dvb_ringbuffer *buf, int dlen) dlen 226 drivers/media/pci/ttpci/av7110_av.c if (!dlen) { dlen 251 drivers/media/pci/ttpci/av7110_av.c if (len < blen || blen > dlen) { dlen 11 drivers/media/pci/ttpci/av7110_av.h extern int av7110_pes_play(void *dest, struct dvb_ringbuffer *buf, int dlen); dlen 198 drivers/media/radio/wl128x/fmdrv_common.c cmd_hdr->rd_wr ? "RD" : "WR", cmd_hdr->dlen); dlen 202 drivers/media/radio/wl128x/fmdrv_common.c printk(KERN_CONT "\n data(%d): ", cmd_hdr->dlen); dlen 223 drivers/media/radio/wl128x/fmdrv_common.c (evt_hdr->rd_wr) ? "RD" : "WR", evt_hdr->dlen); dlen 227 drivers/media/radio/wl128x/fmdrv_common.c printk(KERN_CONT "\n data(%d): ", evt_hdr->dlen); dlen 421 drivers/media/radio/wl128x/fmdrv_common.c hdr->dlen = payload_len; dlen 483 drivers/media/radio/wl128x/fmdrv_common.c if (response != NULL && response_len != NULL && evt_hdr->dlen && dlen 484 drivers/media/radio/wl128x/fmdrv_common.c evt_hdr->dlen <= payload_len) { dlen 487 drivers/media/radio/wl128x/fmdrv_common.c memcpy(response, skb->data, evt_hdr->dlen); dlen 488 drivers/media/radio/wl128x/fmdrv_common.c *response_len = evt_hdr->dlen; dlen 489 drivers/media/radio/wl128x/fmdrv_common.c } else if (response_len != NULL && evt_hdr->dlen == 0) { dlen 578 drivers/media/radio/wl128x/fmdrv_common.c if (fm_evt_hdr->dlen > sizeof(fmdev->irq_info.flag)) dlen 583 drivers/media/radio/wl128x/fmdrv_common.c memcpy(&fmdev->irq_info.flag, skb->data, fm_evt_hdr->dlen); dlen 137 drivers/media/radio/wl128x/fmdrv_common.h __u8 dlen; /* Length of payload */ dlen 150 drivers/media/radio/wl128x/fmdrv_common.h __u8 dlen; /* Length of payload */ dlen 600 drivers/media/usb/dvb-usb-v2/lmedm04.c u8 packet_size, dlen, i; dlen 622 drivers/media/usb/dvb-usb-v2/lmedm04.c dlen = packet_size; dlen 625 drivers/media/usb/dvb-usb-v2/lmedm04.c dlen = (u8)(end - j)-1; dlen 627 drivers/media/usb/dvb-usb-v2/lmedm04.c data[1] = dlen; dlen 628 drivers/media/usb/dvb-usb-v2/lmedm04.c memcpy(&data[2], fw_data, dlen+1); dlen 629 drivers/media/usb/dvb-usb-v2/lmedm04.c wlen = (u8) dlen + 4; dlen 630 drivers/media/usb/dvb-usb-v2/lmedm04.c data[wlen-1] = check_sum(fw_data, dlen+1); dlen 632 drivers/media/usb/dvb-usb-v2/lmedm04.c data[dlen+2], data[dlen+3]); dlen 28 drivers/media/usb/pvrusb2/pvrusb2-encoder.c const u32 *data, unsigned int dlen) dlen 45 drivers/media/usb/pvrusb2/pvrusb2-encoder.c while (dlen) { dlen 47 drivers/media/usb/pvrusb2/pvrusb2-encoder.c if (chunkCnt > dlen) chunkCnt = dlen; dlen 64 drivers/media/usb/pvrusb2/pvrusb2-encoder.c dlen -= chunkCnt; dlen 74 drivers/media/usb/pvrusb2/pvrusb2-encoder.c u32 *data, unsigned int dlen) dlen 90 drivers/media/usb/pvrusb2/pvrusb2-encoder.c while (dlen) { dlen 92 drivers/media/usb/pvrusb2/pvrusb2-encoder.c if (chunkCnt > dlen) chunkCnt = dlen; dlen 114 drivers/media/usb/pvrusb2/pvrusb2-encoder.c dlen -= chunkCnt; dlen 92 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c u16 dlen, /* Size of data to write */ dlen 100 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (!data) dlen = 0; dlen 101 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (dlen > (sizeof(hdw->cmd_buffer) - 4)) { dlen 105 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c dlen,(unsigned int)(sizeof(hdw->cmd_buffer) - 4)); dlen 123 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c hdw->cmd_buffer[1] = dlen; /* arg length */ dlen 127 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c if (dlen) memcpy(hdw->cmd_buffer + 4, data, dlen); dlen 132 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c 4 + dlen, dlen 515 drivers/misc/mic/vop/vop_vringh.c size_t len, u64 daddr, size_t dlen, dlen 593 drivers/misc/mic/vop/vop_vringh.c size_t len, u64 daddr, size_t dlen, dlen 613 drivers/misc/mic/vop/vop_vringh.c } else if (ALIGN(len, dma_alignment) > dlen) { dlen 32 drivers/mtd/spi-nor/nxp-spifi.c #define SPIFI_CMD_DATALEN(dlen) ((dlen) & 0x3fff) dlen 1716 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h __be32 dlen; /* data length in 32-byte units */ dlen 57 drivers/net/ethernet/pensando/ionic/ionic_txrx.c u16 clen, dlen; dlen 60 drivers/net/ethernet/pensando/ionic/ionic_txrx.c dlen = le16_to_cpu(desc->len); dlen 63 drivers/net/ethernet/pensando/ionic/ionic_txrx.c dlen, DMA_FROM_DEVICE); dlen 70 drivers/net/ethernet/pensando/ionic/ionic_txrx.c dlen, DMA_FROM_DEVICE); dlen 1859 drivers/net/ethernet/sun/cassini.c u32 dlen; dlen 1884 drivers/net/ethernet/sun/cassini.c dlen = CAS_VAL(TX_DESC_BUFLEN, dlen 1886 drivers/net/ethernet/sun/cassini.c pci_unmap_page(cp->pdev, daddr, dlen, dlen 1945 drivers/net/ethernet/sun/cassini.c int dlen, hlen, len, i, alloclen; dlen 1954 drivers/net/ethernet/sun/cassini.c dlen = CAS_VAL(RX_COMP1_DATA_SIZE, words[0]); dlen 1955 drivers/net/ethernet/sun/cassini.c len = hlen + dlen; dlen 1978 drivers/net/ethernet/sun/cassini.c if (!dlen) /* attach FCS */ dlen 1993 drivers/net/ethernet/sun/cassini.c if (alloclen < (hlen + dlen)) { dlen 2001 drivers/net/ethernet/sun/cassini.c hlen = min(cp->page_size - off, dlen); dlen 2009 drivers/net/ethernet/sun/cassini.c if (i == dlen) /* attach FCS */ dlen 2041 drivers/net/ethernet/sun/cassini.c if ((words[0] & RX_COMP1_SPLIT_PKT) && ((dlen -= hlen) > 0)) { dlen 2042 drivers/net/ethernet/sun/cassini.c hlen = dlen; dlen 2073 drivers/net/ethernet/sun/cassini.c if (!dlen) dlen 2079 drivers/net/ethernet/sun/cassini.c hlen = min(cp->page_size - off, dlen); dlen 2087 drivers/net/ethernet/sun/cassini.c if (i == dlen) /* attach FCS */ dlen 2102 drivers/net/ethernet/sun/cassini.c if ((words[0] & RX_COMP1_SPLIT_PKT) && ((dlen -= hlen) > 0)) { dlen 2107 drivers/net/ethernet/sun/cassini.c dlen + cp->crc_size, dlen 2110 drivers/net/ethernet/sun/cassini.c memcpy(p, addr, dlen + cp->crc_size); dlen 2112 drivers/net/ethernet/sun/cassini.c dlen + cp->crc_size, dlen 2115 drivers/net/ethernet/sun/cassini.c RX_USED_ADD(page, dlen + cp->crc_size); dlen 3883 drivers/net/ethernet/sun/cassini.c u64 daddr, dlen; dlen 3903 drivers/net/ethernet/sun/cassini.c dlen = CAS_VAL(TX_DESC_BUFLEN, dlen 3905 drivers/net/ethernet/sun/cassini.c pci_unmap_page(cp->pdev, daddr, dlen, dlen 953 drivers/net/ppp/ppp_async.c int dlen, fcs, i, code; dlen 963 drivers/net/ppp/ppp_async.c dlen = get_unaligned_be16(data + 2); dlen 964 drivers/net/ppp/ppp_async.c if (len < dlen) dlen 973 drivers/net/ppp/ppp_async.c for (i = 1; i < dlen; ++i) dlen 992 drivers/net/ppp/ppp_async.c dlen -= 4; dlen 994 drivers/net/ppp/ppp_async.c while (dlen >= 2 && dlen >= data[1] && data[1] >= 2) { dlen 1011 drivers/net/ppp/ppp_async.c dlen -= data[1]; dlen 742 drivers/net/sb1000.c short dlen; dlen 819 drivers/net/sb1000.c dlen = ((buffer[NewDatagramHeaderSkip + 3] & 0x0f) << 8 | dlen 821 drivers/net/sb1000.c if (dlen > SB1000_MRU) { dlen 824 drivers/net/sb1000.c "than MRU (%d)\n", dev->name, dlen, SB1000_MRU); dlen 829 drivers/net/sb1000.c lp->rx_dlen[ns] = dlen; dlen 831 drivers/net/sb1000.c skbsize = dlen + FrameSize; dlen 861 drivers/net/sb1000.c dlen = lp->rx_dlen[ns]; dlen 863 drivers/net/sb1000.c if (skb->len < dlen + TrailerSize) { dlen 869 drivers/net/sb1000.c skb_trim(skb, dlen); dlen 871 drivers/net/sb1000.c stats->rx_bytes+=dlen; dlen 51 drivers/net/wireless/ath/ar5523/ar5523.c int dlen, olen; dlen 54 drivers/net/wireless/ath/ar5523/ar5523.c dlen = be32_to_cpu(hdr->len) - sizeof(*hdr); dlen 56 drivers/net/wireless/ath/ar5523/ar5523.c if (dlen < 0) { dlen 62 drivers/net/wireless/ath/ar5523/ar5523.c dlen); dlen 65 drivers/net/wireless/ath/ar5523/ar5523.c if (dlen >= sizeof(u32)) { dlen 67 drivers/net/wireless/ath/ar5523/ar5523.c dlen -= sizeof(u32); dlen 97 drivers/net/wireless/ath/ar5523/ar5523.c int dlen; dlen 151 drivers/net/wireless/ath/ar5523/ar5523.c dlen = hdrlen - sizeof(*hdr); dlen 152 drivers/net/wireless/ath/ar5523/ar5523.c if (dlen != (int)sizeof(u32)) { dlen 604 drivers/net/wireless/ath/ath6kl/wmi.c u16 dlen; dlen 611 drivers/net/wireless/ath/ath6kl/wmi.c dlen = le16_to_cpu(ev->len); dlen 612 drivers/net/wireless/ath/ath6kl/wmi.c if (datap + len < ev->data + dlen) { dlen 614 drivers/net/wireless/ath/ath6kl/wmi.c len, dlen); dlen 619 drivers/net/wireless/ath/ath6kl/wmi.c dlen, freq, vif->probe_req_report); dlen 622 drivers/net/wireless/ath/ath6kl/wmi.c cfg80211_rx_mgmt(&vif->wdev, freq, 0, ev->data, dlen, 0); dlen 630 drivers/net/wireless/ath/ath6kl/wmi.c u16 dlen; dlen 636 drivers/net/wireless/ath/ath6kl/wmi.c dlen = le16_to_cpu(ev->len); dlen 637 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_dbg(ATH6KL_DBG_WMI, "p2p_capab: len=%u\n", dlen); dlen 647 drivers/net/wireless/ath/ath6kl/wmi.c u16 dlen; dlen 654 drivers/net/wireless/ath/ath6kl/wmi.c dlen = le16_to_cpu(ev->len); dlen 655 drivers/net/wireless/ath/ath6kl/wmi.c if (datap + len < ev->data + dlen) { dlen 657 drivers/net/wireless/ath/ath6kl/wmi.c len, dlen); dlen 660 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_dbg(ATH6KL_DBG_WMI, "rx_action: len=%u freq=%u\n", dlen, freq); dlen 661 drivers/net/wireless/ath/ath6kl/wmi.c cfg80211_rx_mgmt(&vif->wdev, freq, 0, ev->data, dlen, 0); dlen 670 drivers/net/wireless/ath/ath6kl/wmi.c u16 dlen; dlen 677 drivers/net/wireless/ath/ath6kl/wmi.c dlen = le16_to_cpu(ev->len); dlen 678 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_dbg(ATH6KL_DBG_WMI, "p2p_info: flags=%x len=%d\n", flags, dlen); dlen 682 drivers/net/wireless/ath/ath6kl/wmi.c if (dlen < sizeof(*cap)) dlen 691 drivers/net/wireless/ath/ath6kl/wmi.c if (dlen < sizeof(*mac)) dlen 700 drivers/net/wireless/ath/ath6kl/wmi.c if (dlen < sizeof(*mod)) dlen 56 drivers/net/wireless/ath/wil6210/fw_inc.c u32 dlen; dlen 76 drivers/net/wireless/ath/wil6210/fw_inc.c dlen = le32_to_cpu(fh_->data_len); dlen 77 drivers/net/wireless/ath/wil6210/fw_inc.c if (dlen % 4) { dlen 78 drivers/net/wireless/ath/wil6210/fw_inc.c wil_err_fw(wil, "data length not aligned: %lu\n", (ulong)dlen); dlen 81 drivers/net/wireless/ath/wil6210/fw_inc.c if (size < dlen) { dlen 83 drivers/net/wireless/ath/wil6210/fw_inc.c size, (ulong)dlen); dlen 86 drivers/net/wireless/ath/wil6210/fw_inc.c if (dlen < sizeof(*hdr) + sizeof(fh)) { dlen 87 drivers/net/wireless/ath/wil6210/fw_inc.c wil_err_fw(wil, "data length too short: %lu\n", (ulong)dlen); dlen 112 drivers/net/wireless/ath/wil6210/fw_inc.c dlen - sizeof(*hdr) - sizeof(fh)); dlen 118 drivers/net/wireless/ath/wil6210/fw_inc.c (ulong)dlen, crc, le32_to_cpu(fh_->crc)); dlen 122 drivers/net/wireless/ath/wil6210/fw_inc.c return (int)dlen; dlen 794 drivers/net/wireless/ath/wil6210/fw_inc.c int rc, dlen; dlen 805 drivers/net/wireless/ath/wil6210/fw_inc.c dlen = wil_fw_verify(wil, brd->data, brd->size); dlen 806 drivers/net/wireless/ath/wil6210/fw_inc.c if (dlen < 0) { dlen 807 drivers/net/wireless/ath/wil6210/fw_inc.c rc = dlen; dlen 812 drivers/net/wireless/ath/wil6210/fw_inc.c rc = wil_brd_process(wil, brd->data, dlen); dlen 1479 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c u16 dlen, totlen; dlen 1498 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c dlen = (u16) (bus->glomd->len); dlen 1500 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c if (!dlen || (dlen & 1)) { dlen 1502 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c dlen); dlen 1503 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c dlen = 0; dlen 1506 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c for (totlen = num = 0; dlen; num++) { dlen 1509 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c dlen -= sizeof(u16); dlen 1526 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c if (!dlen) { dlen 1580 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c dlen = (u16) brcmf_sdio_glom_len(bus); dlen 1588 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c &bus->glom, dlen); dlen 1595 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c dlen, errcode); dlen 1610 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c rd_new.len = dlen; dlen 411 drivers/net/wireless/intersil/prism54/oid_mgt.c int dlen; dlen 422 drivers/net/wireless/intersil/prism54/oid_mgt.c dlen = isl_oid[n].size; dlen 424 drivers/net/wireless/intersil/prism54/oid_mgt.c cache += (cache ? extra * dlen : 0); dlen 443 drivers/net/wireless/intersil/prism54/oid_mgt.c _data, dlen, &response); dlen 455 drivers/net/wireless/intersil/prism54/oid_mgt.c memcpy(cache, _data, dlen); dlen 473 drivers/net/wireless/intersil/prism54/oid_mgt.c int dlen; dlen 478 drivers/net/wireless/intersil/prism54/oid_mgt.c dlen = isl_oid[n].size; dlen 485 drivers/net/wireless/intersil/prism54/oid_mgt.c data, dlen + extra_len, &response); dlen 511 drivers/net/wireless/intersil/prism54/oid_mgt.c int dlen; dlen 524 drivers/net/wireless/intersil/prism54/oid_mgt.c dlen = isl_oid[n].size; dlen 526 drivers/net/wireless/intersil/prism54/oid_mgt.c cache += cache ? extra * dlen : 0; dlen 528 drivers/net/wireless/intersil/prism54/oid_mgt.c reslen = dlen; dlen 535 drivers/net/wireless/intersil/prism54/oid_mgt.c oid, data, dlen, &response); dlen 1379 drivers/net/wireless/marvell/mwifiex/usb.c u32 dlen; dlen 1410 drivers/net/wireless/marvell/mwifiex/usb.c dlen = 0; dlen 1416 drivers/net/wireless/marvell/mwifiex/usb.c dlen = le32_to_cpu(fwdata->fw_hdr.data_len); dlen 1422 drivers/net/wireless/marvell/mwifiex/usb.c dlen = 0; dlen 1424 drivers/net/wireless/marvell/mwifiex/usb.c memcpy(fwdata->data, &firmware[tlen], dlen); dlen 1427 drivers/net/wireless/marvell/mwifiex/usb.c tlen += dlen; dlen 58 drivers/net/wireless/marvell/mwifiex/usb.h (sizeof(struct fw_header) + dlen + sizeof(u32)) dlen 299 drivers/rpmsg/qcom_glink_native.c const void *data, size_t dlen) dlen 301 drivers/rpmsg/qcom_glink_native.c glink->tx_pipe->write(glink->tx_pipe, hdr, hlen, data, dlen); dlen 306 drivers/rpmsg/qcom_glink_native.c const void *data, size_t dlen, bool wait) dlen 308 drivers/rpmsg/qcom_glink_native.c unsigned int tlen = hlen + dlen; dlen 332 drivers/rpmsg/qcom_glink_native.c qcom_glink_tx_write(glink, hdr, hlen, data, dlen); dlen 24 drivers/rpmsg/qcom_glink_native.h const void *data, size_t dlen); dlen 151 drivers/rpmsg/qcom_glink_rpm.c const void *data, size_t dlen) dlen 154 drivers/rpmsg/qcom_glink_rpm.c size_t tlen = hlen + dlen; dlen 168 drivers/rpmsg/qcom_glink_rpm.c aligned_dlen = ALIGN_DOWN(dlen, 4); dlen 169 drivers/rpmsg/qcom_glink_rpm.c if (aligned_dlen != dlen) dlen 170 drivers/rpmsg/qcom_glink_rpm.c memcpy(padding, data + aligned_dlen, dlen - aligned_dlen); dlen 159 drivers/rpmsg/qcom_glink_smem.c const void *data, size_t dlen) dlen 167 drivers/rpmsg/qcom_glink_smem.c head = glink_smem_tx_write_one(pipe, head, data, dlen); dlen 1408 drivers/scsi/be2iscsi/be_main.c struct pdu_base *phdr, void *pdata, unsigned int dlen) dlen 1421 drivers/scsi/be2iscsi/be_main.c dlen = 0; dlen 1427 drivers/scsi/be2iscsi/be_main.c WARN_ON(!(dlen == 48)); dlen 1446 drivers/scsi/be2iscsi/be_main.c __iscsi_complete_pdu(conn, (struct iscsi_hdr *)phdr, pdata, dlen); dlen 1595 drivers/scsi/be2iscsi/be_main.c u32 dlen = 0, status = 0; dlen 1610 drivers/scsi/be2iscsi/be_main.c dlen = pasync_handle->buffer_len; dlen 1614 drivers/scsi/be2iscsi/be_main.c (dlen + pasync_handle->buffer_len) > dlen 1617 drivers/scsi/be2iscsi/be_main.c memcpy(pdata + dlen, pasync_handle->pbuffer, dlen 1619 drivers/scsi/be2iscsi/be_main.c dlen += pasync_handle->buffer_len; dlen 1633 drivers/scsi/be2iscsi/be_main.c status = beiscsi_complete_pdu(beiscsi_conn, phdr, pdata, dlen); dlen 3028 drivers/scsi/bfa/bfa_ioc.c int dlen; dlen 3038 drivers/scsi/bfa/bfa_ioc.c dlen = *buflen; dlen 3047 drivers/scsi/bfa/bfa_ioc.c if ((loff + dlen) >= smem_len) dlen 3048 drivers/scsi/bfa/bfa_ioc.c dlen = smem_len - loff; dlen 3050 drivers/scsi/bfa/bfa_ioc.c status = bfa_ioc_smem_read(ioc, buf, loff, dlen); dlen 3057 drivers/scsi/bfa/bfa_ioc.c *offset += dlen; dlen 3062 drivers/scsi/bfa/bfa_ioc.c *buflen = dlen; dlen 671 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c int dlen, int len, u32 credits, int compl) dlen 683 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c FW_WR_IMMDLEN_V(dlen)); dlen 726 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c int dlen = skb->len; dlen 733 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c credits_needed = DIV_ROUND_UP(dlen, 16); dlen 776 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c make_tx_data_wr(csk, skb, dlen, len, credits_needed, dlen 1205 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c unsigned int hlen, dlen, plen; dlen 1223 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c dlen = ntohl(*(unsigned int *)(bhs + 4)) & 0xFFFFFF; dlen 1229 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c if ((hlen + dlen) != plen) { dlen 1232 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c csk->tid, plen, hlen, dlen, dlen 1237 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c cxgbi_skcb_rx_pdulen(skb) = (hlen + dlen + 3) & (~0x3); dlen 1238 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c if (dlen) dlen 1244 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c csk, skb, *bhs, hlen, dlen, dlen 1890 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c unsigned int wr_len, unsigned int dlen, dlen 1903 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->dlen = htonl(ULP_MEMIO_DATA_LEN_V(dlen >> 5)); dlen 1908 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c idata->len = htonl(dlen); dlen 1918 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c unsigned int dlen = npods << PPOD_SIZE_SHIFT; dlen 1920 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c sizeof(struct ulptx_idata) + dlen, 16); dlen 1929 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c ulp_mem_io_set_hdr(cdev, (struct ulp_mem_io *)skb->head, wr_len, dlen, dlen 1217 drivers/scsi/cxgbi/libcxgbi.c unsigned int *sgcnt, unsigned int *dlen, dlen 1224 drivers/scsi/cxgbi/libcxgbi.c *dlen = sdb->length; dlen 1476 drivers/scsi/cxgbi/libcxgbi.c &tdata->dlen, 0); dlen 1477 drivers/scsi/cxgbi/libcxgbi.c err = cxgbi_ddp_reserve(cconn, tdata, sw_tag, tdata->dlen); dlen 1483 drivers/scsi/cxgbi/libcxgbi.c cconn->cep->csk, task, tdata->dlen, dlen 1837 drivers/scsi/cxgbi/libcxgbi.c unsigned int dlen, struct page_frag *frags, dlen 1840 drivers/scsi/cxgbi/libcxgbi.c unsigned int datalen = dlen; dlen 1853 drivers/scsi/cxgbi/libcxgbi.c i, datalen, dlen); dlen 1869 drivers/scsi/cxgbi/libcxgbi.c frag_max, dlen); dlen 351 drivers/scsi/cxgbi/libcxgbi.h static inline struct sk_buff *alloc_wr(int wrlen, int dlen, gfp_t gfp) dlen 353 drivers/scsi/cxgbi/libcxgbi.h struct sk_buff *skb = alloc_skb(wrlen + dlen, gfp); dlen 357 drivers/scsi/cxgbi/libcxgbi.h memset(skb->head, 0, wrlen + dlen); dlen 359 drivers/scsi/cxgbi/libcxgbi.h pr_info("alloc cpl wr skb %u+%u, OOM.\n", wrlen, dlen); dlen 531 drivers/scsi/cxgbi/libcxgbi.h unsigned int dlen; dlen 613 drivers/scsi/fcoe/fcoe_ctlr.c size_t dlen; dlen 619 drivers/scsi/fcoe/fcoe_ctlr.c dlen = sizeof(struct fip_encaps) + skb->len; /* len before push */ dlen 650 drivers/scsi/fcoe/fcoe_ctlr.c cap->encaps.fd_desc.fip_dlen = dlen / FIP_BPW; dlen 653 drivers/scsi/fcoe/fcoe_ctlr.c dlen += sizeof(*mac); dlen 670 drivers/scsi/fcoe/fcoe_ctlr.c cap->fip.fip_dl_len = htons(dlen / FIP_BPW); dlen 899 drivers/scsi/fcoe/fcoe_ctlr.c size_t dlen; dlen 920 drivers/scsi/fcoe/fcoe_ctlr.c dlen = desc->fip_dlen * FIP_BPW; dlen 921 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen < sizeof(*desc) || dlen > rlen) dlen 932 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen != sizeof(struct fip_pri_desc)) dlen 938 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen != sizeof(struct fip_mac_desc)) dlen 953 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen != sizeof(struct fip_wwn_desc)) dlen 960 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen != sizeof(struct fip_fab_desc)) dlen 969 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen != sizeof(struct fip_fka_desc)) dlen 993 drivers/scsi/fcoe/fcoe_ctlr.c desc = (struct fip_desc *)((char *)desc + dlen); dlen 994 drivers/scsi/fcoe/fcoe_ctlr.c rlen -= dlen; dlen 1009 drivers/scsi/fcoe/fcoe_ctlr.c desc->fip_dtype, dlen); dlen 1150 drivers/scsi/fcoe/fcoe_ctlr.c size_t dlen; dlen 1166 drivers/scsi/fcoe/fcoe_ctlr.c dlen = desc->fip_dlen * FIP_BPW; dlen 1167 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen < sizeof(*desc) || dlen > rlen) dlen 1200 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen != sizeof(struct fip_mac_desc)) dlen 1219 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen < sizeof(*els) + sizeof(*fh) + 1) dlen 1221 drivers/scsi/fcoe/fcoe_ctlr.c els_len = dlen - sizeof(*els); dlen 1239 drivers/scsi/fcoe/fcoe_ctlr.c desc = (struct fip_desc *)((char *)desc + dlen); dlen 1240 drivers/scsi/fcoe/fcoe_ctlr.c rlen -= dlen; dlen 1297 drivers/scsi/fcoe/fcoe_ctlr.c desc->fip_dtype, dlen); dlen 1318 drivers/scsi/fcoe/fcoe_ctlr.c size_t dlen; dlen 1391 drivers/scsi/fcoe/fcoe_ctlr.c dlen = desc->fip_dlen * FIP_BPW; dlen 1392 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen > rlen) dlen 1405 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen < sizeof(*mp)) dlen 1413 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen < sizeof(*wp)) dlen 1421 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen < sizeof(*vp)) dlen 1441 drivers/scsi/fcoe/fcoe_ctlr.c desc = (struct fip_desc *)((char *)desc + dlen); dlen 1442 drivers/scsi/fcoe/fcoe_ctlr.c rlen -= dlen; dlen 2034 drivers/scsi/fcoe/fcoe_ctlr.c size_t dlen; dlen 2037 drivers/scsi/fcoe/fcoe_ctlr.c dlen = 0; dlen 2039 drivers/scsi/fcoe/fcoe_ctlr.c dlen = sizeof(struct fip_fc4_feat) + dlen 2041 drivers/scsi/fcoe/fcoe_ctlr.c len += dlen; dlen 2043 drivers/scsi/fcoe/fcoe_ctlr.c dlen += sizeof(frame->mac) + sizeof(frame->wwnn) + sizeof(frame->vn); dlen 2065 drivers/scsi/fcoe/fcoe_ctlr.c frame->fip.fip_dl_len = htons(dlen / FIP_BPW); dlen 2281 drivers/scsi/fcoe/fcoe_ctlr.c size_t dlen; dlen 2314 drivers/scsi/fcoe/fcoe_ctlr.c dlen = desc->fip_dlen * FIP_BPW; dlen 2315 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen < sizeof(*desc) || dlen > rlen) dlen 2333 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen != sizeof(struct fip_mac_desc)) dlen 2345 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen != sizeof(struct fip_wwn_desc)) dlen 2352 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen != sizeof(struct fip_vn_desc)) dlen 2361 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen != sizeof(struct fip_fc4_feat)) dlen 2365 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen != sizeof(struct fip_size_desc)) dlen 2378 drivers/scsi/fcoe/fcoe_ctlr.c desc = (struct fip_desc *)((char *)desc + dlen); dlen 2379 drivers/scsi/fcoe/fcoe_ctlr.c rlen -= dlen; dlen 2385 drivers/scsi/fcoe/fcoe_ctlr.c dtype, dlen); dlen 2810 drivers/scsi/fcoe/fcoe_ctlr.c size_t dlen; dlen 2834 drivers/scsi/fcoe/fcoe_ctlr.c dlen = desc->fip_dlen * FIP_BPW; dlen 2835 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen < sizeof(*desc) || dlen > rlen) dlen 2853 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen != sizeof(struct fip_mac_desc)) dlen 2865 drivers/scsi/fcoe/fcoe_ctlr.c if (dlen != sizeof(struct fip_wwn_desc)) dlen 2879 drivers/scsi/fcoe/fcoe_ctlr.c desc = (struct fip_desc *)((char *)desc + dlen); dlen 2880 drivers/scsi/fcoe/fcoe_ctlr.c rlen -= dlen; dlen 2886 drivers/scsi/fcoe/fcoe_ctlr.c dtype, dlen); dlen 2909 drivers/scsi/fcoe/fcoe_ctlr.c size_t dlen; dlen 2912 drivers/scsi/fcoe/fcoe_ctlr.c dlen = sizeof(frame->mac) + sizeof(frame->vlan); dlen 2933 drivers/scsi/fcoe/fcoe_ctlr.c frame->fip.fip_dl_len = htons(dlen / FIP_BPW); dlen 319 drivers/scsi/fnic/fnic_fcs.c size_t dlen = 0; dlen 342 drivers/scsi/fnic/fnic_fcs.c dlen = desc->fip_dlen * FIP_BPW; dlen 346 drivers/scsi/fnic/fnic_fcs.c if (dlen < sizeof(*els) + sizeof(*fh) + 1) dlen 349 drivers/scsi/fnic/fnic_fcs.c els_len = dlen - sizeof(*els); dlen 436 drivers/scsi/fnic/fnic_fcs.c size_t dlen; dlen 455 drivers/scsi/fnic/fnic_fcs.c dlen = desc->fip_dlen * FIP_BPW; dlen 473 drivers/scsi/fnic/fnic_fcs.c desc = (struct fip_desc *)((char *)desc + dlen); dlen 474 drivers/scsi/fnic/fnic_fcs.c rlen -= dlen; dlen 86 drivers/scsi/qedf/qedf_fip.c size_t dlen; dlen 93 drivers/scsi/qedf/qedf_fip.c dlen = desc->fip_dlen * FIP_BPW; dlen 99 drivers/scsi/qedf/qedf_fip.c desc = (struct fip_desc *)((char *)desc + dlen); dlen 100 drivers/scsi/qedf/qedf_fip.c rlen -= dlen; dlen 176 drivers/scsi/qedf/qedf_fip.c size_t rlen, dlen; dlen 234 drivers/scsi/qedf/qedf_fip.c dlen = desc->fip_dlen * FIP_BPW; dlen 279 drivers/scsi/qedf/qedf_fip.c desc = (struct fip_desc *)((char *)desc + dlen); dlen 280 drivers/scsi/qedf/qedf_fip.c rlen -= dlen; dlen 7632 drivers/scsi/qla2xxx/qla_init.c ulong dlen; dlen 7669 drivers/scsi/qla2xxx/qla_init.c dlen = ha->fw_transfer_size >> 2; dlen 7671 drivers/scsi/qla2xxx/qla_init.c if (dlen > risc_size) dlen 7672 drivers/scsi/qla2xxx/qla_init.c dlen = risc_size; dlen 7676 drivers/scsi/qla2xxx/qla_init.c fragment, risc_addr, faddr, dlen); dlen 7677 drivers/scsi/qla2xxx/qla_init.c qla24xx_read_flash_data(vha, dcode, faddr, dlen); dlen 7678 drivers/scsi/qla2xxx/qla_init.c for (i = 0; i < dlen; i++) dlen 7681 drivers/scsi/qla2xxx/qla_init.c rval = qla2x00_load_ram(vha, req->dma, risc_addr, dlen); dlen 7689 drivers/scsi/qla2xxx/qla_init.c faddr += dlen; dlen 7690 drivers/scsi/qla2xxx/qla_init.c risc_addr += dlen; dlen 7691 drivers/scsi/qla2xxx/qla_init.c risc_size -= dlen; dlen 7741 drivers/scsi/qla2xxx/qla_init.c dlen = qla27xx_fwdt_template_size(dcode); dlen 7744 drivers/scsi/qla2xxx/qla_init.c j, dlen, dlen / sizeof(*dcode)); dlen 7745 drivers/scsi/qla2xxx/qla_init.c if (dlen > risc_size * sizeof(*dcode)) { dlen 7748 drivers/scsi/qla2xxx/qla_init.c j, dlen - risc_size * sizeof(*dcode)); dlen 7752 drivers/scsi/qla2xxx/qla_init.c fwdt->length = dlen; dlen 7877 drivers/scsi/qla2xxx/qla_init.c ulong dlen; dlen 7924 drivers/scsi/qla2xxx/qla_init.c dlen = ha->fw_transfer_size >> 2; dlen 7926 drivers/scsi/qla2xxx/qla_init.c if (dlen > risc_size) dlen 7927 drivers/scsi/qla2xxx/qla_init.c dlen = risc_size; dlen 7933 drivers/scsi/qla2xxx/qla_init.c dlen); dlen 7935 drivers/scsi/qla2xxx/qla_init.c for (i = 0; i < dlen; i++) dlen 7938 drivers/scsi/qla2xxx/qla_init.c rval = qla2x00_load_ram(vha, req->dma, risc_addr, dlen); dlen 7946 drivers/scsi/qla2xxx/qla_init.c fwcode += dlen; dlen 7947 drivers/scsi/qla2xxx/qla_init.c risc_addr += dlen; dlen 7948 drivers/scsi/qla2xxx/qla_init.c risc_size -= dlen; dlen 7998 drivers/scsi/qla2xxx/qla_init.c dlen = qla27xx_fwdt_template_size(dcode); dlen 8001 drivers/scsi/qla2xxx/qla_init.c j, dlen, dlen / sizeof(*dcode)); dlen 8002 drivers/scsi/qla2xxx/qla_init.c if (dlen > risc_size * sizeof(*dcode)) { dlen 8005 drivers/scsi/qla2xxx/qla_init.c j, dlen - risc_size * sizeof(*dcode)); dlen 8009 drivers/scsi/qla2xxx/qla_init.c fwdt->length = dlen; dlen 386 drivers/staging/isdn/avm/b1.c u16 dlen, retval; dlen 399 drivers/staging/isdn/avm/b1.c dlen = CAPIMSG_DATALEN(skb->data); dlen 403 drivers/staging/isdn/avm/b1.c b1_put_slice(port, skb->data + len, dlen); dlen 388 drivers/staging/isdn/avm/b1dma.c u16 dlen = CAPIMSG_DATALEN(skb->data); dlen 391 drivers/staging/isdn/avm/b1dma.c _put_slice(&p, skb->data + len, dlen); dlen 441 drivers/staging/isdn/avm/c4.c u16 dlen = CAPIMSG_DATALEN(skb->data); dlen 444 drivers/staging/isdn/avm/c4.c _put_slice(&p, skb->data + len, dlen); dlen 467 drivers/staging/isdn/avm/t1isa.c u16 dlen, retval; dlen 479 drivers/staging/isdn/avm/t1isa.c dlen = CAPIMSG_DATALEN(skb->data); dlen 483 drivers/staging/isdn/avm/t1isa.c t1_put_slice(port, skb->data + len, dlen); dlen 70 drivers/target/iscsi/cxgbit/cxgbit_ddp.c unsigned int dlen = npods << PPOD_SIZE_SHIFT; dlen 72 drivers/target/iscsi/cxgbit/cxgbit_ddp.c sizeof(struct ulptx_idata) + dlen, 16); dlen 86 drivers/target/iscsi/cxgbit/cxgbit_ddp.c req->dlen = htonl(ULP_MEMIO_DATA_LEN_V(dlen >> 5)); dlen 92 drivers/target/iscsi/cxgbit/cxgbit_ddp.c idata->len = htonl(dlen); dlen 49 drivers/target/iscsi/cxgbit/cxgbit_lro.h u32 dlen; dlen 263 drivers/target/iscsi/cxgbit/cxgbit_main.c pdu_cb->dlen = len; dlen 294 drivers/target/iscsi/cxgbit/cxgbit_main.c lro_cb->pdu_totallen += pdu_cb->hlen + pdu_cb->dlen; dlen 160 drivers/target/iscsi/cxgbit/cxgbit_target.c cxgbit_tx_data_wr(struct cxgbit_sock *csk, struct sk_buff *skb, u32 dlen, dlen 181 drivers/target/iscsi/cxgbit/cxgbit_target.c immlen += dlen; dlen 207 drivers/target/iscsi/cxgbit/cxgbit_target.c u32 dlen = skb->len; dlen 218 drivers/target/iscsi/cxgbit/cxgbit_target.c credits_needed = DIV_ROUND_UP(dlen + iso_cpl_len, 16); dlen 264 drivers/target/iscsi/cxgbit/cxgbit_target.c cxgbit_tx_data_wr(csk, skb, dlen, len, credits_needed, dlen 837 drivers/target/iscsi/cxgbit/cxgbit_target.c pdu_cb->doffset + pdu_cb->dlen, dlen 912 drivers/target/iscsi/cxgbit/cxgbit_target.c u32 sg_nents = max(1UL, DIV_ROUND_UP(pdu_cb->dlen, PAGE_SIZE)); dlen 917 drivers/target/iscsi/cxgbit/cxgbit_target.c cmd->write_data_done += pdu_cb->dlen; dlen 996 drivers/target/iscsi/cxgbit/cxgbit_target.c if (pdu_cb->dlen && (pdu_cb->dlen == cmd->se_cmd.data_length) && dlen 1006 drivers/target/iscsi/cxgbit/cxgbit_target.c if (!pdu_cb->dlen) dlen 1020 drivers/target/iscsi/cxgbit/cxgbit_target.c u32 data_len = pdu_cb->dlen; dlen 1095 drivers/target/iscsi/cxgbit/cxgbit_target.c u32 payload_length = pdu_cb->dlen; dlen 1162 drivers/target/iscsi/cxgbit/cxgbit_target.c u32 payload_length = pdu_cb->dlen; dlen 1337 drivers/target/iscsi/cxgbit/cxgbit_target.c login_req->exp_statsn, login_req->cid, pdu_cb->dlen); dlen 1361 drivers/target/iscsi/cxgbit/cxgbit_target.c skb_copy_bits(csk->skb, pdu_cb->doffset, login->req_buf, pdu_cb->dlen); dlen 1477 drivers/target/iscsi/cxgbit/cxgbit_target.c hpdu_cb->dlen = pdu_cb->dlen; dlen 449 drivers/tty/n_gsm.c u8 control, const u8 *data, int dlen) dlen 499 drivers/tty/n_gsm.c if (dlen) { dlen 501 drivers/tty/n_gsm.c while (dlen--) { dlen 992 drivers/tty/n_gsm.c int dlen) dlen 995 drivers/tty/n_gsm.c msg = gsm_data_alloc(gsm, 0, dlen + 2, gsm->ftype); dlen 999 drivers/tty/n_gsm.c msg->data[1] = (dlen << 1) | EA; dlen 1000 drivers/tty/n_gsm.c memcpy(msg->data + 2, data, dlen); dlen 767 drivers/usb/host/ohci-q.c int dlen = 0; dlen 778 drivers/usb/host/ohci-q.c dlen = urb->iso_frame_desc [td->index].length; dlen 783 drivers/usb/host/ohci-q.c dlen = tdPSW & 0x3ff; dlen 785 drivers/usb/host/ohci-q.c urb->actual_length += dlen; dlen 786 drivers/usb/host/ohci-q.c urb->iso_frame_desc [td->index].actual_length = dlen; dlen 792 drivers/usb/host/ohci-q.c urb, td, 1 + td->index, dlen, cc); dlen 120 fs/btrfs/lzo.c __le32 dlen; dlen 122 fs/btrfs/lzo.c dlen = cpu_to_le32(len); dlen 123 fs/btrfs/lzo.c memcpy(buf, &dlen, LZO_LEN); dlen 128 fs/btrfs/lzo.c __le32 dlen; dlen 130 fs/btrfs/lzo.c memcpy(&dlen, buf, LZO_LEN); dlen 131 fs/btrfs/lzo.c return le32_to_cpu(dlen); dlen 244 fs/cachefiles/xattr.c unsigned int dlen; dlen 246 fs/cachefiles/xattr.c dlen = auxbuf->len - 1; dlen 249 fs/cachefiles/xattr.c object->fscache.cookie->def->name, dlen); dlen 252 fs/cachefiles/xattr.c &auxbuf->data, dlen, dlen 108 fs/ceph/cache.c void *cookie_netfs_data, const void *data, uint16_t dlen, dlen 115 fs/ceph/cache.c if (dlen != sizeof(aux) || dlen 354 fs/cifs/cifsencrypt.c unsigned int dlen; dlen 366 fs/cifs/cifsencrypt.c dlen = strlen(ses->domainName); dlen 374 fs/cifs/cifsencrypt.c ses->auth_key.len = size + 2 * dlen; dlen 389 fs/cifs/cifsencrypt.c attrptr->length = cpu_to_le16(2 * dlen); dlen 391 fs/cifs/cifsencrypt.c cifs_strtoUTF16((__le16 *)blobptr, ses->domainName, dlen, nls_cp); dlen 3120 fs/cifs/smb2pdu.c u32 *dlen) dlen 3171 fs/cifs/smb2pdu.c if (dlen) { dlen 3172 fs/cifs/smb2pdu.c *dlen = le32_to_cpu(rsp->OutputBufferLength); dlen 3174 fs/cifs/smb2pdu.c *data = kmalloc(*dlen, GFP_KERNEL); dlen 3179 fs/cifs/smb2pdu.c *dlen = 0; dlen 3193 fs/cifs/smb2pdu.c *dlen = 0; dlen 41 fs/d_path.c u32 dlen = READ_ONCE(name->len); dlen 44 fs/d_path.c *buflen -= dlen + 1; dlen 47 fs/d_path.c p = *buffer -= dlen + 1; dlen 49 fs/d_path.c while (dlen--) { dlen 38 fs/ext2/dir.c static inline unsigned ext2_rec_len_from_disk(__le16 dlen) dlen 40 fs/ext2/dir.c unsigned len = le16_to_cpu(dlen); dlen 2040 fs/ext4/ext4.h ext4_rec_len_from_disk(__le16 dlen, unsigned blocksize) dlen 2042 fs/ext4/ext4.h unsigned len = le16_to_cpu(dlen); dlen 279 fs/ext4/hash.c int r, dlen; dlen 288 fs/ext4/hash.c dlen = utf8_casefold(um, &qstr, buff, PATH_MAX); dlen 289 fs/ext4/hash.c if (dlen < 0) { dlen 294 fs/ext4/hash.c r = __ext4fs_dirhash(buff, dlen, hinfo); dlen 114 fs/f2fs/hash.c int r, dlen; dlen 125 fs/f2fs/hash.c dlen = utf8_casefold(um, name_info, buff, PATH_MAX); dlen 126 fs/f2fs/hash.c if (dlen < 0) { dlen 131 fs/f2fs/hash.c folded.len = dlen; dlen 19 fs/isofs/namei.c isofs_cmp(struct dentry *dentry, const char *compare, int dlen) dlen 23 fs/isofs/namei.c qstr.len = dlen; dlen 25 fs/isofs/namei.c return dentry->d_name.len != dlen || memcmp(dentry->d_name.name, compare, dlen); dlen 55 fs/isofs/namei.c int de_len, match, i, dlen; dlen 98 fs/isofs/namei.c dlen = de->name_len[0]; dlen 101 fs/isofs/namei.c if (de_len < dlen + sizeof(struct iso_directory_record)) { dlen 110 fs/isofs/namei.c dlen = i; /* possibly -1 */ dlen 114 fs/isofs/namei.c dlen = get_joliet_filename(de, tmpname, dir); dlen 118 fs/isofs/namei.c dlen = get_acorn_filename(de, tmpname, dir); dlen 121 fs/isofs/namei.c dlen = isofs_name_translate(de, tmpname, dir); dlen 130 fs/isofs/namei.c if (dlen > 0 && dlen 135 fs/isofs/namei.c if (dpnt && (dlen > 1 || dpnt[0] > 1)) dlen 136 fs/isofs/namei.c match = (isofs_cmp(dentry, dpnt, dlen) == 0); dlen 400 fs/nfsd/nfs3xdr.c unsigned int len, hdr, dlen; dlen 426 fs/nfsd/nfs3xdr.c dlen = head->iov_len + rqstp->rq_arg.page_len + tail->iov_len - hdr; dlen 435 fs/nfsd/nfs3xdr.c if (dlen < XDR_QUADLEN(len)*4) dlen 491 fs/nfsd/nfs3xdr.c size_t dlen; dlen 504 fs/nfsd/nfs3xdr.c dlen = args->first.iov_len + rqstp->rq_arg.page_len + dlen 506 fs/nfsd/nfs3xdr.c if (dlen < XDR_QUADLEN(args->tlen) << 2) dlen 273 fs/nfsd/nfsxdr.c unsigned int len, hdr, dlen; dlen 297 fs/nfsd/nfsxdr.c dlen = head->iov_len + rqstp->rq_arg.page_len - hdr; dlen 307 fs/nfsd/nfsxdr.c if (dlen < XDR_QUADLEN(len)*4) dlen 36 fs/nilfs2/dir.c static inline unsigned int nilfs_rec_len_from_disk(__le16 dlen) dlen 38 fs/nilfs2/dir.c unsigned int len = le16_to_cpu(dlen); dlen 59 fs/ubifs/crypto.c unsigned int dlen = *out_len; dlen 61 fs/ubifs/crypto.c if (clen <= 0 || clen > UBIFS_BLOCK_SIZE || clen > dlen) { dlen 66 fs/ubifs/crypto.c ubifs_assert(c, dlen <= UBIFS_BLOCK_SIZE); dlen 68 fs/ubifs/crypto.c dlen, offset_in_page(&dn->data), dlen 470 fs/ubifs/debug.c int dlen = le32_to_cpu(ch->len) - UBIFS_DATA_NODE_SZ; dlen 478 fs/ubifs/debug.c pr_err("\tdata size %d\n", dlen); dlen 481 fs/ubifs/debug.c (void *)&dn->data, dlen, 0); dlen 51 fs/ubifs/file.c unsigned int dlen; dlen 68 fs/ubifs/file.c dlen = le32_to_cpu(dn->ch.len) - UBIFS_DATA_NODE_SZ; dlen 71 fs/ubifs/file.c err = ubifs_decrypt(inode, dn, &dlen, block); dlen 77 fs/ubifs/file.c err = ubifs_decompress(c, &dn->data, dlen, addr, &out_len, dlen 146 fs/ubifs/file.c int dlen = le32_to_cpu(dn->size); dlen 149 fs/ubifs/file.c if (ilen && ilen < dlen) dlen 150 fs/ubifs/file.c memset(addr + ilen, 0, dlen - ilen); dlen 630 fs/ubifs/file.c int err, len, out_len, dlen; dlen 647 fs/ubifs/file.c dlen = le32_to_cpu(dn->ch.len) - UBIFS_DATA_NODE_SZ; dlen 651 fs/ubifs/file.c err = ubifs_decrypt(inode, dn, &dlen, page_block); dlen 656 fs/ubifs/file.c err = ubifs_decompress(c, &dn->data, dlen, addr, &out_len, dlen 542 fs/ubifs/journal.c int err, dlen, ilen, len, lnum, ino_offs, dent_offs; dlen 556 fs/ubifs/journal.c dlen = UBIFS_DENT_NODE_SZ + fname_len(nm) + 1; dlen 570 fs/ubifs/journal.c aligned_dlen = ALIGN(dlen, 8); dlen 609 fs/ubifs/journal.c ubifs_prep_grp_node(c, dent, dlen, 0); dlen 655 fs/ubifs/journal.c err = ubifs_add_dirt(c, lnum, dlen); dlen 657 fs/ubifs/journal.c err = ubifs_tnc_add_nm(c, &dent_key, lnum, dent_offs, dlen, dlen 727 fs/ubifs/journal.c int dlen = COMPRESSED_DATA_NODE_BUF_SZ, allocated = 1; dlen 738 fs/ubifs/journal.c dlen += UBIFS_CIPHER_BLOCK_SIZE; dlen 742 fs/ubifs/journal.c data = kmalloc(dlen + auth_len, GFP_NOFS | __GFP_NOWARN); dlen 766 fs/ubifs/journal.c out_len = compr_len = dlen - UBIFS_DATA_NODE_SZ; dlen 780 fs/ubifs/journal.c dlen = UBIFS_DATA_NODE_SZ + out_len; dlen 782 fs/ubifs/journal.c write_len = ALIGN(dlen, 8) + auth_len; dlen 784 fs/ubifs/journal.c write_len = dlen; dlen 793 fs/ubifs/journal.c ubifs_prepare_node(c, data, dlen, 0); dlen 807 fs/ubifs/journal.c err = ubifs_tnc_add(c, key, lnum, offs, dlen, hash); dlen 1442 fs/ubifs/journal.c int err, dlen, compr_type, out_len, old_dlen; dlen 1449 fs/ubifs/journal.c dlen = old_dlen = le32_to_cpu(dn->ch.len) - UBIFS_DATA_NODE_SZ; dlen 1453 fs/ubifs/journal.c err = ubifs_decrypt(inode, dn, &dlen, block); dlen 1461 fs/ubifs/journal.c err = ubifs_decompress(c, &dn->data, dlen, buf, &out_len, compr_type); dlen 1510 fs/ubifs/journal.c int err, dlen, len, lnum, offs, bit, sz, sync = IS_SYNC(inode); dlen 1539 fs/ubifs/journal.c dlen = new_size & (UBIFS_BLOCK_SIZE - 1); dlen 1540 fs/ubifs/journal.c if (dlen) { dlen 1548 fs/ubifs/journal.c dlen = 0; /* Not found (so it is a hole) */ dlen 1561 fs/ubifs/journal.c if (dn_len <= dlen) dlen 1562 fs/ubifs/journal.c dlen = 0; /* Nothing to do */ dlen 1564 fs/ubifs/journal.c err = truncate_data_node(c, inode, blk, dn, &dlen); dlen 1575 fs/ubifs/journal.c len += ALIGN(dlen, 8) + ubifs_auth_node_sz(c); dlen 1577 fs/ubifs/journal.c len += dlen; dlen 1588 fs/ubifs/journal.c ubifs_prep_grp_node(c, trun, UBIFS_TRUN_NODE_SZ, dlen ? 0 : 1); dlen 1589 fs/ubifs/journal.c if (dlen) { dlen 1590 fs/ubifs/journal.c ubifs_prep_grp_node(c, dn, dlen, 1); dlen 1605 fs/ubifs/journal.c if (dlen) { dlen 1607 fs/ubifs/journal.c err = ubifs_tnc_add(c, &key, lnum, sz, dlen, hash_dn); dlen 462 fs/ubifs/recovery.c int skip, dlen = le32_to_cpu(ch->len); dlen 477 fs/ubifs/recovery.c skip = ALIGN(offs + dlen, c->max_write_size) - offs; dlen 380 fs/udf/unicode.c uint8_t *dname, int dlen) dlen 387 fs/udf/unicode.c if (dlen <= 0) dlen 390 fs/udf/unicode.c ret = udf_name_from_CS0(sb, dname, dlen, sname, slen, 1); dlen 398 fs/udf/unicode.c uint8_t *dname, int dlen) dlen 400 fs/udf/unicode.c return udf_name_to_CS0(sb, dname, dlen, sname, slen); dlen 105 fs/unicode/utf8-core.c unsigned char *dest, size_t dlen) dlen 114 fs/unicode/utf8-core.c for (nlen = 0; nlen < dlen; nlen++) { dlen 129 fs/unicode/utf8-core.c unsigned char *dest, size_t dlen) dlen 138 fs/unicode/utf8-core.c for (nlen = 0; nlen < dlen; nlen++) { dlen 68 fs/xfs/xfs_discard.c xfs_extlen_t dlen; dlen 82 fs/xfs/xfs_discard.c dlen = XFS_FSB_TO_BB(mp, flen); dlen 87 fs/xfs/xfs_discard.c if (dlen < minlen) { dlen 97 fs/xfs/xfs_discard.c if (dbno + dlen < start || dbno > end) { dlen 112 fs/xfs/xfs_discard.c error = blkdev_issue_discard(bdev, dbno, dlen, GFP_NOFS, 0); dlen 31 include/crypto/acompress.h unsigned int dlen; dlen 221 include/crypto/acompress.h unsigned int dlen) dlen 226 include/crypto/acompress.h req->dlen = dlen; dlen 32 include/crypto/internal/scompress.h unsigned int slen, u8 *dst, unsigned int *dlen, dlen 35 include/crypto/internal/scompress.h unsigned int slen, u8 *dst, unsigned int *dlen, dlen 78 include/crypto/internal/scompress.h u8 *dst, unsigned int *dlen, void *ctx) dlen 80 include/crypto/internal/scompress.h return crypto_scomp_alg(tfm)->compress(tfm, src, slen, dst, dlen, ctx); dlen 85 include/crypto/internal/scompress.h u8 *dst, unsigned int *dlen, dlen 88 include/crypto/internal/scompress.h return crypto_scomp_alg(tfm)->decompress(tfm, src, slen, dst, dlen, dlen 44 include/crypto/rng.h u8 *dst, unsigned int dlen); dlen 136 include/crypto/rng.h u8 *dst, unsigned int dlen) dlen 142 include/crypto/rng.h ret = crypto_rng_alg(tfm)->generate(tfm, src, slen, dst, dlen); dlen 143 include/crypto/rng.h crypto_stats_rng_generate(alg, dlen, ret); dlen 159 include/crypto/rng.h u8 *rdata, unsigned int dlen) dlen 161 include/crypto/rng.h return crypto_rng_generate(tfm, NULL, 0, rdata, dlen); dlen 338 include/linux/crypto.h unsigned int slen, u8 *dst, unsigned int *dlen); dlen 340 include/linux/crypto.h unsigned int slen, u8 *dst, unsigned int *dlen); dlen 613 include/linux/crypto.h void crypto_stats_rng_generate(struct crypto_alg *alg, unsigned int dlen, int ret); dlen 653 include/linux/crypto.h static inline void crypto_stats_rng_generate(struct crypto_alg *alg, unsigned int dlen, int ret) dlen 750 include/linux/crypto.h u8 *dst, unsigned int *dlen); dlen 753 include/linux/crypto.h u8 *dst, unsigned int *dlen); dlen 1836 include/linux/crypto.h u8 *dst, unsigned int *dlen) dlen 1839 include/linux/crypto.h src, slen, dst, dlen); dlen 1844 include/linux/crypto.h u8 *dst, unsigned int *dlen) dlen 1847 include/linux/crypto.h src, slen, dst, dlen); dlen 25 include/linux/unicode.h unsigned char *dest, size_t dlen); dlen 28 include/linux/unicode.h unsigned char *dest, size_t dlen); dlen 2270 include/net/bluetooth/hci.h __le16 dlen; dlen 2275 include/net/bluetooth/hci.h __u8 dlen; dlen 131 include/net/dn_nsp.h __u8 dlen; dlen 83 include/net/garp.h u8 dlen; dlen 15 include/net/ife.h u16 *dlen, u16 *totlen); dlen 16 include/net/ife.h int ife_tlv_meta_encode(void *skbdata, u16 attrtype, u16 dlen, dlen 33 include/net/ife.h static inline void *ife_tlv_meta_decode(void *skbdata, u16 *attrtype, u16 *dlen, dlen 39 include/net/ife.h static inline int ife_tlv_meta_encode(void *skbdata, u16 attrtype, u16 dlen, dlen 265 include/net/netfilter/nf_tables.h unsigned int dlen; dlen 446 include/net/netfilter/nf_tables.h u8 dlen; dlen 852 include/net/netfilter/nf_tables.h dlen:12, dlen 870 include/net/netfilter/nf_tables.h return (struct nft_expr *)&rule->data[rule->dlen]; dlen 875 include/net/netfilter/nf_tables.h return (void *)&rule->data[rule->dlen]; dlen 35 include/net/netfilter/nf_tables_core.h u8 dlen; dlen 51 include/uapi/linux/pg.h int dlen; /* number of bytes expected to transfer */ dlen 61 include/uapi/linux/pg.h int dlen; /* size of device transfer request */ dlen 1305 kernel/auditfilter.c int dlen, pathlen; dlen 1308 kernel/auditfilter.c dlen = dname->len; dlen 1310 kernel/auditfilter.c if (pathlen < dlen) dlen 1314 kernel/auditfilter.c if (pathlen - parentlen != dlen) dlen 1319 kernel/auditfilter.c return strncmp(p, dname->name, dlen); dlen 157 lib/reed_solomon/test_rslib.c int dlen = len - nroots; dlen 166 lib/reed_solomon/test_rslib.c for (i = 0; i < dlen; i++) dlen 169 lib/reed_solomon/test_rslib.c memset(c + dlen, 0, nroots * sizeof(*c)); dlen 170 lib/reed_solomon/test_rslib.c encode_rs16(rs, c, dlen, c + dlen, 0); dlen 264 lib/reed_solomon/test_rslib.c int dlen = len - rs->codec->nroots; dlen 279 lib/reed_solomon/test_rslib.c derrs = decode_rs16(rs, r, r + dlen, dlen, dlen 285 lib/reed_solomon/test_rslib.c derrs = decode_rs16(rs, NULL, NULL, dlen, dlen 290 lib/reed_solomon/test_rslib.c derrs = decode_rs16(rs, r, r + dlen, dlen, dlen 371 lib/reed_solomon/test_rslib.c int dlen = len - nroots; dlen 379 lib/reed_solomon/test_rslib.c derrs = decode_rs16(rs, r, r + dlen, dlen, dlen 396 lib/reed_solomon/test_rslib.c encode_rs16(rs, r, dlen, corr, 0); dlen 398 lib/reed_solomon/test_rslib.c if (memcmp(r + dlen, corr, nroots * sizeof(*corr))) dlen 571 lib/string_helpers.c size_t slen, dlen; dlen 580 lib/string_helpers.c dlen = string_escape_mem(src, slen, NULL, 0, flags, esc); dlen 581 lib/string_helpers.c dst = kmalloc(dlen + 1, gfp); dlen 585 lib/string_helpers.c WARN_ON(string_escape_mem(src, slen, dst, dlen, flags, esc) != dlen); dlen 586 lib/string_helpers.c dst[dlen] = '\0'; dlen 850 mm/zswap.c unsigned int dlen; dlen 888 mm/zswap.c dlen = PAGE_SIZE; dlen 893 mm/zswap.c dst, &dlen); dlen 897 mm/zswap.c BUG_ON(dlen != PAGE_SIZE); dlen 994 mm/zswap.c unsigned int hlen, dlen = PAGE_SIZE; dlen 1063 mm/zswap.c ret = crypto_comp_compress(tfm, src, PAGE_SIZE, dst, &dlen); dlen 1076 mm/zswap.c ret = zpool_malloc(entry->pool->zpool, hlen + dlen, gfp, &handle); dlen 1087 mm/zswap.c memcpy(buf + hlen, dst, dlen); dlen 1094 mm/zswap.c entry->length = dlen; dlen 1136 mm/zswap.c unsigned int dlen; dlen 1157 mm/zswap.c dlen = PAGE_SIZE; dlen 1163 mm/zswap.c ret = crypto_comp_decompress(tfm, src, entry->length, dst, &dlen); dlen 142 net/802/garp.c if (attr->dlen != len) dlen 143 net/802/garp.c return attr->dlen - len; dlen 192 net/802/garp.c attr->dlen = len; dlen 296 net/802/garp.c len = sizeof(*ga) + attr->dlen; dlen 302 net/802/garp.c memcpy(ga->data, attr->data, attr->dlen); dlen 431 net/802/garp.c unsigned int dlen; dlen 442 net/802/garp.c dlen = sizeof(*ga) - ga->len; dlen 449 net/802/garp.c if (dlen != 0) dlen 469 net/802/garp.c if (dlen == 0) dlen 471 net/802/garp.c attr = garp_attr_lookup(app, ga->data, dlen, attrtype); dlen 3717 net/bluetooth/hci_core.c hdr->dlen = cpu_to_le16(len); dlen 3802 net/bluetooth/hci_core.c hdr.dlen = skb->len; dlen 701 net/bluetooth/hci_sock.c static void hci_si_event(struct hci_dev *hdev, int type, int dlen, void *data) dlen 707 net/bluetooth/hci_sock.c skb = bt_skb_alloc(HCI_EVENT_HDR_SIZE + sizeof(*ev) + dlen, GFP_ATOMIC); dlen 713 net/bluetooth/hci_sock.c hdr->plen = sizeof(*ev) + dlen; dlen 715 net/bluetooth/hci_sock.c ev = skb_put(skb, sizeof(*ev) + dlen); dlen 717 net/bluetooth/hci_sock.c memcpy(ev->data, data, dlen); dlen 55 net/bluetooth/l2cap_core.c u8 code, u8 ident, u16 dlen, void *data); dlen 2923 net/bluetooth/l2cap_core.c u8 ident, u16 dlen, void *data) dlen 2931 net/bluetooth/l2cap_core.c conn, code, ident, dlen); dlen 2936 net/bluetooth/l2cap_core.c len = L2CAP_HDR_SIZE + L2CAP_CMD_HDR_SIZE + dlen; dlen 2944 net/bluetooth/l2cap_core.c lh->len = cpu_to_le16(L2CAP_CMD_HDR_SIZE + dlen); dlen 2954 net/bluetooth/l2cap_core.c cmd->len = cpu_to_le16(dlen); dlen 2956 net/bluetooth/l2cap_core.c if (dlen) { dlen 230 net/can/gw.c s8 dlen = CAN_MAX_DLEN; dlen 233 net/can/gw.c dlen = CANFD_MAX_DLEN; dlen 243 net/can/gw.c if (fr >= -dlen && fr < dlen && dlen 244 net/can/gw.c to >= -dlen && to < dlen && dlen 245 net/can/gw.c re >= -dlen && re < dlen) dlen 166 net/ceph/auth_x.c int dlen; dlen 231 net/ceph/auth_x.c ceph_decode_32_safe(ptp, tpend, dlen, bad); dlen 232 net/ceph/auth_x.c dout(" ticket blob is %d bytes\n", dlen); dlen 363 net/decnet/dn_nsp_in.c u16 dlen = *skb->data; dlen 364 net/decnet/dn_nsp_in.c if ((dlen <= 16) && (dlen <= skb->len)) { dlen 365 net/decnet/dn_nsp_in.c scp->conndata_in.opt_optl = cpu_to_le16(dlen); dlen 367 net/decnet/dn_nsp_in.c scp->conndata_in.opt_data, dlen); dlen 408 net/decnet/dn_nsp_in.c u16 dlen = *skb->data; dlen 409 net/decnet/dn_nsp_in.c if ((dlen <= 16) && (dlen <= skb->len)) { dlen 410 net/decnet/dn_nsp_in.c scp->discdata_in.opt_optl = cpu_to_le16(dlen); dlen 411 net/decnet/dn_nsp_in.c skb_copy_from_linear_data_offset(skb, 1, scp->discdata_in.opt_data, dlen); dlen 245 net/dns_resolver/dns_key.c int slen, dlen, ret = 0; dlen 257 net/dns_resolver/dns_key.c dlen = strlen(dsp); dlen 258 net/dns_resolver/dns_key.c if (slen <= 0 || dlen <= 0) dlen 262 net/dns_resolver/dns_key.c if (dsp[dlen - 1] == '.') dlen 263 net/dns_resolver/dns_key.c dlen--; dlen 264 net/dns_resolver/dns_key.c if (slen != dlen || strncasecmp(src, dsp, slen) != 0) dlen 205 net/ieee802154/header_ops.c int dlen, slen; dlen 207 net/ieee802154/header_ops.c dlen = ieee802154_hdr_addr_len(hdr->fc.dest_addr_mode, false); dlen 211 net/ieee802154/header_ops.c if (slen < 0 || dlen < 0) dlen 214 net/ieee802154/header_ops.c return 3 + dlen + slen + hdr->fc.security_enabled; dlen 127 net/ife/ife.c u16 *dlen, u16 *totlen) dlen 135 net/ife/ife.c *dlen = ntohs(tlv->len) - NLA_HDRLEN; dlen 139 net/ife/ife.c *totlen = nla_total_size(*dlen); dlen 158 net/ife/ife.c int ife_tlv_meta_encode(void *skbdata, u16 attrtype, u16 dlen, const void *dval) dlen 161 net/ife/ife.c u16 totlen = nla_total_size(dlen); /*alignment + hdr */ dlen 163 net/ife/ife.c u32 htlv = attrtype << 16 | (dlen + NLA_HDRLEN); dlen 167 net/ife/ife.c memcpy(dptr, dval, dlen); dlen 113 net/netfilter/nf_conntrack_ftp.c get_ipv6_addr(const char *src, size_t dlen, struct in6_addr *dst, u_int8_t term) dlen 116 net/netfilter/nf_conntrack_ftp.c int ret = in6_pton(src, min_t(size_t, dlen, 0xffff), (u8 *)dst, term, &end); dlen 122 net/netfilter/nf_conntrack_ftp.c static int try_number(const char *data, size_t dlen, u_int32_t array[], dlen 130 net/netfilter/nf_conntrack_ftp.c for (i = 0, len = 0; len < dlen && i < array_size; len++, data++) { dlen 154 net/netfilter/nf_conntrack_ftp.c static int try_rfc959(const char *data, size_t dlen, dlen 161 net/netfilter/nf_conntrack_ftp.c length = try_number(data, dlen, array, 6, ',', term); dlen 181 net/netfilter/nf_conntrack_ftp.c static int try_rfc1123(const char *data, size_t dlen, dlen 186 net/netfilter/nf_conntrack_ftp.c for (i = 0; i < dlen; i++) dlen 190 net/netfilter/nf_conntrack_ftp.c if (i == dlen) dlen 195 net/netfilter/nf_conntrack_ftp.c return try_rfc959(data + i, dlen - i, cmd, 0, offset); dlen 199 net/netfilter/nf_conntrack_ftp.c static int get_port(const char *data, int start, size_t dlen, char delim, dlen 205 net/netfilter/nf_conntrack_ftp.c for (i = start; i < dlen; i++) { dlen 225 net/netfilter/nf_conntrack_ftp.c static int try_eprt(const char *data, size_t dlen, struct nf_conntrack_man *cmd, dlen 233 net/netfilter/nf_conntrack_ftp.c if (dlen <= 3) { dlen 255 net/netfilter/nf_conntrack_ftp.c length = try_number(data + 3, dlen - 3, array, 4, '.', delim); dlen 261 net/netfilter/nf_conntrack_ftp.c length = get_ipv6_addr(data + 3, dlen - 3, dlen 269 net/netfilter/nf_conntrack_ftp.c return get_port(data, 3 + length + 1, dlen, delim, &cmd->u.tcp.port); dlen 273 net/netfilter/nf_conntrack_ftp.c static int try_epsv_response(const char *data, size_t dlen, dlen 280 net/netfilter/nf_conntrack_ftp.c if (dlen <= 3) return 0; dlen 286 net/netfilter/nf_conntrack_ftp.c return get_port(data, 3, dlen, delim, &cmd->u.tcp.port); dlen 290 net/netfilter/nf_conntrack_ftp.c static int find_pattern(const char *data, size_t dlen, dlen 302 net/netfilter/nf_conntrack_ftp.c pr_debug("find_pattern `%s': dlen = %zu\n", pattern, dlen); dlen 304 net/netfilter/nf_conntrack_ftp.c if (dlen <= plen) { dlen 306 net/netfilter/nf_conntrack_ftp.c if (strncasecmp(data, pattern, dlen) == 0) dlen 319 net/netfilter/nf_conntrack_ftp.c if (i == dlen - 1) return -1; dlen 328 net/netfilter/nf_conntrack_ftp.c *numlen = getnum(data + i, dlen - i, cmd, term, numoff); dlen 2834 net/netfilter/nf_tables_api.c rule->dlen = size; dlen 3335 net/netfilter/nf_tables_api.c if (nla_put_be32(skb, NFTA_SET_DATA_LEN, htonl(set->dlen))) dlen 3624 net/netfilter/nf_tables_api.c desc.dlen = ntohl(nla_get_be32(nla[NFTA_SET_DATA_LEN])); dlen 3625 net/netfilter/nf_tables_api.c if (desc.dlen == 0 || desc.dlen > NFT_DATA_VALUE_MAXLEN) dlen 3628 net/netfilter/nf_tables_api.c desc.dlen = sizeof(struct nft_verdict); dlen 3742 net/netfilter/nf_tables_api.c set->dlen = desc.dlen; dlen 3841 net/netfilter/nf_tables_api.c set->dlen); dlen 4025 net/netfilter/nf_tables_api.c set->dlen) < 0) dlen 4438 net/netfilter/nf_tables_api.c memcpy(nft_set_ext_data(ext), data, set->dlen); dlen 4605 net/netfilter/nf_tables_api.c if (set->dtype != NFT_DATA_VERDICT && d2.len != set->dlen) dlen 4685 net/netfilter/nf_tables_api.c nft_set_ext_data(ext2), set->dlen) != 0) || dlen 199 net/netfilter/nft_dynset.c err = nft_validate_register_load(priv->sreg_data, set->dlen); dlen 229 net/netfilter/nft_dynset.c nft_set_ext_add_length(&priv->tmpl, NFT_SET_EXT_DATA, set->dlen); dlen 24 net/netfilter/nft_immediate.c nft_data_copy(®s->data[priv->dreg], &priv->data, priv->dlen); dlen 49 net/netfilter/nft_immediate.c priv->dlen = desc.len; dlen 92 net/netfilter/nft_immediate.c nft_dreg_to_type(priv->dreg), priv->dlen); dlen 44 net/netfilter/nft_lookup.c nft_set_ext_data(ext), set->dlen); dlen 102 net/netfilter/nft_lookup.c set->dtype, set->dlen); dlen 714 net/sched/act_ife.c u16 dlen; dlen 717 net/sched/act_ife.c &dlen, NULL); dlen 723 net/sched/act_ife.c if (find_decode_metaid(skb, ife, mtype, dlen, curr_data)) { dlen 728 net/sched/act_ife.c mtype, dlen); dlen 1709 net/sctp/socket.c int dlen; dlen 1718 net/sctp/socket.c dlen = cmsg->cmsg_len - sizeof(struct cmsghdr); dlen 1720 net/sctp/socket.c if (dlen < sizeof(struct in_addr)) { dlen 1725 net/sctp/socket.c dlen = sizeof(struct in_addr); dlen 1728 net/sctp/socket.c memcpy(&daddr->v4.sin_addr, CMSG_DATA(cmsg), dlen); dlen 1730 net/sctp/socket.c if (dlen < sizeof(struct in6_addr)) { dlen 1735 net/sctp/socket.c dlen = sizeof(struct in6_addr); dlen 1739 net/sctp/socket.c memcpy(&daddr->v6.sin6_addr, CMSG_DATA(cmsg), dlen); dlen 1611 net/tipc/link.c int dlen = 0; dlen 1656 net/tipc/link.c tipc_mon_prep(l->net, data + glen, &dlen, mstate, l->bearer_id); dlen 1657 net/tipc/link.c msg_set_size(hdr, INT_H_SIZE + glen + dlen); dlen 1658 net/tipc/link.c skb_trim(skb, INT_H_SIZE + glen + dlen); dlen 1951 net/tipc/link.c u16 dlen = msg_data_sz(hdr); dlen 2062 net/tipc/link.c tipc_mon_rcv(l->net, data + glen, dlen - glen, l->addr, dlen 442 net/tipc/monitor.c void tipc_mon_rcv(struct net *net, void *data, u16 dlen, u32 addr, dlen 460 net/tipc/monitor.c if (dlen < dom_rec_len(arrv_dom, 0)) dlen 462 net/tipc/monitor.c if (dlen != dom_rec_len(arrv_dom, new_member_cnt)) dlen 464 net/tipc/monitor.c if ((dlen < new_dlen) || ntohs(arrv_dom->len) != new_dlen) dlen 525 net/tipc/monitor.c void tipc_mon_prep(struct net *net, void *data, int *dlen, dlen 542 net/tipc/monitor.c *dlen = len; dlen 552 net/tipc/monitor.c *dlen = len; dlen 65 net/tipc/monitor.h void tipc_mon_prep(struct net *net, void *data, int *dlen, dlen 67 net/tipc/monitor.h void tipc_mon_rcv(struct net *net, void *data, u16 dlen, u32 addr, dlen 567 net/tipc/msg.c int hlen, dlen; dlen 572 net/tipc/msg.c dlen = min_t(uint, msg_data_sz(_hdr), MAX_FORWARD_SIZE); dlen 586 net/tipc/msg.c dlen = 0; dlen 589 net/tipc/msg.c *skb = tipc_buf_acquire(hlen + dlen, GFP_ATOMIC); dlen 593 net/tipc/msg.c memcpy((*skb)->data + hlen, msg_data(_hdr), dlen); dlen 605 net/tipc/msg.c msg_set_size(hdr, hlen + dlen); dlen 774 net/tipc/socket.c struct msghdr *msg, size_t dlen, long timeout) dlen 813 net/tipc/socket.c rc = tipc_msg_build(hdr, msg, 0, dlen, mtu, &pkts); dlen 816 net/tipc/socket.c if (unlikely(rc == dlen)) { dlen 825 net/tipc/socket.c return rc ? rc : dlen; dlen 839 net/tipc/socket.c u32 dnode, u32 dport, int dlen) dlen 843 net/tipc/socket.c int blks = tsk_blocks(GROUP_H_SIZE + dlen); dlen 858 net/tipc/socket.c rc = tipc_msg_build(hdr, m, 0, dlen, mtu, &pkts); dlen 859 net/tipc/socket.c if (unlikely(rc != dlen)) dlen 875 net/tipc/socket.c return dlen; dlen 889 net/tipc/socket.c int dlen, long timeout) dlen 893 net/tipc/socket.c int blks = tsk_blocks(GROUP_H_SIZE + dlen); dlen 917 net/tipc/socket.c rc = tipc_send_group_msg(net, tsk, m, mb, node, port, dlen); dlen 919 net/tipc/socket.c return rc ? rc : dlen; dlen 933 net/tipc/socket.c int dlen, long timeout) dlen 939 net/tipc/socket.c int blks = tsk_blocks(GROUP_H_SIZE + dlen); dlen 1002 net/tipc/socket.c rc = tipc_send_group_msg(net, tsk, m, mbr, node, port, dlen); dlen 1004 net/tipc/socket.c return rc ? rc : dlen; dlen 1018 net/tipc/socket.c int dlen, long timeout) dlen 1027 net/tipc/socket.c int blks = tsk_blocks(MCAST_H_SIZE + dlen); dlen 1062 net/tipc/socket.c rc = tipc_msg_build(hdr, m, 0, dlen, mtu, &pkts); dlen 1063 net/tipc/socket.c if (unlikely(rc != dlen)) dlen 1078 net/tipc/socket.c return dlen; dlen 1092 net/tipc/socket.c int dlen, long timeout) dlen 1117 net/tipc/socket.c return tipc_send_group_unicast(sock, m, dlen, timeout); dlen 1121 net/tipc/socket.c return tipc_send_group_bcast(sock, m, dlen, timeout); dlen 1296 net/tipc/socket.c static int __tipc_sendmsg(struct socket *sock, struct msghdr *m, size_t dlen) dlen 1313 net/tipc/socket.c if (unlikely(dlen > TIPC_MAX_USER_MSG_SIZE)) dlen 1325 net/tipc/socket.c return tipc_send_group_bcast(sock, m, dlen, timeout); dlen 1327 net/tipc/socket.c return tipc_send_group_anycast(sock, m, dlen, timeout); dlen 1329 net/tipc/socket.c return tipc_send_group_unicast(sock, m, dlen, timeout); dlen 1331 net/tipc/socket.c return tipc_send_group_mcast(sock, m, dlen, timeout); dlen 1357 net/tipc/socket.c return tipc_sendmcast(sock, seq, m, dlen, timeout); dlen 1396 net/tipc/socket.c rc = tipc_msg_build(hdr, m, 0, dlen, mtu, &pkts); dlen 1397 net/tipc/socket.c if (unlikely(rc != dlen)) dlen 1415 net/tipc/socket.c return rc ? rc : dlen; dlen 1441 net/tipc/socket.c static int __tipc_sendstream(struct socket *sock, struct msghdr *m, size_t dlen) dlen 1456 net/tipc/socket.c if (unlikely(dlen > INT_MAX)) dlen 1461 net/tipc/socket.c rc = __tipc_sendmsg(sock, m, dlen); dlen 1462 net/tipc/socket.c if (dlen && dlen == rc) { dlen 1464 net/tipc/socket.c tsk->snt_unacked = tsk_inc(tsk, dlen + msg_hdr_sz(hdr)); dlen 1477 net/tipc/socket.c send = min_t(size_t, dlen - sent, TIPC_MAX_USER_MSG_SIZE); dlen 1493 net/tipc/socket.c } while (sent < dlen && !rc); dlen 1744 net/tipc/socket.c int rc, err, hlen, dlen, copy; dlen 1769 net/tipc/socket.c dlen = msg_data_sz(hdr); dlen 1773 net/tipc/socket.c if (likely(dlen || err)) dlen 1787 net/tipc/socket.c copy = min_t(int, dlen, buflen); dlen 1788 net/tipc/socket.c if (unlikely(copy != dlen)) dlen 1815 net/tipc/socket.c tipc_group_update_rcv_win(tsk->group, tsk_blocks(hlen + dlen), dlen 1827 net/tipc/socket.c tsk->rcv_unacked += tsk_inc(tsk, hlen + dlen); dlen 1856 net/tipc/socket.c int hlen, dlen, err, rc; dlen 1880 net/tipc/socket.c dlen = msg_data_sz(hdr); dlen 1885 net/tipc/socket.c if (unlikely(!dlen && !err)) { dlen 1902 net/tipc/socket.c copy = min_t(int, dlen - offset, buflen - copied); dlen 1908 net/tipc/socket.c if (unlikely(offset < dlen)) { dlen 1927 net/tipc/socket.c tsk->rcv_unacked += tsk_inc(tsk, hlen + dlen); dlen 42 net/xfrm/xfrm_ipcomp.c int dlen = IPCOMP_SCRATCH_SIZE; dlen 47 net/xfrm/xfrm_ipcomp.c int err = crypto_comp_decompress(tfm, start, plen, scratch, &dlen); dlen 53 net/xfrm/xfrm_ipcomp.c if (dlen < (plen + sizeof(struct ip_comp_hdr))) { dlen 58 net/xfrm/xfrm_ipcomp.c len = dlen - plen; dlen 67 net/xfrm/xfrm_ipcomp.c while ((scratch += len, dlen -= len) > 0) { dlen 85 net/xfrm/xfrm_ipcomp.c if (dlen < len) dlen 86 net/xfrm/xfrm_ipcomp.c len = dlen; dlen 138 net/xfrm/xfrm_ipcomp.c int dlen = IPCOMP_SCRATCH_SIZE; dlen 147 net/xfrm/xfrm_ipcomp.c err = crypto_comp_compress(tfm, start, plen, scratch, &dlen); dlen 151 net/xfrm/xfrm_ipcomp.c if ((dlen + sizeof(struct ip_comp_hdr)) >= plen) { dlen 156 net/xfrm/xfrm_ipcomp.c memcpy(start + sizeof(struct ip_comp_hdr), scratch, dlen); dlen 159 net/xfrm/xfrm_ipcomp.c pskb_trim(skb, dlen + sizeof(struct ip_comp_hdr)); dlen 321 scripts/asn1_compiler.c size_t dlen, clen; dlen 324 scripts/asn1_compiler.c dlen = strlen(dir); dlen 325 scripts/asn1_compiler.c clen = (dlen < token->size) ? dlen : token->size; dlen 335 scripts/asn1_compiler.c if (dlen == token->size) { dlen 340 scripts/asn1_compiler.c return dlen - token->size; /* shorter -> negative */ dlen 144 security/keys/dh.c u8 *dst, unsigned int dlen, unsigned int zlen) dlen 152 security/keys/dh.c while (dlen) { dlen 187 security/keys/dh.c dlen -= h; dlen 195 security/keys/dh.c memzero_explicit(dst_orig, dlen); dlen 232 security/keys/dh.c ssize_t dlen; dlen 284 security/keys/dh.c dlen = dh_data_from_key(pcopy.prime, &dh_inputs.p); dlen 285 security/keys/dh.c if (dlen < 0) { dlen 286 security/keys/dh.c ret = dlen; dlen 289 security/keys/dh.c dh_inputs.p_size = dlen; dlen 291 security/keys/dh.c dlen = dh_data_from_key(pcopy.base, &dh_inputs.g); dlen 292 security/keys/dh.c if (dlen < 0) { dlen 293 security/keys/dh.c ret = dlen; dlen 296 security/keys/dh.c dh_inputs.g_size = dlen; dlen 298 security/keys/dh.c dlen = dh_data_from_key(pcopy.private, &dh_inputs.key); dlen 299 security/keys/dh.c if (dlen < 0) { dlen 300 security/keys/dh.c ret = dlen; dlen 303 security/keys/dh.c dh_inputs.key_size = dlen; dlen 618 security/keys/encrypted-keys/encrypted.c long dlen; dlen 621 security/keys/encrypted-keys/encrypted.c ret = kstrtol(datalen, 10, &dlen); dlen 622 security/keys/encrypted-keys/encrypted.c if (ret < 0 || dlen < MIN_DATA_SIZE || dlen > MAX_DATA_SIZE) dlen 626 security/keys/encrypted-keys/encrypted.c decrypted_datalen = dlen; dlen 630 security/keys/encrypted-keys/encrypted.c if (dlen != ECRYPTFS_MAX_KEY_BYTES) { dlen 80 security/keys/trusted.c unsigned int dlen; dlen 99 security/keys/trusted.c dlen = va_arg(argp, unsigned int); dlen 100 security/keys/trusted.c if (dlen == 0) dlen 107 security/keys/trusted.c ret = crypto_shash_update(&sdesc->shash, data, dlen); dlen 128 security/keys/trusted.c unsigned int dlen; dlen 149 security/keys/trusted.c dlen = va_arg(argp, unsigned int); dlen 150 security/keys/trusted.c if (dlen == 0) dlen 157 security/keys/trusted.c ret = crypto_shash_update(&sdesc->shash, data, dlen); dlen 193 security/keys/trusted.c unsigned int dlen; dlen 231 security/keys/trusted.c dlen = va_arg(argp, unsigned int); dlen 232 security/keys/trusted.c if (dlen == 0) dlen 235 security/keys/trusted.c ret = crypto_shash_update(&sdesc->shash, buffer + dpos, dlen); dlen 284 security/keys/trusted.c unsigned int dlen; dlen 325 security/keys/trusted.c dlen = va_arg(argp, unsigned int); dlen 326 security/keys/trusted.c if (dlen == 0) dlen 329 security/keys/trusted.c ret = crypto_shash_update(&sdesc->shash, buffer + dpos, dlen); dlen 1216 tools/perf/builtin-script.c int dlen = 0; dlen 1229 tools/perf/builtin-script.c dlen += fprintf(fp, "("); dlen 1230 tools/perf/builtin-script.c dlen += map__fprintf_dsoname(al->map, fp); dlen 1231 tools/perf/builtin-script.c dlen += fprintf(fp, ")\t"); dlen 1252 tools/perf/builtin-script.c return len + dlen;