Home
last modified time | relevance | path

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

123456

/Linux-v5.10/arch/arm64/lib/
Dcrc32.S33 crc32\c\()x w8, w0, x3
38 crc32\c\()w w8, w0, w3
43 crc32\c\()h w8, w0, w3
47 crc32\c\()b w8, w0, w3
50 crc32\c\()x w8, w0, x5
51 crc32\c\()x w8, w8, x6
62 crc32\c\()x w0, w0, x3
63 crc32\c\()x w0, w0, x4
64 crc32\c\()x w0, w0, x5
65 crc32\c\()x w0, w0, x6
[all …]
/Linux-v5.10/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.c331 ri->hdr_crc = cpu_to_je32(crc32(0, ri, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink()
334 ri->data_crc = cpu_to_je32(crc32(0, target, targetlen)); in jffs2_symlink()
335 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_symlink()
398 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_symlink()
406 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_symlink()
407 rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen)); in jffs2_symlink()
493 ri->node_crc = cpu_to_je32(crc32(0, ri, sizeof(*ri)-8)); in jffs2_mkdir()
541 rd->hdr_crc = cpu_to_je32(crc32(0, rd, sizeof(struct jffs2_unknown_node)-4)); in jffs2_mkdir()
549 rd->node_crc = cpu_to_je32(crc32(0, rd, sizeof(*rd)-8)); in jffs2_mkdir()
550 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 …]
Dxattr.c68 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-v5.10/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-v5.10/arch/s390/crypto/
DMakefile16 obj-$(CONFIG_CRYPTO_CRC32_S390) += crc32-vx_s390.o
19 crc32-vx_s390-y := crc32-vx.o crc32le-vx.o crc32be-vx.o
/Linux-v5.10/lib/xz/
Dxz_dec_stream.c17 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 …]
Dxz_stream.h15 # undef crc32
/Linux-v5.10/arch/arm/crypto/
Dcrc32-ce-core.S254 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
DMakefile22 obj-$(CONFIG_CRYPTO_CRC32_ARM_CE) += crc32-arm-ce.o
37 crc32-arm-ce-y:= crc32-ce-core.o crc32-ce-glue.o
/Linux-v5.10/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-v5.10/drivers/net/ethernet/cavium/liquidio/
Dliquidio_image.h37 __be32 crc32; /* crc32 of image */ member
51 __be32 crc32; /* header checksum */ member
/Linux-v5.10/drivers/gpu/drm/i915/gvt/
Dfirmware.c42 u32 crc32; /* protect the data after this field */ member
114 crc32_start = offsetof(struct gvt_firmware_header, crc32) + 4; in expose_firmware_sysfs()
115 h->crc32 = crc32_le(0, firmware + crc32_start, size - crc32_start); in expose_firmware_sysfs()
163 crc32_start = offsetofend(struct gvt_firmware_header, crc32); in verify_firmware()
174 VERIFY("crc32", h->crc32, crc32_le(0, mem, fw->size - crc32_start)); in verify_firmware()
/Linux-v5.10/kernel/power/
Dswap.c102 u32 crc32; member
108 u32 crc32; member
329 swsusp_header->crc32 = handle->crc32; in mark_swapfiles()
592 u32 *crc32; /* points to handle's crc32 */ member
617 *d->crc32 = crc32_le(*d->crc32, in crc32_threadfn()
749 handle->crc32 = 0; in save_image_lzo()
750 crc->crc32 = &handle->crc32; in save_image_lzo()
1244 handle->crc32 = 0; in load_image_lzo()
1245 crc->crc32 = &handle->crc32; in load_image_lzo()
1452 if(handle->crc32 != swsusp_header->crc32) { in load_image_lzo()
/Linux-v5.10/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-v5.10/arch/x86/crypto/
DMakefile78 obj-$(CONFIG_CRYPTO_CRC32_PCLMUL) += crc32-pclmul.o
79 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
236 crc32 %rax, crc_init
279 crc32q i(bufptmp), crc_init # Compute crc32 of 8-byte data
/Linux-v5.10/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-v5.10/tools/testing/selftests/firmware/
Dfw_filesystem.sh413 xz -9 -C crc32 -k $RANDOM_FILE_PATH
415 xz -9 -C crc32 $RANDOM_FILE_PATH
504 xz -9 -C crc32 -k $FW
/Linux-v5.10/drivers/gpu/drm/vkms/
Dvkms_composer.c191 u32 crc32 = 0; in vkms_composer_worker() local
231 crc32 = compute_crc(vaddr_out, primary_composer); in vkms_composer_worker()
246 drm_crtc_add_crc_entry(crtc, true, frame_start++, &crc32); in vkms_composer_worker()
/Linux-v5.10/drivers/crypto/stm32/
DMakefile2 obj-$(CONFIG_CRYPTO_DEV_STM32_CRC) += stm32-crc32.o
/Linux-v5.10/scripts/
Dxz_wrap.sh23 exec $XZ --check=crc32 $BCJ --lzma2=$LZMA2OPTS,dict=32MiB
/Linux-v5.10/Documentation/staging/
Dindex.rst9 crc32
/Linux-v5.10/drivers/misc/
Dpci_endpoint_test.c490 u32 crc32; in pci_endpoint_test_write() local
538 crc32 = crc32_le(~0, addr, size); in pci_endpoint_test_write()
540 crc32); in pci_endpoint_test_write()
588 u32 crc32; in pci_endpoint_test_read() local
652 crc32 = crc32_le(~0, addr, size); in pci_endpoint_test_read()
653 if (crc32 == pci_endpoint_test_readl(test, PCI_ENDPOINT_TEST_CHECKSUM)) in pci_endpoint_test_read()

123456