/linux/drivers/i2c/busses/ |
A D | i2c-viperboard.c | 126 len2 = 0x00; in vprbrd_i2c_read() 129 rmsg->header.len2 = 0x00; in vprbrd_i2c_read() 136 len2 = 0x00; in vprbrd_i2c_read() 139 rmsg->header.len2 = 0x00; in vprbrd_i2c_read() 146 len2 = 0x00; in vprbrd_i2c_read() 149 rmsg->header.len2 = 0xff; in vprbrd_i2c_read() 156 len2 = remain_len - 512; in vprbrd_i2c_read() 166 len2 = remain_len - 512; in vprbrd_i2c_read() 176 len2 = remain_len - 512; in vprbrd_i2c_read() 186 len2 = 512; in vprbrd_i2c_read() [all …]
|
/linux/tools/perf/util/ |
A D | levenshtein.c | 47 int len1 = strlen(string1), len2 = strlen(string2); in levenshtein() local 48 int *row0 = malloc(sizeof(int) * (len2 + 1)); in levenshtein() 49 int *row1 = malloc(sizeof(int) * (len2 + 1)); in levenshtein() 50 int *row2 = malloc(sizeof(int) * (len2 + 1)); in levenshtein() 53 for (j = 0; j <= len2; j++) in levenshtein() 59 for (j = 0; j < len2; j++) { in levenshtein() 81 i = row1[len2]; in levenshtein()
|
/linux/fs/hfsplus/ |
A D | unicode.c | 35 u16 len1, len2, c1, c2; in hfsplus_strcasecmp() local 39 len2 = be16_to_cpu(s2->length); in hfsplus_strcasecmp() 51 while (len2 && !c2) { in hfsplus_strcasecmp() 54 len2--; in hfsplus_strcasecmp() 68 u16 len1, len2, c1, c2; in hfsplus_strcmp() local 86 return len1 < len2 ? -1 : in hfsplus_strcmp() 87 len1 > len2 ? 1 : 0; in hfsplus_strcmp() 453 len2 = name->len; in hfsplus_compare_dentry() 476 len2 -= size; in hfsplus_compare_dentry() 515 if (len1 < len2) in hfsplus_compare_dentry() [all …]
|
/linux/arch/powerpc/kernel/ |
A D | sys_ppc32.c | 89 unsigned long len1, unsigned long len2) in compat_sys_truncate64() argument 91 return ksys_truncate(path, merge_64(len1, len2)); in compat_sys_truncate64() 95 u32 len1, u32 len2) in compat_sys_fallocate() argument 98 merge_64(len1, len2)); in compat_sys_fallocate() 102 unsigned long len2) in compat_sys_ftruncate64() argument 104 return ksys_ftruncate(fd, merge_64(len1, len2)); in compat_sys_ftruncate64()
|
/linux/lib/zlib_dfltcc/ |
A D | dfltcc_util.h | 32 size_t *len2, in dfltcc() argument 39 size_t t5 = len2 ? *len2 : 0; in dfltcc() 68 if (len2) in dfltcc() 69 *len2 = t5; in dfltcc()
|
/linux/fs/hfs/ |
A D | string.c | 77 const unsigned char *s2, unsigned int len2) in hfs_strcmp() argument 81 len = (len1 > len2) ? len2 : len1; in hfs_strcmp() 88 return len1 - len2; in hfs_strcmp()
|
/linux/include/linux/ |
A D | crc32.h | 34 static inline u32 crc32_le_combine(u32 crc1, u32 crc2, size_t len2) in crc32_le_combine() argument 36 return crc32_le_shift(crc1, len2) ^ crc2; in crc32_le_combine() 61 static inline u32 __crc32c_le_combine(u32 crc1, u32 crc2, size_t len2) in __crc32c_le_combine() argument 63 return __crc32c_le_shift(crc1, len2) ^ crc2; in __crc32c_le_combine()
|
/linux/arch/ia64/lib/ |
A D | clear_user.S | 32 #define len2 r21 macro 165 mov len2=len // for parallelization of error handling 170 (p6) adds len3=-8,len2 174 (p7) adds len2=-4,len3 178 (p6) adds len3=-2,len2 200 (p6) mov len=len2
|
A D | copy_user.S | 61 #define len2 r19 macro 83 adds len2=-1,len // br.ctop is repeat/until 104 mov ar.lc=len2 // initialize lc for small count
|
/linux/lib/ |
A D | crc32test.c | 721 u32 len1 = j, len2 = test[i].length - j; in crc32c_combine_test() local 726 len1, len2); in crc32c_combine_test() 728 if (!(crc_full == __crc32c_le_combine(crc1, crc2, len2) && in crc32c_combine_test() 809 u32 len1 = j, len2 = test[i].length - j; in crc32_combine_test() local 814 len1, len2); in crc32_combine_test() 816 if (!(crc_full == crc32_le_combine(crc1, crc2, len2) && in crc32_combine_test()
|
/linux/drivers/parport/ |
A D | probe.c | 218 size_t idlen, len2; in parport_read_device_id() local 229 len2 = len; in parport_read_device_id() 230 while(len2 < idlen && retval > 0) { in parport_read_device_id() 233 min(sizeof tmp, idlen-len2)); in parport_read_device_id() 236 len2 += retval; in parport_read_device_id()
|
/linux/arch/powerpc/include/asm/ |
A D | syscalls.h | 36 unsigned long len1, unsigned long len2); 38 long compat_sys_fallocate(int fd, int mode, u32 offset1, u32 offset2, u32 len1, u32 len2); 41 unsigned long len2);
|
/linux/kernel/debug/kdb/ |
A D | kdb_io.c | 518 int len1, len2; in kdb_search_string() local 522 len2 = strlen(searchfor); in kdb_search_string() 523 if (len1 < len2) in kdb_search_string() 525 if (kdb_grep_leading && kdb_grep_trailing && len1 != len2) in kdb_search_string() 528 if (!strncmp(searched, searchfor, len2)) in kdb_search_string() 531 if (!strncmp(searched+len1-len2, searchfor, len2)) in kdb_search_string() 537 if (!strncmp(cp, searchfor, len2)) in kdb_search_string()
|
/linux/drivers/media/tuners/ |
A D | tda18218.c | 16 int ret = 0, len2, remaining; in tda18218_wr_regs() local 35 len2 = remaining; in tda18218_wr_regs() 36 if (len2 > (priv->cfg->i2c_wr_max - 1)) in tda18218_wr_regs() 37 len2 = (priv->cfg->i2c_wr_max - 1); in tda18218_wr_regs() 39 msg[0].len = 1 + len2; in tda18218_wr_regs() 41 memcpy(&buf[1], &val[len - remaining], len2); in tda18218_wr_regs()
|
/linux/tools/testing/selftests/powerpc/ptrace/ |
A D | ptrace-hwbreak.c | 438 int len1, len2; in test_multi_sethwdebug_range() local 444 len2 = B_LEN; in test_multi_sethwdebug_range() 446 get_ppc_hw_breakpoint(&info2, PPC_BREAKPOINT_TRIGGER_READ, wp_addr2, len2); in test_multi_sethwdebug_range() 458 check_success(child_pid, name2, "RO", wp_addr2, len2); in test_multi_sethwdebug_range() 469 int len1, len2; in test_multi_sethwdebug_range_dawr_overlap() local 475 len2 = A_LEN; in test_multi_sethwdebug_range_dawr_overlap() 477 get_ppc_hw_breakpoint(&info2, PPC_BREAKPOINT_TRIGGER_READ, wp_addr2, len2); in test_multi_sethwdebug_range_dawr_overlap() 489 check_success(child_pid, name, "RO", wp_addr2, len2); in test_multi_sethwdebug_range_dawr_overlap()
|
/linux/fs/ntfs3/ |
A D | lznt.c | 51 size_t len1 = 0, len2 = 0; in longest_match_std() local 70 len2 = 3; in longest_match_std() 72 len2 += get_match_len(src + 3, ctx->unc_end, in longest_match_std() 77 if (len1 < len2) { in longest_match_std() 79 len1 = len2; in longest_match_std()
|
/linux/include/linux/mfd/ |
A D | viperboard.h | 52 u8 len2; member 63 u8 len2; member
|
/linux/drivers/media/dvb-frontends/ |
A D | nxt200x.c | 143 u8 attr, len2, buf; in nxt200x_writereg_multibyte() local 154 len2 = len; in nxt200x_writereg_multibyte() 166 len2 = ((attr << 4) | 0x10) | len; in nxt200x_writereg_multibyte() 174 nxt200x_writebytes(state, 0x34, &len2, 1); in nxt200x_writereg_multibyte() 202 u8 buf, len2, attr; in nxt200x_readreg_multibyte() local 211 len2 = len & 0x80; in nxt200x_readreg_multibyte() 212 nxt200x_writebytes(state, 0x34, &len2, 1); in nxt200x_readreg_multibyte() 227 len2 = (attr << 4) | len; in nxt200x_readreg_multibyte() 228 nxt200x_writebytes(state, 0x34, &len2, 1); in nxt200x_readreg_multibyte()
|
/linux/fs/nfs/blocklayout/ |
A D | extent_tree.c | 181 sector_t len1 = 0, len2 = 0; in __ext_tree_remove() local 197 len2 = ext_f_end(be) - end; in __ext_tree_remove() 199 if (len2 > 0) { in __ext_tree_remove() 212 orig_v_offset + orig_len - len2; in __ext_tree_remove() 214 new->be_length = len2; in __ext_tree_remove() 224 orig_v_offset + orig_len - len2; in __ext_tree_remove() 226 be->be_length = len2; in __ext_tree_remove()
|
/linux/tools/accounting/ |
A D | getdelays.c | 264 int c, rc, rep_len, aggr_len, len2; in main() local 483 len2 = 0; in main() 487 while (len2 < aggr_len) { in main() 523 len2 += NLA_ALIGN(na->nla_len); in main()
|
/linux/drivers/dax/ |
A D | super.c | 132 long len, len2; in generic_fsdax_supported() local 160 len2 = dax_direct_access(dax_dev, pgoff_end, 1, &end_kaddr, &end_pfn); in generic_fsdax_supported() 162 if (len < 1 || len2 < 1) { in generic_fsdax_supported() 164 bdev, len < 1 ? len : len2); in generic_fsdax_supported()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | dwxgmac2_descs.c | 182 int len1, int len2, bool tx_own, in dwxgmac2_prepare_tso_tx_desc() argument 190 if (len2) in dwxgmac2_prepare_tso_tx_desc() 191 p->des2 |= cpu_to_le32((len2 << XGMAC_TDES2_B2L_SHIFT) & in dwxgmac2_prepare_tso_tx_desc()
|
A D | dwmac4_descs.c | 350 int len1, int len2, bool tx_own, in dwmac4_rd_prepare_tso_tx_desc() argument 359 if (len2) in dwmac4_rd_prepare_tso_tx_desc() 360 p->des2 |= cpu_to_le32((len2 << TDES2_BUFFER2_SIZE_MASK_SHIFT) in dwmac4_rd_prepare_tso_tx_desc()
|
/linux/kernel/trace/ |
A D | trace_selftest.c | 189 int len2; in trace_selftest_ops() local 202 len2 = strlen(func2_name); in trace_selftest_ops() 210 ftrace_set_filter(&test_probe2, func2_name, len2, 1); in trace_selftest_ops() 212 ftrace_set_filter(&test_probe3, func2_name, len2, 0); in trace_selftest_ops()
|
/linux/fs/ext4/ |
A D | extents_status.c | 1310 ext4_lblk_t len1, len2; in __es_remove_extent() local 1337 len2 = ext4_es_end(es) > end ? ext4_es_end(es) - end : 0; in __es_remove_extent() 1340 if (len2 > 0) { in __es_remove_extent() 1345 newes.es_len = len2; in __es_remove_extent() 1350 orig_es.es_len - len2; in __es_remove_extent() 1365 es->es_len = len2; in __es_remove_extent() 1368 block = orig_es.es_pblk + orig_es.es_len - len2; in __es_remove_extent() 1373 count_rsvd(inode, lblk, orig_es.es_len - len1 - len2, in __es_remove_extent()
|