1789Sahrens /* 2789Sahrens * CDDL HEADER START 3789Sahrens * 4789Sahrens * The contents of this file are subject to the terms of the 54451Seschrock * Common Development and Distribution License (the "License"). 64451Seschrock * You may not use this file except in compliance with the License. 7789Sahrens * 8789Sahrens * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9789Sahrens * or http://www.opensolaris.org/os/licensing. 10789Sahrens * See the License for the specific language governing permissions 11789Sahrens * and limitations under the License. 12789Sahrens * 13789Sahrens * When distributing Covered Code, include this CDDL HEADER in each 14789Sahrens * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15789Sahrens * If applicable, add the following below this CDDL HEADER, with the 16789Sahrens * fields enclosed by brackets "[]" replaced with your own identifying 17789Sahrens * information: Portions Copyright [yyyy] [name of copyright owner] 18789Sahrens * 19789Sahrens * CDDL HEADER END 20789Sahrens */ 21789Sahrens /* 229816SGeorge.Wilson@Sun.COM * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23789Sahrens * Use is subject to license terms. 24789Sahrens */ 25789Sahrens 26789Sahrens #ifndef _SYS_ZFS_CONTEXT_H 27789Sahrens #define _SYS_ZFS_CONTEXT_H 28789Sahrens 29789Sahrens #ifdef __cplusplus 30789Sahrens extern "C" { 31789Sahrens #endif 32789Sahrens 33789Sahrens #include <sys/note.h> 34789Sahrens #include <sys/types.h> 35789Sahrens #include <sys/t_lock.h> 36789Sahrens #include <sys/atomic.h> 37789Sahrens #include <sys/sysmacros.h> 38789Sahrens #include <sys/bitmap.h> 39789Sahrens #include <sys/cmn_err.h> 40789Sahrens #include <sys/kmem.h> 41789Sahrens #include <sys/taskq.h> 42789Sahrens #include <sys/buf.h> 43789Sahrens #include <sys/param.h> 44789Sahrens #include <sys/systm.h> 45789Sahrens #include <sys/cpuvar.h> 46789Sahrens #include <sys/kobj.h> 47789Sahrens #include <sys/conf.h> 48789Sahrens #include <sys/disp.h> 49789Sahrens #include <sys/debug.h> 50789Sahrens #include <sys/random.h> 51789Sahrens #include <sys/byteorder.h> 52789Sahrens #include <sys/systm.h> 53789Sahrens #include <sys/list.h> 54789Sahrens #include <sys/uio.h> 55789Sahrens #include <sys/dirent.h> 56789Sahrens #include <sys/time.h> 57789Sahrens #include <vm/seg_kmem.h> 58789Sahrens #include <sys/zone.h> 59789Sahrens #include <sys/uio.h> 60789Sahrens #include <sys/zfs_debug.h> 614451Seschrock #include <sys/sysevent.h> 624451Seschrock #include <sys/sysevent/eventdefs.h> 639816SGeorge.Wilson@Sun.COM #include <sys/sysevent/dev.h> 645329Sgw25295 #include <sys/fm/util.h> 65*11022STom.Erickson@Sun.COM #include <sys/sunddi.h> 66789Sahrens 67789Sahrens #define CPU_SEQID (CPU->cpu_seqid) 68789Sahrens 69789Sahrens #ifdef __cplusplus 70789Sahrens } 71789Sahrens #endif 72789Sahrens 73789Sahrens #endif /* _SYS_ZFS_CONTEXT_H */ 74