Home
last modified time | relevance | path

Searched refs:cmp_len (Results 1 – 6 of 6) sorted by relevance

/linux/fs/
H A Dremap_range.c202 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/kernel/power/
H A Dswap.c645 size_t cmp_len; /* compressed length */
675 d->cmp_len = d->cr->dlen; in compress_threadfn()
677 atomic64_add(d->cmp_len, &compressed_size); in compress_threadfn()
846 if (unlikely(!data[thr].cmp_len || in save_compressed_image()
847 data[thr].cmp_len > in save_compressed_image()
854 *(size_t *)data[thr].cmp = data[thr].cmp_len; in save_compressed_image()
865 off < CMP_HEADER + data[thr].cmp_len; in save_compressed_image()
1146 size_t cmp_len; /* compressed length */
1170 d->cmp_len); in decompress_threadfn()
1378 data[thr].cmp_len in load_compressed_image()
652 size_t cmp_len; /* compressed length */ global() member
1153 size_t cmp_len; /* compressed length */ global() member
[all...]
/linux/drivers/scsi/esas2r/
H A Desas2r_flash.c343 && 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 Dpanel-sony-acx565akm.c440 int cmp_len = strlen(mode_str); in store_cabc_mode() local
444 if (count != cmp_len) in store_cabc_mode()
447 if (strncmp(buf, mode_str, cmp_len) == 0) in store_cabc_mode()
/linux/arch/loongarch/kernel/
H A Dsetup.c108 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 Dbtf.c9747 int reg_len, arg_len, cmp_len; in bpf_struct_ops_find()
9780 cmp_len = reg_len; in __register_bpf_struct_ops()
9783 cmp_len = arg_len; in __register_bpf_struct_ops()
9793 return !strncmp(reg_name, arg_name, cmp_len);
9627 int reg_len, arg_len, cmp_len; btf_type_ids_nocast_alias() local