Deleted Added
full compact
dsl_dataset.h (185029) dsl_dataset.h (209962)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 5 unchanged lines hidden (view full) ---

14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 5 unchanged lines hidden (view full) ---

14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 */
25
26#ifndef _SYS_DSL_DATASET_H
27#define _SYS_DSL_DATASET_H
28
29#include <sys/dmu.h>
30#include <sys/spa.h>

--- 159 unchanged lines hidden (view full) ---

190
191boolean_t dsl_dataset_modified_since_lastsnap(dsl_dataset_t *ds);
192
193void dsl_dataset_sync(dsl_dataset_t *os, zio_t *zio, dmu_tx_t *tx);
194
195void dsl_dataset_block_born(dsl_dataset_t *ds, blkptr_t *bp, dmu_tx_t *tx);
196int dsl_dataset_block_kill(dsl_dataset_t *ds, blkptr_t *bp, zio_t *pio,
197 dmu_tx_t *tx);
23 * Use is subject to license terms.
24 */
25
26#ifndef _SYS_DSL_DATASET_H
27#define _SYS_DSL_DATASET_H
28
29#include <sys/dmu.h>
30#include <sys/spa.h>

--- 159 unchanged lines hidden (view full) ---

190
191boolean_t dsl_dataset_modified_since_lastsnap(dsl_dataset_t *ds);
192
193void dsl_dataset_sync(dsl_dataset_t *os, zio_t *zio, dmu_tx_t *tx);
194
195void dsl_dataset_block_born(dsl_dataset_t *ds, blkptr_t *bp, dmu_tx_t *tx);
196int dsl_dataset_block_kill(dsl_dataset_t *ds, blkptr_t *bp, zio_t *pio,
197 dmu_tx_t *tx);
198int dsl_dataset_block_freeable(dsl_dataset_t *ds, uint64_t blk_birth);
198boolean_t dsl_dataset_block_freeable(dsl_dataset_t *ds, uint64_t blk_birth);
199uint64_t dsl_dataset_prev_snap_txg(dsl_dataset_t *ds);
200
201void dsl_dataset_dirty(dsl_dataset_t *ds, dmu_tx_t *tx);
202void dsl_dataset_stats(dsl_dataset_t *os, nvlist_t *nv);
203void dsl_dataset_fast_stat(dsl_dataset_t *ds, dmu_objset_stats_t *stat);
204void dsl_dataset_space(dsl_dataset_t *ds,
205 uint64_t *refdbytesp, uint64_t *availbytesp,
206 uint64_t *usedobjsp, uint64_t *availobjsp);

--- 33 unchanged lines hidden ---
199uint64_t dsl_dataset_prev_snap_txg(dsl_dataset_t *ds);
200
201void dsl_dataset_dirty(dsl_dataset_t *ds, dmu_tx_t *tx);
202void dsl_dataset_stats(dsl_dataset_t *os, nvlist_t *nv);
203void dsl_dataset_fast_stat(dsl_dataset_t *ds, dmu_objset_stats_t *stat);
204void dsl_dataset_space(dsl_dataset_t *ds,
205 uint64_t *refdbytesp, uint64_t *availbytesp,
206 uint64_t *usedobjsp, uint64_t *availobjsp);

--- 33 unchanged lines hidden ---