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/dsl_userhold.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 /*
    3  * CDDL HEADER START
    4  *
    5  * The contents of this file are subject to the terms of the
    6  * Common Development and Distribution License (the "License").
    7  * You may not use this file except in compliance with the License.
    8  *
    9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   10  * or https://opensource.org/licenses/CDDL-1.0.
   11  * See the License for the specific language governing permissions
   12  * and limitations under the License.
   13  *
   14  * When distributing Covered Code, include this CDDL HEADER in each
   15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
   16  * If applicable, add the following below this CDDL HEADER, with the
   17  * fields enclosed by brackets "[]" replaced with your own identifying
   18  * information: Portions Copyright [yyyy] [name of copyright owner]
   19  *
   20  * CDDL HEADER END
   21  */
   22 /*
   23  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
   24  * Copyright (c) 2012 by Delphix. All rights reserved.
   25  * Copyright (c) 2012, Joyent, Inc. All rights reserved.
   26  * Copyright (c) 2013 Steven Hartland. All rights reserved.
   27  */
   28 
   29 #ifndef _SYS_DSL_USERHOLD_H
   30 #define _SYS_DSL_USERHOLD_H
   31 
   32 #include <sys/nvpair.h>
   33 #include <sys/types.h>
   34 
   35 #ifdef  __cplusplus
   36 extern "C" {
   37 #endif
   38 
   39 struct dsl_pool;
   40 struct dsl_dataset;
   41 struct dmu_tx;
   42 
   43 int dsl_dataset_user_hold(nvlist_t *holds, minor_t cleanup_minor,
   44     nvlist_t *errlist);
   45 int dsl_dataset_user_release(nvlist_t *holds, nvlist_t *errlist);
   46 int dsl_dataset_get_holds(const char *dsname, nvlist_t *nvl);
   47 void dsl_dataset_user_release_tmp(struct dsl_pool *dp, nvlist_t *holds);
   48 int dsl_dataset_user_hold_check_one(struct dsl_dataset *ds, const char *htag,
   49     boolean_t temphold, struct dmu_tx *tx);
   50 void dsl_dataset_user_hold_sync_one(struct dsl_dataset *ds, const char *htag,
   51     minor_t minor, uint64_t now, struct dmu_tx *tx);
   52 
   53 #ifdef  __cplusplus
   54 }
   55 #endif
   56 
   57 #endif /* _SYS_DSL_USERHOLD_H */

Cache object: a1df8431cad6a3251fba79826b758021


[ 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.