FreeBSD ZFS
The Zettabyte File System
Defines | Functions

dsl_synctask.c File Reference

#include <sys/dmu.h>
#include <sys/dmu_tx.h>
#include <sys/dsl_pool.h>
#include <sys/dsl_dir.h>
#include <sys/dsl_synctask.h>
#include <sys/metaslab.h>
Include dependency graph for dsl_synctask.c:

Go to the source code of this file.

Defines

#define DST_AVG_BLKSHIFT   14

Functions

static int dsl_null_checkfunc (void *arg1, void *arg2, dmu_tx_t *tx)
dsl_sync_task_group_tdsl_sync_task_group_create (dsl_pool_t *dp)
void dsl_sync_task_create (dsl_sync_task_group_t *dstg, dsl_checkfunc_t *checkfunc, dsl_syncfunc_t *syncfunc, 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 (dsl_pool_t *dp, dsl_checkfunc_t *checkfunc, dsl_syncfunc_t *syncfunc, void *arg1, void *arg2, int blocks_modified)
void dsl_sync_task_do_nowait (dsl_pool_t *dp, dsl_checkfunc_t *checkfunc, dsl_syncfunc_t *syncfunc, void *arg1, void *arg2, int blocks_modified, dmu_tx_t *tx)

Define Documentation

#define DST_AVG_BLKSHIFT   14

Definition at line 32 of file dsl_synctask.c.


Function Documentation

static int dsl_null_checkfunc ( void *  arg1,
void *  arg2,
dmu_tx_t tx 
) [static]

Definition at line 36 of file dsl_synctask.c.

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

Definition at line 55 of file dsl_synctask.c.

int dsl_sync_task_do ( dsl_pool_t 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 ( dsl_pool_t 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 ( dsl_pool_t 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