/linux-master/tools/perf/util/ |
H A D | levenshtein.c | 47 int len1 = strlen(string1), len2 = strlen(string2); local 48 int *row0 = malloc(sizeof(int) * (len2 + 1)); 49 int *row1 = malloc(sizeof(int) * (len2 + 1)); 50 int *row2 = malloc(sizeof(int) * (len2 + 1)); 53 for (j = 0; j <= len2; j++) 59 for (j = 0; j < len2; j++) { 81 i = row1[len2];
|
/linux-master/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) argument 36 return crc32_le_shift(crc1, len2) ^ crc2; 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) argument [all...] |
/linux-master/lib/zlib_dfltcc/ |
H A D | dfltcc_util.h | 32 size_t *len2, 39 size_t t5 = len2 ? *len2 : 0; 68 if (len2) 69 *len2 = t5; 26 dfltcc( int fn, void *param, Byte **op1, size_t *len1, const Byte **op2, size_t *len2, void *hist ) argument
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-viperboard.c | 116 u16 remain_len, len1, len2, start = 0x0000; local 126 len2 = 0x00; 129 rmsg->header.len2 = 0x00; 136 len2 = 0x00; 139 rmsg->header.len2 = 0x00; 146 len2 = 0x00; 149 rmsg->header.len2 = 0xff; 156 len2 = remain_len - 512; 159 rmsg->header.len2 = 0xff; 166 len2 [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | sys_ppc32.c | 95 unsigned long, len1, unsigned long, len2) 97 return ksys_truncate(path, merge_64(len1, len2)); 102 unsigned long, len1, unsigned long, len2) 104 return ksys_ftruncate(fd, merge_64(len1, len2)); 129 u32, offset1, u32, offset2, u32, len1, u32, len2) 133 merge_64(len1, len2));
|
/linux-master/fs/hfsplus/ |
H A D | unicode.c | 35 u16 len1, len2, c1, c2; local 39 len2 = be16_to_cpu(s2->length); 51 while (len2 && !c2) { 54 len2--; 68 u16 len1, len2, c1, c2; local 73 len2 = be16_to_cpu(s2->length); 77 for (len = min(len1, len2); len > 0; len--) { 86 return len1 < len2 ? -1 : 87 len1 > len2 ? 1 : 0; 441 int dsize1, dsize2, len1, len2; local [all...] |
/linux-master/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);
|
/linux-master/include/linux/mfd/ |
H A D | viperboard.h | 52 u8 len2; member in struct:vprbrd_i2c_write_hdr 63 u8 len2; member in struct:vprbrd_i2c_read_hdr
|
/linux-master/fs/udf/ |
H A D | directory.c | 323 static void udf_copy_to_bufs(void *buf1, int len1, void *buf2, int len2, argument 338 if (WARN_ON_ONCE(off + len > len2 || !buf2)) 344 static uint16_t udf_crc_fi_bufs(void *buf1, int len1, void *buf2, int len2, argument 359 if (WARN_ON_ONCE(off + len > len2 || !buf2)) 366 static void udf_copy_fi_to_bufs(char *buf1, int len1, char *buf2, int len2, argument 377 udf_copy_to_bufs(buf1, len1, buf2, len2, off, fi, 381 udf_copy_to_bufs(buf1, len1, buf2, len2, off, impuse, 385 udf_copy_to_bufs(buf1, len1, buf2, len2, off, name, 388 udf_copy_to_bufs(buf1, len1, buf2, len2, off, zeros, 392 crc = udf_crc_fi_bufs(buf1, len1, buf2, len2, crcof 404 int len1, len2 = 0, off; local [all...] |
/linux-master/drivers/parport/ |
H A D | probe.c | 218 size_t idlen, len2; local 229 len2 = len; 230 while(len2 < idlen && retval > 0) { 233 min(sizeof tmp, idlen-len2)); 236 len2 += retval;
|
/linux-master/drivers/media/tuners/ |
H A D | tda18218.c | 16 int ret = 0, len2, remaining; local 35 len2 = remaining; 36 if (len2 > (priv->cfg->i2c_wr_max - 1)) 37 len2 = (priv->cfg->i2c_wr_max - 1); 39 msg[0].len = 1 + len2; 41 memcpy(&buf[1], &val[len - remaining], len2);
|
/linux-master/kernel/debug/kdb/ |
H A D | kdb_io.c | 531 int len1, len2; local 535 len2 = strlen(searchfor); 536 if (len1 < len2) 538 if (kdb_grep_leading && kdb_grep_trailing && len1 != len2) 541 if (!strncmp(searched, searchfor, len2)) 544 if (!strncmp(searched+len1-len2, searchfor, len2)) 550 if (!strncmp(cp, searchfor, len2))
|
/linux-master/fs/hfs/ |
H A D | string.c | 77 const unsigned char *s2, unsigned int len2) 81 len = (len1 > len2) ? len2 : len1; 88 return len1 - len2; 76 hfs_strcmp(const unsigned char *s1, unsigned int len1, const unsigned char *s2, unsigned int len2) argument
|
/linux-master/fs/ntfs3/ |
H A D | lznt.c | 51 size_t len1 = 0, len2 = 0; local 70 len2 = 3; 72 len2 += get_match_len(src + 3, ctx->unc_end, 77 if (len1 < len2) { 79 len1 = len2;
|
/linux-master/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-hwbreak.c | 439 int len1, len2; local 445 len2 = B_LEN; 447 get_ppc_hw_breakpoint(&info2, PPC_BREAKPOINT_TRIGGER_READ, wp_addr2, len2); 459 check_success(child_pid, name2, "RO", wp_addr2, len2); 470 int len1, len2; local 476 len2 = A_LEN; 478 get_ppc_hw_breakpoint(&info2, PPC_BREAKPOINT_TRIGGER_READ, wp_addr2, len2); 490 check_success(child_pid, name, "RO", wp_addr2, len2);
|
/linux-master/fs/nfs/blocklayout/ |
H A D | extent_tree.c | 181 sector_t len1 = 0, len2 = 0; local 197 len2 = ext_f_end(be) - end; 199 if (len2 > 0) { 212 orig_v_offset + orig_len - len2; 214 new->be_length = len2; 224 orig_v_offset + orig_len - len2; 226 be->be_length = len2;
|
/linux-master/tools/accounting/ |
H A D | procacct.c | 227 int len2 = 0; local 231 while (len2 < aggr_len) { 256 len2 += NLA_ALIGN(na->nla_len);
|
H A D | getdelays.c | 281 int c, rc, rep_len, aggr_len, len2; local 499 len2 = 0; 502 while (len2 < aggr_len) { 537 len2 += NLA_ALIGN(na->nla_len);
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwxgmac2_descs.c | 182 int len1, int len2, bool tx_own, 190 if (len2) 191 p->des2 |= cpu_to_le32((len2 << XGMAC_TDES2_B2L_SHIFT) & 181 dwxgmac2_prepare_tso_tx_desc(struct dma_desc *p, int is_fs, int len1, int len2, bool tx_own, bool ls, unsigned int tcphdrlen, unsigned int tcppayloadlen) argument
|
H A D | dwmac4_descs.c | 357 int len1, int len2, bool tx_own, 366 if (len2) 367 p->des2 |= cpu_to_le32((len2 << TDES2_BUFFER2_SIZE_MASK_SHIFT) 356 dwmac4_rd_prepare_tso_tx_desc(struct dma_desc *p, int is_fs, int len1, int len2, bool tx_own, bool ls, unsigned int tcphdrlen, unsigned int tcppayloadlen) argument
|
/linux-master/drivers/crypto/cavium/cpt/ |
H A D | request_manager.h | 80 __be16 len2; member in struct:sglist_component::__anon183::__anon184
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | nxt200x.c | 143 u8 attr, len2, buf; local 154 len2 = len; 166 len2 = ((attr << 4) | 0x10) | len; 174 nxt200x_writebytes(state, 0x34, &len2, 1); 202 u8 buf, len2, attr; local 211 len2 = len & 0x80; 212 nxt200x_writebytes(state, 0x34, &len2, 1); 227 len2 = (attr << 4) | len; 228 nxt200x_writebytes(state, 0x34, &len2, 1);
|
/linux-master/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cpt_reqmgr.h | 163 __be16 len2; member in struct:otx2_cpt_sglist_component 174 u16 len2; member in struct:cn10kb_cpt_sglist_component 241 sg_ptr->len2 = cpu_to_be16(list[i * SG_COMPS_MAX + 2].size); 253 sg_ptr->len2 = cpu_to_be16(list[i * SG_COMPS_MAX + 2].size); 310 sg_ptr->len2 = list[i * SGV2_COMPS_MAX + 2].size;
|
/linux-master/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_reqmgr.h | 128 __be16 len2; member in struct:otx_cpt_sglist_component::__anon127::__anon128
|
/linux-master/kernel/trace/ |
H A D | trace_selftest.c | 189 int len2; local 202 len2 = strlen(func2_name); 210 ftrace_set_filter(&test_probe2, func2_name, len2, 1); 212 ftrace_set_filter(&test_probe3, func2_name, len2, 0);
|