/linux-5.19.10/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-5.19.10/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 | 335 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink() 338 ri->data_crc = cpu_to_je32(crc32(0, target, targetlen)); in jffs2_symlink() 339 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_symlink() 402 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink() 410 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_symlink() 411 rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); in jffs2_symlink() 498 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_mkdir() 546 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mkdir() 554 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_mkdir() 555 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 …]
|
D | xattr.c | 68 return crc32(xprefix, xname, name_len) ^ crc32(xprefix, xvalue, xsize); in xattr_datum_hashkey() 154 crc = crc32(0, &rx, sizeof(rx) - 4); in do_verify_xattr_datum() 231 crc = crc32(0, data, length); in do_load_xattr_datum() 307 rx.hdr_crc = cpu_to_je32(crc32(0, &rx, sizeof(struct jffs2_unknown_node) - 4)); in save_xattr_datum() 314 rx.data_crc = cpu_to_je32(crc32(0, vecs[1].iov_base, vecs[1].iov_len)); in save_xattr_datum() 315 rx.node_crc = cpu_to_je32(crc32(0, &rx, sizeof(struct jffs2_raw_xattr) - 4)); in save_xattr_datum() 385 xd->data_crc = crc32(0, data, xd->name_len + 1 + xd->value_len); in create_xattr_datum() 466 crc = crc32(0, &rr, sizeof(rr) - 4); in verify_xattr_ref() 517 rr.hdr_crc = cpu_to_je32(crc32(0, &rr, sizeof(struct jffs2_unknown_node) - 4)); in save_xattr_ref() 529 rr.node_crc = cpu_to_je32(crc32(0, &rr, sizeof(rr) - 4)); in save_xattr_ref()
|
/linux-5.19.10/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-5.19.10/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 …]
|
D | xz_stream.h | 15 # undef crc32
|
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/net/ethernet/cavium/liquidio/ |
D | liquidio_image.h | 37 __be32 crc32; /* crc32 of image */ member 51 __be32 crc32; /* header checksum */ member
|
/linux-5.19.10/drivers/gpu/drm/i915/gvt/ |
D | firmware.c | 42 u32 crc32; /* protect the data after this field */ member 107 crc32_start = offsetof(struct gvt_firmware_header, crc32) + 4; in expose_firmware_sysfs() 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-5.19.10/kernel/power/ |
D | swap.c | 103 u32 crc32; member 110 u32 crc32; member 333 swsusp_header->crc32 = handle->crc32; in mark_swapfiles() 596 u32 *crc32; /* points to handle's crc32 */ member 621 *d->crc32 = crc32_le(*d->crc32, in crc32_threadfn() 750 handle->crc32 = 0; in save_image_lzo() 751 crc->crc32 = &handle->crc32; in save_image_lzo() 1242 handle->crc32 = 0; in load_image_lzo() 1243 crc->crc32 = &handle->crc32; in load_image_lzo() 1450 if(handle->crc32 != swsusp_header->crc32) { in load_image_lzo()
|
/linux-5.19.10/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-5.19.10/arch/x86/crypto/ |
D | Makefile | 74 obj-$(CONFIG_CRYPTO_CRC32_PCLMUL) += crc32-pclmul.o 75 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-5.19.10/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-5.19.10/drivers/crypto/stm32/ |
D | Makefile | 2 obj-$(CONFIG_CRYPTO_DEV_STM32_CRC) += stm32-crc32.o
|
/linux-5.19.10/drivers/gpu/drm/vkms/ |
D | vkms_composer.c | 229 u32 crc32 = 0; in vkms_composer_worker() local 270 crc32 = compute_crc(vaddr_out, primary_composer); in vkms_composer_worker() 285 drm_crtc_add_crc_entry(crtc, true, frame_start++, &crc32); in vkms_composer_worker()
|
/linux-5.19.10/scripts/ |
D | xz_wrap.sh | 23 exec $XZ --check=crc32 $BCJ --lzma2=$LZMA2OPTS,dict=32MiB
|
/linux-5.19.10/Documentation/staging/ |
D | index.rst | 9 crc32
|
/linux-5.19.10/drivers/misc/ |
D | pci_endpoint_test.c | 491 u32 crc32; in pci_endpoint_test_write() local 539 crc32 = crc32_le(~0, addr, size); in pci_endpoint_test_write() 541 crc32); in pci_endpoint_test_write() 589 u32 crc32; in pci_endpoint_test_read() local 653 crc32 = crc32_le(~0, addr, size); in pci_endpoint_test_read() 654 if (crc32 == pci_endpoint_test_readl(test, PCI_ENDPOINT_TEST_CHECKSUM)) in pci_endpoint_test_read()
|
/linux-5.19.10/arch/mips/crypto/ |
D | Makefile | 6 obj-$(CONFIG_CRYPTO_CRC32_MIPS) += crc32-mips.o
|