The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/openzfs/include/sys/dmu_send.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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
    9  * or https://opensource.org/licenses/CDDL-1.0.
   10  * See the License for the specific language governing permissions
   11  * and limitations under the License.
   12  *
   13  * When distributing Covered Code, include this CDDL HEADER in each
   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 /*
   23  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
   24  * Copyright (c) 2012, 2018 by Delphix. All rights reserved.
   25  * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
   26  * Copyright (c) 2013, Joyent, Inc. All rights reserved.
   27  */
   28 
   29 #ifndef _DMU_SEND_H
   30 #define _DMU_SEND_H
   31 
   32 #include <sys/inttypes.h>
   33 #include <sys/dsl_crypt.h>
   34 #include <sys/dsl_bookmark.h>
   35 #include <sys/spa.h>
   36 #include <sys/objlist.h>
   37 #include <sys/dmu_redact.h>
   38 
   39 #define BEGINNV_REDACT_SNAPS            "redact_snaps"
   40 #define BEGINNV_REDACT_FROM_SNAPS       "redact_from_snaps"
   41 #define BEGINNV_RESUME_OBJECT           "resume_object"
   42 #define BEGINNV_RESUME_OFFSET           "resume_offset"
   43 
   44 struct vnode;
   45 struct dsl_dataset;
   46 struct drr_begin;
   47 struct avl_tree;
   48 struct dmu_replay_record;
   49 struct dmu_send_outparams;
   50 int
   51 dmu_send(const char *tosnap, const char *fromsnap, boolean_t embedok,
   52     boolean_t large_block_ok, boolean_t compressok, boolean_t rawok,
   53     boolean_t savedok, uint64_t resumeobj, uint64_t resumeoff,
   54     const char *redactbook, int outfd, offset_t *off,
   55     struct dmu_send_outparams *dsop);
   56 int dmu_send_estimate_fast(struct dsl_dataset *ds, struct dsl_dataset *fromds,
   57     zfs_bookmark_phys_t *frombook, boolean_t stream_compressed,
   58     boolean_t saved, uint64_t *sizep);
   59 int dmu_send_obj(const char *pool, uint64_t tosnap, uint64_t fromsnap,
   60     boolean_t embedok, boolean_t large_block_ok, boolean_t compressok,
   61     boolean_t rawok, boolean_t savedok, int outfd, offset_t *off,
   62     struct dmu_send_outparams *dso);
   63 
   64 typedef int (*dmu_send_outfunc_t)(objset_t *os, void *buf, int len, void *arg);
   65 typedef struct dmu_send_outparams {
   66         dmu_send_outfunc_t      dso_outfunc;
   67         void                    *dso_arg;
   68         boolean_t               dso_dryrun;
   69 } dmu_send_outparams_t;
   70 
   71 #endif /* _DMU_SEND_H */

Cache object: 651a9ee07f559c7de880d17d07c53e0e


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.