FreeBSD ZFS
The Zettabyte File System
Functions | Variables

ddt_zap.c File Reference

#include <sys/zfs_context.h>
#include <sys/spa.h>
#include <sys/zio.h>
#include <sys/ddt.h>
#include <sys/zap.h>
#include <sys/dmu_tx.h>
Include dependency graph for ddt_zap.c:

Go to the source code of this file.

Functions

static int ddt_zap_create (objset_t *os, uint64_t *objectp, dmu_tx_t *tx, boolean_t prehash)
static int ddt_zap_destroy (objset_t *os, uint64_t object, dmu_tx_t *tx)
static int ddt_zap_lookup (objset_t *os, uint64_t object, ddt_entry_t *dde)
static void ddt_zap_prefetch (objset_t *os, uint64_t object, ddt_entry_t *dde)
static int ddt_zap_update (objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx)
static int ddt_zap_remove (objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx)
static int ddt_zap_walk (objset_t *os, uint64_t object, ddt_entry_t *dde, uint64_t *walk)
static uint64_t ddt_zap_count (objset_t *os, uint64_t object)

Variables

int ddt_zap_leaf_blockshift = 12
int ddt_zap_indirect_blockshift = 12
const ddt_ops_t ddt_zap_ops

Function Documentation

static uint64_t ddt_zap_count ( objset_t os,
uint64_t  object 
) [static]

Definition at line 137 of file ddt_zap.c.

static int ddt_zap_create ( objset_t os,
uint64_t *  objectp,
dmu_tx_t tx,
boolean_t  prehash 
) [static]

Definition at line 37 of file ddt_zap.c.

static int ddt_zap_destroy ( objset_t os,
uint64_t  object,
dmu_tx_t tx 
) [static]

Definition at line 52 of file ddt_zap.c.

static int ddt_zap_lookup ( objset_t os,
uint64_t  object,
ddt_entry_t dde 
) [static]

Definition at line 58 of file ddt_zap.c.

static void ddt_zap_prefetch ( objset_t os,
uint64_t  object,
ddt_entry_t dde 
) [static]

Definition at line 83 of file ddt_zap.c.

static int ddt_zap_remove ( objset_t os,
uint64_t  object,
ddt_entry_t dde,
dmu_tx_t tx 
) [static]

Definition at line 103 of file ddt_zap.c.

static int ddt_zap_update ( objset_t os,
uint64_t  object,
ddt_entry_t dde,
dmu_tx_t tx 
) [static]

Definition at line 90 of file ddt_zap.c.

static int ddt_zap_walk ( objset_t os,
uint64_t  object,
ddt_entry_t dde,
uint64_t *  walk 
) [static]

Definition at line 110 of file ddt_zap.c.


Variable Documentation

Definition at line 34 of file ddt_zap.c.

Definition at line 33 of file ddt_zap.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines