Searched refs:cmp_len (Results 1 – 8 of 8) sorted by relevance
/linux/fs/ |
A D | remap_range.c | 200 loff_t cmp_len; in vfs_dedupe_file_range_compare() local 209 cmp_len = min(PAGE_SIZE - src_poff, in vfs_dedupe_file_range_compare() 211 cmp_len = min(cmp_len, len); in vfs_dedupe_file_range_compare() 212 if (cmp_len <= 0) in vfs_dedupe_file_range_compare() 247 if (memcmp(src_addr + src_poff, dest_addr + dest_poff, cmp_len)) in vfs_dedupe_file_range_compare() 260 srcoff += cmp_len; in vfs_dedupe_file_range_compare() 261 destoff += cmp_len; in vfs_dedupe_file_range_compare() 262 len -= cmp_len; in vfs_dedupe_file_range_compare()
|
/linux/kernel/power/ |
A D | swap.c | 635 size_t cmp_len; /* compressed length */ member 661 d->cmp + LZO_HEADER, &d->cmp_len, in lzo_compress_threadfn() 821 if (unlikely(!data[thr].cmp_len || in save_image_lzo() 822 data[thr].cmp_len > in save_image_lzo() 829 *(size_t *)data[thr].cmp = data[thr].cmp_len; in save_image_lzo() 840 off < LZO_HEADER + data[thr].cmp_len; in save_image_lzo() 1341 data[thr].cmp_len = *(size_t *)page[pg]; in load_image_lzo() 1342 if (unlikely(!data[thr].cmp_len || in load_image_lzo() 1343 data[thr].cmp_len > in load_image_lzo() 1350 need = DIV_ROUND_UP(data[thr].cmp_len + LZO_HEADER, in load_image_lzo() [all …]
|
/linux/drivers/scsi/esas2r/ |
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 …]
|
A D | esas2r.h | 708 u32 cmp_len; member
|
/linux/drivers/crypto/qat/qat_common/ |
A D | icp_qat_hw.h | 108 #define ICP_QAT_HW_AUTH_CONFIG_BUILD(mode, algo, cmp_len) \ argument 116 ((cmp_len & QAT_AUTH_CMP_MASK) << QAT_AUTH_CMP_BITPOS))
|
/linux/drivers/target/ |
A D | target_core_sbc.c | 444 unsigned int cmp_len, unsigned int *miscmp_off) in compare_and_write_do_cmp() argument 453 buf = kzalloc(cmp_len, GFP_KERNEL); in compare_and_write_do_cmp() 459 rc = sg_copy_to_buffer(cmp_sgl, cmp_nents, buf, cmp_len); in compare_and_write_do_cmp() 471 unsigned int len = min(sg->length, cmp_len); in compare_and_write_do_cmp() 489 cmp_len -= len; in compare_and_write_do_cmp() 490 if (!cmp_len) in compare_and_write_do_cmp()
|
/linux/drivers/gpu/drm/panel/ |
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/drivers/video/fbdev/omap2/omapfb/displays/ |
A 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()
|
Completed in 31 milliseconds