/linux-6.6.21/arch/arm64/lib/ |
D | crc32.S | 74 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.6.21/drivers/nvmem/ |
D | u-boot-env.c | 36 __le32 crc32; member 41 __le32 crc32; member 49 __le32 crc32; member 146 uint32_t crc32; in u_boot_env_parse() local 166 crc32_offset = offsetof(struct u_boot_env_image_single, crc32); in u_boot_env_parse() 171 crc32_offset = offsetof(struct u_boot_env_image_redundant, crc32); in u_boot_env_parse() 176 crc32_offset = offsetof(struct u_boot_env_image_broadcom, crc32); in u_boot_env_parse() 181 crc32 = le32_to_cpu(*(__le32 *)(buf + crc32_offset)); in u_boot_env_parse() 185 calc = crc32(~0, buf + crc32_data_offset, crc32_data_len) ^ ~0L; in u_boot_env_parse() 186 if (calc != crc32) { in u_boot_env_parse() [all …]
|
/linux-6.6.21/fs/jffs2/ |
D | write.c | 47 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 …]
|
D | dir.c | 336 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink() 339 ri->data_crc = cpu_to_je32(crc32(0, target, targetlen)); in jffs2_symlink() 340 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_symlink() 403 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink() 411 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_symlink() 412 rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); in jffs2_symlink() 500 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_mkdir() 548 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mkdir() 556 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_mkdir() 557 rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); in jffs2_mkdir() [all …]
|
D | gc.c | 634 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.6.21/arch/powerpc/crypto/ |
D | crc-vpmsum_test.c | 30 __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.6.21/lib/xz/ |
D | xz_dec_stream.c | 17 uint32_t crc32; member 46 uint32_t crc32; member 245 s->crc32 = xz_crc32(b->out + s->out_start, in dec_block() 246 b->out_pos - s->out_start, s->crc32); in dec_block() 270 s->block.hash.crc32 = xz_crc32( in dec_block() 272 sizeof(s->block.hash), s->block.hash.crc32); in dec_block() 285 s->crc32 = xz_crc32(b->in + s->in_start, in_used, s->crc32); in index_update() 329 s->index.hash.crc32 = xz_crc32( in dec_index() 332 s->index.hash.crc32); in dec_index() 352 if (((s->crc32 >> s->pos) & 0xFF) != b->in[b->in_pos++]) in crc32_validate() [all …]
|
/linux-6.6.21/drivers/gpu/drm/vkms/ |
D | vkms_composer.c | 175 u32 *crc32, struct line_buffer *stage_buffer, in blend() argument 203 *crc32 = crc32_le(*crc32, (void *)output_buffer->pixels, row_size); in blend() 240 u32 *crc32) in compose_active_planes() argument 277 blend(active_wb, crtc_state, crc32, &stage_buffer, in compose_active_planes() 306 u32 crc32 = 0; in vkms_composer_worker() local 343 ret = compose_active_planes(active_wb, crtc_state, &crc32); in vkms_composer_worker() 345 ret = compose_active_planes(NULL, crtc_state, &crc32); in vkms_composer_worker() 361 drm_crtc_add_crc_entry(crtc, true, frame_start++, &crc32); in vkms_composer_worker()
|
/linux-6.6.21/arch/s390/crypto/ |
D | Makefile | 17 obj-$(CONFIG_CRYPTO_CRC32_S390) += crc32-vx_s390.o 20 crc32-vx_s390-y := crc32-vx.o crc32le-vx.o crc32be-vx.o
|
/linux-6.6.21/arch/arm/crypto/ |
D | crc32-ce-core.S | 254 crc32\c\()w r0, r0, r2 255 crc32\c\()w r0, r0, r3 265 crc32\c\()w r0, r0, r3 271 crc32\c\()h r0, r0, r3 276 crc32\c\()b r0, r0, r3 284 crc32\c\()b r0, r0, r3 291 crc32\c\()h r0, r0, r3
|
D | Makefile | 24 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.6.21/drivers/gpu/drm/i915/gt/uc/ |
D | intel_gsc_binary_headers.h | 37 u32 crc32; member 58 u32 crc32; member 90 u32 crc32; member
|
/linux-6.6.21/tools/pcmcia/ |
D | crc32hash.c | 12 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.6.21/drivers/net/ethernet/cavium/liquidio/ |
D | liquidio_image.h | 37 __be32 crc32; /* crc32 of image */ member 51 __be32 crc32; /* header checksum */ member
|
/linux-6.6.21/kernel/power/ |
D | swap.c | 103 u32 crc32; member 110 u32 crc32; member 331 swsusp_header->crc32 = handle->crc32; in mark_swapfiles() 594 u32 *crc32; /* points to handle's crc32 */ member 619 *d->crc32 = crc32_le(*d->crc32, in crc32_threadfn() 748 handle->crc32 = 0; in save_image_lzo() 749 crc->crc32 = &handle->crc32; in save_image_lzo() 1240 handle->crc32 = 0; in load_image_lzo() 1241 crc->crc32 = &handle->crc32; in load_image_lzo() 1448 if(handle->crc32 != swsusp_header->crc32) { in load_image_lzo()
|
/linux-6.6.21/drivers/net/wireless/ath/carl9170/ |
D | fw.c | 139 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.6.21/drivers/gpu/drm/i915/gvt/ |
D | firmware.c | 42 u32 crc32; /* protect the data after this field */ member 108 h->crc32 = crc32_le(0, firmware + crc32_start, size - crc32_start); in expose_firmware_sysfs() 156 crc32_start = offsetofend(struct gvt_firmware_header, crc32); in verify_firmware() 167 VERIFY("crc32", h->crc32, crc32_le(0, mem, fw->size - crc32_start)); in verify_firmware()
|
/linux-6.6.21/Documentation/translations/zh_CN/staging/ |
D | xz.rst | 57 或LZMA_CHECK_CRC32。使用xz命令行工具时,使用--check=none或--check=crc32。 68 xz --check=crc32 --lzma2=dict=512KiB inputfile
|
/linux-6.6.21/arch/x86/crypto/ |
D | Makefile | 77 obj-$(CONFIG_CRYPTO_CRC32_PCLMUL) += crc32-pclmul.o 78 crc32-pclmul-y := crc32-pclmul_asm.o crc32-pclmul_glue.o
|
D | crc32c-pcl-intel-asm_64.S | 49 ## 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.6.21/Documentation/pcmcia/ |
D | devicetable.rst | 17 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.6.21/arch/loongarch/crypto/ |
D | Makefile | 6 obj-$(CONFIG_CRYPTO_CRC32_LOONGARCH) += crc32-loongarch.o
|
/linux-6.6.21/drivers/crypto/stm32/ |
D | Makefile | 2 obj-$(CONFIG_CRYPTO_DEV_STM32_CRC) += stm32-crc32.o
|
/linux-6.6.21/Documentation/staging/ |
D | index.rst | 9 crc32
|
/linux-6.6.21/scripts/ |
D | xz_wrap.sh | 23 exec $XZ --check=crc32 $BCJ --lzma2=$LZMA2OPTS,dict=32MiB
|