Home
last modified time | relevance | path

Searched refs:calc_crc32c (Results 1 – 17 of 17) sorted by relevance

/reactos/drivers/filesystems/btrfs/
H A Dcrc32c.h17 extern crc_func calc_crc32c;
H A Dcrc32c.c23 crc_func calc_crc32c = calc_crc32c_sw; variable
H A Dcalcthread.c75 *(uint32_t*)dest = ~calc_crc32c(0xffffffff, src, Vcb->superblock.sector_size); in calc_thread_main()
H A Dcreate.c204 hash = calc_crc32c(0xffffffff, (uint8_t*)fnus.Buffer, fnus.Length); in find_file_in_dir()
625 dc->hash = calc_crc32c(0xffffffff, (uint8_t*)dc->name.Buffer, dc->name.Length);
626 dc->hash_uc = calc_crc32c(0xffffffff, (uint8_t*)dc->name_uc.Buffer, dc->name_uc.Length);
694 dc->hash = calc_crc32c(0xffffffff, (uint8_t*)dc->name.Buffer, dc->name.Length);
718 hash = calc_crc32c(0xffffffff, (uint8_t*)&inode, sizeof(uint64_t));
1399 crc32 = calc_crc32c(0xfffffffe, (uint8_t*)xattr.Buffer, xattr.Length);
1920 dc->hash = calc_crc32c(0xffffffff, (uint8_t*)dc->name.Buffer, dc->name.Length); in add_dir_child()
1921 dc->hash_uc = calc_crc32c(0xffffffff, (uint8_t*)dc->name_uc.Buffer, dc->name_uc.Length); in add_dir_child()
2363 fcb->hash = calc_crc32c(0xffffffff, (uint8_t*)&inode, sizeof(uint64_t));
2533 uint32_t dc_hash = calc_crc32c(0xffffffff, (uint8_t*)fpus->Buffer, fpus->Length);
[all …]
H A Dfree-space.c588 … crc32 = ~calc_crc32c(0xffffffff, &data[i << Vcb->sector_shift], Vcb->superblock.sector_size); in load_stored_free_space_cache()
592 …crc32 = ~calc_crc32c(0xffffffff, &data[sizeof(uint32_t) * num_sectors], ((i + 1) << Vcb->sector_sh… in load_stored_free_space_cache()
1153 c->cache->hash = calc_crc32c(0xffffffff, (uint8_t*)&c->cache->inode, sizeof(uint64_t)); in allocate_cache_chunk()
1812 …checksums[i] = ~calc_crc32c(0xffffffff, (uint8_t*)data + (i << Vcb->sector_shift), Vcb->superblock… in update_chunk_cache()
1816 …checksums[i] = ~calc_crc32c(0xffffffff, (uint8_t*)data + (sizeof(uint32_t) * num_sectors), ((i + 1… in update_chunk_cache()
H A Dfileinfo.c804 fcb->hash = calc_crc32c(0xffffffff, (uint8_t*)&fcb->inode, sizeof(uint64_t)); in create_directory_fcb()
1049 …me->fileref->fcb->hash = calc_crc32c(0xffffffff, (uint8_t*)&me->fileref->fcb->inode, sizeof(uint64… in move_across_subvols()
1295 …me->fileref->dc->hash = calc_crc32c(0xffffffff, (uint8_t*)me->fileref->dc->name.Buffer, me->filere… in move_across_subvols()
2081 crc32 = calc_crc32c(0xfffffffe, (uint8_t*)adsxattr.Buffer, adsxattr.Length); in rename_stream()
2498 dc->hash = calc_crc32c(0xffffffff, (uint8_t*)dc->name.Buffer, dc->name.Length); in rename_file_to_stream()
2500 dc->hash_uc = calc_crc32c(0xffffffff, (uint8_t*)dc->name_uc.Buffer, dc->name_uc.Length); in rename_file_to_stream()
2507 crc32 = calc_crc32c(0xfffffffe, (uint8_t*)adsxattr.Buffer, adsxattr.Length); in rename_file_to_stream()
2845 …fileref->dc->hash = calc_crc32c(0xffffffff, (uint8_t*)fileref->dc->name.Buffer, fileref->dc->name.… in set_rename_information()
2846 …fileref->dc->hash_uc = calc_crc32c(0xffffffff, (uint8_t*)fileref->dc->name_uc.Buffer, fileref->dc-… in set_rename_information()
3011 …fileref->dc->hash = calc_crc32c(0xffffffff, (uint8_t*)fileref->dc->name.Buffer, fileref->dc->name.… in set_rename_information()
[all …]
H A Ddirctrl.c917 hash = calc_crc32c(0xffffffff, (uint8_t*)us.Buffer, us.Length); in query_directory()
919 … hash = calc_crc32c(0xffffffff, (uint8_t*)ccb->query_string.Buffer, ccb->query_string.Length); in query_directory()
H A Dtreefuncs.c51 t->hash = calc_crc32c(0xffffffff, (uint8_t*)&addr, sizeof(uint64_t)); in load_tree()
1302 bi2->key.offset = calc_crc32c((uint32_t)bi->key.offset, (uint8_t*)ier->name, ier->n); in add_delete_inode_extref()
1477 … bi2->key.offset = calc_crc32c((uint32_t)ier->dir, (uint8_t*)ier->name, ier->n); in handle_batch_collision()
H A Dextent-tree.c38 high_crc = calc_crc32c(high_crc, (uint8_t*)&root, sizeof(uint64_t)); in get_extent_data_ref_hash2()
39 low_crc = calc_crc32c(low_crc, (uint8_t*)&objid, sizeof(uint64_t)); in get_extent_data_ref_hash2()
40 low_crc = calc_crc32c(low_crc, (uint8_t*)&offset, sizeof(uint64_t)); in get_extent_data_ref_hash2()
H A Dread.c111 …*(uint32_t*)csum = ~calc_crc32c(0xffffffff, (uint8_t*)&th->fs_uuid, Vcb->superblock.node_size - si… in get_tree_checksum()
131 …uint32_t crc32 = ~calc_crc32c(0xffffffff, (uint8_t*)&th->fs_uuid, Vcb->superblock.node_size - size… in check_tree_checksum()
185 *(uint32_t*)csum = ~calc_crc32c(0xffffffff, buf, Vcb->superblock.sector_size); in get_sector_csum()
205 uint32_t crc32 = ~calc_crc32c(0xffffffff, buf, Vcb->superblock.sector_size); in check_sector_csum()
H A Dflushthread.c1809 …*((uint32_t*)th) = ~calc_crc32c(0xffffffff, (uint8_t*)&th->fs_uuid, Vcb->superblock.node_size - si… in calc_tree_checksum()
2214 …*(uint32_t*)sb = ~calc_crc32c(0xffffffff, (uint8_t*)&sb->uuid, (ULONG)sizeof(superblock) - sizeof(… in calc_superblock_checksum()
5425 uint32_t hash = calc_crc32c(0xfffffffe, (uint8_t*)xa->data, xa->namelen); in flush_fcb()
6543 … crc32 = calc_crc32c(0xfffffffe, (uint8_t*)fileref->dc->utf8.Buffer, fileref->dc->utf8.Length); in flush_fileref()
6647 crc32 = calc_crc32c(0xfffffffe, (uint8_t*)name->Buffer, name->Length); in flush_fileref()
6722 … crc32 = calc_crc32c(0xfffffffe, (uint8_t*)fileref->dc->utf8.Buffer, fileref->dc->utf8.Length); in flush_fileref()
6727 … oldcrc32 = calc_crc32c(0xfffffffe, (uint8_t*)fileref->oldutf8.Buffer, fileref->oldutf8.Length); in flush_fileref()
H A Dfsctl.c966 …rootfcb->hash = calc_crc32c(0xffffffff, (uint8_t*)&rootfcb->inode, sizeof(uint64_t)); // FIXME - w… in create_subvol()
3971 fcb->hash = calc_crc32c(0xffffffff, (uint8_t*)&fcb->inode, sizeof(uint64_t)); in mknod()
3975 fcb->hash = calc_crc32c(0xffffffff, (uint8_t*)&fcb->inode, sizeof(uint64_t)); in mknod()
3977 uint32_t hash = calc_crc32c(0xffffffff, (uint8_t*)&bmn->inode, sizeof(uint64_t)); in mknod()
H A Dsend.c129 bsc->csum = calc_crc32c(0, (uint8_t*)bsc, context->datalen - pos); in send_command_finish()
187 searchkey.offset = calc_crc32c(0xfffffffe, (uint8_t*)name, (ULONG)(ptr - name)); in get_orphan_name()
1142 searchkey.offset = calc_crc32c(0xfffffffe, (uint8_t*)name, namelen); in look_for_collision()
H A Dbtrfs.c2828 …uint32_t crc32 = ~calc_crc32c(0xffffffff, (uint8_t*)&sb->uuid, (ULONG)sizeof(superblock) - sizeof(…
4899 root_fcb->hash = calc_crc32c(0xffffffff, (uint8_t*)&root_fcb->inode, sizeof(uint64_t));
6006 calc_crc32c = calc_crc32c_hw;
H A Dbalance.c704 hash = calc_crc32c(0xffffffff, (uint8_t*)&mr->address, sizeof(uint64_t));
953 … t3->hash = calc_crc32c(0xffffffff, (uint8_t*)&t3->header.address, sizeof(uint64_t));
/reactos/sdk/lib/fslib/btrfslib/
H A Dbtrfslib.c603 … *(uint32_t*)th = ~calc_crc32c(0xffffffff, (uint8_t*)&th->fs_uuid, node_size - sizeof(th->csum));
735 …*(uint32_t*)sb = ~calc_crc32c(0xffffffff, (uint8_t*)&sb->uuid, (ULONG)sizeof(superblock) - sizeof(…
1168 …uint32_t crc32 = ~calc_crc32c(0xffffffff, (uint8_t*)&sb->uuid, (ULONG)sizeof(superblock) - sizeof(…
1332 calc_crc32c = calc_crc32c_hw;
/reactos/dll/shellext/shellbtrfs/
H A Drecv.cpp1152 calc = calc_crc32c(0, (uint8_t*)cmd, sizeof(btrfs_send_command)); in check_csum()
1155 calc = calc_crc32c(calc, data, cmd->length); in check_csum()
1389 calc_crc32c = calc_crc32c_hw; in check_cpu()