FreeBSD ZFS
The Zettabyte File System
Data Fields

ddt_ops Struct Reference

Ops vector to access a specific DDT object type. More...

#include <ddt.h>

Data Fields

char ddt_op_name [32]
int(* ddt_op_create )(objset_t *os, uint64_t *object, dmu_tx_t *tx, boolean_t prehash)
int(* ddt_op_destroy )(objset_t *os, uint64_t object, dmu_tx_t *tx)
int(* ddt_op_lookup )(objset_t *os, uint64_t object, ddt_entry_t *dde)
void(* ddt_op_prefetch )(objset_t *os, uint64_t object, ddt_entry_t *dde)
int(* ddt_op_update )(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx)
int(* ddt_op_remove )(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx)
int(* ddt_op_walk )(objset_t *os, uint64_t object, ddt_entry_t *dde, uint64_t *walk)
uint64_t(* ddt_op_count )(objset_t *os, uint64_t object)

Detailed Description

Ops vector to access a specific DDT object type.

Definition at line 155 of file ddt.h.


Field Documentation

uint64_t(* ddt_ops::ddt_op_count)(objset_t *os, uint64_t object)

Definition at line 169 of file ddt.h.

int(* ddt_ops::ddt_op_create)(objset_t *os, uint64_t *object, dmu_tx_t *tx, boolean_t prehash)

Definition at line 157 of file ddt.h.

int(* ddt_ops::ddt_op_destroy)(objset_t *os, uint64_t object, dmu_tx_t *tx)

Definition at line 159 of file ddt.h.

int(* ddt_ops::ddt_op_lookup)(objset_t *os, uint64_t object, ddt_entry_t *dde)

Definition at line 160 of file ddt.h.

Definition at line 156 of file ddt.h.

void(* ddt_ops::ddt_op_prefetch)(objset_t *os, uint64_t object, ddt_entry_t *dde)

Definition at line 161 of file ddt.h.

int(* ddt_ops::ddt_op_remove)(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx)

Definition at line 165 of file ddt.h.

int(* ddt_ops::ddt_op_update)(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx)

Definition at line 163 of file ddt.h.

int(* ddt_ops::ddt_op_walk)(objset_t *os, uint64_t object, ddt_entry_t *dde, uint64_t *walk)

Definition at line 167 of file ddt.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines