FreeBSD ZFS
The Zettabyte File System
|
#include <sys/zio.h>
Go to the source code of this file.
Data Structures | |
struct | zio_checksum_info |
Information about each checksum function. More... | |
struct | zio_bad_cksum |
Typedefs | |
typedef void | zio_checksum_t (const void *data, uint64_t size, zio_cksum_t *zcp) |
Signature for checksum functions. | |
typedef struct zio_checksum_info | zio_checksum_info_t |
Information about each checksum function. | |
typedef struct zio_bad_cksum | zio_bad_cksum_t |
Functions | |
void | zio_checksum_compute (zio_t *zio, enum zio_checksum checksum, void *data, uint64_t size) |
Generate the checksum. | |
int | zio_checksum_error (zio_t *zio, zio_bad_cksum_t *out) |
enum zio_checksum | spa_dedup_checksum (spa_t *spa) |
Variables | |
zio_checksum_info_t | zio_checksum_table [ZIO_CHECKSUM_FUNCTIONS] |
zio_checksum_t | zio_checksum_SHA256 |
typedef struct zio_bad_cksum zio_bad_cksum_t |
typedef struct zio_checksum_info zio_checksum_info_t |
Information about each checksum function.
typedef void zio_checksum_t(const void *data, uint64_t size, zio_cksum_t *zcp) |
Signature for checksum functions.
Definition at line 37 of file zio_checksum.h.
enum zio_checksum spa_dedup_checksum | ( | spa_t * | spa | ) |
Definition at line 1710 of file spa_misc.c.
void zio_checksum_compute | ( | zio_t * | zio, |
enum zio_checksum | checksum, | ||
void * | data, | ||
uint64_t | size | ||
) |
Generate the checksum.
Definition at line 152 of file zio_checksum.c.
int zio_checksum_error | ( | zio_t * | zio, |
zio_bad_cksum_t * | out | ||
) |
Definition at line 190 of file zio_checksum.c.
zio_checksum_t zio_checksum_SHA256 |
zio_checksum_info_t zio_checksum_table[ZIO_CHECKSUM_FUNCTIONS] |
Definition at line 70 of file zio_checksum.c.