Searched refs:cmp_len (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/fs/ |
D | remap_range.c | 193 loff_t cmp_len = min(PAGE_SIZE - offset_in_page(srcoff), in vfs_dedupe_file_range_compare() local 196 cmp_len = min(cmp_len, len); in vfs_dedupe_file_range_compare() 197 if (cmp_len <= 0) in vfs_dedupe_file_range_compare() 234 if (memcmp(src_addr, dst_addr, cmp_len)) in vfs_dedupe_file_range_compare() 247 srcoff += cmp_len; in vfs_dedupe_file_range_compare() 248 dstoff += cmp_len; in vfs_dedupe_file_range_compare() 249 len -= cmp_len; in vfs_dedupe_file_range_compare()
|
/linux-6.1.9/kernel/power/ |
D | swap.c | 637 size_t cmp_len; /* compressed length */ member 663 d->cmp + LZO_HEADER, &d->cmp_len, in lzo_compress_threadfn() 823 if (unlikely(!data[thr].cmp_len || in save_image_lzo() 824 data[thr].cmp_len > in save_image_lzo() 831 *(size_t *)data[thr].cmp = data[thr].cmp_len; in save_image_lzo() 842 off < LZO_HEADER + data[thr].cmp_len; in save_image_lzo() 1121 size_t cmp_len; /* compressed length */ member 1146 d->ret = lzo1x_decompress_safe(d->cmp + LZO_HEADER, d->cmp_len, in lzo_decompress_threadfn() 1343 data[thr].cmp_len = *(size_t *)page[pg]; in load_image_lzo() 1344 if (unlikely(!data[thr].cmp_len || in load_image_lzo() [all …]
|
/linux-6.1.9/drivers/scsi/esas2r/ |
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 …]
|
D | esas2r.h | 708 u32 cmp_len; member
|
/linux-6.1.9/drivers/crypto/qat/qat_common/ |
D | icp_qat_hw.h | 119 #define ICP_QAT_HW_AUTH_CONFIG_BUILD(mode, algo, cmp_len) \ argument 127 ((cmp_len & QAT_AUTH_CMP_MASK) << QAT_AUTH_CMP_BITPOS))
|
/linux-6.1.9/drivers/gpu/drm/panel/ |
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-6.1.9/drivers/target/ |
D | target_core_sbc.c | 388 unsigned int cmp_len, unsigned int *miscmp_off) in compare_and_write_do_cmp() argument 397 buf = kzalloc(cmp_len, GFP_KERNEL); in compare_and_write_do_cmp() 403 rc = sg_copy_to_buffer(cmp_sgl, cmp_nents, buf, cmp_len); in compare_and_write_do_cmp() 415 unsigned int len = min(sg->length, cmp_len); in compare_and_write_do_cmp() 433 cmp_len -= len; in compare_and_write_do_cmp() 434 if (!cmp_len) in compare_and_write_do_cmp()
|
/linux-6.1.9/arch/loongarch/kernel/ |
D | setup.c | 96 size_t cmp_len = len > 8 ? 8 : len; in dmi_string_parse() local 98 if (!memcmp(bp, dmi_empty_string, cmp_len)) in dmi_string_parse()
|
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/displays/ |
D | panel-sony-acx565akm.c | 446 int cmp_len = strlen(mode_str); in store_cabc_mode() local 450 if (count != cmp_len) in store_cabc_mode() 453 if (strncmp(buf, mode_str, cmp_len) == 0) in store_cabc_mode()
|