Searched refs:len2 (Results 1 - 25 of 54) sorted by relevance

123

/linux-master/tools/perf/util/
H A Dlevenshtein.c47 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 Dcrc32.h17 * 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 Ddfltcc_util.h32 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 Di2c-viperboard.c116 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 Dsys_ppc32.c95 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 Dunicode.c35 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 Dsyscalls.h102 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 Dviperboard.h52 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 Ddirectory.c323 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 Dprobe.c218 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 Dtda18218.c16 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 Dkdb_io.c531 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 Dstring.c77 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 Dlznt.c51 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 Dptrace-hwbreak.c439 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 Dextent_tree.c181 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 Dprocacct.c227 int len2 = 0; local
231 while (len2 < aggr_len) {
256 len2 += NLA_ALIGN(na->nla_len);
H A Dgetdelays.c281 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 Ddwxgmac2_descs.c182 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 Ddwmac4_descs.c357 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 Drequest_manager.h80 __be16 len2; member in struct:sglist_component::__anon183::__anon184
/linux-master/drivers/media/dvb-frontends/
H A Dnxt200x.c143 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 Dotx2_cpt_reqmgr.h163 __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 Dotx_cptvf_reqmgr.h128 __be16 len2; member in struct:otx_cpt_sglist_component::__anon127::__anon128
/linux-master/kernel/trace/
H A Dtrace_selftest.c189 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);

Completed in 234 milliseconds

123