Home
last modified time | relevance | path

Searched refs:crc32 (Results 1 – 25 of 171) sorted by relevance

1234567

/linux-6.12.1/arch/arm64/lib/
Dcrc32.S74 crc32\c\()x w8, w0, x3
79 crc32\c\()w w8, w0, w3
84 crc32\c\()h w8, w0, w3
88 crc32\c\()b w8, w0, w3
91 crc32\c\()x w8, w0, x5
92 crc32\c\()x w8, w8, x6
107 crc32\c\()x w0, w0, x3
108 crc32\c\()x w0, w0, x4
109 crc32\c\()x w0, w0, x5
110 crc32\c\()x w0, w0, x6
[all …]
/linux-6.12.1/drivers/nvmem/layouts/
Du-boot-env.c18 __le32 crc32; member
23 __le32 crc32; member
31 __le32 crc32; member
99 uint32_t crc32; in u_boot_env_parse() local
124 crc32_offset = offsetof(struct u_boot_env_image_single, crc32); in u_boot_env_parse()
129 crc32_offset = offsetof(struct u_boot_env_image_redundant, crc32); in u_boot_env_parse()
134 crc32_offset = offsetof(struct u_boot_env_image_broadcom, crc32); in u_boot_env_parse()
147 crc32 = le32_to_cpu(*crc32_addr); in u_boot_env_parse()
151 calc = crc32(~0, buf + crc32_data_offset, crc32_data_len) ^ ~0L; in u_boot_env_parse()
152 if (calc != crc32) { in u_boot_env_parse()
[all …]
/linux-6.12.1/fs/jffs2/
Dwrite.c47 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_new_inode()
72 D1(if(je32_to_cpu(ri->hdr_crc) != crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)) { in jffs2_write_dnode()
106 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_write_dnode()
221 D1(if(je32_to_cpu(rd->hdr_crc) != crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)) { in jffs2_write_dirent()
265 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_write_dirent()
378 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_write_inode_range()
388 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_write_inode_range()
389 ri->data_crc = cpu_to_je32(crc32(0, comprbuf, cdatalen)); in jffs2_write_inode_range()
463 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_do_create()
513 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_do_create()
[all …]
Ddir.c338 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink()
341 ri->data_crc = cpu_to_je32(crc32(0, target, targetlen)); in jffs2_symlink()
342 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_symlink()
405 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink()
413 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_symlink()
414 rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); in jffs2_symlink()
502 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_mkdir()
550 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mkdir()
558 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_mkdir()
559 rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); in jffs2_mkdir()
[all …]
Dgc.c634 crc = crc32(0, node, sizeof(struct jffs2_unknown_node)-4); in jffs2_garbage_collect_pristine()
643 crc = crc32(0, node, sizeof(node->i)-8); in jffs2_garbage_collect_pristine()
652 crc = crc32(0, node->i.data, je32_to_cpu(node->i.csize)); in jffs2_garbage_collect_pristine()
663 crc = crc32(0, node, sizeof(node->d)-8); in jffs2_garbage_collect_pristine()
678 crc = crc32(0, node->d.name, node->d.nsize); in jffs2_garbage_collect_pristine()
816 ri.hdr_crc = cpu_to_je32(crc32(0, &ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_metadata()
831 ri.node_crc = cpu_to_je32(crc32(0, &ri, sizeof(ri)-8)); in jffs2_garbage_collect_metadata()
832 ri.data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); in jffs2_garbage_collect_metadata()
862 rd.hdr_crc = cpu_to_je32(crc32(0, &rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_garbage_collect_dirent()
874 rd.node_crc = cpu_to_je32(crc32(0, &rd, sizeof(rd)-8)); in jffs2_garbage_collect_dirent()
[all …]
/linux-6.12.1/arch/powerpc/crypto/
Dcrc-vpmsum_test.c30 __le32 crc32; in crc_test_init() local
100 crypto_shash_final(crc32c_shash, (u8 *)(&crc32)); in crc_test_init()
103 if (crc32 != verify32le) { in crc_test_init()
105 crc32, verify32, len); in crc_test_init()
/linux-6.12.1/lib/xz/
Dxz_dec_stream.c16 uint32_t crc32; member
45 uint32_t crc32; member
244 s->crc32 = xz_crc32(b->out + s->out_start, in dec_block()
245 b->out_pos - s->out_start, s->crc32); in dec_block()
269 s->block.hash.crc32 = xz_crc32( in dec_block()
271 sizeof(s->block.hash), s->block.hash.crc32); in dec_block()
284 s->crc32 = xz_crc32(b->in + s->in_start, in_used, s->crc32); in index_update()
328 s->index.hash.crc32 = xz_crc32( in dec_index()
331 s->index.hash.crc32); in dec_index()
351 if (((s->crc32 >> s->pos) & 0xFF) != b->in[b->in_pos++]) in crc32_validate()
[all …]
/linux-6.12.1/drivers/gpu/drm/vkms/
Dvkms_composer.c181 u32 *crc32, struct line_buffer *stage_buffer, in blend() argument
209 *crc32 = crc32_le(*crc32, (void *)output_buffer->pixels, row_size); in blend()
246 u32 *crc32) in compose_active_planes() argument
283 blend(active_wb, crtc_state, crc32, &stage_buffer, in compose_active_planes()
312 u32 crc32 = 0; in vkms_composer_worker() local
349 ret = compose_active_planes(active_wb, crtc_state, &crc32); in vkms_composer_worker()
351 ret = compose_active_planes(NULL, crtc_state, &crc32); in vkms_composer_worker()
367 drm_crtc_add_crc_entry(crtc, true, frame_start++, &crc32); in vkms_composer_worker()
/linux-6.12.1/arch/arm/crypto/
Dcrc32-ce-core.S255 crc32\c\()w r0, r0, r2
256 crc32\c\()w r0, r0, r3
266 crc32\c\()w r0, r0, r3
272 crc32\c\()h r0, r0, r3
277 crc32\c\()b r0, r0, r3
285 crc32\c\()b r0, r0, r3
292 crc32\c\()h r0, r0, r3
DMakefile24 obj-$(CONFIG_CRYPTO_CRC32_ARM_CE) += crc32-arm-ce.o
41 crc32-arm-ce-y:= crc32-ce-core.o crc32-ce-glue.o
/linux-6.12.1/arch/s390/crypto/
DMakefile17 obj-$(CONFIG_CRYPTO_CRC32_S390) += crc32-vx_s390.o
21 crc32-vx_s390-y := crc32-vx.o crc32le-vx.o crc32be-vx.o
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_gsc_binary_headers.h37 u32 crc32; member
58 u32 crc32; member
90 u32 crc32; member
/linux-6.12.1/tools/pcmcia/
Dcrc32hash.c12 static unsigned int crc32(unsigned char const *p, unsigned int len) in crc32() function
30 result = crc32((unsigned char const *)argv[1], strlen(argv[1])); in main()
/linux-6.12.1/drivers/net/ethernet/cavium/liquidio/
Dliquidio_image.h37 __be32 crc32; /* crc32 of image */ member
51 __be32 crc32; /* header checksum */ member
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_uc_fw_abi.h223 u32 crc32; member
244 u32 crc32; member
276 u32 crc32; member
/linux-6.12.1/kernel/power/
Dswap.c102 u32 crc32; member
109 u32 crc32; member
330 swsusp_header->crc32 = handle->crc32; in mark_swapfiles()
601 u32 *crc32; /* points to handle's crc32 */ member
626 *d->crc32 = crc32_le(*d->crc32, in crc32_threadfn()
772 handle->crc32 = 0; in save_compressed_image()
773 crc->crc32 = &handle->crc32; in save_compressed_image()
1281 handle->crc32 = 0; in load_compressed_image()
1282 crc->crc32 = &handle->crc32; in load_compressed_image()
1489 if(handle->crc32 != swsusp_header->crc32) { in load_compressed_image()
/linux-6.12.1/drivers/net/wireless/ath/carl9170/
Dfw.c139 u32 crc32; in carl9170_fw_checksum() local
174 crc32 = crc32_le(~0, data, len); in carl9170_fw_checksum()
175 if (cpu_to_le32(crc32) != chk_desc->fw_crc32) { in carl9170_fw_checksum()
180 crc32 = crc32_le(crc32, (void *)otus_desc, dsc_len); in carl9170_fw_checksum()
181 if (cpu_to_le32(crc32) != chk_desc->hdr_crc32) { in carl9170_fw_checksum()
/linux-6.12.1/drivers/gpu/drm/i915/gvt/
Dfirmware.c43 u32 crc32; /* protect the data after this field */ member
95 h->crc32 = crc32_le(0, firmware + crc32_start, size - crc32_start); in expose_firmware_sysfs()
143 crc32_start = offsetofend(struct gvt_firmware_header, crc32); in verify_firmware()
154 VERIFY("crc32", h->crc32, crc32_le(0, mem, fw->size - crc32_start)); in verify_firmware()
/linux-6.12.1/Documentation/translations/zh_CN/staging/
Dxz.rst57 或LZMA_CHECK_CRC32。使用xz命令行工具时,使用--check=none或--check=crc32
68 xz --check=crc32 --lzma2=dict=512KiB inputfile
/linux-6.12.1/arch/x86/crypto/
DMakefile82 obj-$(CONFIG_CRYPTO_CRC32_PCLMUL) += crc32-pclmul.o
83 crc32-pclmul-y := crc32-pclmul_asm.o crc32-pclmul_glue.o
Dcrc32c-pcl-intel-asm_64.S49 ## ISCSI CRC 32 Implementation with crc32 and pclmulqdq Instruction
235 crc32 %rax, crc_init
279 crc32q i(bufptmp), crc_init # Compute crc32 of 8-byte data
/linux-6.12.1/Documentation/pcmcia/
Ddevicetable.rst17 If you want to match product ID strings, you also need to pass the crc32
35 to determine the crc32 hash. Simply pass the string you want to evaluate
/linux-6.12.1/arch/loongarch/crypto/
DMakefile6 obj-$(CONFIG_CRYPTO_CRC32_LOONGARCH) += crc32-loongarch.o
/linux-6.12.1/drivers/crypto/stm32/
DMakefile2 obj-$(CONFIG_CRYPTO_DEV_STM32_CRC) += stm32-crc32.o
/linux-6.12.1/Documentation/staging/
Dindex.rst9 crc32

1234567