Searched refs:cmp_len (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/ |
| H A D | remap_range.c | 202 loff_t cmp_len = min(PAGE_SIZE - offset_in_page(srcoff), in vfs_dedupe_file_range_compare() local 205 cmp_len = min(cmp_len, len); in vfs_dedupe_file_range_compare() 206 if (cmp_len <= 0) in vfs_dedupe_file_range_compare() 243 if (memcmp(src_addr, dst_addr, cmp_len)) in vfs_dedupe_file_range_compare() 256 srcoff += cmp_len; in vfs_dedupe_file_range_compare() 257 dstoff += cmp_len; in vfs_dedupe_file_range_compare() 258 len -= cmp_len; in vfs_dedupe_file_range_compare()
|
| /linux/drivers/scsi/esas2r/ |
| H A D | esas2r_flash.c | 343 && fc->cmp_len) { in fw_download_proc() 350 - fc->cmp_len; /* where we are now */ in fw_download_proc() 360 fc->cmp_len -= fc->curr_len; /* # left to compare */ in fw_download_proc() 363 if (fc->cmp_len > FM_BUF_SZ) in fw_download_proc() 366 fc->sgc.length = fc->cmp_len; in fw_download_proc() 405 fc->cmp_len = ch->length; in fw_download_proc() 440 fc->cmp_len = ch->length; in fw_download_proc() 476 fc->cmp_len = ch->length; in fw_download_proc() 510 fc->cmp_len = ch->length; in fw_download_proc() 544 && fc->sgc.length > fc->cmp_len) in fw_download_proc() [all …]
|
| /linux/drivers/video/fbdev/omap2/omapfb/displays/ |
| H A D | panel-sony-acx565akm.c | 441 int cmp_len = strlen(mode_str); in store_cabc_mode() local 445 if (count != cmp_len) in store_cabc_mode() 448 if (strncmp(buf, mode_str, cmp_len) == 0) in store_cabc_mode()
|
| /linux/tools/testing/selftests/nolibc/ |
| H A D | nolibc-test.c | 2132 unsigned int cmp_len; in expect_vfprintf() local 2151 cmp_len = VFPRINTF_LEN; in expect_vfprintf() 2153 cmp_len = expected_len; in expect_vfprintf() 2156 if (memcmp(expected, buf, cmp_len) || buf[cmp_len]) { in expect_vfprintf() 2169 while (++cmp_len < sizeof(buf) - 1) { in expect_vfprintf() 2170 if ((unsigned char)buf[cmp_len] != 0xa5) { in expect_vfprintf() 2171 llen += printf(" overwrote buf[%d] with 0x%x", cmp_len, buf[cmp_len]); in expect_vfprintf()
|
| /linux/arch/loongarch/kernel/ |
| H A D | setup.c | 108 size_t cmp_len = len > 8 ? 8 : len; in dmi_string_parse() local 110 if (!memcmp(bp, dmi_empty_string, cmp_len)) in dmi_string_parse()
|
| /linux/kernel/bpf/ |
| H A D | btf.c | 10848 int reg_len, arg_len, cmp_len; 10881 cmp_len = reg_len; 10884 cmp_len = arg_len; 10894 return !strncmp(reg_name, arg_name, cmp_len); 9901 int reg_len, arg_len, cmp_len; btf_type_ids_nocast_alias() local
|