Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/liteos_a/testsuites/unittest/libc/io/full/
DIt_stdio_mbrlen_001.cpp40 int len1, len2, len3; in Testcase() local
46 len1 = mbrlen(str, 1, &mb); in Testcase()
47 ICUNIT_GOTO_EQUAL(len1, -2, len1, EXIT); // -2, except return value in Testcase()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/liteos_m/testsuites/sample/kernel/queue/
DIt_los_queue_064.c37 UINT32 ret, len1; in Testcase() local
42 len1 = 0xFFFF + 1; in Testcase()
44 ret = LOS_QueueCreate("Q1", len1, &g_testQueueID01, 0, 30); // 30, set maxMsgSize in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/queue/full/
DIt_los_queue_064.c42 UINT32 ret, len1; in Testcase() local
47 len1 = 0xFFFF + 1; in Testcase()
49 … ret = LOS_QueueCreate("Q1", len1, &g_testQueueID01, 0, 30); // 30, Set the node size of the queue. in Testcase()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/perf/util/
Dlevenshtein.c47 int len1 = strlen(string1), len2 = strlen(string2); in levenshtein() local
55 for (i = 0; i < len1; i++) { in levenshtein()
/kernel/linux/linux-5.10/include/linux/mfd/
Dviperboard.h51 u8 len1; member
62 u8 len1; member
/kernel/linux/linux-5.10/kernel/debug/kdb/
Dkdb_io.c518 int len1, len2; in kdb_search_string() local
521 len1 = strlen(searched)-1; 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()
531 if (!strncmp(searched+len1-len2, searchfor, len2)) in kdb_search_string()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfs3xdr.c988 int len1, len2; in encode_entry() local
1000 len1 = curr_page_addr + PAGE_SIZE - (caddr_t)cd->buffer; in encode_entry()
1001 if ((num_entry_words << 2) < len1) { in encode_entry()
1020 if (offset_r + 8 <= len1) { in encode_entry()
1022 } else if (offset_r >= len1) { in encode_entry()
1023 cd->offset -= len1 >> 2; in encode_entry()
1026 BUG_ON(offset_r != len1 - 4); in encode_entry()
1031 len2 = (num_entry_words << 2) - len1; in encode_entry()
1034 memmove(p, tmp, len1); in encode_entry()
1035 memmove(tmp, (caddr_t)tmp+len1, len2); in encode_entry()
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dsyscalls_32.h19 u32 len0, u32 len1, int advice);
/kernel/linux/linux-5.10/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.c350 int len1, int len2, bool tx_own, in dwmac4_rd_prepare_tso_tx_desc() argument
356 if (len1) in dwmac4_rd_prepare_tso_tx_desc()
357 p->des2 |= cpu_to_le32((len1 & TDES2_BUFFER1_SIZE_MASK)); in dwmac4_rd_prepare_tso_tx_desc()
/kernel/linux/linux-5.10/fs/ext4/
Dextents_status.c1310 ext4_lblk_t len1, len2; in __es_remove_extent() local
1336 len1 = lblk > es->es_lblk ? lblk - es->es_lblk : 0; in __es_remove_extent()
1338 if (len1 > 0) in __es_remove_extent()
1339 es->es_len = len1; in __es_remove_extent()
1341 if (len1 > 0) { in __es_remove_extent()
1373 count_rsvd(inode, lblk, orig_es.es_len - len1 - len2, in __es_remove_extent()
1378 if (len1 > 0) { in __es_remove_extent()
1380 count_rsvd(inode, lblk, orig_es.es_len - len1, in __es_remove_extent()
1405 len1 = ext4_es_end(es) - end; in __es_remove_extent()
1407 count_rsvd(inode, es->es_lblk, orig_len - len1, in __es_remove_extent()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_selftest.c191 int len1; in trace_selftest_ops() local
204 len1 = strlen(func1_name); in trace_selftest_ops()
212 ftrace_set_filter(&test_probe1, func1_name, len1, 1); in trace_selftest_ops()
214 ftrace_set_filter(&test_probe3, func1_name, len1, 1); in trace_selftest_ops()
/kernel/linux/linux-5.10/drivers/crypto/mediatek/
Dmtk-sha.c322 size_t len1, size_t len2) in mtk_sha_info_update() argument
328 ctx->ct_hdr |= cpu_to_le32(len1 + len2); in mtk_sha_info_update()
330 info->cmd[0] |= cpu_to_le32(len1 + len2); in mtk_sha_info_update()
336 ctx->digcnt += len1; in mtk_sha_info_update()
422 dma_addr_t addr1, size_t len1, in mtk_sha_xmit() argument
430 err = mtk_sha_info_update(cryp, sha, len1, len2); in mtk_sha_xmit()
437 res->hdr = MTK_DESC_FIRST | MTK_DESC_BUF_LEN(len1); in mtk_sha_xmit()
438 cmd->hdr = MTK_DESC_FIRST | MTK_DESC_BUF_LEN(len1) | in mtk_sha_xmit()
/kernel/linux/linux-5.10/drivers/crypto/
Dsahara.c130 u32 len1; member
414 dev_dbg(dev->device, "\tlen1 = %u\n", dev->hw_desc[i]->len1); in sahara_dump_descriptors()
456 dev->hw_desc[idx]->len1 = AES_BLOCK_SIZE; in sahara_hw_descriptor_create()
459 dev->hw_desc[idx]->len1 = 0; in sahara_hw_descriptor_create()
530 dev->hw_desc[idx]->len1 = dev->total; in sahara_hw_descriptor_create()
836 dev->hw_desc[index]->len1 = rctx->total; in sahara_sha_hw_data_descriptor_create()
837 if (dev->hw_desc[index]->len1 == 0) { in sahara_sha_hw_data_descriptor_create()
881 dev->hw_desc[index]->len1 = rctx->context_size; in sahara_sha_hw_context_descriptor_create()
/kernel/linux/linux-5.10/drivers/usb/core/
Ddevio.c1198 unsigned int tmo, len1, pipe; in do_proc_bulk() local
1215 len1 = bulk->len; in do_proc_bulk()
1216 if (len1 >= (INT_MAX - sizeof(struct urb))) in do_proc_bulk()
1218 ret = usbfs_increase_memory_usage(len1 + sizeof(struct urb)); in do_proc_bulk()
1226 tbuf = kmalloc(len1, GFP_KERNEL | __GFP_NOWARN); in do_proc_bulk()
1233 snoop_urb(dev, NULL, pipe, len1, tmo, SUBMIT, NULL, 0); in do_proc_bulk()
1236 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); in do_proc_bulk()
1247 if (len1) { in do_proc_bulk()
1248 if (copy_from_user(tbuf, bulk->data, len1)) { in do_proc_bulk()
1253 snoop_urb(dev, NULL, pipe, len1, tmo, SUBMIT, tbuf, len1); in do_proc_bulk()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
Drequest_manager.h79 __be16 len1; member

12