| FreeBSD ZFS The Zettabyte File System | 
#include <sys/dmu.h>#include <sys/dmu_impl.h>#include <sys/dmu_tx.h>#include <sys/dbuf.h>#include <sys/dnode.h>#include <sys/zfs_context.h>#include <sys/dmu_objset.h>#include <sys/dmu_traverse.h>#include <sys/dsl_dataset.h>#include <sys/dsl_dir.h>#include <sys/dsl_pool.h>#include <sys/dsl_synctask.h>#include <sys/zfs_ioctl.h>#include <sys/zap.h>#include <sys/zio_checksum.h>#include <sys/zfs_znode.h>
Go to the source code of this file.
| Data Structures | |
| struct | diffarg | 
| Defines | |
| #define | DBP_SPAN(dnp, level) | 
| Functions | |
| static int | write_bytes (struct diffarg *da) | 
| static int | write_record (struct diffarg *da) | 
| static int | report_free_dnode_range (struct diffarg *da, uint64_t first, uint64_t last) | 
| static int | report_dnode (struct diffarg *da, uint64_t object, dnode_phys_t *dnp) | 
| static int | diff_cb (spa_t *spa, zilog_t *zilog, const blkptr_t *bp, arc_buf_t *pbuf, const zbookmark_t *zb, const dnode_phys_t *dnp, void *arg) | 
| int | dmu_diff (objset_t *tosnap, objset_t *fromsnap, struct file *fp, offset_t *offp) | 
| #define DBP_SPAN | ( | dnp, | |
| level | |||
| ) | 
(((uint64_t)dnp->dn_datablkszsec) << (SPA_MINBLOCKSHIFT + \ (level) * (dnp->dn_indblkshift - SPA_BLKPTRSHIFT)))
Definition at line 125 of file dmu_diff.c.
| static int diff_cb | ( | spa_t * | spa, | 
| zilog_t * | zilog, | ||
| const blkptr_t * | bp, | ||
| arc_buf_t * | pbuf, | ||
| const zbookmark_t * | zb, | ||
| const dnode_phys_t * | dnp, | ||
| void * | arg | ||
| ) |  [static] | 
Definition at line 131 of file dmu_diff.c.
Definition at line 181 of file dmu_diff.c.
| static int report_dnode | ( | struct diffarg * | da, | 
| uint64_t | object, | ||
| dnode_phys_t * | dnp | ||
| ) |  [static] | 
Definition at line 107 of file dmu_diff.c.
| static int report_free_dnode_range | ( | struct diffarg * | da, | 
| uint64_t | first, | ||
| uint64_t | last | ||
| ) |  [static] | 
Definition at line 90 of file dmu_diff.c.
| static int write_bytes | ( | struct diffarg * | da | ) |  [static] | 
Definition at line 51 of file dmu_diff.c.
| static int write_record | ( | struct diffarg * | da | ) |  [static] | 
Definition at line 76 of file dmu_diff.c.
 1.7.3
 1.7.3