Home
last modified time | relevance | path

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

123

/linux/drivers/i2c/busses/
A Di2c-viperboard.c125 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()
175 len1 = 512; in vprbrd_i2c_read()
[all …]
/linux/arch/ia64/lib/
A Dcopy_user.S70 #define len1 r28 macro
188 (p14) sub len1=len1,t1
204 cmp.gtu p9,p0=16,len1
305 mov ar.lc=len1
335 (p6) adds len1=-1,len1;;
339 (p7) adds len1=-2,len1;;
357 (p8) adds len1=-4,len1
360 (p9) adds len1=-8,len1;;
364 tbit.nz p6,p0=len1,3
392 tbit.nz p7,p0=len1,2
[all …]
/linux/fs/hfsplus/
A 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
86 return len1 < len2 ? -1 : in hfsplus_strcmp()
87 len1 > len2 ? 1 : 0; in hfsplus_strcmp()
451 len1 = len; in hfsplus_compare_dentry()
461 len1 -= size; in hfsplus_compare_dentry()
515 if (len1 < len2) in hfsplus_compare_dentry()
[all …]
/linux/arch/powerpc/kernel/
A Dsys_ppc32.c89 unsigned long len1, unsigned long len2) in compat_sys_truncate64() argument
91 return ksys_truncate(path, merge_64(len1, len2)); in compat_sys_truncate64()
95 u32 len1, u32 len2) in compat_sys_fallocate() argument
98 merge_64(len1, len2)); in compat_sys_fallocate()
101 asmlinkage int compat_sys_ftruncate64(unsigned int fd, u32 reg4, unsigned long len1, in compat_sys_ftruncate64() argument
104 return ksys_ftruncate(fd, merge_64(len1, len2)); in compat_sys_ftruncate64()
/linux/lib/zlib_dfltcc/
A 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/fs/hfs/
A 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/lib/
A 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/arch/sh/kernel/
A 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/arch/powerpc/include/asm/
A Dsyscalls.h36 unsigned long len1, unsigned long len2);
38 long compat_sys_fallocate(int fd, int mode, u32 offset1, u32 offset2, u32 len1, u32 len2);
40 int compat_sys_ftruncate64(unsigned int fd, u32 reg4, unsigned long len1,
/linux/fs/ntfs3/
A 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()
/linux/tools/testing/selftests/powerpc/ptrace/
A Dptrace-hwbreak.c438 int len1, len2; in test_multi_sethwdebug_range() local
443 len1 = A_LEN; in test_multi_sethwdebug_range()
445 get_ppc_hw_breakpoint(&info1, PPC_BREAKPOINT_TRIGGER_WRITE, wp_addr1, len1); in test_multi_sethwdebug_range()
455 check_success(child_pid, name1, "WO", wp_addr1, len1); in test_multi_sethwdebug_range()
469 int len1, len2; in test_multi_sethwdebug_range_dawr_overlap() local
474 len1 = A_LEN; in test_multi_sethwdebug_range_dawr_overlap()
476 get_ppc_hw_breakpoint(&info1, PPC_BREAKPOINT_TRIGGER_WRITE, wp_addr1, len1); in test_multi_sethwdebug_range_dawr_overlap()
486 check_success(child_pid, name, "WO", wp_addr1, len1); in test_multi_sethwdebug_range_dawr_overlap()
/linux/fs/nfs/blocklayout/
A 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/tools/perf/util/
A Dlevenshtein.c47 int len1 = strlen(string1), len2 = strlen(string2); in levenshtein() local
55 for (i = 0; i < len1; i++) { in levenshtein()
/linux/include/linux/mfd/
A Dviperboard.h51 u8 len1; member
62 u8 len1; member
/linux/kernel/debug/kdb/
A 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()
/linux/kernel/trace/
A 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/fs/ext4/
A 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()
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()
1410 es->es_len = len1; in __es_remove_extent()
[all …]
/linux/drivers/net/ethernet/stmicro/stmmac/
A 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()
A 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()
/linux/drivers/mtd/ubi/
A 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/arch/sh/include/asm/
A Dsyscalls_32.h19 u32 len0, u32 len1, int advice);
/linux/drivers/crypto/
A Dsahara.c131 u32 len1; member
415 dev_dbg(dev->device, "\tlen1 = %u\n", dev->hw_desc[i]->len1); in sahara_dump_descriptors()
457 dev->hw_desc[idx]->len1 = AES_BLOCK_SIZE; in sahara_hw_descriptor_create()
460 dev->hw_desc[idx]->len1 = 0; in sahara_hw_descriptor_create()
531 dev->hw_desc[idx]->len1 = dev->total; in sahara_hw_descriptor_create()
837 dev->hw_desc[index]->len1 = rctx->total; in sahara_sha_hw_data_descriptor_create()
838 if (dev->hw_desc[index]->len1 == 0) { in sahara_sha_hw_data_descriptor_create()
882 dev->hw_desc[index]->len1 = rctx->context_size; in sahara_sha_hw_context_descriptor_create()
/linux/drivers/usb/core/
A Ddevio.c1259 unsigned int tmo, len1, len2, pipe; in do_proc_bulk() local
1272 len1 = bulk->len; in do_proc_bulk()
1273 if (len1 < 0 || len1 >= (INT_MAX - sizeof(struct urb))) in do_proc_bulk()
1292 tbuf = kmalloc(len1, GFP_KERNEL | __GFP_NOWARN); in do_proc_bulk()
1302 usb_fill_int_urb(urb, dev, pipe, tbuf, len1, in do_proc_bulk()
1305 usb_fill_bulk_urb(urb, dev, pipe, tbuf, len1, NULL, NULL); in do_proc_bulk()
1310 snoop_urb(dev, NULL, pipe, len1, tmo, SUBMIT, NULL, 0); in do_proc_bulk()
1324 if (len1) { in do_proc_bulk()
1325 if (copy_from_user(tbuf, bulk->data, len1)) { in do_proc_bulk()
1330 snoop_urb(dev, NULL, pipe, len1, tmo, SUBMIT, tbuf, len1); in do_proc_bulk()
[all …]
/linux/drivers/crypto/cavium/cpt/
A Drequest_manager.h79 __be16 len1; member
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
A Dpci_mac.c30 ptr->len1 = cpu_to_le16(len); in mt7921_write_hw_txp()
108 len = le16_to_cpu(ptr->len1); in mt7921_txp_skb_unmap()

Completed in 64 milliseconds

123