/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-viperboard.c | 116 u16 remain_len, len1, len2, start = 0x0000; in vprbrd_i2c_read() local 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() 159 rmsg->header.len2 = 0xff; in vprbrd_i2c_read() 166 len2 in vprbrd_i2c_read() [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-viperboard.c | 116 u16 remain_len, len1, len2, start = 0x0000; in vprbrd_i2c_read() local 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() 159 rmsg->header.len2 = 0xff; in vprbrd_i2c_read() 166 len2 in vprbrd_i2c_read() [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H 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()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H 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()
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
H 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 73 len2 = be16_to_cpu(s2->length); in hfsplus_strcmp() 77 for (len = min(len1, len2); len > 0; len--) { in hfsplus_strcmp() 86 return len1 < len2 ? -1 : in hfsplus_strcmp() 87 len1 > len2 ? 1 : 0; in hfsplus_strcmp() 441 int dsize1, dsize2, len1, len2; in hfsplus_compare_dentry() local [all...] |
/kernel/linux/linux-6.6/fs/hfsplus/ |
H 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 73 len2 = be16_to_cpu(s2->length); in hfsplus_strcmp() 77 for (len = min(len1, len2); len > 0; len--) { in hfsplus_strcmp() 86 return len1 < len2 ? -1 : in hfsplus_strcmp() 87 len1 > len2 ? 1 : 0; in hfsplus_strcmp() 441 int dsize1, dsize2, len1, len2; in hfsplus_compare_dentry() local [all...] |
/kernel/linux/linux-5.10/lib/zlib_dfltcc/ |
H A D | dfltcc_util.h | 32 size_t *len2, in dfltcc() 39 size_t t5 = len2 ? *len2 : 0; in dfltcc() 68 if (len2) in dfltcc() 69 *len2 = t5; in dfltcc() 26 dfltcc( int fn, void *param, Byte **op1, size_t *len1, const Byte **op2, size_t *len2, void *hist ) dfltcc() argument
|
/kernel/linux/linux-6.6/lib/zlib_dfltcc/ |
H A D | dfltcc_util.h | 32 size_t *len2, in dfltcc() 39 size_t t5 = len2 ? *len2 : 0; in dfltcc() 68 if (len2) in dfltcc() 69 *len2 = t5; in dfltcc() 26 dfltcc( int fn, void *param, Byte **op1, size_t *len1, const Byte **op2, size_t *len2, void *hist ) dfltcc() argument
|
/kernel/liteos_a/testsuites/unittest/libc/io/full/ |
H A D | It_stdio_mbrlen_001.cpp | 40 int len1, len2, len3; in Testcase() local 49 len2 = mbrlen(str + 1, sz - 1, &mb); in Testcase() 50 ICUNIT_GOTO_EQUAL(len2, 2, len2, EXIT); // 2, except return value in Testcase()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | crc32.h | 17 * and len2, crc32_le() check values were calculated 22 * @len2: length of the second block 25 * requiring only crc1, crc2, and len2. Note: If seq_full denotes 28 * crc32_le_combine(crc1, crc2, len2) when crc_full was seeded 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() 44 * and len2, __crc32c_le() check values were calculated 49 * @len2: length of the second block 52 * requiring only crc1, crc2, and len2. Note: If seq_full denotes 55 * __crc32c_le_combine(crc1, crc2, len2) whe 61 __crc32c_le_combine(u32 crc1, u32 crc2, size_t len2) __crc32c_le_combine() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | crc32.h | 17 * and len2, crc32_le() check values were calculated 22 * @len2: length of the second block 25 * requiring only crc1, crc2, and len2. Note: If seq_full denotes 28 * crc32_le_combine(crc1, crc2, len2) when crc_full was seeded 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() 44 * and len2, __crc32c_le() check values were calculated 49 * @len2: length of the second block 52 * requiring only crc1, crc2, and len2. Note: If seq_full denotes 55 * __crc32c_le_combine(crc1, crc2, len2) whe 61 __crc32c_le_combine(u32 crc1, u32 crc2, size_t len2) __crc32c_le_combine() argument [all...] |
/kernel/linux/linux-5.10/arch/ia64/lib/ |
H A D | clear_user.S | 32 #define len2 r21 define 99 // The use of len/len2 for countdown of the number of bytes left 159 // We alternate the use of len3,len2 to allow parallelism and correct 161 // The addition of len2/len3 does not cost anything more compared to 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 195 // if p6 -> coming from st8 or st2 : len2 contains what's left 200 (p6) mov len=len2 [all...] |
/kernel/linux/linux-6.6/arch/ia64/lib/ |
H A D | clear_user.S | 32 #define len2 r21 define 99 // The use of len/len2 for countdown of the number of bytes left 159 // We alternate the use of len3,len2 to allow parallelism and correct 161 // The addition of len2/len3 does not cost anything more compared to 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 195 // if p6 -> coming from st8 or st2 : len2 contains what's left 200 (p6) mov len=len2 [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | sys_ppc32.c | 95 unsigned long, len1, unsigned long, len2) in PPC32_SYSCALL_DEFINE4() 97 return ksys_truncate(path, merge_64(len1, len2)); in PPC32_SYSCALL_DEFINE4() 102 unsigned long, len1, unsigned long, len2) in PPC32_SYSCALL_DEFINE4() 104 return ksys_ftruncate(fd, merge_64(len1, len2)); in PPC32_SYSCALL_DEFINE4() 129 u32, offset1, u32, offset2, u32, len1, u32, len2) in SYSCALL_DEFINE6() 133 merge_64(len1, len2)); in SYSCALL_DEFINE6()
|
/kernel/linux/linux-6.6/fs/udf/ |
H A D | directory.c | 323 static void udf_copy_to_bufs(void *buf1, int len1, void *buf2, int len2, in udf_copy_to_bufs() argument 338 if (WARN_ON_ONCE(off + len > len2 || !buf2)) in udf_copy_to_bufs() 344 static uint16_t udf_crc_fi_bufs(void *buf1, int len1, void *buf2, int len2, in udf_crc_fi_bufs() argument 359 if (WARN_ON_ONCE(off + len > len2 || !buf2)) in udf_crc_fi_bufs() 366 static void udf_copy_fi_to_bufs(char *buf1, int len1, char *buf2, int len2, in udf_copy_fi_to_bufs() argument 377 udf_copy_to_bufs(buf1, len1, buf2, len2, off, fi, in udf_copy_fi_to_bufs() 381 udf_copy_to_bufs(buf1, len1, buf2, len2, off, impuse, in udf_copy_fi_to_bufs() 385 udf_copy_to_bufs(buf1, len1, buf2, len2, off, name, in udf_copy_fi_to_bufs() 388 udf_copy_to_bufs(buf1, len1, buf2, len2, off, zeros, in udf_copy_fi_to_bufs() 392 crc = udf_crc_fi_bufs(buf1, len1, buf2, len2, crcof in udf_copy_fi_to_bufs() 404 int len1, len2 = 0, off; udf_fiiter_write_fi() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | syscalls.h | 102 unsigned long len1, unsigned long len2); 104 unsigned long len1, unsigned long len2); 113 u32 len1, u32 len2); 128 unsigned long len1, unsigned long len2); 130 unsigned long len1, unsigned long len2);
|
/kernel/linux/linux-5.10/drivers/parport/ |
H A D | probe.c | 223 size_t idlen, len2; in parport_read_device_id() local 234 len2 = len; in parport_read_device_id() 235 while(len2 < idlen && retval > 0) { in parport_read_device_id() 238 min(sizeof tmp, idlen-len2)); in parport_read_device_id() 241 len2 += retval; in parport_read_device_id()
|
/kernel/linux/linux-6.6/drivers/parport/ |
H 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()
|
/kernel/linux/linux-5.10/drivers/media/tuners/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/media/tuners/ |
H 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()
|
/kernel/linux/linux-5.10/kernel/debug/kdb/ |
H A D | kdb_io.c | 523 int len1, len2; in kdb_search_string() local 527 len2 = strlen(searchfor); in kdb_search_string() 528 if (len1 < len2) in kdb_search_string() 530 if (kdb_grep_leading && kdb_grep_trailing && len1 != len2) in kdb_search_string() 533 if (!strncmp(searched, searchfor, len2)) in kdb_search_string() 536 if (!strncmp(searched+len1-len2, searchfor, len2)) in kdb_search_string() 542 if (!strncmp(cp, searchfor, len2)) in kdb_search_string()
|
/kernel/linux/linux-6.6/kernel/debug/kdb/ |
H A D | kdb_io.c | 531 int len1, len2; in kdb_search_string() local 535 len2 = strlen(searchfor); in kdb_search_string() 536 if (len1 < len2) in kdb_search_string() 538 if (kdb_grep_leading && kdb_grep_trailing && len1 != len2) in kdb_search_string() 541 if (!strncmp(searched, searchfor, len2)) in kdb_search_string() 544 if (!strncmp(searched+len1-len2, searchfor, len2)) in kdb_search_string() 550 if (!strncmp(cp, searchfor, len2)) in kdb_search_string()
|
/kernel/linux/linux-5.10/fs/hfs/ |
H A D | string.c | 77 const unsigned char *s2, unsigned int len2) in hfs_strcmp() 81 len = (len1 > len2) ? len2 : len1; in hfs_strcmp() 88 return len1 - len2; in hfs_strcmp() 76 hfs_strcmp(const unsigned char *s1, unsigned int len1, const unsigned char *s2, unsigned int len2) hfs_strcmp() argument
|
/kernel/linux/linux-6.6/fs/hfs/ |
H A D | string.c | 77 const unsigned char *s2, unsigned int len2) in hfs_strcmp() 81 len = (len1 > len2) ? len2 : len1; in hfs_strcmp() 88 return len1 - len2; in hfs_strcmp() 76 hfs_strcmp(const unsigned char *s1, unsigned int len1, const unsigned char *s2, unsigned int len2) hfs_strcmp() argument
|
/kernel/linux/linux-6.6/fs/ntfs3/ |
H 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()
|