datalen 490 arch/powerpc/include/asm/smu.h u8 datalen; /* length of transfer */ datalen 853 arch/powerpc/platforms/powermac/low_i2c.c cmd->info.datalen = len; datalen 50 arch/s390/crypto/crc32-vx.c unsigned char const *data, size_t datalen) \ datalen 55 arch/s390/crypto/crc32-vx.c if (datalen < VX_MIN_LEN + VX_ALIGN_MASK) \ datalen 56 arch/s390/crypto/crc32-vx.c return ___crc32_sw(crc, data, datalen); \ datalen 61 arch/s390/crypto/crc32-vx.c datalen -= prealign; \ datalen 66 arch/s390/crypto/crc32-vx.c aligned = datalen & ~VX_ALIGN_MASK; \ datalen 67 arch/s390/crypto/crc32-vx.c remaining = datalen & VX_ALIGN_MASK; \ datalen 191 arch/s390/crypto/crc32-vx.c unsigned int datalen, u8 *out) \ datalen 194 arch/s390/crypto/crc32-vx.c data, datalen, out); \ datalen 215 arch/s390/crypto/crc32-vx.c unsigned int datalen) \ datalen 218 arch/s390/crypto/crc32-vx.c ctx->crc = func(ctx->crc, data, datalen); \ datalen 224 arch/s390/crypto/prng.c int datalen; datalen 231 arch/s390/crypto/prng.c datalen = sizeof(struct prng_data_s) + prng_chunk_size; datalen 232 arch/s390/crypto/prng.c prng_data = kzalloc(datalen, GFP_KERNEL); datalen 370 arch/s390/crypto/prng.c int ret, datalen, seedlen; datalen 378 arch/s390/crypto/prng.c datalen = sizeof(struct prng_data_s) + prng_chunk_size; datalen 380 arch/s390/crypto/prng.c datalen += prng_chunk_size; datalen 381 arch/s390/crypto/prng.c prng_data = kzalloc(datalen, GFP_KERNEL); datalen 27 arch/s390/include/uapi/asm/monwriter.h unsigned short datalen; datalen 67 arch/x86/crypto/poly1305_glue.c unsigned int blocks, datalen; datalen 73 arch/x86/crypto/poly1305_glue.c datalen = crypto_poly1305_setdesckey(dctx, src, srclen); datalen 74 arch/x86/crypto/poly1305_glue.c src += srclen - datalen; datalen 75 arch/x86/crypto/poly1305_glue.c srclen = datalen; datalen 180 block/compat_ioctl.c compat_int_t datalen; datalen 196 block/compat_ioctl.c err |= get_user(n, &ua32->datalen); datalen 197 block/compat_ioctl.c err |= put_user(n, &a->datalen); datalen 56 certs/blacklist.c if (prep->datalen > 0) datalen 129 crypto/asymmetric_keys/asym_tpm.c uint32_t datalen; datalen 133 crypto/asymmetric_keys/asym_tpm.c datalen = htonl(bloblen); datalen 152 crypto/asymmetric_keys/asym_tpm.c sizeof(uint32_t), &datalen, datalen 176 crypto/asymmetric_keys/asym_tpm.c datalen = LOAD32(tb->data, TPM_DATA_OFFSET); datalen 181 crypto/asymmetric_keys/asym_tpm.c datalen, TPM_DATA_OFFSET + sizeof(uint32_t), datalen 189 crypto/asymmetric_keys/asym_tpm.c min(outlen, datalen)); datalen 191 crypto/asymmetric_keys/asym_tpm.c return datalen; datalen 215 crypto/asymmetric_keys/asym_tpm.c uint32_t datalen; datalen 219 crypto/asymmetric_keys/asym_tpm.c datalen = htonl(bloblen); datalen 238 crypto/asymmetric_keys/asym_tpm.c sizeof(uint32_t), &datalen, datalen 262 crypto/asymmetric_keys/asym_tpm.c datalen = LOAD32(tb->data, TPM_DATA_OFFSET); datalen 267 crypto/asymmetric_keys/asym_tpm.c datalen, TPM_DATA_OFFSET + sizeof(uint32_t), datalen 275 crypto/asymmetric_keys/asym_tpm.c min(datalen, outlen)); datalen 277 crypto/asymmetric_keys/asym_tpm.c return datalen; datalen 376 crypto/asymmetric_keys/asymmetric_type.c if (prep->datalen == 0) datalen 37 crypto/asymmetric_keys/pkcs7_key_type.c saved_prep_datalen = prep->datalen; datalen 39 crypto/asymmetric_keys/pkcs7_key_type.c prep->datalen = len; datalen 44 crypto/asymmetric_keys/pkcs7_key_type.c prep->datalen = saved_prep_datalen; datalen 61 crypto/asymmetric_keys/pkcs7_key_type.c prep->data, prep->datalen, datalen 115 crypto/asymmetric_keys/pkcs7_parser.c struct pkcs7_message *pkcs7_parse_message(const void *data, size_t datalen) datalen 140 crypto/asymmetric_keys/pkcs7_parser.c ret = asn1_ber_decoder(&pkcs7_decoder, ctx, data, datalen); datalen 488 crypto/asymmetric_keys/pkcs7_verify.c const void *data, size_t datalen) datalen 495 crypto/asymmetric_keys/pkcs7_verify.c pkcs7->data_len = datalen; datalen 97 crypto/asymmetric_keys/pkcs8_parser.c static struct public_key *pkcs8_parse(const void *data, size_t datalen) datalen 113 crypto/asymmetric_keys/pkcs8_parser.c ret = asn1_ber_decoder(&pkcs8_decoder, &ctx, data, datalen); datalen 140 crypto/asymmetric_keys/pkcs8_parser.c pub = pkcs8_parse(prep->data, prep->datalen); datalen 36 crypto/asymmetric_keys/tpm_parser.c static struct tpm_key *tpm_parse(const void *data, size_t datalen) datalen 44 crypto/asymmetric_keys/tpm_parser.c ret = asn1_ber_decoder(&tpm_decoder, &ctx, data, datalen); datalen 64 crypto/asymmetric_keys/tpm_parser.c if (prep->datalen > 256 * 4) datalen 67 crypto/asymmetric_keys/tpm_parser.c tk = tpm_parse(prep->data, prep->datalen); datalen 32 crypto/asymmetric_keys/verify_pefile.c size_t cursor, datalen = pelen; datalen 38 crypto/asymmetric_keys/verify_pefile.c if ((x) < base || (s) >= datalen || (x) > datalen - (s)) \ datalen 84 crypto/asymmetric_keys/verify_pefile.c if (cursor >= ctx->header_size || ctx->header_size >= datalen) datalen 63 crypto/asymmetric_keys/x509_cert_parser.c struct x509_certificate *x509_cert_parse(const void *data, size_t datalen) datalen 88 crypto/asymmetric_keys/x509_cert_parser.c ret = asn1_ber_decoder(&x509_decoder, ctx, data, datalen); datalen 48 crypto/asymmetric_keys/x509_parser.h extern struct x509_certificate *x509_cert_parse(const void *data, size_t datalen); datalen 165 crypto/asymmetric_keys/x509_public_key.c cert = x509_cert_parse(prep->data, prep->datalen); datalen 169 crypto/poly1305_generic.c unsigned int datalen; datalen 172 crypto/poly1305_generic.c datalen = crypto_poly1305_setdesckey(dctx, src, srclen); datalen 173 crypto/poly1305_generic.c src += srclen - datalen; datalen 174 crypto/poly1305_generic.c srclen = datalen; datalen 31 drivers/base/devcoredump.c size_t datalen; datalen 34 drivers/base/devcoredump.c void *data, size_t datalen); datalen 81 drivers/base/devcoredump.c return devcd->read(buffer, offset, count, devcd->data, devcd->datalen); datalen 165 drivers/base/devcoredump.c void *data, size_t datalen) datalen 167 drivers/base/devcoredump.c return memory_read_from_buffer(buffer, count, &offset, data, datalen); datalen 185 drivers/base/devcoredump.c void dev_coredumpv(struct device *dev, void *data, size_t datalen, datalen 188 drivers/base/devcoredump.c dev_coredumpm(dev, NULL, data, datalen, gfp, devcd_readv, devcd_freev); datalen 253 drivers/base/devcoredump.c void *data, size_t datalen, gfp_t gfp, datalen 255 drivers/base/devcoredump.c void *data, size_t datalen), datalen 281 drivers/base/devcoredump.c devcd->datalen = datalen; datalen 330 drivers/base/devcoredump.c size_t datalen, gfp_t gfp) datalen 332 drivers/base/devcoredump.c dev_coredumpm(dev, NULL, table, datalen, gfp, devcd_read_from_sgtable, datalen 682 drivers/crypto/amcc/crypto4xx_core.c const unsigned int datalen, datalen 699 drivers/crypto/amcc/crypto4xx_core.c unsigned int nbytes = datalen; datalen 719 drivers/crypto/amcc/crypto4xx_core.c && (datalen % AES_BLOCK_SIZE); datalen 722 drivers/crypto/amcc/crypto4xx_core.c tmp = sg_nents_for_len(src, assoclen + datalen); datalen 740 drivers/crypto/amcc/crypto4xx_core.c if (datalen > PPC4XX_SD_BUFFER_SIZE) { datalen 741 drivers/crypto/amcc/crypto4xx_core.c num_sd = datalen / PPC4XX_SD_BUFFER_SIZE; datalen 742 drivers/crypto/amcc/crypto4xx_core.c if (datalen % PPC4XX_SD_BUFFER_SIZE) datalen 880 drivers/crypto/amcc/crypto4xx_core.c min(datalen, dst->length), datalen 887 drivers/crypto/amcc/crypto4xx_core.c nbytes = datalen; datalen 922 drivers/crypto/amcc/crypto4xx_core.c pd->pd_ctl_len.w = 0x00400000 | (assoclen + datalen); datalen 156 drivers/crypto/amcc/crypto4xx_core.h const unsigned int datalen, datalen 206 drivers/crypto/atmel-aes.c size_t datalen; datalen 585 drivers/crypto/atmel-aes.c dd->datalen -= AES_BLOCK_SIZE; datalen 587 drivers/crypto/atmel-aes.c if (dd->datalen < AES_BLOCK_SIZE) datalen 626 drivers/crypto/atmel-aes.c dd->datalen = len + padlen; datalen 1015 drivers/crypto/atmel-aes.c size_t datalen; datalen 1026 drivers/crypto/atmel-aes.c datalen = req->nbytes - ctx->offset; datalen 1027 drivers/crypto/atmel-aes.c blocks = DIV_ROUND_UP(datalen, AES_BLOCK_SIZE); datalen 1036 drivers/crypto/atmel-aes.c datalen = AES_BLOCK_SIZE * (0x10000 - start); datalen 1040 drivers/crypto/atmel-aes.c use_dma = (datalen >= ATMEL_AES_DMA_THRESHOLD); datalen 1059 drivers/crypto/atmel-aes.c return atmel_aes_dma_start(dd, src, dst, datalen, datalen 1062 drivers/crypto/atmel-aes.c return atmel_aes_cpu_start(dd, src, dst, datalen, datalen 1449 drivers/crypto/atmel-aes.c const u32 *data, size_t datalen, datalen 1470 drivers/crypto/atmel-aes.c const u32 *data, size_t datalen, datalen 1477 drivers/crypto/atmel-aes.c dd->datalen = datalen; datalen 1507 drivers/crypto/atmel-aes.c while (dd->datalen > 0) { datalen 1510 drivers/crypto/atmel-aes.c dd->datalen -= AES_BLOCK_SIZE; datalen 1534 drivers/crypto/atmel-aes.c size_t datalen, padlen; datalen 1552 drivers/crypto/atmel-aes.c datalen = ivsize + padlen + AES_BLOCK_SIZE; datalen 1553 drivers/crypto/atmel-aes.c if (datalen > dd->buflen) datalen 1558 drivers/crypto/atmel-aes.c ((u64 *)(data + datalen))[-1] = cpu_to_be64(ivsize * 8); datalen 1560 drivers/crypto/atmel-aes.c return atmel_aes_gcm_ghash(dd, (const u32 *)data, datalen, datalen 1606 drivers/crypto/atmel-aes.c dd->datalen = 0; datalen 1618 drivers/crypto/atmel-aes.c dd->datalen = req->assoclen + padlen; datalen 1631 drivers/crypto/atmel-aes.c while (dd->datalen > 0) { datalen 1634 drivers/crypto/atmel-aes.c dd->datalen -= AES_BLOCK_SIZE; datalen 1651 drivers/crypto/atmel-sha.c const void *data, unsigned int datalen, datalen 1657 drivers/crypto/atmel-sha.c u32 msglen = (auto_padding) ? datalen : 0; datalen 1660 drivers/crypto/atmel-sha.c if (!(IS_ALIGNED(datalen, ctx->block_size) || auto_padding)) datalen 1669 drivers/crypto/atmel-sha.c sg_init_one(&dd->tmp, data, datalen); datalen 1670 drivers/crypto/atmel-sha.c return atmel_sha_cpu_start(dd, &dd->tmp, datalen, false, true, resume); datalen 141 drivers/crypto/bcm/cipher.c u32 datalen; /* Number of bytes of response data expected */ datalen 160 drivers/crypto/bcm/cipher.c datalen = spu_msg_sg_add(&sg, &rctx->dst_sg, &rctx->dst_skip, datalen 162 drivers/crypto/bcm/cipher.c if (datalen < chunksize) { datalen 164 drivers/crypto/bcm/cipher.c __func__, chunksize, datalen); datalen 208 drivers/crypto/bcm/cipher.c u32 datalen; /* Number of bytes of response data expected */ datalen 228 drivers/crypto/bcm/cipher.c datalen = spu_msg_sg_add(&sg, &rctx->src_sg, &rctx->src_skip, datalen 230 drivers/crypto/bcm/cipher.c if (unlikely(datalen < chunksize)) { datalen 623 drivers/crypto/bcm/cipher.c u32 datalen; /* Number of bytes of response data expected */ datalen 642 drivers/crypto/bcm/cipher.c datalen = spu_msg_sg_add(&sg, &rctx->src_sg, &rctx->src_skip, datalen 644 drivers/crypto/bcm/cipher.c if (datalen < new_data_len) { datalen 1090 drivers/crypto/bcm/cipher.c u32 datalen; /* Number of bytes of response data expected */ datalen 1142 drivers/crypto/bcm/cipher.c datalen = spu_msg_sg_add(&sg, &rctx->dst_sg, &rctx->dst_skip, datalen 1144 drivers/crypto/bcm/cipher.c if (datalen < (resp_len)) { datalen 1146 drivers/crypto/bcm/cipher.c __func__, resp_len, datalen); datalen 1214 drivers/crypto/bcm/cipher.c u32 datalen; /* Number of bytes of data to write */ datalen 1249 drivers/crypto/bcm/cipher.c datalen = chunksize; datalen 1251 drivers/crypto/bcm/cipher.c datalen -= ctx->digestsize; datalen 1252 drivers/crypto/bcm/cipher.c if (datalen) { datalen 1255 drivers/crypto/bcm/cipher.c rctx->src_nents, datalen); datalen 1256 drivers/crypto/bcm/cipher.c if (written < datalen) { datalen 577 drivers/crypto/mediatek/mtk-aes.c size_t datalen; datalen 586 drivers/crypto/mediatek/mtk-aes.c datalen = req->nbytes - cctx->offset; datalen 587 drivers/crypto/mediatek/mtk-aes.c blocks = DIV_ROUND_UP(datalen, AES_BLOCK_SIZE); datalen 595 drivers/crypto/mediatek/mtk-aes.c datalen = AES_BLOCK_SIZE * -start; datalen 617 drivers/crypto/mediatek/mtk-aes.c return mtk_aes_dma(cryp, aes, src, dst, datalen); datalen 1099 drivers/crypto/talitos.c unsigned int offset, int datalen, int elen, datalen 1104 drivers/crypto/talitos.c int cryptlen = datalen + elen; datalen 1119 drivers/crypto/talitos.c if (datalen > 0 && len > datalen) { datalen 1121 drivers/crypto/talitos.c sg_dma_address(sg) + offset, datalen, 0); datalen 1124 drivers/crypto/talitos.c len -= datalen; datalen 1125 drivers/crypto/talitos.c offset += datalen; datalen 1132 drivers/crypto/talitos.c datalen -= len; datalen 82 drivers/crypto/ux500/cryp/cryp_core.c u32 datalen; datalen 232 drivers/crypto/ux500/cryp/cryp_core.c if (ctx->datalen / ctx->blocksize > 0) { datalen 238 drivers/crypto/ux500/cryp/cryp_core.c ctx->datalen -= count; datalen 240 drivers/crypto/ux500/cryp/cryp_core.c if (ctx->datalen == 0) datalen 657 drivers/crypto/ux500/cryp/cryp_core.c int remaining_length = ctx->datalen; datalen 759 drivers/crypto/ux500/cryp/cryp_core.c u32 datalen = ctx->datalen; datalen 760 drivers/crypto/ux500/cryp/cryp_core.c u32 outlen = datalen; datalen 764 drivers/crypto/ux500/cryp/cryp_core.c ctx->outlen = ctx->datalen; datalen 812 drivers/crypto/ux500/cryp/cryp_core.c ctx->datalen = datalen; datalen 843 drivers/crypto/ux500/cryp/cryp_core.c ctx->datalen = areq->nbytes; datalen 855 drivers/crypto/ux500/cryp/cryp_core.c ctx->device->dma.nents_src = get_nents(areq->src, ctx->datalen); datalen 861 drivers/crypto/ux500/cryp/cryp_core.c bytes_written = cryp_dma_write(ctx, areq->src, ctx->datalen); datalen 922 drivers/crypto/ux500/cryp/cryp_core.c ctx->datalen = nbytes - (nbytes % ctx->blocksize); datalen 928 drivers/crypto/ux500/cryp/cryp_core.c nbytes -= ctx->datalen; datalen 110 drivers/firmware/tegra/bpmp-debugfs.c .datalen = cpu_to_le32((uint32_t)sz_data), datalen 146 drivers/firmware/tegra/bpmp-debugfs.c .datalen = cpu_to_le32((uint32_t)sz_data), datalen 167 drivers/firmware/tegra/bpmp-debugfs.c .datalen = cpu_to_le32((uint32_t)size), datalen 631 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c u32 datalen; datalen 646 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c datalen = len - 2; datalen 663 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c if (unlikely(datalen > req->response_len)) { datalen 666 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c datalen = 0; datalen 668 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c if (datalen) datalen 669 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c memcpy(req->response_buf, msg + 3, 4 * datalen); datalen 670 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c req->response_len = datalen; datalen 954 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c long i, l, datalen = 0; datalen 958 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c datalen = (i + 1) << 2; datalen 961 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c if (datalen == 0) datalen 968 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c l = ascii85_encode_len(datalen); datalen 661 drivers/gpu/drm/msm/adreno/adreno_gpu.c long datalen, i; datalen 669 drivers/gpu/drm/msm/adreno/adreno_gpu.c for (datalen = 0, i = 0; i < len >> 2; i++) datalen 671 drivers/gpu/drm/msm/adreno/adreno_gpu.c datalen = ((i + 1) << 2); datalen 677 drivers/gpu/drm/msm/adreno/adreno_gpu.c *ptr = adreno_gpu_ascii85_encode(buf, datalen); datalen 263 drivers/gpu/drm/msm/msm_gpu.c size_t count, void *data, size_t datalen) datalen 113 drivers/i2c/busses/i2c-mlxcpld.c u8 *data, u8 datalen) datalen 117 drivers/i2c/busses/i2c-mlxcpld.c switch (datalen) { datalen 132 drivers/i2c/busses/i2c-mlxcpld.c mlxcpld_i2c_lpc_read_buf(data, datalen, addr); datalen 138 drivers/i2c/busses/i2c-mlxcpld.c u8 *data, u8 datalen) datalen 142 drivers/i2c/busses/i2c-mlxcpld.c switch (datalen) { datalen 157 drivers/i2c/busses/i2c-mlxcpld.c mlxcpld_i2c_lpc_write_buf(data, datalen, addr); datalen 302 drivers/i2c/busses/i2c-mlxcpld.c u8 datalen, val; datalen 339 drivers/i2c/busses/i2c-mlxcpld.c &datalen, 1); datalen 340 drivers/i2c/busses/i2c-mlxcpld.c if (unlikely(datalen > (I2C_SMBUS_BLOCK_MAX + 1))) { datalen 345 drivers/i2c/busses/i2c-mlxcpld.c datalen = priv->xfer.data_len; datalen 349 drivers/i2c/busses/i2c-mlxcpld.c priv->xfer.msg[i].buf, datalen); datalen 351 drivers/i2c/busses/i2c-mlxcpld.c return datalen; datalen 70 drivers/i2c/busses/i2c-xgene-slimpro.c #define SLIMPRO_IIC_ENCODE_MSG(dev, chip, op, proto, addrlen, datalen) \ datalen 79 drivers/i2c/busses/i2c-xgene-slimpro.c ((datalen << SLIMPRO_IIC_DATALEN_SHIFT) & SLIMPRO_IIC_DATALEN_MASK)) datalen 136 drivers/infiniband/hw/hfi1/fault.c size_t copy, datalen = 1280; datalen 140 drivers/infiniband/hw/hfi1/fault.c data = kcalloc(datalen, sizeof(*data), GFP_KERNEL); datalen 143 drivers/infiniband/hw/hfi1/fault.c copy = min(len, datalen - 1); datalen 210 drivers/infiniband/hw/hfi1/fault.c size_t datalen = 1280, size = 0; /* see fault_opcodes_write() */ datalen 215 drivers/infiniband/hw/hfi1/fault.c data = kcalloc(datalen, sizeof(*data), GFP_KERNEL); datalen 226 drivers/infiniband/hw/hfi1/fault.c datalen - size - 1, datalen 230 drivers/infiniband/hw/hfi1/fault.c datalen - size - 1, "0x%lx,", datalen 89 drivers/infiniband/hw/hfi1/user_sdma.c u32 datalen); datalen 91 drivers/infiniband/hw/hfi1/user_sdma.c struct user_sdma_txreq *tx, u32 datalen); datalen 702 drivers/infiniband/hw/hfi1/user_sdma.c u32 datalen) datalen 706 drivers/infiniband/hw/hfi1/user_sdma.c u32 lrhlen = get_lrh_len(req->hdr, pad_len(datalen)); datalen 722 drivers/infiniband/hw/hfi1/user_sdma.c ret = check_header_template(req, &tx->hdr, lrhlen, datalen); datalen 726 drivers/infiniband/hw/hfi1/user_sdma.c sizeof(tx->hdr) + datalen, req->ahg_idx, datalen 738 drivers/infiniband/hw/hfi1/user_sdma.c struct user_sdma_iovec *iovec, u32 datalen, datalen 755 drivers/infiniband/hw/hfi1/user_sdma.c len = min((datalen - queued), len); datalen 765 drivers/infiniband/hw/hfi1/user_sdma.c if (unlikely(queued < datalen && pageidx == iovec->npages && datalen 809 drivers/infiniband/hw/hfi1/user_sdma.c u32 datalen = 0, queued = 0, data_sent = 0; datalen 852 drivers/infiniband/hw/hfi1/user_sdma.c datalen = compute_data_length(req, tx); datalen 862 drivers/infiniband/hw/hfi1/user_sdma.c if (!datalen) { datalen 867 drivers/infiniband/hw/hfi1/user_sdma.c } else if (datalen <= 32) { datalen 874 drivers/infiniband/hw/hfi1/user_sdma.c ret = user_sdma_txadd_ahg(req, tx, datalen); datalen 881 drivers/infiniband/hw/hfi1/user_sdma.c datalen); datalen 889 drivers/infiniband/hw/hfi1/user_sdma.c datalen, user_sdma_txreq_cb); datalen 898 drivers/infiniband/hw/hfi1/user_sdma.c ret = set_txreq_header(req, tx, datalen); datalen 907 drivers/infiniband/hw/hfi1/user_sdma.c while (queued < datalen && datalen 909 drivers/infiniband/hw/hfi1/user_sdma.c ret = user_sdma_txadd(req, tx, iovec, datalen, datalen 918 drivers/infiniband/hw/hfi1/user_sdma.c req->koffset += datalen; datalen 920 drivers/infiniband/hw/hfi1/user_sdma.c req->tidoffset += datalen; datalen 1088 drivers/infiniband/hw/hfi1/user_sdma.c u32 datalen) datalen 1128 drivers/infiniband/hw/hfi1/user_sdma.c if ((tidoff + datalen > tidlen) || datalen 1157 drivers/infiniband/hw/hfi1/user_sdma.c struct user_sdma_txreq *tx, u32 datalen) datalen 1164 drivers/infiniband/hw/hfi1/user_sdma.c u32 tidval = 0, lrhlen = get_lrh_len(*hdr, pad_len(datalen)); datalen 1202 drivers/infiniband/hw/hfi1/user_sdma.c ret = check_header_template(req, hdr, lrhlen, datalen); datalen 1271 drivers/infiniband/hw/hfi1/user_sdma.c struct user_sdma_txreq *tx, u32 datalen) datalen 1279 drivers/infiniband/hw/hfi1/user_sdma.c u32 val32, tidval = 0, lrhlen = get_lrh_len(*hdr, pad_len(datalen)); datalen 1380 drivers/infiniband/hw/hfi1/user_sdma.c datalen, req->ahg_idx, idx, datalen 2465 drivers/infiniband/hw/i40iw/i40iw_cm.c int datasize = rbuf->datalen; datalen 2728 drivers/infiniband/hw/i40iw/i40iw_cm.c u32 datasize = rbuf->datalen; datalen 1058 drivers/infiniband/hw/i40iw/i40iw_puda.c if (offset > buf->datalen) datalen 1061 drivers/infiniband/hw/i40iw/i40iw_puda.c buf->datalen -= (u16)offset; datalen 1096 drivers/infiniband/hw/i40iw/i40iw_puda.c if (buf->datalen >= fpdu_len) { datalen 1099 drivers/infiniband/hw/i40iw/i40iw_puda.c buf->datalen -= fpdu_len; datalen 1105 drivers/infiniband/hw/i40iw/i40iw_puda.c i40iw_ieq_copy_to_txbuf(buf, txbuf, bufoffset, txoffset, buf->datalen); datalen 1106 drivers/infiniband/hw/i40iw/i40iw_puda.c txoffset += buf->datalen; datalen 1107 drivers/infiniband/hw/i40iw/i40iw_puda.c fpdu_len -= buf->datalen; datalen 1116 drivers/infiniband/hw/i40iw/i40iw_puda.c if (buf->datalen) datalen 1139 drivers/infiniband/hw/i40iw/i40iw_puda.c u16 plen = fpdu_len - buf->datalen; datalen 1142 drivers/infiniband/hw/i40iw/i40iw_puda.c nextseqnum = buf->seqnum + buf->datalen; datalen 1155 drivers/infiniband/hw/i40iw/i40iw_puda.c if (nextbuf->datalen >= plen) { datalen 1158 drivers/infiniband/hw/i40iw/i40iw_puda.c plen -= nextbuf->datalen; datalen 1159 drivers/infiniband/hw/i40iw/i40iw_puda.c nextseqnum = nextbuf->seqnum + nextbuf->datalen; datalen 1242 drivers/infiniband/hw/i40iw/i40iw_puda.c u16 datalen = buf->datalen; datalen 1257 drivers/infiniband/hw/i40iw/i40iw_puda.c while (datalen) { datalen 1267 drivers/infiniband/hw/i40iw/i40iw_puda.c if (datalen < fpdu_len) { datalen 1285 drivers/infiniband/hw/i40iw/i40iw_puda.c datalen -= fpdu_len; datalen 1306 drivers/infiniband/hw/i40iw/i40iw_puda.c if (!datalen) { datalen 1313 drivers/infiniband/hw/i40iw/i40iw_puda.c buf->datalen = datalen; datalen 88 drivers/infiniband/hw/i40iw/i40iw_puda.h u16 datalen; datalen 1496 drivers/infiniband/hw/i40iw/i40iw_utils.c buf->datalen = pkt_len - iphlen - buf->tcphlen; datalen 1497 drivers/infiniband/hw/i40iw/i40iw_utils.c buf->data = (buf->datalen) ? buf->tcph + buf->tcphlen : NULL; datalen 128 drivers/infiniband/ulp/iser/iscsi_iser.c int datalen; datalen 131 drivers/infiniband/ulp/iser/iscsi_iser.c datalen = ntoh24(hdr->dlength); datalen 132 drivers/infiniband/ulp/iser/iscsi_iser.c if (datalen > rx_data_len || (datalen + 4) < rx_data_len) { datalen 134 drivers/infiniband/ulp/iser/iscsi_iser.c datalen, rx_data_len); datalen 139 drivers/infiniband/ulp/iser/iscsi_iser.c if (datalen != rx_data_len) datalen 141 drivers/infiniband/ulp/iser/iscsi_iser.c datalen, rx_data_len); datalen 35 drivers/input/mouse/appletouch.c int datalen; /* size of USB transfers */ datalen 49 drivers/input/mouse/appletouch.c .datalen = 81, datalen 60 drivers/input/mouse/appletouch.c .datalen = 81, datalen 71 drivers/input/mouse/appletouch.c .datalen = 64, datalen 81 drivers/input/mouse/appletouch.c .datalen = 64, datalen 91 drivers/input/mouse/appletouch.c .datalen = 64, datalen 458 drivers/input/mouse/appletouch.c dev->info->datalen, dev->urb->actual_length); datalen 479 drivers/input/mouse/appletouch.c if (dev->urb->actual_length != dev->info->datalen) { datalen 600 drivers/input/mouse/appletouch.c key = dev->data[dev->info->datalen - 1] & ATP_STATUS_BUTTON; datalen 689 drivers/input/mouse/appletouch.c if (dev->data[dev->info->datalen - 1] & ATP_STATUS_BASE_UPDATE) { datalen 720 drivers/input/mouse/appletouch.c key = dev->data[dev->info->datalen - 1] & ATP_STATUS_BUTTON; datalen 875 drivers/input/mouse/appletouch.c dev->data = usb_alloc_coherent(dev->udev, dev->info->datalen, GFP_KERNEL, datalen 882 drivers/input/mouse/appletouch.c dev->data, dev->info->datalen, datalen 931 drivers/input/mouse/appletouch.c usb_free_coherent(dev->udev, dev->info->datalen, datalen 950 drivers/input/mouse/appletouch.c usb_free_coherent(dev->udev, dev->info->datalen, datalen 179 drivers/input/touchscreen/edt-ft5x06.c int offset, tplen, datalen, crclen; datalen 205 drivers/input/touchscreen/edt-ft5x06.c datalen = tplen * tsdata->max_support_points + offset + crclen; datalen 209 drivers/input/touchscreen/edt-ft5x06.c datalen, rdbuf); datalen 219 drivers/input/touchscreen/edt-ft5x06.c rdbuf[2] != datalen) { datalen 226 drivers/input/touchscreen/edt-ft5x06.c if (!edt_ft5x06_ts_check_crc(tsdata, rdbuf, datalen)) datalen 404 drivers/isdn/capi/capi.c unsigned int datalen = skb->len - CAPIMSG_LEN(skb->data); datalen 435 drivers/isdn/capi/capi.c if (tty->receive_room < datalen) { datalen 719 drivers/macintosh/smu.c cmd->info.datalen); datalen 867 drivers/macintosh/smu.c if (cmd->info.datalen > SMU_I2C_READ_MAX) datalen 869 drivers/macintosh/smu.c memset(cmd->info.data, 0xff, cmd->info.datalen); datalen 872 drivers/macintosh/smu.c if (cmd->info.datalen > SMU_I2C_WRITE_MAX) datalen 874 drivers/macintosh/smu.c cmd->scmd.data_len = 9 + cmd->info.datalen; datalen 879 drivers/macintosh/smu.c cmd->read ? "read" : "write", cmd->info.datalen, datalen 1954 drivers/md/dm-crypt.c if (cc->key_size != ukp->datalen) { datalen 128 drivers/md/dm-log-writes.c u32 datalen; datalen 212 drivers/md/dm-log-writes.c size_t entrylen, void *data, size_t datalen, datalen 242 drivers/md/dm-log-writes.c if (datalen) datalen 243 drivers/md/dm-log-writes.c memcpy(ptr + entrylen, data, datalen); datalen 244 drivers/md/dm-log-writes.c memset(ptr + entrylen + datalen, 0, datalen 245 drivers/md/dm-log-writes.c lc->sectorsize - entrylen - datalen); datalen 264 drivers/md/dm-log-writes.c size_t entrylen, void *data, size_t datalen, datalen 273 drivers/md/dm-log-writes.c while (datalen) { datalen 274 drivers/md/dm-log-writes.c num_pages = ALIGN(datalen, PAGE_SIZE) >> PAGE_SHIFT; datalen 293 drivers/md/dm-log-writes.c pg_datalen = min_t(int, datalen, PAGE_SIZE); datalen 315 drivers/md/dm-log-writes.c datalen -= pg_datalen; datalen 342 drivers/md/dm-log-writes.c entry.data_len = cpu_to_le64(block->datalen); datalen 344 drivers/md/dm-log-writes.c metadatalen = (block->flags & LOG_MARK_FLAG) ? block->datalen : 0; datalen 353 drivers/md/dm-log-writes.c if (block->datalen && metadatalen == 0) { datalen 355 drivers/md/dm-log-writes.c block->datalen, sector)) { datalen 624 drivers/md/dm-log-writes.c block->datalen = strlen(block->data); datalen 935 drivers/md/dm-log-writes.c block->datalen = bytes; datalen 51 drivers/md/dm-verity-verify-sig.c sig_opts->sig = kmalloc(ukp->datalen, GFP_KERNEL); datalen 56 drivers/md/dm-verity-verify-sig.c sig_opts->sig_size = ukp->datalen; datalen 1354 drivers/media/pci/saa7164/saa7164-api.c u32 datalen, u8 *data) datalen 1363 drivers/media/pci/saa7164/saa7164-api.c __func__, addr, reglen, datalen); datalen 1376 drivers/media/pci/saa7164/saa7164-api.c *((u32 *)(buf + 1 * sizeof(u32))) = datalen; datalen 1407 drivers/media/pci/saa7164/saa7164-api.c memcpy(data, (buf + 2 * sizeof(u32) + reglen), datalen); datalen 1414 drivers/media/pci/saa7164/saa7164-api.c int saa7164_api_i2c_write(struct saa7164_i2c *bus, u8 addr, u32 datalen, datalen 1425 drivers/media/pci/saa7164/saa7164-api.c __func__, addr, datalen); datalen 1427 drivers/media/pci/saa7164/saa7164-api.c if ((datalen == 0) || (datalen > 232)) datalen 1464 drivers/media/pci/saa7164/saa7164-api.c *((u32 *)(buf + 1 * sizeof(u32))) = datalen - reglen; datalen 1465 drivers/media/pci/saa7164/saa7164-api.c memcpy((buf + 2 * sizeof(u32)), data, datalen); datalen 521 drivers/media/pci/saa7164/saa7164.h u32 datalen, u8 *data); datalen 523 drivers/media/pci/saa7164/saa7164.h u32 datalen, u8 *data); datalen 525 drivers/media/pci/saa7164/saa7164.h u32 datalen, u8 *data); datalen 385 drivers/media/usb/gspca/kinect.c int datalen = len - sizeof(*hdr); datalen 401 drivers/media/usb/gspca/kinect.c gspca_frame_add(gspca_dev, FIRST_PACKET, data, datalen); datalen 404 drivers/media/usb/gspca/kinect.c gspca_frame_add(gspca_dev, INTER_PACKET, data, datalen); datalen 407 drivers/media/usb/gspca/kinect.c gspca_frame_add(gspca_dev, LAST_PACKET, data, datalen); datalen 1319 drivers/message/fusion/mptscsih.c u32 datalen; datalen 1356 drivers/message/fusion/mptscsih.c datalen = scsi_bufflen(SCpnt); datalen 1359 drivers/message/fusion/mptscsih.c datalen = scsi_bufflen(SCpnt); datalen 1362 drivers/message/fusion/mptscsih.c datalen = 0; datalen 1403 drivers/message/fusion/mptscsih.c pScsiReq->DataLength = cpu_to_le32(datalen); datalen 1412 drivers/message/fusion/mptscsih.c if (datalen == 0) { datalen 620 drivers/mmc/host/au1xmmc.c int datalen = data->blocks * data->blksz; datalen 651 drivers/mmc/host/au1xmmc.c int len = (datalen > sg_len) ? sg_len : datalen; datalen 667 drivers/mmc/host/au1xmmc.c datalen -= len; datalen 672 drivers/mmc/host/au1xmmc.c host->pio.len = datalen; datalen 1071 drivers/mtd/mtdchar.c a.datalen = compat_arg.datalen; datalen 67 drivers/mtd/nand/raw/cafe_nand.c int datalen; datalen 125 drivers/mtd/nand/raw/cafe_nand.c memcpy(cafe->dmabuf + cafe->datalen, buf, len); datalen 127 drivers/mtd/nand/raw/cafe_nand.c memcpy_toio(cafe->mmio + CAFE_NAND_WRITE_DATA + cafe->datalen, buf, len); datalen 129 drivers/mtd/nand/raw/cafe_nand.c cafe->datalen += len; datalen 132 drivers/mtd/nand/raw/cafe_nand.c len, cafe->datalen); datalen 140 drivers/mtd/nand/raw/cafe_nand.c memcpy(buf, cafe->dmabuf + cafe->datalen, len); datalen 142 drivers/mtd/nand/raw/cafe_nand.c memcpy_fromio(buf, cafe->mmio + CAFE_NAND_READ_DATA + cafe->datalen, len); datalen 145 drivers/mtd/nand/raw/cafe_nand.c len, cafe->datalen); datalen 146 drivers/mtd/nand/raw/cafe_nand.c cafe->datalen += len; datalen 209 drivers/mtd/nand/raw/cafe_nand.c cafe->data_pos = cafe->datalen = 0; datalen 218 drivers/mtd/nand/raw/cafe_nand.c cafe->datalen = 4; datalen 225 drivers/mtd/nand/raw/cafe_nand.c cafe->datalen = mtd->writesize + mtd->oobsize - column; datalen 238 drivers/mtd/nand/raw/cafe_nand.c cafe->ctl1, cafe->datalen); datalen 249 drivers/mtd/nand/raw/cafe_nand.c cafe->datalen, ctl1, cafe_readl(cafe, NAND_CTRL2)); datalen 252 drivers/mtd/nand/raw/cafe_nand.c cafe_writel(cafe, cafe->datalen, NAND_DATA_LEN); datalen 255 drivers/mtd/nand/raw/cafe_nand.c uint32_t dmactl = 0xc0000000 + cafe->datalen; datalen 266 drivers/mtd/nand/raw/cafe_nand.c cafe->datalen = 0; datalen 474 drivers/mtd/nand/raw/meson_nand.c int datalen, void *infobuf, int infolen, datalen 481 drivers/mtd/nand/raw/meson_nand.c nfc->daddr = dma_map_single(nfc->dev, databuf, datalen, dir); datalen 499 drivers/mtd/nand/raw/meson_nand.c nfc->daddr, datalen, dir); datalen 513 drivers/mtd/nand/raw/meson_nand.c int infolen, int datalen, datalen 518 drivers/mtd/nand/raw/meson_nand.c dma_unmap_single(nfc->dev, nfc->daddr, datalen, dir); datalen 2544 drivers/mtd/nand/raw/nand_base.c int nand_check_erased_ecc_chunk(void *data, int datalen, datalen 2551 drivers/mtd/nand/raw/nand_base.c data_bitflips = nand_check_erased_buf(data, datalen, datalen 2570 drivers/mtd/nand/raw/nand_base.c memset(data, 0xff, datalen); datalen 223 drivers/mtd/nand/spi/core.c if (req->datalen) { datalen 252 drivers/mtd/nand/spi/core.c if (req->datalen) datalen 254 drivers/mtd/nand/spi/core.c req->datalen); datalen 290 drivers/mtd/nand/spi/core.c if (req->datalen) datalen 292 drivers/mtd/nand/spi/core.c req->datalen); datalen 520 drivers/mtd/nand/spi/core.c ops->retlen += iter.req.datalen; datalen 559 drivers/mtd/nand/spi/core.c ops->retlen += iter.req.datalen; datalen 413 drivers/net/can/usb/ucan.c u8 cmd, u16 subcmd, u16 datalen) datalen 423 drivers/net/can/usb/ucan.c datalen, datalen 428 drivers/net/can/usb/ucan.c u8 cmd, u16 subcmd, u16 datalen) datalen 437 drivers/net/can/usb/ucan.c datalen, datalen 1115 drivers/net/ethernet/alacritech/slicoss.c unsigned int datalen; datalen 1153 drivers/net/ethernet/alacritech/slicoss.c datalen = numsects * 8 + 4; datalen 1156 drivers/net/ethernet/alacritech/slicoss.c datalen += sectsize[i]; datalen 1160 drivers/net/ethernet/alacritech/slicoss.c if (datalen > fw->size) { datalen 1163 drivers/net/ethernet/alacritech/slicoss.c fw->size, datalen); datalen 532 drivers/net/ethernet/amd/xgbe/xgbe-desc.c unsigned int offset, tso, vlan, datalen, len; datalen 579 drivers/net/ethernet/amd/xgbe/xgbe-desc.c for (datalen = skb_headlen(skb) - offset; datalen; ) { datalen 580 drivers/net/ethernet/amd/xgbe/xgbe-desc.c len = min_t(unsigned int, datalen, XGBE_TX_MAX_BUF_SIZE); datalen 594 drivers/net/ethernet/amd/xgbe/xgbe-desc.c datalen -= len; datalen 610 drivers/net/ethernet/amd/xgbe/xgbe-desc.c for (datalen = skb_frag_size(frag); datalen; ) { datalen 611 drivers/net/ethernet/amd/xgbe/xgbe-desc.c len = min_t(unsigned int, datalen, datalen 628 drivers/net/ethernet/amd/xgbe/xgbe-desc.c datalen -= len; datalen 673 drivers/net/ethernet/apm/xgene/xgene_enet_main.c u32 datalen, frag_size, skb_index; datalen 698 drivers/net/ethernet/apm/xgene/xgene_enet_main.c datalen = xgene_enet_get_data_len(le64_to_cpu(raw_desc->m1)); datalen 699 drivers/net/ethernet/apm/xgene/xgene_enet_main.c skb_put(skb, datalen); datalen 707 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (xgene_enet_errata_10GE_8(skb, datalen, status)) { datalen 709 drivers/net/ethernet/apm/xgene/xgene_enet_main.c } else if (xgene_enet_errata_10GE_10(skb, datalen, status)) { datalen 723 drivers/net/ethernet/apm/xgene/xgene_enet_main.c datalen -= 4; datalen 743 drivers/net/ethernet/apm/xgene/xgene_enet_main.c datalen += frag_size; datalen 757 drivers/net/ethernet/apm/xgene/xgene_enet_main.c rx_ring->rx_bytes += datalen; datalen 2249 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c static char *bnxt_parse_pkglog(int desired_field, u8 *data, size_t datalen) datalen 2256 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (datalen < 1) datalen 2259 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c data[datalen - 1] = 0; datalen 156 drivers/net/ethernet/intel/i40e/i40e_adminq.c desc->datalen = cpu_to_le16((u16)bi->size); datalen 828 drivers/net/ethernet/intel/i40e/i40e_adminq.c desc_on_ring->datalen = cpu_to_le16(buff_size); datalen 953 drivers/net/ethernet/intel/i40e/i40e_adminq.c u16 datalen; datalen 994 drivers/net/ethernet/intel/i40e/i40e_adminq.c datalen = le16_to_cpu(desc->datalen); datalen 995 drivers/net/ethernet/intel/i40e/i40e_adminq.c e->msg_len = min(datalen, e->buf_len); datalen 1014 drivers/net/ethernet/intel/i40e/i40e_adminq.c desc->datalen = cpu_to_le16((u16)bi->size); datalen 31 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h __le16 datalen; datalen 293 drivers/net/ethernet/intel/i40e/i40e_common.c len = le16_to_cpu(aq_desc->datalen); datalen 299 drivers/net/ethernet/intel/i40e/i40e_common.c le16_to_cpu(aq_desc->datalen), datalen 2957 drivers/net/ethernet/intel/i40e/i40e_common.c desc.datalen = cpu_to_le16(msglen); datalen 3470 drivers/net/ethernet/intel/i40e/i40e_common.c *data_size = le16_to_cpu(desc.datalen); datalen 3611 drivers/net/ethernet/intel/i40e/i40e_common.c desc.datalen = cpu_to_le16(buff_size); datalen 3986 drivers/net/ethernet/intel/i40e/i40e_common.c desc.datalen = cpu_to_le16(buff_size); datalen 4556 drivers/net/ethernet/intel/i40e/i40e_common.c desc.datalen = cpu_to_le16(buff_size); datalen 4561 drivers/net/ethernet/intel/i40e/i40e_common.c *ret_buff_size = le16_to_cpu(desc.datalen); datalen 4639 drivers/net/ethernet/intel/i40e/i40e_common.c desc.datalen = cpu_to_le16(bwd_size); datalen 5429 drivers/net/ethernet/intel/i40e/i40e_common.c desc.datalen = cpu_to_le16(buff_size); datalen 5469 drivers/net/ethernet/intel/i40e/i40e_common.c desc.datalen = cpu_to_le16(buff_size); datalen 5573 drivers/net/ethernet/intel/i40e/i40e_common.c msglen = aq->datalen; datalen 5579 drivers/net/ethernet/intel/i40e/i40e_common.c desc.datalen = cpu_to_le16(msglen); datalen 5844 drivers/net/ethernet/intel/i40e/i40e_common.c desc.datalen = cpu_to_le16(buff_len); datalen 5882 drivers/net/ethernet/intel/i40e/i40e_common.c desc.datalen = cpu_to_le16(buff_len); datalen 5938 drivers/net/ethernet/intel/i40e/i40e_common.c desc.datalen = cpu_to_le16(buff_len); datalen 5976 drivers/net/ethernet/intel/i40e/i40e_common.c desc.datalen = cpu_to_le16(buff_len); datalen 465 drivers/net/ethernet/intel/i40e/i40e_debugfs.c i, d->flags, d->opcode, d->datalen, d->retval, datalen 478 drivers/net/ethernet/intel/i40e/i40e_debugfs.c i, d->flags, d->opcode, d->datalen, d->retval, datalen 1212 drivers/net/ethernet/intel/i40e/i40e_debugfs.c &desc->opcode, &desc->datalen, &desc->retval, datalen 1240 drivers/net/ethernet/intel/i40e/i40e_debugfs.c desc->flags, desc->opcode, desc->datalen, desc->retval, datalen 1260 drivers/net/ethernet/intel/i40e/i40e_debugfs.c &desc->opcode, &desc->datalen, &desc->retval, datalen 1301 drivers/net/ethernet/intel/i40e/i40e_debugfs.c desc->flags, desc->opcode, desc->datalen, desc->retval, datalen 1403 drivers/net/ethernet/intel/i40e/i40e_nvm.c buff_size = max_t(u32, aq_data_len, le16_to_cpu(aq_desc->datalen)); datalen 1465 drivers/net/ethernet/intel/i40e/i40e_nvm.c aq_total_len = aq_desc_len + le16_to_cpu(hw->nvm_wb_desc.datalen); datalen 1532 drivers/net/ethernet/intel/i40e/i40e_nvm.c aq_total_len = aq_desc_len + le16_to_cpu(hw->nvm_aq_event_desc.datalen); datalen 1596 drivers/net/ethernet/intel/i40e/i40e_type.h u16 datalen; datalen 142 drivers/net/ethernet/intel/iavf/iavf_adminq.c desc->datalen = cpu_to_le16((u16)bi->size); datalen 730 drivers/net/ethernet/intel/iavf/iavf_adminq.c desc_on_ring->datalen = cpu_to_le16(buff_size); datalen 854 drivers/net/ethernet/intel/iavf/iavf_adminq.c u16 datalen; datalen 895 drivers/net/ethernet/intel/iavf/iavf_adminq.c datalen = le16_to_cpu(desc->datalen); datalen 896 drivers/net/ethernet/intel/iavf/iavf_adminq.c e->msg_len = min(datalen, e->buf_len); datalen 915 drivers/net/ethernet/intel/iavf/iavf_adminq.c desc->datalen = cpu_to_le16((u16)bi->size); datalen 27 drivers/net/ethernet/intel/iavf/iavf_adminq_cmd.h __le16 datalen; datalen 273 drivers/net/ethernet/intel/iavf/iavf_common.c le16_to_cpu(aq_desc->datalen), datalen 285 drivers/net/ethernet/intel/iavf/iavf_common.c if (buffer && aq_desc->datalen) { datalen 286 drivers/net/ethernet/intel/iavf/iavf_common.c u16 len = le16_to_cpu(aq_desc->datalen); datalen 899 drivers/net/ethernet/intel/iavf/iavf_common.c desc.datalen = cpu_to_le16(msglen); datalen 1603 drivers/net/ethernet/intel/ice/ice_adminq_cmd.h __le16 datalen; datalen 700 drivers/net/ethernet/intel/ice/ice_common.c le16_to_cpu(desc->datalen)); datalen 1217 drivers/net/ethernet/intel/ice/ice_common.c len = le16_to_cpu(cq_desc->datalen); datalen 1223 drivers/net/ethernet/intel/ice/ice_common.c le16_to_cpu(cq_desc->datalen), le16_to_cpu(cq_desc->retval)); datalen 1233 drivers/net/ethernet/intel/ice/ice_common.c if (buf && cq_desc->datalen != 0) { datalen 179 drivers/net/ethernet/intel/ice/ice_controlq.c desc->datalen = cpu_to_le16(bi->size); datalen 925 drivers/net/ethernet/intel/ice/ice_controlq.c desc_on_ring->datalen = cpu_to_le16(buf_size); datalen 960 drivers/net/ethernet/intel/ice/ice_controlq.c u16 copy_size = le16_to_cpu(desc->datalen); datalen 1043 drivers/net/ethernet/intel/ice/ice_controlq.c u16 datalen; datalen 1082 drivers/net/ethernet/intel/ice/ice_controlq.c datalen = le16_to_cpu(desc->datalen); datalen 1083 drivers/net/ethernet/intel/ice/ice_controlq.c e->msg_len = min(datalen, e->buf_len); datalen 1101 drivers/net/ethernet/intel/ice/ice_controlq.c desc->datalen = cpu_to_le16(bi->size); datalen 41 drivers/net/ethernet/intel/ice/ice_dcb.c desc.datalen = cpu_to_le16(buf_size); datalen 162 drivers/net/ethernet/intel/ice/ice_dcb.c desc.datalen = cpu_to_le16(buf_size); datalen 717 drivers/net/ethernet/jme.c rxdesc->desc1.datalen = cpu_to_le16(rxbi->len); datalen 1994 drivers/net/ethernet/jme.c txdesc->desc2.datalen = cpu_to_le16(len); datalen 179 drivers/net/ethernet/jme.h __le16 datalen; datalen 196 drivers/net/ethernet/jme.h __le16 datalen; datalen 274 drivers/net/ethernet/jme.h __le16 datalen; datalen 196 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c u32 tcp_seq, int datalen, struct tx_sync_info *info) datalen 221 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c ends_before = before(tcp_seq + datalen - 1, tls_record_start_seq(record)); datalen 342 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c int datalen, datalen 353 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c ret = tx_sync_info_get(priv_tx, seq, datalen, &info); datalen 434 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c int datalen; datalen 440 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c datalen = skb->len - (skb_transport_offset(skb) + tcp_hdrlen(skb)); datalen 441 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c if (!datalen) datalen 459 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c mlx5e_ktls_tx_handle_ooo(priv_tx, sq, datalen, seq); datalen 475 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c priv_tx->expected_seq = seq + datalen; datalen 481 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c stats->tls_encrypted_bytes += datalen; datalen 269 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c int datalen; datalen 280 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c datalen = skb->len - (skb_transport_offset(skb) + tcp_hdrlen(skb)); datalen 281 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c if (!datalen) datalen 304 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c context->expected_seq = skb_seq + datalen; datalen 833 drivers/net/ethernet/netronome/nfp/nfp_net_common.c u32 datalen, seq; datalen 840 drivers/net/ethernet/netronome/nfp/nfp_net_common.c datalen = skb->len - (skb_transport_offset(skb) + tcp_hdrlen(skb)); datalen 846 drivers/net/ethernet/netronome/nfp/nfp_net_common.c if (!datalen) datalen 881 drivers/net/ethernet/netronome/nfp/nfp_net_common.c if (datalen) { datalen 891 drivers/net/ethernet/netronome/nfp/nfp_net_common.c ntls->next_seq += datalen; datalen 900 drivers/net/ethernet/netronome/nfp/nfp_net_common.c u32 datalen, seq; datalen 907 drivers/net/ethernet/netronome/nfp/nfp_net_common.c datalen = skb->len - (skb_transport_offset(skb) + tcp_hdrlen(skb)); datalen 911 drivers/net/ethernet/netronome/nfp/nfp_net_common.c if (ntls->next_seq == seq + datalen) datalen 2809 drivers/net/ethernet/nvidia/forcedeth.c static int nv_getlen(struct net_device *dev, void *packet, int datalen) datalen 2823 drivers/net/ethernet/nvidia/forcedeth.c return datalen; /* Value in proto field not a len, no checks possible */ datalen 2827 drivers/net/ethernet/nvidia/forcedeth.c if (datalen > ETH_ZLEN) { datalen 2828 drivers/net/ethernet/nvidia/forcedeth.c if (datalen >= protolen) { datalen 2844 drivers/net/ethernet/nvidia/forcedeth.c return datalen; datalen 564 drivers/net/ethernet/sfc/mcdi.c unsigned int datalen, unsigned int mcdi_err) datalen 586 drivers/net/ethernet/sfc/mcdi.c mcdi->resp_data_len = datalen; datalen 1227 drivers/net/ethernet/sun/sunvnet_common.c int maclen, datalen; datalen 1247 drivers/net/ethernet/sun/sunvnet_common.c datalen = port->tsolen - hlen; datalen 1253 drivers/net/ethernet/sun/sunvnet_common.c if (port->tso && gso_size < datalen) datalen 1254 drivers/net/ethernet/sun/sunvnet_common.c gso_segs = DIV_ROUND_UP(skb->len - hlen, datalen); datalen 1269 drivers/net/ethernet/sun/sunvnet_common.c if (port->tso && gso_size < datalen) { datalen 1274 drivers/net/ethernet/sun/sunvnet_common.c skb_shinfo(skb)->gso_size = datalen; datalen 504 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c unsigned int offset, datalen, len; datalen 555 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c for (datalen = skb_headlen(skb) - offset; datalen; ) { datalen 556 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c len = min_t(unsigned int, datalen, XLGMAC_TX_MAX_BUF_SIZE); datalen 570 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c datalen -= len; datalen 586 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c for (datalen = skb_frag_size(frag); datalen; ) { datalen 587 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c len = min_t(unsigned int, datalen, datalen 604 drivers/net/ethernet/synopsys/dwc-xlgmac-desc.c datalen -= len; datalen 174 drivers/net/ethernet/ti/cpmac.c u16 datalen; datalen 361 drivers/net/ethernet/ti/cpmac.c if (unlikely(!desc->datalen)) { datalen 370 drivers/net/ethernet/ti/cpmac.c skb_put(desc->skb, desc->datalen); datalen 374 drivers/net/ethernet/ti/cpmac.c priv->dev->stats.rx_bytes += desc->datalen; datalen 567 drivers/net/ethernet/ti/cpmac.c desc->datalen = len; datalen 362 drivers/net/usb/sierra_net.c static int sierra_net_parse_lsi(struct usbnet *dev, char *data, int datalen) datalen 367 drivers/net/usb/sierra_net.c if (datalen < sizeof(struct lsi_umts_single)) { datalen 369 drivers/net/usb/sierra_net.c __func__, datalen, sizeof(struct lsi_umts_single)); datalen 101 drivers/net/wireless/ath/ath9k/dfs.c int datalen, bool is_ctl, bool is_ext) datalen 111 drivers/net/wireless/ath/ath9k/dfs.c int num_fft_packets = datalen / sizeof(*fft); datalen 116 drivers/net/wireless/ath/ath9k/dfs.c datalen, num_fft_packets); datalen 122 drivers/net/wireless/ath/ath9k/dfs.c if ((datalen % sizeof(*fft)) == 2) { datalen 134 drivers/net/wireless/ath/ath9k/dfs.c int num_fft_packets = datalen / sizeof(*fft); datalen 138 drivers/net/wireless/ath/ath9k/dfs.c datalen, num_fft_packets); datalen 293 drivers/net/wireless/ath/ath9k/dfs.c u16 datalen; datalen 309 drivers/net/wireless/ath/ath9k/dfs.c datalen = rs->rs_datalen; datalen 310 drivers/net/wireless/ath/ath9k/dfs.c if (datalen == 0) { datalen 327 drivers/net/wireless/ath/ath9k/dfs.c vdata_end = data + datalen; datalen 340 drivers/net/wireless/ath/ath9k/dfs.c int clen = datalen - 3; datalen 3132 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (e->datalen < sizeof(*escan_result_le)) { datalen 3143 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c escan_buflen > e->datalen || datalen 3352 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c u32 datalen; datalen 3356 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (e->datalen < (sizeof(*pfn_result) + sizeof(*netinfo))) { datalen 3381 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c datalen = e->datalen - ((void *)netinfo_start - (void *)pfn_result); datalen 3382 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (datalen < result_count * sizeof(*netinfo)) { datalen 3524 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (e->datalen < (sizeof(*pfn_result) + sizeof(*netinfo))) { datalen 5631 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sinfo->assoc_req_ies_len = e->datalen; datalen 128 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c u32 datalen; datalen 156 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c datalen = clm->size; datalen 159 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c if (datalen > MAX_CHUNK_LEN) { datalen 162 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c chunk_len = datalen; datalen 172 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c datalen -= chunk_len; datalen 173 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c } while ((datalen > 0) && (err == 0)); datalen 900 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c evtmsg->datalen); datalen 34 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c u32 datalen; datalen 240 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c emsg.datalen = be32_to_cpu(emsg_be->datalen); datalen 249 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c min_t(u32, emsg.datalen, 64), datalen 250 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c "event payload, len=%d\n", emsg.datalen); datalen 397 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c u32 datalen; datalen 401 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c datalen = get_unaligned_be32(&event_packet->msg.datalen); datalen 410 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c if (datalen > BRCMF_DCMD_MAXLEN || datalen 411 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c datalen + sizeof(*event_packet) > packet_len) datalen 417 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c event = kzalloc(sizeof(*event) + datalen, alloc_flag); datalen 426 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c memcpy(event->data, data, datalen); datalen 427 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.c event->datalen = datalen; datalen 229 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.h __be32 datalen; datalen 271 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.h u32 datalen; datalen 193 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c brcmf_create_iovar(char *name, const char *data, u32 datalen, datalen 200 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c if ((len + datalen) > buflen) datalen 206 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c if (data && datalen) datalen 207 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c memcpy(&buf[len], data, datalen); datalen 209 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c return len + datalen; datalen 292 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c brcmf_create_bsscfg(s32 bsscfgidx, char *name, char *data, u32 datalen, datalen 303 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c return brcmf_create_iovar(name, data, datalen, buf, buflen); datalen 307 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c iolen = prefixlen + namelen + sizeof(bsscfgidx_le) + datalen; datalen 330 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c if (datalen) datalen 331 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c memcpy(p, data, datalen); datalen 1615 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c if (e->datalen < BRCMF_FWS_FIFO_COUNT) { datalen 1616 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c bphy_err(drvr, "event payload too small (%d)\n", e->datalen); datalen 1342 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c u32 mgmt_frame_len = e->datalen - sizeof(struct brcmf_rx_mgmt_data); datalen 1353 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (e->datalen < sizeof(*rxframe)) { datalen 1871 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (e->datalen < sizeof(*rxframe)) { datalen 1905 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c mgmt_frame_len = e->datalen - sizeof(*rxframe); datalen 1914 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c mgmt_frame_len, e->datalen, ch.chspec, freq); datalen 2979 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!elem || elem->datalen < 10 || datalen 734 drivers/net/wireless/intersil/orinoco/main.c u32 datalen = 0; datalen 754 drivers/net/wireless/intersil/orinoco/main.c datalen = len; datalen 758 drivers/net/wireless/intersil/orinoco/main.c datalen = len; datalen 780 drivers/net/wireless/intersil/orinoco/main.c if (datalen > IEEE80211_MAX_DATA_LEN + 12) { datalen 782 drivers/net/wireless/intersil/orinoco/main.c "data length = %d\n", dev->name, datalen); datalen 787 drivers/net/wireless/intersil/orinoco/main.c skb = dev_alloc_skb(hdrlen + datalen); datalen 799 drivers/net/wireless/intersil/orinoco/main.c if (datalen > 0) { datalen 800 drivers/net/wireless/intersil/orinoco/main.c err = hw->ops->bap_pread(hw, IRQ_BAP, skb_put(skb, datalen), datalen 801 drivers/net/wireless/intersil/orinoco/main.c ALIGN(datalen, 2), rxfid, datalen 310 drivers/net/wireless/zydas/zd1201.c int datalen = urb->actual_length-1; datalen 313 drivers/net/wireless/zydas/zd1201.c len = ntohs(*(__be16 *)&data[datalen-2]); datalen 314 drivers/net/wireless/zydas/zd1201.c if (len>datalen) datalen 315 drivers/net/wireless/zydas/zd1201.c len=datalen; datalen 316 drivers/net/wireless/zydas/zd1201.c fc = le16_to_cpu(*(__le16 *)&data[datalen-16]); datalen 317 drivers/net/wireless/zydas/zd1201.c seq = le16_to_cpu(*(__le16 *)&data[datalen-24]); datalen 320 drivers/net/wireless/zydas/zd1201.c if (datalen < 24) datalen 322 drivers/net/wireless/zydas/zd1201.c if (!(skb = dev_alloc_skb(datalen+24))) datalen 325 drivers/net/wireless/zydas/zd1201.c skb_put_data(skb, &data[datalen - 16], 2); datalen 326 drivers/net/wireless/zydas/zd1201.c skb_put_data(skb, &data[datalen - 2], 2); datalen 327 drivers/net/wireless/zydas/zd1201.c skb_put_data(skb, &data[datalen - 14], 6); datalen 328 drivers/net/wireless/zydas/zd1201.c skb_put_data(skb, &data[datalen - 22], 6); datalen 329 drivers/net/wireless/zydas/zd1201.c skb_put_data(skb, &data[datalen - 8], 6); datalen 330 drivers/net/wireless/zydas/zd1201.c skb_put_data(skb, &data[datalen - 24], 2); datalen 344 drivers/net/wireless/zydas/zd1201.c if (datalen<14) datalen 358 drivers/net/wireless/zydas/zd1201.c skb_put_data(skb, &data[datalen - 14], 12); datalen 378 drivers/net/wireless/zydas/zd1201.c if (datalen<14) datalen 384 drivers/net/wireless/zydas/zd1201.c skb_put_data(skb, &data[datalen - 14], 12); datalen 210 drivers/nfc/pn533/pn533.c static u8 pn533_std_data_checksum(u8 *data, int datalen) datalen 215 drivers/nfc/pn533/pn533.c for (i = 0; i < datalen; i++) datalen 229 drivers/nfc/pn533/pn533.c frame->datalen = 2; datalen 236 drivers/nfc/pn533/pn533.c frame->datalen_checksum = pn533_std_checksum(frame->datalen); datalen 239 drivers/nfc/pn533/pn533.c pn533_std_data_checksum(frame->data, frame->datalen); datalen 248 drivers/nfc/pn533/pn533.c frame->datalen += len; datalen 263 drivers/nfc/pn533/pn533.c checksum = pn533_std_checksum(stdf->datalen); datalen 267 drivers/nfc/pn533/pn533.c checksum = pn533_std_data_checksum(stdf->data, stdf->datalen); datalen 276 drivers/nfc/pn533/pn533.c checksum = pn533_ext_checksum(be16_to_cpu(eif->datalen)); datalen 282 drivers/nfc/pn533/pn533.c be16_to_cpu(eif->datalen)); datalen 297 drivers/nfc/pn533/pn533.c if (frame->datalen != 0 || frame->datalen_checksum != 0xFF) datalen 313 drivers/nfc/pn533/pn533.c + be16_to_cpu(eif->datalen) + PN533_STD_FRAME_TAIL_LEN; datalen 316 drivers/nfc/pn533/pn533.c return sizeof(struct pn533_std_frame) + f->datalen + datalen 46 drivers/nfc/pn533/pn533.h #define PN533_STD_FRAME_CHECKSUM(f) (f->data[f->datalen]) datalen 47 drivers/nfc/pn533/pn533.h #define PN533_STD_FRAME_POSTAMBLE(f) (f->data[f->datalen + 1]) datalen 49 drivers/nfc/pn533/pn533.h #define PN533_STD_IS_EXTENDED(hdr) ((hdr)->datalen == 0xFF \ datalen 51 drivers/nfc/pn533/pn533.h #define PN533_EXT_FRAME_CHECKSUM(f) (f->data[be16_to_cpu(f->datalen)]) datalen 109 drivers/nfc/pn533/pn533.h u8 datalen; datalen 118 drivers/nfc/pn533/pn533.h __be16 datalen; datalen 233 drivers/nfc/pn533/usb.c u32 datalen; datalen 255 drivers/nfc/pn533/usb.c u8 datalen; datalen 270 drivers/nfc/pn533/usb.c frame->ccid.datalen = sizeof(frame->apdu) + 1; datalen 279 drivers/nfc/pn533/usb.c frame->datalen = 2; /* data[0] + data[1] */ datalen 291 drivers/nfc/pn533/usb.c frame->ccid.datalen += frame->datalen; datalen 298 drivers/nfc/pn533/usb.c frame->datalen += len; datalen 308 drivers/nfc/pn533/usb.c if (!frame->ccid.datalen) datalen 311 drivers/nfc/pn533/usb.c if (frame->data[frame->ccid.datalen - 2] == 0x63) datalen 322 drivers/nfc/pn533/usb.c return sizeof(struct pn533_acr122_rx_frame) + f->ccid.datalen; datalen 561 drivers/nfc/pn544/i2c.c const u8 *data, u16 datalen) datalen 569 drivers/nfc/pn544/i2c.c if (datalen > PN544_FW_I2C_WRITE_DATA_MAX_LEN) datalen 570 drivers/nfc/pn544/i2c.c datalen = PN544_FW_I2C_WRITE_DATA_MAX_LEN; datalen 575 drivers/nfc/pn544/i2c.c sizeof(framep->be_datalen) + datalen; datalen 587 drivers/nfc/pn544/i2c.c put_unaligned_be16(datalen, &framep->be_datalen); datalen 589 drivers/nfc/pn544/i2c.c memcpy(framep->data, data, datalen); datalen 594 drivers/nfc/pn544/i2c.c return datalen; datalen 602 drivers/nfc/pn544/i2c.c const u8 *data, u16 datalen) datalen 609 drivers/nfc/pn544/i2c.c crc = crc_ccitt(0xffff, data, datalen); datalen 622 drivers/nfc/pn544/i2c.c put_unaligned_be16(datalen, &frame.be_datalen); datalen 658 drivers/nfc/pn544/i2c.c const u8 *data, u16 datalen) datalen 665 drivers/nfc/pn544/i2c.c if (datalen > PN544_FW_SECURE_CHUNK_WRITE_DATA_MAX_LEN) datalen 666 drivers/nfc/pn544/i2c.c datalen = PN544_FW_SECURE_CHUNK_WRITE_DATA_MAX_LEN; datalen 672 drivers/nfc/pn544/i2c.c put_unaligned_be16(datalen, &chunk->be_datalen); datalen 674 drivers/nfc/pn544/i2c.c memcpy(chunk->data, data, datalen); datalen 676 drivers/nfc/pn544/i2c.c chunklen = sizeof(chunk->cmd) + sizeof(chunk->be_datalen) + datalen; datalen 681 drivers/nfc/pn544/i2c.c return datalen; datalen 48 drivers/nfc/port100.c #define PORT100_FRAME_CHECKSUM(f) (f->data[le16_to_cpu(f->datalen)]) datalen 49 drivers/nfc/port100.c #define PORT100_FRAME_POSTAMBLE(f) (f->data[le16_to_cpu(f->datalen) + 1]) datalen 484 drivers/nfc/port100.c __le16 datalen; datalen 529 drivers/nfc/port100.c static u8 port100_data_checksum(u8 *data, int datalen) datalen 534 drivers/nfc/port100.c for (i = 0; i < datalen; i++) datalen 549 drivers/nfc/port100.c frame->datalen = cpu_to_le16(2); datalen 556 drivers/nfc/port100.c frame->datalen_checksum = port100_checksum(le16_to_cpu(frame->datalen)); datalen 559 drivers/nfc/port100.c port100_data_checksum(frame->data, le16_to_cpu(frame->datalen)); datalen 568 drivers/nfc/port100.c le16_add_cpu(&frame->datalen, len); datalen 580 drivers/nfc/port100.c checksum = port100_checksum(le16_to_cpu(frame->datalen)); datalen 585 drivers/nfc/port100.c le16_to_cpu(frame->datalen)); datalen 602 drivers/nfc/port100.c return sizeof(struct port100_frame) + le16_to_cpu(f->datalen) + datalen 14 drivers/nfc/st95hf/spi.c int datalen, datalen 22 drivers/nfc/st95hf/spi.c .len = datalen, datalen 44 drivers/nfc/st95hf/spi.h int datalen, datalen 77 drivers/s390/char/monwriter.c (void *) buffer, myhdr->datalen); datalen 112 drivers/s390/char/monwriter.c if (monhdr->datalen > MONWRITE_MAX_DATALEN || datalen 121 drivers/s390/char/monwriter.c monhdr->datalen = monbuf->hdr.datalen; datalen 136 drivers/s390/char/monwriter.c monbuf->data = kzalloc(monhdr->datalen, datalen 251 drivers/s390/char/monwriter.c monpriv->current_buf->hdr.datalen : 0; datalen 257 drivers/s390/char/monwriter.c monpriv->hdr.datalen - monpriv->data_to_read; datalen 229 drivers/s390/scsi/zfcp_fc.h u32 datalen; datalen 242 drivers/s390/scsi/zfcp_fc.h datalen = scsi_bufflen(scsi); datalen 243 drivers/s390/scsi/zfcp_fc.h fcp->fc_dl = cpu_to_be32(datalen); datalen 246 drivers/s390/scsi/zfcp_fc.h datalen += datalen / scsi->device->sector_size * 8; datalen 247 drivers/s390/scsi/zfcp_fc.h fcp->fc_dl = cpu_to_be32(datalen); datalen 3078 drivers/scsi/BusLogic.c ccb->datalen = count * sizeof(struct blogic_sg_seg); datalen 3092 drivers/scsi/BusLogic.c ccb->datalen = buflen; datalen 816 drivers/scsi/BusLogic.h u32 datalen; /* Bytes 4-7 */ datalen 486 drivers/scsi/aha1542.c any2scsi(acmd->chain[i].datalen, sg_dma_len(sg)); datalen 488 drivers/scsi/aha1542.c any2scsi(ccb[mbo].datalen, sg_count * sizeof(struct chain)); datalen 496 drivers/scsi/aha1542.c any2scsi(ccb[mbo].datalen, 0); datalen 61 drivers/scsi/aha1542.h u8 datalen[3]; /* Size of this part of chain */ datalen 89 drivers/scsi/aha1542.h u8 datalen[3]; /* Data Length (msb, .., lsb) */ datalen 407 drivers/scsi/aha1740.c cptr[i].datalen = sg_dma_len (sg); datalen 410 drivers/scsi/aha1740.c host->ecb[ecbno].datalen = nseg * sizeof(struct aha1740_chain); datalen 418 drivers/scsi/aha1740.c host->ecb[ecbno].datalen = 0; datalen 81 drivers/scsi/aha1740.h u32 datalen; /* Size of this part of chain */ datalen 126 drivers/scsi/aha1740.h u32 datalen; /* Data or Scatter List len */ datalen 1345 drivers/scsi/bnx2i/bnx2i_hwi.c u32 datalen = 0; datalen 1395 drivers/scsi/bnx2i/bnx2i_hwi.c datalen = resp_cqe->data_length; datalen 1396 drivers/scsi/bnx2i/bnx2i_hwi.c if (datalen < 2) datalen 1399 drivers/scsi/bnx2i/bnx2i_hwi.c if (datalen > BNX2I_RQ_WQE_SIZE) { datalen 1402 drivers/scsi/bnx2i/bnx2i_hwi.c datalen); datalen 1403 drivers/scsi/bnx2i/bnx2i_hwi.c datalen = BNX2I_RQ_WQE_SIZE; datalen 1404 drivers/scsi/bnx2i/bnx2i_hwi.c } else if (datalen > ISCSI_DEF_MAX_RECV_SEG_LEN) { datalen 1407 drivers/scsi/bnx2i/bnx2i_hwi.c datalen); datalen 1408 drivers/scsi/bnx2i/bnx2i_hwi.c datalen = ISCSI_DEF_MAX_RECV_SEG_LEN; datalen 1411 drivers/scsi/bnx2i/bnx2i_hwi.c bnx2i_get_rq_buf(bnx2i_cmd->conn, conn->data, datalen); datalen 1417 drivers/scsi/bnx2i/bnx2i_hwi.c conn->data, datalen); datalen 1671 drivers/scsi/cxgbi/libcxgbi.c tcp_conn->in.datalen, offloaded ? "is" : "not"); datalen 1840 drivers/scsi/cxgbi/libcxgbi.c unsigned int datalen = dlen; datalen 1853 drivers/scsi/cxgbi/libcxgbi.c i, datalen, dlen); datalen 1861 drivers/scsi/cxgbi/libcxgbi.c copy = min(datalen, sglen); datalen 1878 drivers/scsi/cxgbi/libcxgbi.c datalen -= copy; datalen 1881 drivers/scsi/cxgbi/libcxgbi.c } while (datalen); datalen 1965 drivers/scsi/cxgbi/libcxgbi.c unsigned int datalen = count; datalen 1975 drivers/scsi/cxgbi/libcxgbi.c tx_skb_setmode(skb, conn->hdrdgst_en, datalen ? conn->datadgst_en : 0); datalen 2070 drivers/scsi/cxgbi/libcxgbi.c unsigned int datalen; datalen 2088 drivers/scsi/cxgbi/libcxgbi.c datalen = skb->data_len; datalen 2115 drivers/scsi/cxgbi/libcxgbi.c if (datalen && task->conn->datadgst_en) datalen 853 drivers/scsi/esas2r/esas2r_flash.c u32 datalen; datalen 900 drivers/scsi/esas2r/esas2r_flash.c datalen = le32_to_cpu(fsc->length); datalen 906 drivers/scsi/esas2r/esas2r_flash.c datalen); datalen 910 drivers/scsi/esas2r/esas2r_flash.c if (datalen == 0) { datalen 916 drivers/scsi/esas2r/esas2r_flash.c sgc->length = datalen; datalen 70 drivers/scsi/esas2r/esas2r_vda.c u32 datalen = 0; datalen 110 drivers/scsi/esas2r/esas2r_vda.c datalen = vi->data_length; datalen 112 drivers/scsi/esas2r/esas2r_vda.c rq->vrq->flash.length = cpu_to_le32(datalen); datalen 124 drivers/scsi/esas2r/esas2r_vda.c datalen = vi->data_length; datalen 128 drivers/scsi/esas2r/esas2r_vda.c rq->vrq->cli.length = cpu_to_le32(datalen); datalen 157 drivers/scsi/esas2r/esas2r_vda.c datalen = vi->cmd.mgt.data_length; datalen 161 drivers/scsi/esas2r/esas2r_vda.c datalen = vi->data_length; datalen 169 drivers/scsi/esas2r/esas2r_vda.c rq->vrq->mgt.length = cpu_to_le32(datalen); datalen 185 drivers/scsi/esas2r/esas2r_vda.c datalen = vi->cmd.mgt.data_length; datalen 187 drivers/scsi/esas2r/esas2r_vda.c rq->vrq->mgt.length = cpu_to_le32(datalen); datalen 254 drivers/scsi/esas2r/esas2r_vda.c if (datalen) { datalen 256 drivers/scsi/esas2r/esas2r_vda.c sgc->length = datalen; datalen 792 drivers/scsi/libiscsi.c int datalen) datalen 835 drivers/scsi/libiscsi.c if (datalen < 2) { datalen 839 drivers/scsi/libiscsi.c "buffer size of %d\n", datalen); datalen 845 drivers/scsi/libiscsi.c if (datalen < senselen) datalen 982 drivers/scsi/libiscsi.c struct iscsi_nopin *nop, char *data, int datalen) datalen 993 drivers/scsi/libiscsi.c data, datalen)) datalen 1002 drivers/scsi/libiscsi.c char *data, int datalen) datalen 1010 drivers/scsi/libiscsi.c if (ntoh24(reject->dlength) > datalen || datalen 1015 drivers/scsi/libiscsi.c datalen); datalen 1125 drivers/scsi/libiscsi.c char *data, int datalen) datalen 1143 drivers/scsi/libiscsi.c opcode, conn->id, itt, datalen); datalen 1150 drivers/scsi/libiscsi.c if (datalen) { datalen 1166 drivers/scsi/libiscsi.c rc = iscsi_handle_reject(conn, hdr, data, datalen); datalen 1170 drivers/scsi/libiscsi.c if (iscsi_recv_pdu(conn->cls_conn, hdr, data, datalen)) datalen 1208 drivers/scsi/libiscsi.c iscsi_scsi_cmd_rsp(conn, hdr, task, data, datalen); datalen 1215 drivers/scsi/libiscsi.c if (datalen) { datalen 1231 drivers/scsi/libiscsi.c if (datalen) { datalen 1241 drivers/scsi/libiscsi.c if (hdr->ttt != cpu_to_be32(ISCSI_RESERVED_TAG) || datalen) { datalen 1248 drivers/scsi/libiscsi.c data, datalen); datalen 1258 drivers/scsi/libiscsi.c if (iscsi_recv_pdu(conn->cls_conn, hdr, data, datalen)) datalen 1266 drivers/scsi/libiscsi.c char *data, int datalen) datalen 1271 drivers/scsi/libiscsi.c rc = __iscsi_complete_pdu(conn, hdr, data, datalen); datalen 425 drivers/scsi/libiscsi_tcp.c conn->data, tcp_conn->in.datalen); datalen 444 drivers/scsi/libiscsi_tcp.c conn->data, tcp_conn->in.datalen, datalen 501 drivers/scsi/libiscsi_tcp.c if (tcp_conn->in.datalen == 0) datalen 513 drivers/scsi/libiscsi_tcp.c if (tcp_task->data_offset + tcp_conn->in.datalen > total_in_length) { datalen 516 drivers/scsi/libiscsi_tcp.c tcp_conn->in.datalen, total_in_length); datalen 541 drivers/scsi/libiscsi_tcp.c if (tcp_conn->in.datalen) { datalen 544 drivers/scsi/libiscsi_tcp.c tcp_conn->in.datalen); datalen 655 drivers/scsi/libiscsi_tcp.c tcp_conn->in.datalen = ntoh24(hdr->dlength); datalen 656 drivers/scsi/libiscsi_tcp.c if (tcp_conn->in.datalen > conn->max_recv_dlength) { datalen 659 drivers/scsi/libiscsi_tcp.c tcp_conn->in.datalen, conn->max_recv_dlength); datalen 675 drivers/scsi/libiscsi_tcp.c opcode, ahslen, tcp_conn->in.datalen); datalen 690 drivers/scsi/libiscsi_tcp.c if (tcp_conn->in.datalen) { datalen 710 drivers/scsi/libiscsi_tcp.c tcp_conn->in.datalen); datalen 716 drivers/scsi/libiscsi_tcp.c tcp_conn->in.datalen, datalen 726 drivers/scsi/libiscsi_tcp.c if (tcp_conn->in.datalen) { datalen 757 drivers/scsi/libiscsi_tcp.c if (ISCSI_DEF_MAX_RECV_SEG_LEN < tcp_conn->in.datalen) { datalen 762 drivers/scsi/libiscsi_tcp.c tcp_conn->in.datalen, datalen 771 drivers/scsi/libiscsi_tcp.c if (tcp_conn->in.datalen) { datalen 789 drivers/scsi/libiscsi_tcp.c if (tcp_conn->in.datalen) datalen 580 drivers/scsi/qedi/qedi_fw.c int datalen = 0; datalen 634 drivers/scsi/qedi/qedi_fw.c datalen = cqe_data_in->reserved2 & datalen 636 drivers/scsi/qedi/qedi_fw.c memcpy((char *)conn->data, (char *)cmd->sense_buffer, datalen); datalen 671 drivers/scsi/qedi/qedi_fw.c conn->data, datalen); datalen 2707 drivers/scsi/st.c int datalen = 0, direction = DMA_NONE; datalen 2912 drivers/scsi/st.c cmd[4] = datalen = 12; datalen 2960 drivers/scsi/st.c SRpnt = st_do_scsi(NULL, STp, cmd, datalen, direction, datalen 2070 drivers/staging/isdn/gigaset/capi.c u16 datalen = CAPIMSG_DATALEN(skb->data); datalen 2089 drivers/staging/isdn/gigaset/capi.c if (msglen + datalen != skb->len) datalen 2091 drivers/staging/isdn/gigaset/capi.c "DATA_B3_REQ", msglen, datalen, skb->len); datalen 2092 drivers/staging/isdn/gigaset/capi.c if (msglen + datalen > skb->len) { datalen 212 drivers/staging/rtl8188eu/core/rtw_recv.c u32 datalen; datalen 255 drivers/staging/rtl8188eu/core/rtw_recv.c datalen = precvframe->pkt->len-prxattrib->hdrlen - datalen 261 drivers/staging/rtl8188eu/core/rtw_recv.c rtw_seccalctkipmic(mickey, pframe, payload, datalen, &miccode[0], datalen 264 drivers/staging/rtl8188eu/core/rtw_recv.c pframemic = payload + datalen; datalen 455 drivers/staging/rtl8192u/ieee80211/ieee80211.h #define IEEE80211_DEBUG_DATA(level, data, datalen) \ datalen 461 drivers/staging/rtl8192u/ieee80211/ieee80211.h for (i = 0; i < (int)(datalen); i++) { \ datalen 471 drivers/staging/rtl8192u/ieee80211/ieee80211.h #define IEEE80211_DEBUG_DATA (level, data, datalen) do {} while (0) datalen 111 drivers/staging/rtl8192u/r8192U.h #define RT_DEBUG_DATA(level, data, datalen) \ datalen 117 drivers/staging/rtl8192u/r8192U.h for (i = 0; i < (int)(datalen); i++) { \ datalen 127 drivers/staging/rtl8192u/r8192U.h #define RT_DEBUG_DATA(level, data, datalen) do {} while (0) datalen 141 drivers/staging/rtl8712/rtl871x_recv.c u32 datalen; datalen 166 drivers/staging/rtl8712/rtl871x_recv.c datalen = precvframe->u.hdr.len - prxattrib->hdrlen - datalen 171 drivers/staging/rtl8712/rtl871x_recv.c seccalctkipmic(mickey, pframe, payload, datalen, datalen 174 drivers/staging/rtl8712/rtl871x_recv.c pframemic = payload + datalen; datalen 316 drivers/staging/rtl8723bs/core/rtw_recv.c u32 datalen; datalen 359 drivers/staging/rtl8723bs/core/rtw_recv.c datalen = precvframe->u.hdr.len-prxattrib->hdrlen-prxattrib->iv_len-prxattrib->icv_len-8;/* icv_len included the mic code */ datalen 366 drivers/staging/rtl8723bs/core/rtw_recv.c rtw_seccalctkipmic(mickey, pframe, payload, datalen, &miccode[0], (unsigned char)prxattrib->priority); /* care the length of the data */ datalen 368 drivers/staging/rtl8723bs/core/rtw_recv.c pframemic = payload+datalen; datalen 423 drivers/staging/wlan-ng/hfa384x.h __le16 datalen; datalen 3355 drivers/staging/wlan-ng/hfa384x_usb.c unsigned int datalen = 0; datalen 3366 drivers/staging/wlan-ng/hfa384x_usb.c datalen = le16_to_cpu(rxdesc->data_len); datalen 3369 drivers/staging/wlan-ng/hfa384x_usb.c skblen = sizeof(struct p80211_caphdr) + hdrlen + datalen + WLAN_CRC_LEN; datalen 3415 drivers/staging/wlan-ng/hfa384x_usb.c if (datalen > 0) { datalen 3416 drivers/staging/wlan-ng/hfa384x_usb.c datap = skb_put_data(skb, rxfrm->data, datalen); datalen 678 drivers/staging/wlan-ng/prism2mib.c pstr->len = le16_to_cpu(wpa.datalen); datalen 681 drivers/staging/wlan-ng/prism2mib.c wpa.datalen = cpu_to_le16(pstr->len); datalen 48 drivers/tty/hvc/hvc_iucv.c u16 datalen; /* Payload length */ datalen 170 drivers/tty/hvc/hvc_iucv.c bufp->mbuf->datalen = (u16) size; datalen 264 drivers/tty/hvc/hvc_iucv.c (rb->msg.length != MSG_SIZE(rb->mbuf->datalen))) datalen 270 drivers/tty/hvc/hvc_iucv.c written = min_t(int, rb->mbuf->datalen - rb->offset, count); datalen 272 drivers/tty/hvc/hvc_iucv.c if (written < (rb->mbuf->datalen - rb->offset)) { datalen 280 drivers/tty/hvc/hvc_iucv.c if (rb->mbuf->datalen != sizeof(struct winsize)) datalen 410 drivers/tty/hvc/hvc_iucv.c sb->mbuf->datalen = (u16) priv->sndbuf_len; datalen 411 drivers/tty/hvc/hvc_iucv.c sb->msg.length = MSG_SIZE(sb->mbuf->datalen); datalen 354 drivers/tty/hvc/hvsi.c int datalen = header->len - sizeof(struct hvsi_header); datalen 355 drivers/tty/hvc/hvsi.c int overflow = datalen - TTY_THRESHOLD_THROTTLE; datalen 357 drivers/tty/hvc/hvsi.c pr_debug("queueing %i chars '%.*s'\n", datalen, datalen, data); datalen 359 drivers/tty/hvc/hvsi.c if (datalen == 0) datalen 364 drivers/tty/hvc/hvsi.c datalen = TTY_THRESHOLD_THROTTLE; datalen 367 drivers/tty/hvc/hvsi.c hvsi_insert_chars(hp, data, datalen); datalen 589 drivers/usb/serial/garmin_gps.c int datalen = 0; datalen 610 drivers/usb/serial/garmin_gps.c datalen = getDataLength(garmin_data_p->outbuffer); datalen 611 drivers/usb/serial/garmin_gps.c i = GARMIN_PKTHDR_LENGTH + datalen; datalen 638 drivers/usb/serial/garmin_gps.c if (datalen > 255) { datalen 639 drivers/usb/serial/garmin_gps.c dev_dbg(dev, "packet-size %d too large\n", datalen); datalen 647 drivers/usb/serial/garmin_gps.c for (i = 0; i < datalen; i++) { datalen 656 drivers/usb/serial/garmin_gps.c dst = garmin_data_p->outbuffer+GPS_OUT_BUFSIZ-datalen; datalen 657 drivers/usb/serial/garmin_gps.c memcpy(dst, src, datalen); datalen 666 drivers/usb/serial/garmin_gps.c *dst++ = datalen; datalen 667 drivers/usb/serial/garmin_gps.c cksum += datalen; datalen 668 drivers/usb/serial/garmin_gps.c if (datalen == DLE) datalen 671 drivers/usb/serial/garmin_gps.c for (i = 0; i < datalen; i++) { datalen 1028 drivers/vhost/net.c int datalen, datalen 1044 drivers/vhost/net.c while (datalen > 0 && headcount < quota) { datalen 1073 drivers/vhost/net.c datalen -= len; datalen 1077 drivers/vhost/net.c heads[headcount - 1].len = cpu_to_vhost32(vq, len + datalen); datalen 1083 drivers/vhost/net.c if (unlikely(datalen > 0)) { datalen 213 fs/cachefiles/daemon.c size_t datalen, datalen 228 fs/cachefiles/daemon.c if (datalen < 0 || datalen > PAGE_SIZE - 1) datalen 232 fs/cachefiles/daemon.c data = memdup_user_nul(_data, datalen); datalen 237 fs/cachefiles/daemon.c if (memchr(data, '\0', datalen)) datalen 241 fs/cachefiles/daemon.c cp = memchr(data, '\n', datalen); datalen 282 fs/cachefiles/daemon.c ret = datalen; datalen 90 fs/cifs/cache.c uint16_t datalen, datalen 96 fs/cifs/cache.c if (datalen != sizeof(auxdata)) datalen 102 fs/cifs/cache.c if (memcmp(data, &auxdata, datalen) != 0) datalen 120 fs/cifs/cache.c uint16_t datalen, datalen 126 fs/cifs/cache.c if (datalen != sizeof(auxdata)) datalen 136 fs/cifs/cache.c if (memcmp(data, &auxdata, datalen) != 0) datalen 43 fs/cifs/cifs_spnego.c payload = kmemdup(prep->data, prep->datalen, GFP_KERNEL); datalen 89 fs/cifs/cifsacl.c if (prep->datalen <= sizeof(key->payload)) { datalen 91 fs/cifs/cifsacl.c memcpy(&key->payload, prep->data, prep->datalen); datalen 93 fs/cifs/cifsacl.c payload = kmemdup(prep->data, prep->datalen, GFP_KERNEL); datalen 99 fs/cifs/cifsacl.c key->datalen = prep->datalen; datalen 106 fs/cifs/cifsacl.c if (key->datalen > sizeof(key->payload)) datalen 307 fs/cifs/cifsacl.c } else if (sidkey->datalen < CIFS_SID_BASE_SIZE) { datalen 310 fs/cifs/cifsacl.c __func__, sidkey->datalen); datalen 319 fs/cifs/cifsacl.c ksid = sidkey->datalen <= sizeof(sidkey->payload) ? datalen 324 fs/cifs/cifsacl.c if (ksid_size > sidkey->datalen) { datalen 327 fs/cifs/cifsacl.c __func__, sidkey->datalen, ksid_size); datalen 420 fs/cifs/cifsacl.c if (sidkey->datalen != sizeof(uid_t)) { datalen 423 fs/cifs/cifsacl.c __func__, sidkey->datalen); datalen 3143 fs/cifs/connect.c delim = strnchr(payload, upayload->datalen, ':'); datalen 3147 fs/cifs/connect.c upayload->datalen); datalen 3169 fs/cifs/connect.c len = key->datalen - (len + 1); datalen 120 fs/crypto/keysetup_v1.c if (ukp->datalen != sizeof(struct fscrypt_key) || datalen 15 fs/fscache/fsdef.c uint16_t datalen, datalen 76 fs/fscache/fsdef.c uint16_t datalen, datalen 82 fs/fscache/fsdef.c _enter("{%s},,%hu", netfs->name, datalen); datalen 84 fs/fscache/fsdef.c if (datalen != sizeof(version)) { datalen 85 fs/fscache/fsdef.c _leave(" = OBSOLETE [dl=%d v=%zu]", datalen, sizeof(version)); datalen 337 fs/fscache/object-list.c for (len = confkey->datalen - 1; len >= 0; len--) { datalen 925 fs/fscache/object.c const void *data, uint16_t datalen, datalen 936 fs/fscache/object.c data, datalen, object_size); datalen 75 fs/jffs2/compr.c unsigned char **cpage_out, u32 *datalen, u32 *cdatalen) datalen 87 fs/jffs2/compr.c orig_slen = *datalen; datalen 106 fs/jffs2/compr.c *datalen = orig_slen; datalen 108 fs/jffs2/compr.c err = this->compress(data_in, output_buf, datalen, cdatalen); datalen 116 fs/jffs2/compr.c this->stat_compr_orig_size += *datalen; datalen 150 fs/jffs2/compr.c uint32_t *datalen, uint32_t *cdatalen) datalen 168 fs/jffs2/compr.c ret = jffs2_selected_compress(0, data_in, cpage_out, datalen, datalen 173 fs/jffs2/compr.c orig_slen = *datalen; datalen 204 fs/jffs2/compr.c *datalen = orig_slen; datalen 206 fs/jffs2/compr.c compr_ret = this->compress(data_in, this->compr_buf, datalen, cdatalen); datalen 211 fs/jffs2/compr.c && (*cdatalen < *datalen)) { datalen 213 fs/jffs2/compr.c best_slen = *datalen; datalen 220 fs/jffs2/compr.c *datalen = best_slen; datalen 234 fs/jffs2/compr.c cpage_out, datalen, cdatalen); datalen 238 fs/jffs2/compr.c cpage_out, datalen, cdatalen); datalen 246 fs/jffs2/compr.c *datalen = *cdatalen; datalen 248 fs/jffs2/compr.c none_stat_compr_size += *datalen; datalen 255 fs/jffs2/compr.c unsigned char *data_out, uint32_t cdatalen, uint32_t datalen) datalen 268 fs/jffs2/compr.c memcpy(data_out, cdata_in, datalen); datalen 272 fs/jffs2/compr.c memset(data_out, 0, datalen); datalen 280 fs/jffs2/compr.c ret = this->decompress(cdata_in, data_out, cdatalen, datalen); datalen 56 fs/jffs2/compr.h uint32_t cdatalen, uint32_t datalen); datalen 75 fs/jffs2/compr.h uint32_t *datalen, uint32_t *cdatalen); datalen 79 fs/jffs2/compr.h unsigned char *data_out, uint32_t cdatalen, uint32_t datalen); datalen 1343 fs/jffs2/gc.c uint32_t datalen; datalen 1356 fs/jffs2/gc.c datalen = end - offset; datalen 1360 fs/jffs2/gc.c comprtype = jffs2_compress(c, f, writebuf, &comprbuf, &datalen, &cdatalen); datalen 1378 fs/jffs2/gc.c ri.dsize = cpu_to_je32(datalen); datalen 1395 fs/jffs2/gc.c offset += datalen; datalen 400 fs/jffs2/nodelist.h uint32_t datalen, int alloc_mode); datalen 61 fs/jffs2/write.c uint32_t datalen, int alloc_mode) datalen 80 fs/jffs2/write.c vecs[1].iov_len = datalen; datalen 82 fs/jffs2/write.c if (je32_to_cpu(ri->totlen) != sizeof(*ri) + datalen) { datalen 85 fs/jffs2/write.c sizeof(*ri), datalen); datalen 93 fs/jffs2/write.c if (!datalen || !data) datalen 112 fs/jffs2/write.c if (ret || (retlen != sizeof(*ri) + datalen)) { datalen 114 fs/jffs2/write.c sizeof(*ri) + datalen, flash_ofs, ret, retlen); datalen 123 fs/jffs2/write.c jffs2_add_physical_node_ref(c, flash_ofs | REF_OBSOLETE, PAD(sizeof(*ri)+datalen), NULL); datalen 141 fs/jffs2/write.c ret = jffs2_reserve_space_gc(c, sizeof(*ri) + datalen, &dummy, datalen 148 fs/jffs2/write.c ret = jffs2_reserve_space(c, sizeof(*ri) + datalen, &dummy, datalen 182 fs/jffs2/write.c fn->raw = jffs2_add_physical_node_ref(c, flash_ofs, PAD(sizeof(*ri)+datalen), f->inocache); datalen 355 fs/jffs2/write.c uint32_t datalen, cdatalen; datalen 369 fs/jffs2/write.c datalen = min_t(uint32_t, writelen, datalen 371 fs/jffs2/write.c cdatalen = min_t(uint32_t, alloclen - sizeof(*ri), datalen); datalen 373 fs/jffs2/write.c comprtype = jffs2_compress(c, f, buf, &comprbuf, &datalen, &cdatalen); datalen 382 fs/jffs2/write.c ri->isize = cpu_to_je32(max(je32_to_cpu(ri->isize), offset + datalen)); datalen 385 fs/jffs2/write.c ri->dsize = cpu_to_je32(datalen); datalen 426 fs/jffs2/write.c if (!datalen) { datalen 431 fs/jffs2/write.c jffs2_dbg(1, "increasing writtenlen by %d\n", datalen); datalen 432 fs/jffs2/write.c writtenlen += datalen; datalen 433 fs/jffs2/write.c offset += datalen; datalen 434 fs/jffs2/write.c writelen -= datalen; datalen 435 fs/jffs2/write.c buf += datalen; datalen 77 fs/nfs/fscache-index.c uint16_t datalen, datalen 83 fs/nfs/fscache-index.c if (datalen != sizeof(auxdata)) datalen 95 fs/nfs/fscache-index.c if (memcmp(data, &auxdata, datalen) != 0) datalen 335 fs/nfs/nfs4idmap.c ret = payload->datalen; datalen 625 fs/nfs/nfs4idmap.c static int nfs_idmap_instantiate(struct key *key, struct key *authkey, char *data, size_t datalen) datalen 627 fs/nfs/nfs4idmap.c return key_instantiate_and_link(key, data, datalen, datalen 111 fs/nfsd/xdr4.h u32 datalen; datalen 127 fs/nfsd/xdr4.h #define cr_datalen u.link.datalen datalen 1339 fs/ocfs2/cluster/tcp.c size_t datalen; datalen 1347 fs/ocfs2/cluster/tcp.c datalen = sizeof(struct o2net_handshake) - sc->sc_page_off; datalen 1348 fs/ocfs2/cluster/tcp.c ret = o2net_recv_tcp_msg(sc->sc_sock, data, datalen); datalen 1364 fs/ocfs2/cluster/tcp.c datalen = sizeof(struct o2net_msg) - sc->sc_page_off; datalen 1365 fs/ocfs2/cluster/tcp.c ret = o2net_recv_tcp_msg(sc->sc_sock, data, datalen); datalen 1396 fs/ocfs2/cluster/tcp.c datalen = (sizeof(struct o2net_msg) + be16_to_cpu(hdr->data_len)) - datalen 1398 fs/ocfs2/cluster/tcp.c ret = o2net_recv_tcp_msg(sc->sc_sock, data, datalen); datalen 348 fs/ubifs/auth.c err = crypto_shash_setkey(c->hmac_tfm, ukp->data, ukp->datalen); datalen 22 include/crypto/pkcs7.h size_t datalen); datalen 42 include/crypto/pkcs7.h const void *data, size_t datalen); datalen 22 include/keys/encrypted-type.h char *datalen; /* datablob: decrypted key length */ datalen 29 include/keys/user-type.h unsigned short datalen; /* length of this data */ datalen 18 include/linux/asn1_decoder.h size_t datalen); datalen 17 include/linux/blkpg.h compat_int_t datalen; datalen 55 include/linux/devcoredump.h void dev_coredumpv(struct device *dev, void *data, size_t datalen, datalen 59 include/linux/devcoredump.h void *data, size_t datalen, gfp_t gfp, datalen 61 include/linux/devcoredump.h void *data, size_t datalen), datalen 65 include/linux/devcoredump.h size_t datalen, gfp_t gfp); datalen 68 include/linux/devcoredump.h size_t datalen, gfp_t gfp) datalen 75 include/linux/devcoredump.h void *data, size_t datalen, gfp_t gfp, datalen 77 include/linux/devcoredump.h void *data, size_t datalen), datalen 84 include/linux/devcoredump.h size_t datalen, gfp_t gfp) datalen 551 include/linux/fscache-cache.h uint16_t datalen, datalen 90 include/linux/fscache.h uint16_t datalen, datalen 3373 include/linux/ieee80211.h u8 datalen; datalen 3383 include/linux/ieee80211.h (int)sizeof(*_elem) + _elem->datalen; \ datalen 3384 include/linux/ieee80211.h _elem = (const struct element *)(_elem->data + _elem->datalen)) datalen 3386 include/linux/ieee80211.h #define for_each_element_id(element, _id, data, datalen) \ datalen 3387 include/linux/ieee80211.h for_each_element(element, data, datalen) \ datalen 3393 include/linux/ieee80211.h element->datalen > 0 && \ datalen 3397 include/linux/ieee80211.h for_each_element(sub, (element)->data, (element)->datalen) datalen 3400 include/linux/ieee80211.h for_each_element_id(sub, id, (element)->data, (element)->datalen) datalen 3403 include/linux/ieee80211.h for_each_element_extid(sub, extid, (element)->data, (element)->datalen) datalen 3419 include/linux/ieee80211.h const void *data, size_t datalen) datalen 3421 include/linux/ieee80211.h return (const u8 *)element == (const u8 *)data + datalen; datalen 35 include/linux/key-type.h size_t datalen; /* Raw datalen */ datalen 168 include/linux/key-type.h extern int key_payload_reserve(struct key *key, size_t datalen); datalen 171 include/linux/key-type.h size_t datalen, datalen 191 include/linux/key.h unsigned short datalen; /* payload data length datalen 102 include/linux/mtd/nand.h unsigned int datalen; datalen 639 include/linux/mtd/nand.h iter->req.datalen = min_t(unsigned int, datalen 659 include/linux/mtd/nand.h iter->dataleft -= iter->req.datalen; datalen 660 include/linux/mtd/nand.h iter->req.databuf.in += iter->req.datalen; datalen 665 include/linux/mtd/nand.h iter->req.datalen = min_t(unsigned int, nand->memorg.pagesize, datalen 1297 include/linux/mtd/rawnand.h int nand_check_erased_ecc_chunk(void *data, int datalen, datalen 45 include/linux/netfilter/nf_conntrack_sip.h const char **dptr, unsigned int *datalen, datalen 49 include/linux/netfilter/nf_conntrack_sip.h const char **dptr, unsigned int *datalen, datalen 115 include/linux/netfilter/nf_conntrack_sip.h unsigned int *datalen); datalen 124 include/linux/netfilter/nf_conntrack_sip.h unsigned int *datalen, datalen 133 include/linux/netfilter/nf_conntrack_sip.h unsigned int *datalen, datalen 143 include/linux/netfilter/nf_conntrack_sip.h unsigned int *datalen, datalen 152 include/linux/netfilter/nf_conntrack_sip.h unsigned int *datalen, datalen 160 include/linux/netfilter/nf_conntrack_sip.h unsigned int *datalen, datalen 170 include/linux/netfilter/nf_conntrack_sip.h unsigned int datalen, unsigned int *matchoff, datalen 174 include/linux/netfilter/nf_conntrack_sip.h unsigned int dataoff, unsigned int datalen, datalen 178 include/linux/netfilter/nf_conntrack_sip.h unsigned int *dataoff, unsigned int datalen, datalen 183 include/linux/netfilter/nf_conntrack_sip.h unsigned int dataoff, unsigned int datalen, datalen 188 include/linux/netfilter/nf_conntrack_sip.h unsigned int off, unsigned int datalen, datalen 193 include/linux/netfilter/nf_conntrack_sip.h unsigned int dataoff, unsigned int datalen, datalen 135 include/net/dn_dev.h __u8 datalen; datalen 84 include/net/netfilter/nf_nat.h int datalen, int oldlen); datalen 338 include/net/pkt_cls.h unsigned int datalen; datalen 404 include/net/pkt_cls.h int datalen; datalen 53 include/scsi/libiscsi_tcp.h int datalen; datalen 589 include/soc/tegra/bpmp-abi.h uint32_t datalen; datalen 600 include/soc/tegra/bpmp-abi.h uint32_t datalen; datalen 37 include/uapi/linux/blkpg.h int datalen; datalen 102 include/uapi/linux/if_tunnel.h __u32 datalen; datalen 255 include/uapi/linux/tipc_config.h #define TLV_ALIGN(datalen) (((datalen)+(TLV_ALIGNTO-1)) & ~(TLV_ALIGNTO-1)) datalen 256 include/uapi/linux/tipc_config.h #define TLV_LENGTH(datalen) (sizeof(struct tlv_desc) + (datalen)) datalen 257 include/uapi/linux/tipc_config.h #define TLV_SPACE(datalen) (TLV_ALIGN(TLV_LENGTH(datalen))) datalen 394 include/uapi/linux/tipc_config.h #define TCM_ALIGN(datalen) (((datalen)+3) & ~3) datalen 395 include/uapi/linux/tipc_config.h #define TCM_LENGTH(datalen) (sizeof(struct tipc_cfg_msg_hdr) + datalen) datalen 396 include/uapi/linux/tipc_config.h #define TCM_SPACE(datalen) (TCM_ALIGN(TCM_LENGTH(datalen))) datalen 57 lib/asn1_decoder.c static int asn1_find_indefinite_length(const unsigned char *data, size_t datalen, datalen 66 lib/asn1_decoder.c if (unlikely(datalen - dp < 2)) { datalen 67 lib/asn1_decoder.c if (datalen == dp) datalen 88 lib/asn1_decoder.c if (unlikely(datalen - dp < 2)) datalen 110 lib/asn1_decoder.c if (unlikely(n > datalen - dp)) datalen 118 lib/asn1_decoder.c if (len > datalen - dp) datalen 170 lib/asn1_decoder.c size_t datalen) datalen 197 lib/asn1_decoder.c if (datalen > 65535) datalen 202 lib/asn1_decoder.c pc, machlen, dp, datalen, csp, jsp); datalen 217 lib/asn1_decoder.c (op & ASN1_OP_MATCH__SKIP && dp == datalen)) { datalen 227 lib/asn1_decoder.c if (unlikely(datalen - dp < 2)) datalen 267 lib/asn1_decoder.c if (unlikely(2 > datalen - dp)) datalen 273 lib/asn1_decoder.c if (unlikely(n > datalen - dp)) datalen 280 lib/asn1_decoder.c if (unlikely(len > datalen - dp)) datalen 284 lib/asn1_decoder.c if (unlikely(len > datalen - dp)) datalen 297 lib/asn1_decoder.c cons_datalen_stack[csp] = datalen; datalen 298 lib/asn1_decoder.c datalen = dp + len; datalen 332 lib/asn1_decoder.c data, datalen, &tmp, &len, &errmsg); datalen 397 lib/asn1_decoder.c len = datalen; datalen 398 lib/asn1_decoder.c datalen = cons_datalen_stack[csp]; datalen 400 lib/asn1_decoder.c tdp, dp, len, datalen); datalen 401 lib/asn1_decoder.c if (datalen == 0) { datalen 403 lib/asn1_decoder.c datalen = len; datalen 404 lib/asn1_decoder.c if (unlikely(datalen - dp < 2)) datalen 421 lib/asn1_decoder.c datalen = len; datalen 93 lib/digsig.c if (ukp->datalen < sizeof(*pkh)) datalen 108 lib/digsig.c endp = ukp->data + ukp->datalen; datalen 200 lib/digsig.c const char *data, int datalen) datalen 242 lib/digsig.c crypto_shash_update(desc, data, datalen); datalen 320 net/can/bcm.c unsigned int datalen = head->nframes * op->cfsiz; datalen 323 net/can/bcm.c skb = alloc_skb(sizeof(*head) + datalen, gfp_any()); datalen 333 net/can/bcm.c skb_put_data(skb, frames, datalen); datalen 300 net/ceph/crypto.c size_t datalen = prep->datalen; datalen 305 net/ceph/crypto.c if (datalen <= 0 || datalen > 32767 || !prep->data) datalen 315 net/ceph/crypto.c ret = ceph_crypto_key_decode(ckey, &p, (char*)prep->data+datalen); datalen 320 net/ceph/crypto.c prep->quotalen = datalen; datalen 2614 net/core/pktgen.c int datalen) datalen 2620 net/core/pktgen.c datalen -= sizeof(*pgh); datalen 2623 net/core/pktgen.c skb_put_zero(skb, datalen); datalen 2632 net/core/pktgen.c len = datalen - frags * PAGE_SIZE; datalen 2635 net/core/pktgen.c datalen = frags * PAGE_SIZE; datalen 2639 net/core/pktgen.c frag_len = (datalen/frags) < PAGE_SIZE ? datalen 2640 net/core/pktgen.c (datalen/frags) : PAGE_SIZE; datalen 2641 net/core/pktgen.c while (datalen > 0) { datalen 2657 net/core/pktgen.c (datalen < PAGE_SIZE ? datalen : PAGE_SIZE)); datalen 2660 net/core/pktgen.c datalen -= skb_frag_size(&skb_shinfo(skb)->frags[i]); datalen 2725 net/core/pktgen.c int datalen, iplen; datalen 2793 net/core/pktgen.c datalen = pkt_dev->cur_pkt_size - 14 - 20 - 8 - datalen 2795 net/core/pktgen.c if (datalen < 0 || datalen < sizeof(struct pktgen_hdr)) datalen 2796 net/core/pktgen.c datalen = sizeof(struct pktgen_hdr); datalen 2800 net/core/pktgen.c udph->len = htons(datalen + 8); /* DATA + udphdr */ datalen 2813 net/core/pktgen.c iplen = 20 + 8 + datalen; datalen 2820 net/core/pktgen.c pktgen_finalize_skb(pkt_dev, skb, datalen); datalen 2829 net/core/pktgen.c __wsum csum = skb_checksum(skb, skb_transport_offset(skb), datalen + 8, 0); datalen 2833 net/core/pktgen.c datalen + 8, IPPROTO_UDP, csum); datalen 2853 net/core/pktgen.c int datalen, udplen; datalen 2921 net/core/pktgen.c datalen = pkt_dev->cur_pkt_size - 14 - datalen 2925 net/core/pktgen.c if (datalen < 0 || datalen < sizeof(struct pktgen_hdr)) { datalen 2926 net/core/pktgen.c datalen = sizeof(struct pktgen_hdr); datalen 2927 net/core/pktgen.c net_info_ratelimited("increased datalen to %d\n", datalen); datalen 2930 net/core/pktgen.c udplen = datalen + sizeof(struct udphdr); datalen 2955 net/core/pktgen.c pktgen_finalize_skb(pkt_dev, skb, datalen); datalen 1894 net/decnet/af_decnet.c unsigned long datalen, int noblock, datalen 1897 net/decnet/af_decnet.c struct sk_buff *skb = sock_alloc_send_skb(sk, datalen, datalen 868 net/decnet/dn_dev.c msg->datalen = 0x02; datalen 98 net/dns_resolver/dns_key.c int datalen = prep->datalen, result_len = 0; datalen 101 net/dns_resolver/dns_key.c if (datalen <= 1 || !data) datalen 106 net/dns_resolver/dns_key.c if (datalen <= sizeof(*bin)) datalen 110 net/dns_resolver/dns_key.c kenter("[%u,%u],%u", bin->content, bin->version, datalen); datalen 125 net/dns_resolver/dns_key.c result_len = datalen; datalen 129 net/dns_resolver/dns_key.c kenter("'%*.*s',%u", datalen, datalen, data, datalen); datalen 131 net/dns_resolver/dns_key.c if (!data || data[datalen - 1] != '\0') datalen 133 net/dns_resolver/dns_key.c datalen--; datalen 136 net/dns_resolver/dns_key.c end = data + datalen; datalen 137 net/dns_resolver/dns_key.c opt = memchr(data, '#', datalen); datalen 141 net/dns_resolver/dns_key.c result_len = datalen; datalen 217 net/dns_resolver/dns_key.c upayload->datalen = result_len; datalen 296 net/dns_resolver/dns_key.c seq_printf(m, ": %u", key->datalen); datalen 150 net/dns_resolver/dns_query.c len = upayload->datalen; datalen 1047 net/ipv4/ip_output.c unsigned int datalen; datalen 1064 net/ipv4/ip_output.c datalen = length + fraggap; datalen 1065 net/ipv4/ip_output.c if (datalen > mtu - fragheaderlen) datalen 1066 net/ipv4/ip_output.c datalen = maxfraglen - fragheaderlen; datalen 1067 net/ipv4/ip_output.c fraglen = datalen + fragheaderlen; datalen 1087 net/ipv4/ip_output.c if (datalen == length + fraggap) datalen 1132 net/ipv4/ip_output.c copy = datalen - transhdrlen - fraggap - pagedlen; datalen 96 net/ipv4/netfilter/nf_nat_snmp_basic_main.c const void *data, size_t datalen) datalen 98 net/ipv4/netfilter/nf_nat_snmp_basic_main.c if (datalen != 1) datalen 106 net/ipv4/netfilter/nf_nat_snmp_basic_main.c const void *data, size_t datalen) datalen 111 net/ipv4/netfilter/nf_nat_snmp_basic_main.c if (datalen != 4) datalen 130 net/ipv4/netfilter/nf_nat_snmp_basic_main.c u16 datalen = ntohs(udph->len) - sizeof(struct udphdr); datalen 148 net/ipv4/netfilter/nf_nat_snmp_basic_main.c ret = asn1_ber_decoder(&nf_nat_snmp_basic_decoder, &ctx, data, datalen); datalen 824 net/ipv4/udp.c int datalen = len - sizeof(*uh); datalen 858 net/ipv4/udp.c if (datalen > cork->gso_size) { datalen 861 net/ipv4/udp.c skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(datalen, datalen 1445 net/ipv6/ip6_output.c unsigned int datalen; datalen 1468 net/ipv6/ip6_output.c datalen = length + fraggap; datalen 1470 net/ipv6/ip6_output.c if (datalen > (cork->length <= mtu && !(cork->flags & IPCORK_ALLFRAG) ? mtu : maxfraglen) - fragheaderlen) datalen 1471 net/ipv6/ip6_output.c datalen = maxfraglen - fragheaderlen - rt->dst.trailer_len; datalen 1472 net/ipv6/ip6_output.c fraglen = datalen + fragheaderlen; datalen 1487 net/ipv6/ip6_output.c if (datalen != length + fraggap) { datalen 1492 net/ipv6/ip6_output.c datalen += rt->dst.trailer_len; datalen 1496 net/ipv6/ip6_output.c fraglen = datalen + fragheaderlen; datalen 1505 net/ipv6/ip6_output.c copy = datalen - transhdrlen - fraggap - pagedlen; datalen 304 net/ipv6/sit.c cmax = kprl.datalen / sizeof(kprl); datalen 349 net/ipv6/sit.c if ((len && copy_to_user(a + 1, kp, len)) || put_user(len, &a->datalen)) datalen 1112 net/ipv6/udp.c int datalen = len - sizeof(*uh); datalen 1145 net/ipv6/udp.c if (datalen > cork->gso_size) { datalen 1148 net/ipv6/udp.c skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(datalen, datalen 256 net/iucv/af_iucv.c size_t datalen; datalen 259 net/iucv/af_iucv.c datalen = 0xff - msg->rmmsg[7]; datalen 260 net/iucv/af_iucv.c return (datalen < 8) ? datalen : 8; datalen 826 net/mac80211/mlme.c if (elem && elem->datalen >= 3) datalen 910 net/mac80211/util.c u8 elen = elem->datalen; datalen 1288 net/mac80211/util.c if (elem->datalen < 2) datalen 1291 net/mac80211/util.c for_each_element(sub, elem->data + 1, elem->datalen - 1) { datalen 1295 net/mac80211/util.c if (sub->id != 0 || sub->datalen < 4) { datalen 618 net/mac802154/llsec.c int err, datalen; datalen 624 net/mac802154/llsec.c datalen = skb_tail_pointer(skb) - data; datalen 625 net/mac802154/llsec.c sg_init_one(&src, data, datalen); datalen 629 net/mac802154/llsec.c skcipher_request_set_crypt(req, &src, &src, datalen, iv); datalen 654 net/mac802154/llsec.c int authlen, assoclen, datalen, rc; datalen 668 net/mac802154/llsec.c datalen = skb_tail_pointer(skb) - data; datalen 672 net/mac802154/llsec.c sg_init_one(&sg, skb_mac_header(skb), assoclen + datalen + authlen); datalen 675 net/mac802154/llsec.c assoclen += datalen; datalen 676 net/mac802154/llsec.c datalen = 0; datalen 680 net/mac802154/llsec.c aead_request_set_crypt(req, &sg, &sg, datalen, iv); datalen 833 net/mac802154/llsec.c int datalen; datalen 840 net/mac802154/llsec.c datalen = skb_tail_pointer(skb) - data; datalen 842 net/mac802154/llsec.c sg_init_one(&src, data, datalen); datalen 846 net/mac802154/llsec.c skcipher_request_set_crypt(req, &src, &src, datalen, iv); datalen 860 net/mac802154/llsec.c int authlen, datalen, assoclen, rc; datalen 874 net/mac802154/llsec.c datalen = skb_tail_pointer(skb) - data; datalen 876 net/mac802154/llsec.c sg_init_one(&sg, skb_mac_header(skb), assoclen + datalen); datalen 879 net/mac802154/llsec.c assoclen += datalen - authlen; datalen 880 net/mac802154/llsec.c datalen = authlen; datalen 884 net/mac802154/llsec.c aead_request_set_crypt(req, &sg, &sg, datalen, iv); datalen 31 net/netfilter/ipvs/ip_vs_pe_sip.c unsigned int datalen, datalen 36 net/netfilter/ipvs/ip_vs_pe_sip.c int ret = ct_sip_get_header(NULL, dptr, dataoff, datalen, datalen 51 net/netfilter/ipvs/ip_vs_pe_sip.c if (*matchoff + *matchlen == datalen) datalen 70 net/netfilter/ipvs/ip_vs_pe_sip.c unsigned int dataoff, datalen, matchoff, matchlen; datalen 90 net/netfilter/ipvs/ip_vs_pe_sip.c datalen = skb->len - dataoff; datalen 92 net/netfilter/ipvs/ip_vs_pe_sip.c if (get_callid(dptr, 0, datalen, &matchoff, &matchlen)) datalen 378 net/netfilter/nf_conntrack_ftp.c unsigned int dataoff, datalen; datalen 412 net/netfilter/nf_conntrack_ftp.c datalen = skb->len - dataoff; datalen 415 net/netfilter/nf_conntrack_ftp.c fb_ptr = skb_header_pointer(skb, dataoff, datalen, ftp_buffer); datalen 418 net/netfilter/nf_conntrack_ftp.c ends_in_nl = (fb_ptr[datalen - 1] == '\n'); datalen 419 net/netfilter/nf_conntrack_ftp.c seq = ntohl(th->seq) + datalen; datalen 447 net/netfilter/nf_conntrack_ftp.c found = find_pattern(fb_ptr, datalen, datalen 120 net/netfilter/nf_conntrack_h323_main.c unsigned char **data, int *datalen, int *dataoff) datalen 162 net/netfilter/nf_conntrack_h323_main.c *datalen = info->tpkt_len[dir]; datalen 177 net/netfilter/nf_conntrack_h323_main.c tpktoff = *dataoff + *datalen; datalen 181 net/netfilter/nf_conntrack_h323_main.c tpkt = *data + *datalen; datalen 208 net/netfilter/nf_conntrack_h323_main.c *datalen = tpktlen - 4; datalen 578 net/netfilter/nf_conntrack_h323_main.c int datalen; datalen 592 net/netfilter/nf_conntrack_h323_main.c &data, &datalen, &dataoff)) { datalen 593 net/netfilter/nf_conntrack_h323_main.c pr_debug("nf_ct_h245: TPKT len=%d ", datalen); datalen 597 net/netfilter/nf_conntrack_h323_main.c ret = DecodeMultimediaSystemControlMessage(data, datalen, datalen 1138 net/netfilter/nf_conntrack_h323_main.c int datalen; datalen 1152 net/netfilter/nf_conntrack_h323_main.c &data, &datalen, &dataoff)) { datalen 1153 net/netfilter/nf_conntrack_h323_main.c pr_debug("nf_ct_q931: TPKT len=%d ", datalen); datalen 1157 net/netfilter/nf_conntrack_h323_main.c ret = DecodeQ931(data, datalen, &q931); datalen 1209 net/netfilter/nf_conntrack_h323_main.c int *datalen) datalen 1221 net/netfilter/nf_conntrack_h323_main.c *datalen = skb->len - dataoff; datalen 1222 net/netfilter/nf_conntrack_h323_main.c return skb_header_pointer(skb, dataoff, *datalen, h323_buffer); datalen 1713 net/netfilter/nf_conntrack_h323_main.c int datalen = 0; datalen 1721 net/netfilter/nf_conntrack_h323_main.c data = get_udp_data(skb, protoff, &datalen); datalen 1724 net/netfilter/nf_conntrack_h323_main.c pr_debug("nf_ct_ras: RAS message len=%d ", datalen); datalen 1728 net/netfilter/nf_conntrack_h323_main.c ret = DecodeRasMessage(data, datalen, &ras); datalen 528 net/netfilter/nf_conntrack_pptp.c unsigned int datalen, reqlen, nexthdr_off; datalen 549 net/netfilter/nf_conntrack_pptp.c datalen = tcplen - tcph->doff * 4; datalen 557 net/netfilter/nf_conntrack_pptp.c datalen -= sizeof(_pptph); datalen 570 net/netfilter/nf_conntrack_pptp.c datalen -= sizeof(_ctlh); datalen 572 net/netfilter/nf_conntrack_pptp.c reqlen = datalen; datalen 67 net/netfilter/nf_conntrack_sane.c unsigned int dataoff, datalen; datalen 94 net/netfilter/nf_conntrack_sane.c datalen = skb->len - dataoff; datalen 97 net/netfilter/nf_conntrack_sane.c sb_ptr = skb_header_pointer(skb, dataoff, datalen, sane_buffer); datalen 101 net/netfilter/nf_conntrack_sane.c if (datalen != sizeof(struct sane_request)) datalen 123 net/netfilter/nf_conntrack_sane.c if (datalen < sizeof(struct sane_reply_net_start)) { datalen 238 net/netfilter/nf_conntrack_sip.c const char *dptr, unsigned int datalen, datalen 242 net/netfilter/nf_conntrack_sip.c const char *start = dptr, *limit = dptr + datalen, *end; datalen 368 net/netfilter/nf_conntrack_sip.c unsigned int dataoff, unsigned int datalen, datalen 373 net/netfilter/nf_conntrack_sip.c const char *start = dptr, *limit = dptr + datalen; datalen 436 net/netfilter/nf_conntrack_sip.c unsigned int dataoff, unsigned int datalen, datalen 441 net/netfilter/nf_conntrack_sip.c const char *start = dptr, *limit = dptr + datalen; datalen 466 net/netfilter/nf_conntrack_sip.c unsigned int dataoff, unsigned int datalen, datalen 474 net/netfilter/nf_conntrack_sip.c ret = ct_sip_next_header(ct, dptr, dataoff, datalen, datalen 486 net/netfilter/nf_conntrack_sip.c ret = ct_sip_get_header(ct, dptr, dataoff, datalen, datalen 506 net/netfilter/nf_conntrack_sip.c unsigned int *dataoff, unsigned int datalen, datalen 511 net/netfilter/nf_conntrack_sip.c const char *c, *limit = dptr + datalen; datalen 515 net/netfilter/nf_conntrack_sip.c ret = ct_sip_walk_headers(ct, dptr, dataoff ? *dataoff : 0, datalen, datalen 539 net/netfilter/nf_conntrack_sip.c unsigned int dataoff, unsigned int datalen, datalen 543 net/netfilter/nf_conntrack_sip.c const char *limit = dptr + datalen; datalen 549 net/netfilter/nf_conntrack_sip.c limit = dptr + datalen; datalen 567 net/netfilter/nf_conntrack_sip.c unsigned int dataoff, unsigned int datalen, datalen 572 net/netfilter/nf_conntrack_sip.c const char *limit = dptr + datalen; datalen 577 net/netfilter/nf_conntrack_sip.c limit = dptr + datalen; datalen 594 net/netfilter/nf_conntrack_sip.c unsigned int dataoff, unsigned int datalen, datalen 599 net/netfilter/nf_conntrack_sip.c const char *limit = dptr + datalen; datalen 605 net/netfilter/nf_conntrack_sip.c limit = dptr + datalen; datalen 624 net/netfilter/nf_conntrack_sip.c unsigned int dataoff, unsigned int datalen, datalen 629 net/netfilter/nf_conntrack_sip.c if (ct_sip_parse_param(ct, dptr, dataoff, datalen, "transport=", datalen 728 net/netfilter/nf_conntrack_sip.c unsigned int dataoff, unsigned int datalen, datalen 734 net/netfilter/nf_conntrack_sip.c const char *start = dptr, *limit = dptr + datalen; datalen 782 net/netfilter/nf_conntrack_sip.c unsigned int dataoff, unsigned int datalen, datalen 790 net/netfilter/nf_conntrack_sip.c ret = ct_sip_get_sdp_header(ct, dptr, dataoff, datalen, type, term, datalen 848 net/netfilter/nf_conntrack_sip.c const char **dptr, unsigned int *datalen, datalen 951 net/netfilter/nf_conntrack_sip.c !hooks->sdp_port(skb, protoff, dataoff, dptr, datalen, datalen 974 net/netfilter/nf_conntrack_sip.c datalen, rtp_exp, rtcp_exp, datalen 1028 net/netfilter/nf_conntrack_sip.c const char **dptr, unsigned int *datalen, datalen 1047 net/netfilter/nf_conntrack_sip.c if (ct_sip_get_sdp_header(ct, *dptr, 0, *datalen, datalen 1057 net/netfilter/nf_conntrack_sip.c if (ct_sip_parse_sdp_addr(ct, *dptr, sdpoff, *datalen, datalen 1064 net/netfilter/nf_conntrack_sip.c if (ct_sip_get_sdp_header(ct, *dptr, mediaoff, *datalen, datalen 1089 net/netfilter/nf_conntrack_sip.c if (ct_sip_parse_sdp_addr(ct, *dptr, mediaoff, *datalen, datalen 1102 net/netfilter/nf_conntrack_sip.c dptr, datalen, datalen 1114 net/netfilter/nf_conntrack_sip.c dptr, datalen, mediaoff, datalen 1130 net/netfilter/nf_conntrack_sip.c dptr, datalen, sdpoff, datalen 1137 net/netfilter/nf_conntrack_sip.c const char **dptr, unsigned int *datalen, datalen 1146 net/netfilter/nf_conntrack_sip.c return process_sdp(skb, protoff, dataoff, dptr, datalen, cseq); datalen 1154 net/netfilter/nf_conntrack_sip.c const char **dptr, unsigned int *datalen, datalen 1163 net/netfilter/nf_conntrack_sip.c return process_sdp(skb, protoff, dataoff, dptr, datalen, cseq); datalen 1171 net/netfilter/nf_conntrack_sip.c const char **dptr, unsigned int *datalen, datalen 1180 net/netfilter/nf_conntrack_sip.c return process_sdp(skb, protoff, dataoff, dptr, datalen, cseq); datalen 1188 net/netfilter/nf_conntrack_sip.c const char **dptr, unsigned int *datalen, datalen 1197 net/netfilter/nf_conntrack_sip.c ret = process_sdp(skb, protoff, dataoff, dptr, datalen, cseq); datalen 1205 net/netfilter/nf_conntrack_sip.c const char **dptr, unsigned int *datalen, datalen 1221 net/netfilter/nf_conntrack_sip.c const char **dptr, unsigned int *datalen, datalen 1249 net/netfilter/nf_conntrack_sip.c if (ct_sip_get_header(ct, *dptr, 0, *datalen, SIP_HDR_EXPIRES, datalen 1253 net/netfilter/nf_conntrack_sip.c ret = ct_sip_parse_header_uri(ct, *dptr, NULL, *datalen, datalen 1266 net/netfilter/nf_conntrack_sip.c if (ct_sip_parse_transport(ct, *dptr, matchoff + matchlen, *datalen, datalen 1271 net/netfilter/nf_conntrack_sip.c matchoff + matchlen, *datalen, datalen 1300 net/netfilter/nf_conntrack_sip.c ret = hooks->expect(skb, protoff, dataoff, dptr, datalen, datalen 1319 net/netfilter/nf_conntrack_sip.c const char **dptr, unsigned int *datalen, datalen 1349 net/netfilter/nf_conntrack_sip.c if (ct_sip_get_header(ct, *dptr, 0, *datalen, SIP_HDR_EXPIRES, datalen 1356 net/netfilter/nf_conntrack_sip.c ret = ct_sip_parse_header_uri(ct, *dptr, &coff, *datalen, datalen 1371 net/netfilter/nf_conntrack_sip.c *datalen, &proto) == 0) datalen 1376 net/netfilter/nf_conntrack_sip.c *datalen, "expires=", datalen 1405 net/netfilter/nf_conntrack_sip.c const char **dptr, unsigned int *datalen) datalen 1412 net/netfilter/nf_conntrack_sip.c if (*datalen < strlen("SIP/2.0 200")) datalen 1420 net/netfilter/nf_conntrack_sip.c if (ct_sip_get_header(ct, *dptr, 0, *datalen, SIP_HDR_CSEQ, datalen 1438 net/netfilter/nf_conntrack_sip.c if (*datalen < matchend + handler->len || datalen 1441 net/netfilter/nf_conntrack_sip.c return handler->response(skb, protoff, dataoff, dptr, datalen, datalen 1449 net/netfilter/nf_conntrack_sip.c const char **dptr, unsigned int *datalen) datalen 1466 net/netfilter/nf_conntrack_sip.c if (ct_sip_parse_header_uri(ct, *dptr, NULL, *datalen, datalen 1479 net/netfilter/nf_conntrack_sip.c if (*datalen < handler->len + 2 || datalen 1486 net/netfilter/nf_conntrack_sip.c if (ct_sip_get_header(ct, *dptr, 0, *datalen, SIP_HDR_CSEQ, datalen 1497 net/netfilter/nf_conntrack_sip.c return handler->request(skb, protoff, dataoff, dptr, datalen, datalen 1505 net/netfilter/nf_conntrack_sip.c const char **dptr, unsigned int *datalen) datalen 1511 net/netfilter/nf_conntrack_sip.c ret = process_sip_request(skb, protoff, dataoff, dptr, datalen); datalen 1513 net/netfilter/nf_conntrack_sip.c ret = process_sip_response(skb, protoff, dataoff, dptr, datalen); datalen 1518 net/netfilter/nf_conntrack_sip.c dptr, datalen)) { datalen 1531 net/netfilter/nf_conntrack_sip.c unsigned int dataoff, datalen; datalen 1557 net/netfilter/nf_conntrack_sip.c datalen = skb->len - dataoff; datalen 1558 net/netfilter/nf_conntrack_sip.c if (datalen < strlen("SIP/2.0 200")) datalen 1562 net/netfilter/nf_conntrack_sip.c if (ct_sip_get_header(ct, dptr, 0, datalen, datalen 1572 net/netfilter/nf_conntrack_sip.c for (; end + strlen("\r\n\r\n") <= dptr + datalen; end++) { datalen 1584 net/netfilter/nf_conntrack_sip.c if (msglen > datalen) datalen 1597 net/netfilter/nf_conntrack_sip.c datalen = datalen + diff - msglen; datalen 1614 net/netfilter/nf_conntrack_sip.c unsigned int dataoff, datalen; datalen 1628 net/netfilter/nf_conntrack_sip.c datalen = skb->len - dataoff; datalen 1629 net/netfilter/nf_conntrack_sip.c if (datalen < strlen("SIP/2.0 200")) datalen 1632 net/netfilter/nf_conntrack_sip.c return process_sip_msg(skb, ct, protoff, dataoff, &dptr, &datalen); datalen 96 net/netfilter/nf_nat_helper.c int oldlen, datalen; datalen 112 net/netfilter/nf_nat_helper.c datalen = skb->len - protoff; datalen 115 net/netfilter/nf_nat_helper.c tcph, &tcph->check, datalen, oldlen); datalen 146 net/netfilter/nf_nat_helper.c int datalen, oldlen; datalen 163 net/netfilter/nf_nat_helper.c datalen = skb->len - protoff; datalen 164 net/netfilter/nf_nat_helper.c udph->len = htons(datalen); datalen 171 net/netfilter/nf_nat_helper.c udph, &udph->check, datalen, oldlen); datalen 501 net/netfilter/nf_nat_proto.c int datalen, int oldlen) datalen 510 net/netfilter/nf_nat_proto.c *check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, datalen, datalen 514 net/netfilter/nf_nat_proto.c htons(oldlen), htons(datalen), true); datalen 521 net/netfilter/nf_nat_proto.c int datalen, int oldlen) datalen 531 net/netfilter/nf_nat_proto.c datalen, proto, 0); datalen 534 net/netfilter/nf_nat_proto.c htons(oldlen), htons(datalen), true); datalen 541 net/netfilter/nf_nat_proto.c int datalen, int oldlen) datalen 546 net/netfilter/nf_nat_proto.c datalen, oldlen); datalen 551 net/netfilter/nf_nat_proto.c datalen, oldlen); datalen 36 net/netfilter/nf_nat_sip.c const char **dptr, unsigned int *datalen, datalen 66 net/netfilter/nf_nat_sip.c *datalen += buflen - matchlen; datalen 94 net/netfilter/nf_nat_sip.c const char **dptr, unsigned int *datalen, datalen 123 net/netfilter/nf_nat_sip.c return mangle_packet(skb, protoff, dataoff, dptr, datalen, datalen 129 net/netfilter/nf_nat_sip.c const char **dptr, unsigned int *datalen, datalen 138 net/netfilter/nf_nat_sip.c if (ct_sip_parse_header_uri(ct, *dptr, NULL, *datalen, type, NULL, datalen 141 net/netfilter/nf_nat_sip.c return map_addr(skb, protoff, dataoff, dptr, datalen, datalen 147 net/netfilter/nf_nat_sip.c const char **dptr, unsigned int *datalen) datalen 161 net/netfilter/nf_nat_sip.c if (ct_sip_parse_request(ct, *dptr, *datalen, datalen 164 net/netfilter/nf_nat_sip.c !map_addr(skb, protoff, dataoff, dptr, datalen, datalen 179 net/netfilter/nf_nat_sip.c if (ct_sip_parse_header_uri(ct, *dptr, NULL, *datalen, datalen 199 net/netfilter/nf_nat_sip.c olen = *datalen; datalen 200 net/netfilter/nf_nat_sip.c if (!map_addr(skb, protoff, dataoff, dptr, datalen, datalen 206 net/netfilter/nf_nat_sip.c matchend = matchoff + matchlen + *datalen - olen; datalen 210 net/netfilter/nf_nat_sip.c if (ct_sip_parse_address_param(ct, *dptr, matchend, *datalen, datalen 218 net/netfilter/nf_nat_sip.c if (!mangle_packet(skb, protoff, dataoff, dptr, datalen, datalen 227 net/netfilter/nf_nat_sip.c if (ct_sip_parse_address_param(ct, *dptr, matchend, *datalen, datalen 235 net/netfilter/nf_nat_sip.c if (!mangle_packet(skb, protoff, dataoff, dptr, datalen, datalen 244 net/netfilter/nf_nat_sip.c if (ct_sip_parse_numerical_param(ct, *dptr, matchend, *datalen, datalen 251 net/netfilter/nf_nat_sip.c if (!mangle_packet(skb, protoff, dataoff, dptr, datalen, datalen 263 net/netfilter/nf_nat_sip.c while (ct_sip_parse_header_uri(ct, *dptr, &coff, *datalen, datalen 267 net/netfilter/nf_nat_sip.c if (!map_addr(skb, protoff, dataoff, dptr, datalen, datalen 275 net/netfilter/nf_nat_sip.c if (!map_sip_addr(skb, protoff, dataoff, dptr, datalen, SIP_HDR_FROM) || datalen 276 net/netfilter/nf_nat_sip.c !map_sip_addr(skb, protoff, dataoff, dptr, datalen, SIP_HDR_TO)) { datalen 375 net/netfilter/nf_nat_sip.c const char **dptr, unsigned int *datalen, datalen 434 net/netfilter/nf_nat_sip.c if (!mangle_packet(skb, protoff, dataoff, dptr, datalen, datalen 449 net/netfilter/nf_nat_sip.c const char **dptr, unsigned int *datalen) datalen 458 net/netfilter/nf_nat_sip.c if (ct_sip_get_sdp_header(ct, *dptr, 0, *datalen, datalen 462 net/netfilter/nf_nat_sip.c c_len = *datalen - matchoff + strlen("v="); datalen 465 net/netfilter/nf_nat_sip.c if (ct_sip_get_header(ct, *dptr, 0, *datalen, SIP_HDR_CONTENT_LENGTH, datalen 470 net/netfilter/nf_nat_sip.c return mangle_packet(skb, protoff, dataoff, dptr, datalen, datalen 476 net/netfilter/nf_nat_sip.c const char **dptr, unsigned int *datalen, datalen 486 net/netfilter/nf_nat_sip.c if (ct_sip_get_sdp_header(ct, *dptr, sdpoff, *datalen, type, term, datalen 489 net/netfilter/nf_nat_sip.c return mangle_packet(skb, protoff, dataoff, dptr, datalen, datalen 495 net/netfilter/nf_nat_sip.c const char **dptr, unsigned int *datalen, datalen 507 net/netfilter/nf_nat_sip.c if (mangle_sdp_packet(skb, protoff, dataoff, dptr, datalen, datalen 511 net/netfilter/nf_nat_sip.c return mangle_content_len(skb, protoff, dataoff, dptr, datalen); datalen 516 net/netfilter/nf_nat_sip.c const char **dptr, unsigned int *datalen, datalen 525 net/netfilter/nf_nat_sip.c if (!mangle_packet(skb, protoff, dataoff, dptr, datalen, datalen 529 net/netfilter/nf_nat_sip.c return mangle_content_len(skb, protoff, dataoff, dptr, datalen); datalen 534 net/netfilter/nf_nat_sip.c const char **dptr, unsigned int *datalen, datalen 545 net/netfilter/nf_nat_sip.c if (mangle_sdp_packet(skb, protoff, dataoff, dptr, datalen, sdpoff, datalen 549 net/netfilter/nf_nat_sip.c switch (mangle_sdp_packet(skb, protoff, dataoff, dptr, datalen, sdpoff, datalen 566 net/netfilter/nf_nat_sip.c return mangle_content_len(skb, protoff, dataoff, dptr, datalen); datalen 573 net/netfilter/nf_nat_sip.c const char **dptr, unsigned int *datalen, datalen 640 net/netfilter/nf_nat_sip.c !nf_nat_sdp_port(skb, protoff, dataoff, dptr, datalen, datalen 89 net/rxrpc/key.c size_t datalen, datalen 111 net/rxrpc/key.c prep->quotalen = datalen + plen; datalen 430 net/rxrpc/key.c size_t datalen, datalen 445 net/rxrpc/key.c prep->quotalen = datalen + toklen; datalen 562 net/rxrpc/key.c size_t datalen = prep->datalen; datalen 567 net/rxrpc/key.c prep->datalen); datalen 569 net/rxrpc/key.c if (datalen > AFSTOKEN_LENGTH_MAX) datalen 573 net/rxrpc/key.c if (datalen & 3) datalen 580 net/rxrpc/key.c datalen -= 4; datalen 586 net/rxrpc/key.c datalen -= 4; datalen 588 net/rxrpc/key.c if (paddedlen > datalen) datalen 600 net/rxrpc/key.c datalen -= paddedlen; datalen 604 net/rxrpc/key.c if (datalen < 12) datalen 607 net/rxrpc/key.c datalen -= 4; datalen 616 net/rxrpc/key.c if (datalen < 8) datalen 620 net/rxrpc/key.c datalen -= 4; datalen 621 net/rxrpc/key.c _debug("token: [%x/%zx] %x", toklen, datalen, sec_ix); datalen 623 net/rxrpc/key.c if (toklen < 20 || toklen > datalen || paddedlen > datalen) datalen 625 net/rxrpc/key.c datalen -= paddedlen; datalen 630 net/rxrpc/key.c _debug("remainder: %zu", datalen); datalen 631 net/rxrpc/key.c if (datalen != 0) datalen 648 net/rxrpc/key.c ret = rxrpc_preparse_xdr_rxkad(prep, datalen, xdr, toklen); datalen 654 net/rxrpc/key.c ret = rxrpc_preparse_xdr_rxk5(prep, datalen, xdr, toklen); datalen 701 net/rxrpc/key.c _enter("%zu", prep->datalen); datalen 704 net/rxrpc/key.c if (!prep->data && prep->datalen == 0) datalen 708 net/rxrpc/key.c if (prep->datalen > 7 * 4) { datalen 716 net/rxrpc/key.c if (prep->datalen <= 4 || !prep->data) datalen 720 net/rxrpc/key.c prep->datalen -= sizeof(kver); datalen 730 net/rxrpc/key.c if (prep->datalen < sizeof(*v1)) datalen 734 net/rxrpc/key.c if (prep->datalen != sizeof(*v1) + v1->ticket_length) datalen 839 net/rxrpc/key.c _enter("%zu", prep->datalen); datalen 841 net/rxrpc/key.c if (prep->datalen != 8) datalen 177 net/sched/em_canid.c m->datalen = sizeof(struct canid_match) + len; datalen 74 net/sched/em_cmp.c .datalen = sizeof(struct tcf_em_cmp), datalen 32 net/sched/em_ipset.c em->datalen = sizeof(*set); datalen 33 net/sched/em_ipset.c em->data = (unsigned long)kmemdup(data, em->datalen, GFP_KERNEL); datalen 175 net/sched/em_ipt.c em->datalen = sizeof(*im) + mdata_len; datalen 946 net/sched/em_meta.c m->datalen = sizeof(*meta); datalen 31 net/sched/em_nbyte.c em->datalen = sizeof(*nbyte) + nbyte->len; datalen 32 net/sched/em_nbyte.c em->data = (unsigned long)kmemdup(data, em->datalen, GFP_KERNEL); datalen 92 net/sched/em_text.c m->datalen = sizeof(*tm); datalen 39 net/sched/em_u32.c .datalen = sizeof(struct tc_u32_key), datalen 237 net/sched/ematch.c if (em->ops->datalen && data_len < em->ops->datalen) datalen 269 net/sched/ematch.c em->datalen = data_len; datalen 473 net/sched/ematch.c } else if (em->datalen > 0) datalen 474 net/sched/ematch.c nla_put_nohdr(skb, em->datalen, (void *) em->data); datalen 6335 net/sctp/sm_statefuns.c size_t datalen; datalen 6388 net/sctp/sm_statefuns.c datalen = ntohs(chunk->chunk_hdr->length); datalen 6389 net/sctp/sm_statefuns.c datalen -= sctp_datachk_len(&asoc->stream); datalen 6394 net/sctp/sm_statefuns.c if ((datalen >= asoc->rwnd) && (!asoc->ulpq.pd_mode)) { datalen 6408 net/sctp/sm_statefuns.c (datalen > asoc->rwnd + asoc->frag_point))) { datalen 6422 net/sctp/sm_statefuns.c __func__, tsn, datalen, asoc->rwnd); datalen 6454 net/sctp/sm_statefuns.c if (unlikely(0 == datalen)) { datalen 624 net/sctp/ulpevent.c size_t padding, datalen; datalen 637 net/sctp/ulpevent.c datalen = ntohs(chunk->chunk_hdr->length); datalen 639 net/sctp/ulpevent.c if (rx_count >= sk->sk_rcvbuf || !sk_rmem_schedule(sk, skb, datalen)) datalen 667 net/sctp/ulpevent.c padding = SCTP_PAD4(datalen) - datalen; datalen 170 net/tls/tls_device_fallback.c int datalen = skb->len - headln; datalen 187 net/tls/tls_device_fallback.c datalen, IPPROTO_TCP, 0); datalen 190 net/tls/tls_device_fallback.c th->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, datalen, datalen 191 net/wireless/scan.c if (!non_inherit_elem || non_inherit_elem->datalen < 2) datalen 202 net/wireless/scan.c if (non_inherit_elem->datalen < 3 + id_len) datalen 206 net/wireless/scan.c if (non_inherit_elem->datalen < 3 + id_len + ext_id_len) datalen 724 net/wireless/scan.c if (elem->datalen >= match_offset + match_len && datalen 747 net/wireless/scan.c if (!elem || elem->datalen < 4) datalen 1474 net/wireless/scan.c const u8 *mbssid_end = mbssid_elem->data + mbssid_elem->datalen; datalen 1486 net/wireless/scan.c if ((sub_elem->data + sub_elem->datalen < mbssid_end - 1) || datalen 1492 net/wireless/scan.c if (next_mbssid->datalen < 4) datalen 1497 net/wireless/scan.c if (next_mbssid->data + next_mbssid->datalen < datalen 1498 net/wireless/scan.c next_sub->data + next_sub->datalen) datalen 1501 net/wireless/scan.c if (next_sub->id != 0 || next_sub->datalen < 2) datalen 1517 net/wireless/scan.c size_t copied_len = sub_elem->datalen; datalen 1520 net/wireless/scan.c if (sub_elem->datalen > max_copy_len) datalen 1523 net/wireless/scan.c memcpy(merged_ie, sub_elem->data, sub_elem->datalen); datalen 1530 net/wireless/scan.c if (copied_len + next_sub->datalen > max_copy_len) datalen 1533 net/wireless/scan.c next_sub->datalen); datalen 1534 net/wireless/scan.c copied_len += next_sub->datalen; datalen 1578 net/wireless/scan.c if (elem->datalen < 4) datalen 1580 net/wireless/scan.c for_each_element(sub, elem->data + 1, elem->datalen - 1) { datalen 1583 net/wireless/scan.c if (sub->id != 0 || sub->datalen < 4) { datalen 79 security/integrity/digsig_asymmetric.c int siglen, const char *data, int datalen) datalen 114 security/integrity/digsig_asymmetric.c pks.digest_size = datalen; datalen 148 security/integrity/ima/ima.h void ima_putc(struct seq_file *m, void *data, int datalen); datalen 486 security/integrity/ima/ima_crypto.c u32 datalen = field_data[i].len; datalen 488 security/integrity/ima/ima_crypto.c !ima_canonical_fmt ? datalen : cpu_to_le32(datalen); datalen 497 security/integrity/ima/ima_crypto.c memcpy(buffer, data_to_hash, datalen); datalen 499 security/integrity/ima/ima_crypto.c datalen = IMA_EVENT_NAME_LEN_MAX + 1; datalen 501 security/integrity/ima/ima_crypto.c rc = crypto_shash_update(shash, data_to_hash, datalen); datalen 114 security/integrity/ima/ima_fs.c void ima_putc(struct seq_file *m, void *data, int datalen) datalen 116 security/integrity/ima/ima_fs.c while (datalen--) datalen 313 security/integrity/ima/ima_fs.c size_t datalen, loff_t *ppos) datalen 318 security/integrity/ima/ima_fs.c if (datalen >= PAGE_SIZE) datalen 319 security/integrity/ima/ima_fs.c datalen = PAGE_SIZE - 1; datalen 326 security/integrity/ima/ima_fs.c data = memdup_user_nul(buf, datalen); datalen 31 security/integrity/ima/ima_template_lib.c static int ima_write_template_field_data(const void *data, const u32 datalen, datalen 36 security/integrity/ima/ima_template_lib.c u32 buflen = datalen; datalen 39 security/integrity/ima/ima_template_lib.c buflen = datalen + 1; datalen 45 security/integrity/ima/ima_template_lib.c memcpy(buf, data, datalen); datalen 55 security/integrity/ima/ima_template_lib.c for (buf_ptr = buf; buf_ptr - buf < datalen; buf_ptr++) datalen 194 security/integrity/integrity.h int siglen, const char *data, int datalen); datalen 197 security/integrity/integrity.h int siglen, const char *data, int datalen) datalen 100 security/keys/big_key.c static int big_key_crypt(enum big_key_op op, struct big_key_buf *buf, size_t datalen, u8 *key) datalen 117 security/keys/big_key.c aead_request_set_crypt(aead_req, buf->sg, buf->sg, datalen, zero_nonce); datalen 207 security/keys/big_key.c size_t datalen = prep->datalen, enclen = datalen + ENC_AUTHTAG_SIZE; datalen 210 security/keys/big_key.c if (datalen <= 0 || datalen > 1024 * 1024 || !prep->data) datalen 216 security/keys/big_key.c prep->payload.data[big_key_len] = (void *)(unsigned long)datalen; datalen 218 security/keys/big_key.c if (datalen > BIG_KEY_FILE_THRESHOLD) { datalen 229 security/keys/big_key.c memcpy(buf->virt, prep->data, datalen); datalen 242 security/keys/big_key.c ret = big_key_crypt(BIG_KEY_ENC, buf, datalen, enckey); datalen 271 security/keys/big_key.c void *data = kmalloc(datalen, GFP_KERNEL); datalen 277 security/keys/big_key.c memcpy(data, prep->data, prep->datalen); datalen 295 security/keys/big_key.c if (prep->datalen > BIG_KEY_FILE_THRESHOLD) { datalen 323 security/keys/big_key.c size_t datalen = (size_t)key->payload.data[big_key_len]; datalen 325 security/keys/big_key.c if (datalen > BIG_KEY_FILE_THRESHOLD) { datalen 341 security/keys/big_key.c size_t datalen = (size_t)key->payload.data[big_key_len]; datalen 347 security/keys/big_key.c datalen, datalen 348 security/keys/big_key.c datalen > BIG_KEY_FILE_THRESHOLD ? "file" : "buff"); datalen 357 security/keys/big_key.c size_t datalen = (size_t)key->payload.data[big_key_len]; datalen 360 security/keys/big_key.c if (!buffer || buflen < datalen) datalen 361 security/keys/big_key.c return datalen; datalen 363 security/keys/big_key.c if (datalen > BIG_KEY_FILE_THRESHOLD) { datalen 368 security/keys/big_key.c size_t enclen = datalen + ENC_AUTHTAG_SIZE; datalen 392 security/keys/big_key.c ret = datalen; datalen 395 security/keys/big_key.c memcpy(buffer, buf->virt, datalen); datalen 402 security/keys/big_key.c ret = datalen; datalen 403 security/keys/big_key.c memcpy(buffer, key->payload.data[big_key_data], datalen); datalen 42 security/keys/dh.c duplicate = kmemdup(payload->data, payload->datalen, datalen 46 security/keys/dh.c ret = payload->datalen; datalen 286 security/keys/encrypted-keys/encrypted.c epayload->master_desc, epayload->datalen); datalen 321 security/keys/encrypted-keys/encrypted.c *master_keylen = upayload->datalen; datalen 610 security/keys/encrypted-keys/encrypted.c const char *datalen) datalen 621 security/keys/encrypted-keys/encrypted.c ret = kstrtol(datalen, 10, &dlen); datalen 649 security/keys/encrypted-keys/encrypted.c + strlen(datalen) + 1 + ivsize + 1 + encrypted_datalen; datalen 726 security/keys/encrypted-keys/encrypted.c const char *datalen) datalen 733 security/keys/encrypted-keys/encrypted.c epayload->datalen = epayload->master_desc + strlen(master_desc) + 1; datalen 734 security/keys/encrypted-keys/encrypted.c epayload->iv = epayload->datalen + strlen(datalen) + 1; datalen 749 security/keys/encrypted-keys/encrypted.c memcpy(epayload->datalen, datalen, strlen(datalen)); datalen 760 security/keys/encrypted-keys/encrypted.c const char *master_desc, const char *datalen, datalen 774 security/keys/encrypted-keys/encrypted.c __ekey_init(epayload, format, master_desc, datalen); datalen 802 security/keys/encrypted-keys/encrypted.c size_t datalen = prep->datalen; datalen 805 security/keys/encrypted-keys/encrypted.c if (datalen <= 0 || datalen > 32767 || !prep->data) datalen 808 security/keys/encrypted-keys/encrypted.c datablob = kmalloc(datalen + 1, GFP_KERNEL); datalen 811 security/keys/encrypted-keys/encrypted.c datablob[datalen] = 0; datalen 812 security/keys/encrypted-keys/encrypted.c memcpy(datablob, prep->data, datalen); datalen 861 security/keys/encrypted-keys/encrypted.c size_t datalen = prep->datalen; datalen 866 security/keys/encrypted-keys/encrypted.c if (datalen <= 0 || datalen > 32767 || !prep->data) datalen 869 security/keys/encrypted-keys/encrypted.c buf = kmalloc(datalen + 1, GFP_KERNEL); datalen 873 security/keys/encrypted-keys/encrypted.c buf[datalen] = 0; datalen 874 security/keys/encrypted-keys/encrypted.c memcpy(buf, prep->data, datalen); datalen 884 security/keys/encrypted-keys/encrypted.c new_master_desc, epayload->datalen); datalen 891 security/keys/encrypted-keys/encrypted.c epayload->datalen); datalen 292 security/keys/key.c key->datalen = type->def_datalen; datalen 369 security/keys/key.c int key_payload_reserve(struct key *key, size_t datalen) datalen 371 security/keys/key.c int delta = (int)datalen - key->datalen; datalen 397 security/keys/key.c key->datalen = datalen; datalen 496 security/keys/key.c size_t datalen, datalen 506 security/keys/key.c prep.datalen = datalen; datalen 853 security/keys/key.c prep.datalen = plen; datalen 1004 security/keys/key.c prep.datalen = plen; datalen 125 security/keys/keyring.c return prep->datalen != 0 ? -EINVAL : 0; datalen 1326 security/keys/keyring.c keyring->datalen + KEYQUOTA_LINK_BYTES); datalen 1390 security/keys/keyring.c keyring->datalen - KEYQUOTA_LINK_BYTES); datalen 1507 security/keys/keyring.c key_payload_reserve(keyring, keyring->datalen - KEYQUOTA_LINK_BYTES); datalen 86 security/keys/request_key_auth.c size_t datalen; datalen 92 security/keys/request_key_auth.c datalen = rka->callout_len; datalen 93 security/keys/request_key_auth.c ret = datalen; datalen 97 security/keys/request_key_auth.c if (buflen > datalen) datalen 98 security/keys/request_key_auth.c buflen = datalen; datalen 58 security/keys/trusted.c static int TSS_sha1(const unsigned char *data, unsigned int datalen, datalen 70 security/keys/trusted.c ret = crypto_shash_digest(&sdesc->shash, data, datalen, digest); datalen 469 security/keys/trusted.c const unsigned char *data, uint32_t datalen, datalen 508 security/keys/trusted.c datsize = htonl(datalen); datalen 523 security/keys/trusted.c sizeof(uint32_t), &datsize, datalen, data, 0, datalen 532 security/keys/trusted.c &datsize, datalen, data, 0, 0); datalen 540 security/keys/trusted.c store32(tb, TPM_SEAL_SIZE + pcrinfosize + datalen); datalen 546 security/keys/trusted.c store32(tb, datalen); datalen 547 security/keys/trusted.c storebytes(tb, data, datalen); datalen 586 security/keys/trusted.c unsigned char *data, unsigned int *datalen) datalen 652 security/keys/trusted.c *datalen = LOAD32(tb->data, TPM_DATA_OFFSET); datalen 657 security/keys/trusted.c *datalen, TPM_DATA_OFFSET + sizeof(uint32_t), 0, datalen 663 security/keys/trusted.c memcpy(data, tb->data + TPM_DATA_OFFSET + sizeof(uint32_t), *datalen); datalen 971 security/keys/trusted.c size_t datalen = prep->datalen; datalen 982 security/keys/trusted.c if (datalen <= 0 || datalen > 32767 || !prep->data) datalen 985 security/keys/trusted.c datablob = kmalloc(datalen + 1, GFP_KERNEL); datalen 988 security/keys/trusted.c memcpy(datablob, prep->data, datalen); datalen 989 security/keys/trusted.c datablob[datalen] = '\0'; datalen 1073 security/keys/trusted.c size_t datalen = prep->datalen; datalen 1082 security/keys/trusted.c if (datalen <= 0 || datalen > 32767 || !prep->data) datalen 1085 security/keys/trusted.c datablob = kmalloc(datalen + 1, GFP_KERNEL); datalen 1099 security/keys/trusted.c memcpy(datablob, prep->data, datalen); datalen 1100 security/keys/trusted.c datablob[datalen] = '\0'; datalen 62 security/keys/user_defined.c size_t datalen = prep->datalen; datalen 64 security/keys/user_defined.c if (datalen <= 0 || datalen > 32767 || !prep->data) datalen 67 security/keys/user_defined.c upayload = kmalloc(sizeof(*upayload) + datalen, GFP_KERNEL); datalen 72 security/keys/user_defined.c prep->quotalen = datalen; datalen 74 security/keys/user_defined.c upayload->datalen = datalen; datalen 75 security/keys/user_defined.c memcpy(upayload->data, prep->data, datalen); datalen 107 security/keys/user_defined.c ret = key_payload_reserve(key, prep->datalen); datalen 162 security/keys/user_defined.c seq_printf(m, ": %u", key->datalen); datalen 177 security/keys/user_defined.c ret = upayload->datalen; datalen 181 security/keys/user_defined.c if (buflen > upayload->datalen) datalen 182 security/keys/user_defined.c buflen = upayload->datalen; datalen 335 sound/usb/line6/driver.c unsigned datalen) datalen 342 sound/usb/line6/driver.c if (address > 0xffff || datalen > 0xff) datalen 352 sound/usb/line6/driver.c (datalen << 8) | 0x21, address, datalen 384 sound/usb/line6/driver.c } else if (*len != datalen) { datalen 388 sound/usb/line6/driver.c (int)datalen, (int)*len); datalen 395 sound/usb/line6/driver.c 0x0013, 0x0000, data, datalen, datalen 411 sound/usb/line6/driver.c unsigned datalen) datalen 418 sound/usb/line6/driver.c if (address > 0xffff || datalen > 0xffff) datalen 427 sound/usb/line6/driver.c 0x0022, address, data, datalen, datalen 184 sound/usb/line6/driver.h void *data, unsigned datalen); datalen 195 sound/usb/line6/driver.h void *data, unsigned datalen);