On 09/23/2017 12:35 PM, Hans van Kranenburg wrote:
> Hi,
>
> When looking around in the kernel code, I ran into this (hash.h):
>
> u32 btrfs_crc32c(u32 crc, const void *address, unsigned int length);
>
> [...]
>
> static inline u64 btrfs_extref_hash(u64 parent_objectid, const char *name,
> int
Hi,
When looking around in the kernel code, I ran into this (hash.h):
u32 btrfs_crc32c(u32 crc, const void *address, unsigned int length);
[...]
static inline u64 btrfs_extref_hash(u64 parent_objectid, const char *name,
int len)
{
return (u64) btrfs_crc32c(parent_objectid, name, len);
}
[...]