Searched refs:cmp_len (Results 1 – 9 of 9) sorted by relevance
/linux/kernel/power/ |
H A D | swap.c | 645 size_t cmp_len; /* compressed length */ member 659 unsigned int cmp_len = 0; in compress_threadfn() local 673 cmp_len = CMP_SIZE - CMP_HEADER; in compress_threadfn() 676 &cmp_len); in compress_threadfn() 677 d->cmp_len = cmp_len; in compress_threadfn() 679 atomic_set(&compressed_size, atomic_read(&compressed_size) + d->cmp_len); in compress_threadfn() 847 if (unlikely(!data[thr].cmp_len || in save_compressed_image() 848 data[thr].cmp_len > in save_compressed_image() 855 *(size_t *)data[thr].cmp = data[thr].cmp_len; in save_compressed_image() 866 off < CMP_HEADER + data[thr].cmp_len; in save_compressed_image() [all …]
|
/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/crypto/intel/qat/qat_common/ |
H A D | icp_qat_hw.h | 131 #define ICP_QAT_HW_AUTH_CONFIG_BUILD(mode, algo, cmp_len) \ argument 139 ((cmp_len & QAT_AUTH_CMP_MASK) << QAT_AUTH_CMP_BITPOS))
|
/linux/drivers/target/ |
H A D | target_core_sbc.c | 381 unsigned int cmp_len, unsigned int *miscmp_off) in compare_and_write_do_cmp() argument 390 buf = kzalloc(cmp_len, GFP_KERNEL); in compare_and_write_do_cmp() 396 rc = sg_copy_to_buffer(cmp_sgl, cmp_nents, buf, cmp_len); in compare_and_write_do_cmp() 408 unsigned int len = min(sg->length, cmp_len); in compare_and_write_do_cmp() 426 cmp_len -= len; in compare_and_write_do_cmp() 427 if (!cmp_len) in compare_and_write_do_cmp()
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-sony-acx565akm.c | 208 int cmp_len = strlen(mode_str); in cabc_mode_store() local 212 if (count != cmp_len) in cabc_mode_store() 215 if (strncmp(buf, mode_str, cmp_len) == 0) in cabc_mode_store()
|
/linux/arch/loongarch/kernel/ |
H A D | setup.c | 107 size_t cmp_len = len > 8 ? 8 : len; in dmi_string_parse() local 109 if (!memcmp(bp, dmi_empty_string, cmp_len)) in dmi_string_parse()
|
/linux/drivers/video/fbdev/omap2/omapfb/displays/ |
H A D | panel-sony-acx565akm.c | 440 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/kernel/bpf/ |
H A D | btf.c | 9248 int reg_len, arg_len, cmp_len; in btf_type_ids_nocast_alias() local 9281 cmp_len = reg_len; in btf_type_ids_nocast_alias() 9284 cmp_len = arg_len; in btf_type_ids_nocast_alias() 9294 return !strncmp(reg_name, arg_name, cmp_len); in btf_type_ids_nocast_alias()
|