Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/
A Dremap_range.c193 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.3-rc2/kernel/power/
A Dswap.c637 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()
1343 data[thr].cmp_len = *(size_t *)page[pg]; in load_image_lzo()
1344 if (unlikely(!data[thr].cmp_len || in load_image_lzo()
1345 data[thr].cmp_len > in load_image_lzo()
1352 need = DIV_ROUND_UP(data[thr].cmp_len + LZO_HEADER, in load_image_lzo()
[all …]
/linux-6.3-rc2/drivers/scsi/esas2r/
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 …]
A Desas2r.h708 u32 cmp_len; member
/linux-6.3-rc2/drivers/crypto/qat/qat_common/
A Dicp_qat_hw.h119 #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.3-rc2/drivers/gpu/drm/panel/
A Dpanel-sony-acx565akm.c208 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.3-rc2/drivers/target/
A Dtarget_core_sbc.c380 unsigned int cmp_len, unsigned int *miscmp_off) in compare_and_write_do_cmp() argument
389 buf = kzalloc(cmp_len, GFP_KERNEL); in compare_and_write_do_cmp()
395 rc = sg_copy_to_buffer(cmp_sgl, cmp_nents, buf, cmp_len); in compare_and_write_do_cmp()
407 unsigned int len = min(sg->length, cmp_len); in compare_and_write_do_cmp()
425 cmp_len -= len; in compare_and_write_do_cmp()
426 if (!cmp_len) in compare_and_write_do_cmp()
/linux-6.3-rc2/arch/loongarch/kernel/
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-6.3-rc2/drivers/video/fbdev/omap2/omapfb/displays/
A Dpanel-sony-acx565akm.c445 int cmp_len = strlen(mode_str); in store_cabc_mode() local
449 if (count != cmp_len) in store_cabc_mode()
452 if (strncmp(buf, mode_str, cmp_len) == 0) in store_cabc_mode()
/linux-6.3-rc2/kernel/bpf/
A Dbtf.c8404 int reg_len, arg_len, cmp_len; in btf_type_ids_nocast_alias() local
8437 cmp_len = reg_len; in btf_type_ids_nocast_alias()
8440 cmp_len = arg_len; in btf_type_ids_nocast_alias()
8450 return !strncmp(reg_name, arg_name, cmp_len); in btf_type_ids_nocast_alias()

Completed in 39 milliseconds