Home
last modified time | relevance | path

Searched refs:len1 (Results 1 – 25 of 57) sorted by relevance

123

/linux-6.6.21/drivers/i2c/busses/
Di2c-viperboard.c116 u16 remain_len, len1, len2, start = 0x0000; in vprbrd_i2c_read() local
125 len1 = remain_len; in vprbrd_i2c_read()
128 rmsg->header.len1 = 0x00; in vprbrd_i2c_read()
135 len1 = remain_len; in vprbrd_i2c_read()
138 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
145 len1 = remain_len; in vprbrd_i2c_read()
148 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
155 len1 = 512; in vprbrd_i2c_read()
158 rmsg->header.len1 = 0xff; in vprbrd_i2c_read()
165 len1 = 512; in vprbrd_i2c_read()
[all …]
/linux-6.6.21/arch/ia64/lib/
Dcopy_user.S70 #define len1 r28 macro
164 sub len1=len,t1 // set len1
184 sub len1=len,word1 // resulting len
188 (p14) sub len1=len1,t1
204 cmp.gtu p9,p0=16,len1
207 shr.u cnt=len1,3 // number of 64-bit words
300 sub len1=endsrc,src1,1
305 mov ar.lc=len1
325 mov len1=len // copy because of rotation
335 (p6) adds len1=-1,len1;;
[all …]
/linux-6.6.21/fs/hfsplus/
Dunicode.c35 u16 len1, len2, c1, c2; in hfsplus_strcasecmp() local
38 len1 = be16_to_cpu(s1->length); in hfsplus_strcasecmp()
46 while (len1 && !c1) { in hfsplus_strcasecmp()
49 len1--; in hfsplus_strcasecmp()
68 u16 len1, len2, c1, c2; in hfsplus_strcmp() local
72 len1 = be16_to_cpu(s1->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 …]
/linux-6.6.21/arch/powerpc/kernel/
Dsys_ppc32.c95 unsigned long, len1, unsigned long, len2) in PPC32_SYSCALL_DEFINE4() argument
97 return ksys_truncate(path, merge_64(len1, len2)); in PPC32_SYSCALL_DEFINE4()
102 unsigned long, len1, unsigned long, len2) in PPC32_SYSCALL_DEFINE4() argument
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() argument
133 merge_64(len1, len2)); in SYSCALL_DEFINE6()
/linux-6.6.21/fs/udf/
Ddirectory.c323 static void udf_copy_to_bufs(void *buf1, int len1, void *buf2, int len2, in udf_copy_to_bufs() argument
328 if (off >= len1) { in udf_copy_to_bufs()
329 off -= len1; in udf_copy_to_bufs()
331 copy = min(off + len, len1) - off; 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
350 if (off >= len1) { in udf_crc_fi_bufs()
351 off -= len1; in udf_crc_fi_bufs()
353 copy = min(off + len, len1) - off; 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()
[all …]
/linux-6.6.21/lib/zlib_dfltcc/
Ddfltcc_util.h30 size_t *len1, in dfltcc() argument
37 size_t t3 = len1 ? *len1 : 0; in dfltcc()
64 if (len1) in dfltcc()
65 *len1 = t3; in dfltcc()
/linux-6.6.21/fs/hfs/
Dstring.c76 int hfs_strcmp(const unsigned char *s1, unsigned int len1, in hfs_strcmp() argument
81 len = (len1 > len2) ? len2 : len1; in hfs_strcmp()
88 return len1 - len2; in hfs_strcmp()
/linux-6.6.21/lib/
Dcrc32test.c721 u32 len1 = j, len2 = test[i].length - j; in crc32c_combine_test() local
724 test[i].start, len1); in crc32c_combine_test()
726 len1, len2); in crc32c_combine_test()
809 u32 len1 = j, len2 = test[i].length - j; in crc32_combine_test() local
812 test[i].start, len1); in crc32_combine_test()
814 len1, len2); in crc32_combine_test()
/linux-6.6.21/arch/powerpc/include/asm/
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-6.6.21/arch/sh/kernel/
Dsys_sh32.c52 u32 len0, u32 len1, int advice) in sys_fadvise64_64_wrapper() argument
56 (u64)len1 << 32 | len0, advice); in sys_fadvise64_64_wrapper()
59 (u64)len0 << 32 | len1, advice); in sys_fadvise64_64_wrapper()
/linux-6.6.21/fs/ntfs3/
Dlznt.c51 size_t len1 = 0, len2 = 0; in longest_match_std() local
62 len1 = 3; in longest_match_std()
64 len1 += 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()
86 return len1; in longest_match_std()
Dnamei.c533 static int ntfs_d_compare(const struct dentry *dentry, unsigned int len1, in ntfs_d_compare() argument
541 unsigned int lm = min(len1, len2); in ntfs_d_compare()
549 return len1 != len2; in ntfs_d_compare()
569 ret = ntfs_nls_to_utf16(sbi, str, len1, uni1, NTFS_NAME_LEN, in ntfs_d_compare()
/linux-6.6.21/tools/testing/selftests/powerpc/ptrace/
Dptrace-hwbreak.c439 int len1, len2; in test_multi_sethwdebug_range() local
444 len1 = A_LEN; in test_multi_sethwdebug_range()
446 get_ppc_hw_breakpoint(&info1, PPC_BREAKPOINT_TRIGGER_WRITE, wp_addr1, len1); in test_multi_sethwdebug_range()
456 check_success(child_pid, name1, "WO", wp_addr1, len1); in test_multi_sethwdebug_range()
470 int len1, len2; in test_multi_sethwdebug_range_dawr_overlap() local
475 len1 = A_LEN; in test_multi_sethwdebug_range_dawr_overlap()
477 get_ppc_hw_breakpoint(&info1, PPC_BREAKPOINT_TRIGGER_WRITE, wp_addr1, len1); in test_multi_sethwdebug_range_dawr_overlap()
487 check_success(child_pid, name, "WO", wp_addr1, len1); in test_multi_sethwdebug_range_dawr_overlap()
/linux-6.6.21/fs/nfs/blocklayout/
Dextent_tree.c181 sector_t len1 = 0, len2 = 0; in __ext_tree_remove() local
195 len1 = start - be->be_f_offset; in __ext_tree_remove()
200 if (len1 > 0) { in __ext_tree_remove()
207 be->be_length = len1; in __ext_tree_remove()
229 if (len1 > 0) { in __ext_tree_remove()
230 be->be_length = len1; in __ext_tree_remove()
243 len1 = ext_f_end(be) - end; in __ext_tree_remove()
246 be->be_v_offset += be->be_length - len1; in __ext_tree_remove()
247 be->be_length = len1; in __ext_tree_remove()
/linux-6.6.21/tools/perf/util/
Dlevenshtein.c47 int len1 = strlen(string1), len2 = strlen(string2); in levenshtein() local
55 for (i = 0; i < len1; i++) { in levenshtein()
/linux-6.6.21/include/linux/mfd/
Dviperboard.h51 u8 len1; member
62 u8 len1; member
/linux-6.6.21/kernel/debug/kdb/
Dkdb_io.c531 int len1, len2; in kdb_search_string() local
534 len1 = strlen(searched)-1; 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()
544 if (!strncmp(searched+len1-len2, searchfor, len2)) in kdb_search_string()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/pcie/
Dctxt-info-gen3.c288 u32 len, len0, len1; in iwl_pcie_load_payloads_continuously() local
297 len1 = pnvm_data->chunks[1].len; in iwl_pcie_load_payloads_continuously()
298 if (len1 > 0xFFFFFFFF - len0) { in iwl_pcie_load_payloads_continuously()
302 len = len0 + len1; in iwl_pcie_load_payloads_continuously()
313 memcpy((u8 *)dram->block + len0, pnvm_data->chunks[1].data, len1); in iwl_pcie_load_payloads_continuously()
/linux-6.6.21/kernel/trace/
Dtrace_selftest.c188 int len1; in trace_selftest_ops() local
201 len1 = strlen(func1_name); in trace_selftest_ops()
209 ftrace_set_filter(&test_probe1, func1_name, len1, 1); in trace_selftest_ops()
211 ftrace_set_filter(&test_probe3, func1_name, len1, 1); in trace_selftest_ops()
292 len1 = strlen(func1_name); in trace_selftest_ops()
294 ftrace_set_filter(&test_probe3, func1_name, len1, 0); in trace_selftest_ops()
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Ddwxgmac2_descs.c182 int len1, int len2, bool tx_own, in dwxgmac2_prepare_tso_tx_desc() argument
188 if (len1) in dwxgmac2_prepare_tso_tx_desc()
189 p->des2 |= cpu_to_le32(len1 & XGMAC_TDES2_B1L); in dwxgmac2_prepare_tso_tx_desc()
Ddwmac4_descs.c346 int len1, int len2, bool tx_own, in dwmac4_rd_prepare_tso_tx_desc() argument
352 if (len1) in dwmac4_rd_prepare_tso_tx_desc()
353 p->des2 |= cpu_to_le32((len1 & TDES2_BUFFER1_SIZE_MASK)); in dwmac4_rd_prepare_tso_tx_desc()
/linux-6.6.21/fs/ext4/
Dextents_status.c1374 ext4_lblk_t len1, len2; in __es_remove_extent() local
1398 len1 = lblk > es->es_lblk ? lblk - es->es_lblk : 0; in __es_remove_extent()
1400 if (len1 > 0) in __es_remove_extent()
1401 es->es_len = len1; in __es_remove_extent()
1403 if (len1 > 0) { in __es_remove_extent()
1434 count_rsvd(inode, orig_es.es_lblk + len1, in __es_remove_extent()
1435 orig_es.es_len - len1 - len2, &orig_es, &rc); in __es_remove_extent()
1439 if (len1 > 0) { in __es_remove_extent()
1441 count_rsvd(inode, lblk, orig_es.es_len - len1, in __es_remove_extent()
1466 len1 = ext4_es_end(es) - end; in __es_remove_extent()
[all …]
/linux-6.6.21/arch/sh/include/asm/
Dsyscalls_32.h19 u32 len0, u32 len1, int advice);
/linux-6.6.21/drivers/mtd/ubi/
Dvtbl.c253 int len1 = be16_to_cpu(vtbl[i].name_len); in vtbl_check() local
256 if (len1 > 0 && len1 == len2 && in vtbl_check()
257 !strncmp(vtbl[i].name, vtbl[n].name, len1)) { in vtbl_check()
/linux-6.6.21/drivers/crypto/
Dsahara.c129 u32 len1; member
412 dev_dbg(dev->device, "\tlen1 = %u\n", dev->hw_desc[i]->len1); in sahara_dump_descriptors()
452 dev->hw_desc[idx]->len1 = AES_BLOCK_SIZE; in sahara_hw_descriptor_create()
455 dev->hw_desc[idx]->len1 = 0; in sahara_hw_descriptor_create()
530 dev->hw_desc[idx]->len1 = dev->total; in sahara_hw_descriptor_create()
832 dev->hw_desc[index]->len1 = rctx->total; in sahara_sha_hw_data_descriptor_create()
833 if (dev->hw_desc[index]->len1 == 0) { in sahara_sha_hw_data_descriptor_create()
877 dev->hw_desc[index]->len1 = rctx->context_size; in sahara_sha_hw_context_descriptor_create()

123