len2 169 arch/sparc/kernel/ptrace_64.c int len2 = access_process_vm(target, uaddr, kbuf, len, len2 171 arch/sparc/kernel/ptrace_64.c if (len2 != len) len2 184 arch/sparc/kernel/ptrace_64.c int len2 = access_process_vm(target, uaddr, kbuf, len, len2 186 arch/sparc/kernel/ptrace_64.c if (len2 != len) len2 77 drivers/crypto/cavium/cpt/cptvf_reqmanager.c sg_ptr->u.s.len2 = cpu_to_be16(list[i * 4 + 2].size); len2 90 drivers/crypto/cavium/cpt/cptvf_reqmanager.c sg_ptr->u.s.len2 = cpu_to_be16(list[i * 4 + 2].size); len2 78 drivers/crypto/cavium/cpt/request_manager.h u16 len2; len2 322 drivers/crypto/mediatek/mtk-sha.c size_t len1, size_t len2) len2 328 drivers/crypto/mediatek/mtk-sha.c ctx->ct_hdr |= cpu_to_le32(len1 + len2); len2 330 drivers/crypto/mediatek/mtk-sha.c info->cmd[0] |= cpu_to_le32(len1 + len2); len2 423 drivers/crypto/mediatek/mtk-sha.c dma_addr_t addr2, size_t len2) len2 430 drivers/crypto/mediatek/mtk-sha.c err = mtk_sha_info_update(cryp, sha, len1, len2); len2 445 drivers/crypto/mediatek/mtk-sha.c if (len2) { len2 448 drivers/crypto/mediatek/mtk-sha.c res->hdr = MTK_DESC_BUF_LEN(len2); len2 449 drivers/crypto/mediatek/mtk-sha.c cmd->hdr = MTK_DESC_BUF_LEN(len2); len2 132 drivers/crypto/sahara.c u32 len2; len2 415 drivers/crypto/sahara.c dev_dbg(dev->device, "\tlen2 = %u\n", dev->hw_desc[i]->len2); len2 461 drivers/crypto/sahara.c dev->hw_desc[idx]->len2 = ctx->keylen; len2 530 drivers/crypto/sahara.c dev->hw_desc[idx]->len2 = dev->total; len2 871 drivers/crypto/sahara.c dev->hw_desc[index]->len2 = result_len; len2 896 drivers/crypto/sahara.c dev->hw_desc[index]->len2 = 0; len2 79 drivers/dax/super.c long len, len2; len2 105 drivers/dax/super.c len2 = dax_direct_access(dax_dev, pgoff_end, 1, &end_kaddr, &end_pfn); len2 108 drivers/dax/super.c if (len < 1 || len2 < 1) { len2 110 drivers/dax/super.c bdevname(bdev, buf), len < 1 ? len : len2); len2 116 drivers/i2c/busses/i2c-viperboard.c u16 remain_len, len1, len2, start = 0x0000; len2 126 drivers/i2c/busses/i2c-viperboard.c len2 = 0x00; len2 129 drivers/i2c/busses/i2c-viperboard.c rmsg->header.len2 = 0x00; len2 136 drivers/i2c/busses/i2c-viperboard.c len2 = 0x00; len2 139 drivers/i2c/busses/i2c-viperboard.c rmsg->header.len2 = 0x00; len2 146 drivers/i2c/busses/i2c-viperboard.c len2 = 0x00; len2 149 drivers/i2c/busses/i2c-viperboard.c rmsg->header.len2 = 0xff; len2 156 drivers/i2c/busses/i2c-viperboard.c len2 = remain_len - 512; len2 159 drivers/i2c/busses/i2c-viperboard.c rmsg->header.len2 = 0xff; len2 166 drivers/i2c/busses/i2c-viperboard.c len2 = remain_len - 512; len2 169 drivers/i2c/busses/i2c-viperboard.c rmsg->header.len2 = 0xff; len2 176 drivers/i2c/busses/i2c-viperboard.c len2 = remain_len - 512; len2 179 drivers/i2c/busses/i2c-viperboard.c rmsg->header.len2 = 0xff; len2 186 drivers/i2c/busses/i2c-viperboard.c len2 = 512; len2 189 drivers/i2c/busses/i2c-viperboard.c rmsg->header.len2 = 0xff; len2 197 drivers/i2c/busses/i2c-viperboard.c rmsg->header.tf2 = cpu_to_le16(len2); len2 207 drivers/i2c/busses/i2c-viperboard.c if (len2 > 0) { len2 208 drivers/i2c/busses/i2c-viperboard.c ret = vprbrd_i2c_receive(vb->usb_dev, rmsg, len2); len2 212 drivers/i2c/busses/i2c-viperboard.c memcpy(msg->buf + start + 512, rmsg, len2); len2 235 drivers/i2c/busses/i2c-viperboard.c wmsg->header.len2 = 0xf8; len2 241 drivers/i2c/busses/i2c-viperboard.c wmsg->header.len2 = (remain_len - 255); len2 247 drivers/i2c/busses/i2c-viperboard.c wmsg->header.len2 = 0x00; len2 10082 drivers/infiniband/hw/hfi1/chip.c u64 len1 = 0, len2 = (((dd->vld[15].mtu + max_hb) >> 2) len2 10096 drivers/infiniband/hw/hfi1/chip.c len2 |= (((dd->vld[i].mtu + max_hb) >> 2) len2 10101 drivers/infiniband/hw/hfi1/chip.c write_csr(dd, SEND_LEN_CHECK1, len2); len2 143 drivers/media/dvb-frontends/nxt200x.c u8 attr, len2, buf; len2 154 drivers/media/dvb-frontends/nxt200x.c len2 = len; len2 166 drivers/media/dvb-frontends/nxt200x.c len2 = ((attr << 4) | 0x10) | len; len2 175 drivers/media/dvb-frontends/nxt200x.c nxt200x_writebytes(state, 0x34, &len2, 1); len2 204 drivers/media/dvb-frontends/nxt200x.c u8 buf, len2, attr; len2 213 drivers/media/dvb-frontends/nxt200x.c len2 = len & 0x80; len2 214 drivers/media/dvb-frontends/nxt200x.c nxt200x_writebytes(state, 0x34, &len2, 1); len2 230 drivers/media/dvb-frontends/nxt200x.c len2 = (attr << 4) | len; len2 231 drivers/media/dvb-frontends/nxt200x.c nxt200x_writebytes(state, 0x34, &len2, 1); len2 16 drivers/media/tuners/tda18218.c int ret = 0, len2, remaining; len2 35 drivers/media/tuners/tda18218.c len2 = remaining; len2 36 drivers/media/tuners/tda18218.c if (len2 > (priv->cfg->i2c_wr_max - 1)) len2 37 drivers/media/tuners/tda18218.c len2 = (priv->cfg->i2c_wr_max - 1); len2 39 drivers/media/tuners/tda18218.c msg[0].len = 1 + len2; len2 41 drivers/media/tuners/tda18218.c memcpy(&buf[1], &val[len - remaining], len2); len2 254 drivers/mtd/ubi/vtbl.c int len2 = be16_to_cpu(vtbl[n].name_len); len2 256 drivers/mtd/ubi/vtbl.c if (len1 > 0 && len1 == len2 && len2 28 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h u32 len2; len2 348 drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c int len1, int len2, bool tx_own, len2 357 drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c if (len2) len2 358 drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c p->des2 |= cpu_to_le32((len2 << TDES2_BUFFER2_SIZE_MASK_SHIFT) len2 182 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c int len1, int len2, bool tx_own, len2 190 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c if (len2) len2 191 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c p->des2 |= cpu_to_le32((len2 << XGMAC_TDES2_B2L_SHIFT) & len2 45 drivers/net/ethernet/stmicro/stmmac/hwif.h int len2, bool tx_own, bool ls, unsigned int tcphdrlen, len2 732 drivers/net/ppp/bsd_comp.c unsigned short *len2 = lens_ptr (db, ent); len2 733 drivers/net/ppp/bsd_comp.c *len1 = *len2 + 1; len2 761 drivers/net/wan/sdla.c short dlci, len, len2, split; len2 852 drivers/net/wan/sdla.c len2 = len - split; len2 854 drivers/net/wan/sdla.c __sdla_read(dev, addr, skb_put(skb, len2), len2); len2 227 drivers/parport/probe.c size_t idlen, len2; len2 238 drivers/parport/probe.c len2 = len; len2 239 drivers/parport/probe.c while(len2 < idlen && retval > 0) { len2 242 drivers/parport/probe.c min(sizeof tmp, idlen-len2)); len2 245 drivers/parport/probe.c len2 += retval; len2 522 drivers/staging/isdn/hysdn/hycapi.c __u16 len2, CapiCmd; len2 541 drivers/staging/isdn/hysdn/hycapi.c len2 = len + (30 - MsgLen); len2 542 drivers/staging/isdn/hysdn/hycapi.c if (!(skb = alloc_skb(len2, GFP_ATOMIC))) { len2 3431 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c int len2 = scnprintf(remoteport, sizeof(remoteport), len2 3435 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c scnprintf(remoteport + len2, len2 3436 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c sizeof(remoteport) - len2, len2 289 drivers/staging/wilc1000/wilc_spi.c u32 len2; len2 401 drivers/staging/wilc1000/wilc_spi.c len2 = len + (NUM_SKIP_BYTES + NUM_RSP_BYTES + NUM_DUMMY_BYTES); len2 406 drivers/staging/wilc1000/wilc_spi.c len2 = len + tmp + NUM_CRC_BYTES; len2 408 drivers/staging/wilc1000/wilc_spi.c len2 = len + tmp; len2 410 drivers/staging/wilc1000/wilc_spi.c len2 = len + (NUM_RSP_BYTES + NUM_DUMMY_BYTES); len2 414 drivers/staging/wilc1000/wilc_spi.c if (len2 > ARRAY_SIZE(wb)) { len2 416 drivers/staging/wilc1000/wilc_spi.c len2, ARRAY_SIZE(wb)); len2 420 drivers/staging/wilc1000/wilc_spi.c for (wix = len; wix < len2; wix++) len2 424 drivers/staging/wilc1000/wilc_spi.c if (wilc_spi_tx_rx(wilc, wb, rb, len2)) { len2 465 drivers/staging/wilc1000/wilc_spi.c if (rix < len2) { len2 486 drivers/staging/wilc1000/wilc_spi.c if ((rix + 3) < len2) { len2 501 drivers/staging/wilc1000/wilc_spi.c if ((rix + 1) < len2) { len2 514 drivers/staging/wilc1000/wilc_spi.c for (ix = 0; (rix < len2) && (ix < sz); ) len2 526 drivers/tty/moxa.c size_t wlen, len2, j; len2 563 drivers/tty/moxa.c len2 = (wlen > 2048) ? 2048 : wlen; len2 564 drivers/tty/moxa.c wlen -= len2; len2 565 drivers/tty/moxa.c memcpy_toio(baseAddr + loadbuf, ptr + j, len2 << 1); len2 566 drivers/tty/moxa.c j += len2 << 1; len2 568 drivers/tty/moxa.c writew(len2, baseAddr + loadlen); len2 1197 drivers/usb/core/devio.c int len2; len2 1235 drivers/usb/core/devio.c i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); len2 1237 drivers/usb/core/devio.c snoop_urb(dev, NULL, pipe, len2, i, COMPLETE, tbuf, len2); len2 1239 drivers/usb/core/devio.c if (!i && len2) { len2 1240 drivers/usb/core/devio.c if (copy_to_user(bulk.data, tbuf, len2)) { len2 1255 drivers/usb/core/devio.c i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); len2 1257 drivers/usb/core/devio.c snoop_urb(dev, NULL, pipe, len2, i, COMPLETE, NULL, 0); len2 1259 drivers/usb/core/devio.c ret = (i < 0 ? i : len2); len2 3682 fs/btrfs/send.c int len1, len2; len2 3736 fs/btrfs/send.c len2 = fs_path_len(path_after); len2 3738 fs/btrfs/send.c (parent_ino_before != parent_ino_after || len1 != len2 || len2 6628 fs/btrfs/send.c int len1, len2; len2 6632 fs/btrfs/send.c len2 = btrfs_item_size_nr(right_path->nodes[0], right_path->slots[0]); len2 6633 fs/btrfs/send.c if (len1 != len2) len2 1292 fs/ext4/extents_status.c ext4_lblk_t len1, len2; len2 1319 fs/ext4/extents_status.c len2 = ext4_es_end(es) > end ? ext4_es_end(es) - end : 0; len2 1322 fs/ext4/extents_status.c if (len2 > 0) { len2 1327 fs/ext4/extents_status.c newes.es_len = len2; len2 1332 fs/ext4/extents_status.c orig_es.es_len - len2; len2 1347 fs/ext4/extents_status.c es->es_len = len2; len2 1350 fs/ext4/extents_status.c block = orig_es.es_pblk + orig_es.es_len - len2; len2 1355 fs/ext4/extents_status.c count_rsvd(inode, lblk, orig_es.es_len - len1 - len2, len2 77 fs/hfs/string.c const unsigned char *s2, unsigned int len2) len2 81 fs/hfs/string.c len = (len1 > len2) ? len2 : len1; len2 88 fs/hfs/string.c return len1 - len2; len2 35 fs/hfsplus/unicode.c u16 len1, len2, c1, c2; len2 39 fs/hfsplus/unicode.c len2 = be16_to_cpu(s2->length); len2 51 fs/hfsplus/unicode.c while (len2 && !c2) { len2 54 fs/hfsplus/unicode.c len2--; len2 68 fs/hfsplus/unicode.c u16 len1, len2, c1, c2; len2 73 fs/hfsplus/unicode.c len2 = be16_to_cpu(s2->length); len2 77 fs/hfsplus/unicode.c for (len = min(len1, len2); len > 0; len--) { len2 86 fs/hfsplus/unicode.c return len1 < len2 ? -1 : len2 87 fs/hfsplus/unicode.c len1 > len2 ? 1 : 0; len2 441 fs/hfsplus/unicode.c int dsize1, dsize2, len1, len2; len2 453 fs/hfsplus/unicode.c len2 = name->len; len2 457 fs/hfsplus/unicode.c while (len1 > 0 && len2 > 0) { len2 474 fs/hfsplus/unicode.c size = asc2unichar(sb, astr2, len2, &c); len2 476 fs/hfsplus/unicode.c len2 -= size; len2 515 fs/hfsplus/unicode.c if (len1 < len2) len2 517 fs/hfsplus/unicode.c if (len1 > len2) len2 181 fs/nfs/blocklayout/extent_tree.c sector_t len1 = 0, len2 = 0; len2 197 fs/nfs/blocklayout/extent_tree.c len2 = ext_f_end(be) - end; len2 199 fs/nfs/blocklayout/extent_tree.c if (len2 > 0) { len2 212 fs/nfs/blocklayout/extent_tree.c orig_v_offset + orig_len - len2; len2 214 fs/nfs/blocklayout/extent_tree.c new->be_length = len2; len2 224 fs/nfs/blocklayout/extent_tree.c orig_v_offset + orig_len - len2; len2 226 fs/nfs/blocklayout/extent_tree.c be->be_length = len2; len2 979 fs/nfsd/nfs3xdr.c int len1, len2; len2 1022 fs/nfsd/nfs3xdr.c len2 = (num_entry_words << 2) - len1; len2 1026 fs/nfsd/nfs3xdr.c memmove(tmp, (caddr_t)tmp+len1, len2); len2 1028 fs/nfsd/nfs3xdr.c p = tmp + (len2 >> 2); len2 93 fs/proc/proc_sysctl.c static int namecmp(const char *name1, int len1, const char *name2, int len2) len2 99 fs/proc/proc_sysctl.c if (minlen > len2) len2 100 fs/proc/proc_sysctl.c minlen = len2; len2 104 fs/proc/proc_sysctl.c cmp = len1 - len2; len2 1789 fs/ubifs/journal.c int err, len1, len2, aligned_len, aligned_len1, lnum, offs; len2 1803 fs/ubifs/journal.c len2 = UBIFS_INO_NODE_SZ + ubifs_inode(inode)->data_len; len2 1805 fs/ubifs/journal.c aligned_len = aligned_len1 + ALIGN(len2, 8); len2 1846 fs/ubifs/journal.c err = ubifs_tnc_add(c, &key, lnum, offs + aligned_len1, len2, hash); len2 34 fs/udf/namei.c static inline int udf_match(int len1, const unsigned char *name1, int len2, len2 37 fs/udf/namei.c if (len1 != len2) len2 4660 fs/xfs/libxfs/xfs_bmap.c xfs_filblks_t len2 = *indlen2; len2 4661 fs/xfs/libxfs/xfs_bmap.c xfs_filblks_t nres = len1 + len2; /* new total res. */ len2 4689 fs/xfs/libxfs/xfs_bmap.c len2 *= resfactor; len2 4690 fs/xfs/libxfs/xfs_bmap.c do_div(len2, 100); len2 4691 fs/xfs/libxfs/xfs_bmap.c ASSERT(len1 + len2 <= ores); len2 4692 fs/xfs/libxfs/xfs_bmap.c ASSERT(len1 < *indlen1 && len2 < *indlen2); len2 4700 fs/xfs/libxfs/xfs_bmap.c ores -= (len1 + len2); len2 4701 fs/xfs/libxfs/xfs_bmap.c ASSERT((*indlen1 - len1) + (*indlen2 - len2) >= ores); len2 4702 fs/xfs/libxfs/xfs_bmap.c if (ores && !len2 && *indlen2) { len2 4703 fs/xfs/libxfs/xfs_bmap.c len2++; len2 4713 fs/xfs/libxfs/xfs_bmap.c if (len2 < *indlen2) { len2 4714 fs/xfs/libxfs/xfs_bmap.c len2++; len2 4720 fs/xfs/libxfs/xfs_bmap.c *indlen2 = len2; len2 34 include/linux/crc32.h static inline u32 crc32_le_combine(u32 crc1, u32 crc2, size_t len2) len2 36 include/linux/crc32.h return crc32_le_shift(crc1, len2) ^ crc2; len2 61 include/linux/crc32.h static inline u32 __crc32c_le_combine(u32 crc1, u32 crc2, size_t len2) len2 63 include/linux/crc32.h return __crc32c_le_shift(crc1, len2) ^ crc2; len2 52 include/linux/mfd/viperboard.h u8 len2; len2 63 include/linux/mfd/viperboard.h u8 len2; len2 528 kernel/debug/kdb/kdb_io.c int len1, len2; len2 532 kernel/debug/kdb/kdb_io.c len2 = strlen(searchfor); len2 533 kernel/debug/kdb/kdb_io.c if (len1 < len2) len2 535 kernel/debug/kdb/kdb_io.c if (kdb_grep_leading && kdb_grep_trailing && len1 != len2) len2 538 kernel/debug/kdb/kdb_io.c if (!strncmp(searched, searchfor, len2)) len2 541 kernel/debug/kdb/kdb_io.c if (!strncmp(searched+len1-len2, searchfor, len2)) len2 547 kernel/debug/kdb/kdb_io.c if (!strncmp(cp, searchfor, len2)) len2 192 kernel/trace/trace_selftest.c int len2; len2 205 kernel/trace/trace_selftest.c len2 = strlen(func2_name); len2 213 kernel/trace/trace_selftest.c ftrace_set_filter(&test_probe2, func2_name, len2, 1); len2 215 kernel/trace/trace_selftest.c ftrace_set_filter(&test_probe3, func2_name, len2, 0); len2 723 lib/crc32test.c u32 len1 = j, len2 = test[i].length - j; len2 728 lib/crc32test.c len1, len2); len2 730 lib/crc32test.c if (!(crc_full == __crc32c_le_combine(crc1, crc2, len2) && len2 813 lib/crc32test.c u32 len1 = j, len2 = test[i].length - j; len2 818 lib/crc32test.c len1, len2); len2 820 lib/crc32test.c if (!(crc_full == crc32_le_combine(crc1, crc2, len2) && len2 1285 security/selinux/ss/policydb.c u32 len, len2, ncons, nel; len2 1297 security/selinux/ss/policydb.c len2 = le32_to_cpu(buf[1]); len2 1312 security/selinux/ss/policydb.c if (len2) { len2 1313 security/selinux/ss/policydb.c rc = str_read(&cladatum->comkey, GFP_KERNEL, fp, len2); len2 1958 security/selinux/ss/policydb.c u32 nel, nel2, len, len2; len2 2044 security/selinux/ss/policydb.c len2 = strlen(c->u.name); len2 2045 security/selinux/ss/policydb.c if (len > len2) len2 2863 security/selinux/ss/policydb.c size_t len, len2; len2 2868 security/selinux/ss/policydb.c len2 = strlen(cladatum->comkey); len2 2870 security/selinux/ss/policydb.c len2 = 0; len2 2877 security/selinux/ss/policydb.c buf[1] = cpu_to_le32(len2); len2 2894 security/selinux/ss/policydb.c rc = put_entry(cladatum->comkey, 1, len2, fp); len2 264 tools/accounting/getdelays.c int c, rc, rep_len, aggr_len, len2; len2 483 tools/accounting/getdelays.c len2 = 0; len2 487 tools/accounting/getdelays.c while (len2 < aggr_len) { len2 523 tools/accounting/getdelays.c len2 += NLA_ALIGN(na->nla_len); len2 533 tools/perf/builtin-record.c size_t len1, void *data2, size_t len2) len2 555 tools/perf/builtin-record.c padding = (len1 + len2) & 7; len2 561 tools/perf/builtin-record.c if (len2) len2 562 tools/perf/builtin-record.c record__write(rec, map, data2, len2); len2 1239 tools/perf/util/auxtrace.c size_t size, head_off, old_off, len1, len2, padding; len2 1292 tools/perf/util/auxtrace.c len2 = head_off; len2 1297 tools/perf/util/auxtrace.c len2 = 0; len2 1323 tools/perf/util/auxtrace.c if (fn(tool, map, &ev, data1, len1, data2, len2)) len2 450 tools/perf/util/auxtrace.h size_t len1, void *data2, size_t len2); len2 47 tools/perf/util/levenshtein.c int len1 = strlen(string1), len2 = strlen(string2); len2 48 tools/perf/util/levenshtein.c int *row0 = malloc(sizeof(int) * (len2 + 1)); len2 49 tools/perf/util/levenshtein.c int *row1 = malloc(sizeof(int) * (len2 + 1)); len2 50 tools/perf/util/levenshtein.c int *row2 = malloc(sizeof(int) * (len2 + 1)); len2 53 tools/perf/util/levenshtein.c for (j = 0; j <= len2; j++) len2 59 tools/perf/util/levenshtein.c for (j = 0; j < len2; j++) { len2 81 tools/perf/util/levenshtein.c i = row1[len2]; len2 206 tools/testing/selftests/bpf/test_sockmap_kern.h int *bytes, len1, len2 = 0, len3, len4; len2 227 tools/testing/selftests/bpf/test_sockmap_kern.h len2 = (__u64)msg->data_end - (__u64)msg->data; len2 229 tools/testing/selftests/bpf/test_sockmap_kern.h len1, len2); len2 245 tools/testing/selftests/bpf/test_sockmap_kern.h len2 ? len2 : len1, len3); len2 313 tools/testing/selftests/bpf/test_sockmap_kern.h int len1, len2 = 0, len3, len4; len2 335 tools/testing/selftests/bpf/test_sockmap_kern.h len2 = (__u64)msg->data_end - (__u64)msg->data; len2 337 tools/testing/selftests/bpf/test_sockmap_kern.h len1, len2); len2 352 tools/testing/selftests/bpf/test_sockmap_kern.h len2 ? len2 : len1, len3);