FreeBSD ZFS
The Zettabyte File System
Data Structures | Typedefs | Functions

sys/dsl_synctask.h File Reference

#include <sys/txg.h>
#include <sys/zfs_context.h>
Include dependency graph for dsl_synctask.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dsl_sync_task
struct  dsl_sync_task_group

Typedefs

typedef int( dsl_checkfunc_t )(void *, void *, dmu_tx_t *)
typedef void( dsl_syncfunc_t )(void *, void *, dmu_tx_t *)
typedef struct dsl_sync_task dsl_sync_task_t
typedef struct dsl_sync_task_group dsl_sync_task_group_t

Functions

dsl_sync_task_group_tdsl_sync_task_group_create (struct dsl_pool *dp)
void dsl_sync_task_create (dsl_sync_task_group_t *dstg, dsl_checkfunc_t *, dsl_syncfunc_t *, void *arg1, void *arg2, int blocks_modified)
int dsl_sync_task_group_wait (dsl_sync_task_group_t *dstg)
void dsl_sync_task_group_nowait (dsl_sync_task_group_t *dstg, dmu_tx_t *tx)
void dsl_sync_task_group_destroy (dsl_sync_task_group_t *dstg)
void dsl_sync_task_group_sync (dsl_sync_task_group_t *dstg, dmu_tx_t *tx)
int dsl_sync_task_do (struct dsl_pool *dp, dsl_checkfunc_t *checkfunc, dsl_syncfunc_t *syncfunc, void *arg1, void *arg2, int blocks_modified)
void dsl_sync_task_do_nowait (struct dsl_pool *dp, dsl_checkfunc_t *checkfunc, dsl_syncfunc_t *syncfunc, void *arg1, void *arg2, int blocks_modified, dmu_tx_t *tx)

Typedef Documentation

typedef int( dsl_checkfunc_t)(void *, void *, dmu_tx_t *)

Definition at line 37 of file dsl_synctask.h.

typedef void( dsl_syncfunc_t)(void *, void *, dmu_tx_t *)

Definition at line 38 of file dsl_synctask.h.


Function Documentation

void dsl_sync_task_create ( dsl_sync_task_group_t dstg,
dsl_checkfunc_t ,
dsl_syncfunc_t ,
void *  arg1,
void *  arg2,
int  blocks_modified 
)

Definition at line 55 of file dsl_synctask.c.

int dsl_sync_task_do ( struct dsl_pool dp,
dsl_checkfunc_t checkfunc,
dsl_syncfunc_t syncfunc,
void *  arg1,
void *  arg2,
int  blocks_modified 
)

Definition at line 209 of file dsl_synctask.c.

void dsl_sync_task_do_nowait ( struct dsl_pool dp,
dsl_checkfunc_t checkfunc,
dsl_syncfunc_t syncfunc,
void *  arg1,
void *  arg2,
int  blocks_modified,
dmu_tx_t tx 
)

Definition at line 227 of file dsl_synctask.c.

dsl_sync_task_group_t* dsl_sync_task_group_create ( struct dsl_pool dp)

Definition at line 42 of file dsl_synctask.c.

void dsl_sync_task_group_destroy ( dsl_sync_task_group_t dstg)

Definition at line 146 of file dsl_synctask.c.

void dsl_sync_task_group_nowait ( dsl_sync_task_group_t dstg,
dmu_tx_t tx 
)

Definition at line 131 of file dsl_synctask.c.

void dsl_sync_task_group_sync ( dsl_sync_task_group_t dstg,
dmu_tx_t tx 
)

Definition at line 158 of file dsl_synctask.c.

int dsl_sync_task_group_wait ( dsl_sync_task_group_t dstg)

Definition at line 74 of file dsl_synctask.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines