Public Release Prep
Updated AUTHORS, COPYING, DISCLAIMER, and INSTALL files. Added standardized headers to all source file to clearly indicate the copyright, license, and to give credit where credit is due.
This commit is contained in:
parent
8e2140b770
commit
716154c592
12
AUTHORS
12
AUTHORS
|
@ -1,4 +1,10 @@
|
||||||
Brian Behlendorf <behlendorf1@llnl.gov>,
|
Brian Behlendorf <behlendorf1@llnl.gov>
|
||||||
|
- Core Implementation.
|
||||||
|
|
||||||
Ricardo M. Correia <Ricardo.M.Correia@Sun.COM>
|
Ricardo M. Correia <Ricardo.M.Correia@Sun.COM>
|
||||||
Herb Wartens <wartens2@llnl.gov>,
|
- Bug Fixes
|
||||||
Jim Garlick <garlick@llnl.gov>
|
- XDR Implementation.
|
||||||
|
|
||||||
|
Chris Dunlap <cdunlap@llnl.gov>
|
||||||
|
- LSD-Tools List Implementation.
|
||||||
|
- AutoConf META File Support.
|
||||||
|
|
39
COPYING
39
COPYING
|
@ -1,12 +1,12 @@
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
Version 2, June 1991
|
Version 2, June 1991
|
||||||
|
|
||||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||||
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
Preamble
|
Preamble
|
||||||
|
|
||||||
The licenses for most software are designed to take away your
|
The licenses for most software are designed to take away your
|
||||||
freedom to share and change it. By contrast, the GNU General Public
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
|
@ -15,7 +15,7 @@ software--to make sure the software is free for all its users. This
|
||||||
General Public License applies to most of the Free Software
|
General Public License applies to most of the Free Software
|
||||||
Foundation's software and to any other program whose authors commit to
|
Foundation's software and to any other program whose authors commit to
|
||||||
using it. (Some other Free Software Foundation software is covered by
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
the GNU Library General Public License instead.) You can apply it to
|
the GNU Lesser General Public License instead.) You can apply it to
|
||||||
your programs, too.
|
your programs, too.
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
@ -55,8 +55,8 @@ patent must be licensed for everyone's free use or not licensed at all.
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
The precise terms and conditions for copying, distribution and
|
||||||
modification follow.
|
modification follow.
|
||||||
|
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
0. This License applies to any program or other work which contains
|
0. This License applies to any program or other work which contains
|
||||||
|
@ -110,7 +110,7 @@ above, provided that you also meet all of these conditions:
|
||||||
License. (Exception: if the Program itself is interactive but
|
License. (Exception: if the Program itself is interactive but
|
||||||
does not normally print such an announcement, your work based on
|
does not normally print such an announcement, your work based on
|
||||||
the Program is not required to print an announcement.)
|
the Program is not required to print an announcement.)
|
||||||
|
|
||||||
These requirements apply to the modified work as a whole. If
|
These requirements apply to the modified work as a whole. If
|
||||||
identifiable sections of that work are not derived from the Program,
|
identifiable sections of that work are not derived from the Program,
|
||||||
and can be reasonably considered independent and separate works in
|
and can be reasonably considered independent and separate works in
|
||||||
|
@ -168,7 +168,7 @@ access to copy from a designated place, then offering equivalent
|
||||||
access to copy the source code from the same place counts as
|
access to copy the source code from the same place counts as
|
||||||
distribution of the source code, even though third parties are not
|
distribution of the source code, even though third parties are not
|
||||||
compelled to copy the source along with the object code.
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
4. You may not copy, modify, sublicense, or distribute the Program
|
4. You may not copy, modify, sublicense, or distribute the Program
|
||||||
except as expressly provided under this License. Any attempt
|
except as expressly provided under this License. Any attempt
|
||||||
otherwise to copy, modify, sublicense or distribute the Program is
|
otherwise to copy, modify, sublicense or distribute the Program is
|
||||||
|
@ -225,7 +225,7 @@ impose that choice.
|
||||||
|
|
||||||
This section is intended to make thoroughly clear what is believed to
|
This section is intended to make thoroughly clear what is believed to
|
||||||
be a consequence of the rest of this License.
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
8. If the distribution and/or use of the Program is restricted in
|
8. If the distribution and/or use of the Program is restricted in
|
||||||
certain countries either by patents or by copyrighted interfaces, the
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
original copyright holder who places the Program under this License
|
original copyright holder who places the Program under this License
|
||||||
|
@ -255,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals
|
||||||
of preserving the free status of all derivatives of our free software and
|
of preserving the free status of all derivatives of our free software and
|
||||||
of promoting the sharing and reuse of software generally.
|
of promoting the sharing and reuse of software generally.
|
||||||
|
|
||||||
NO WARRANTY
|
NO WARRANTY
|
||||||
|
|
||||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||||
|
@ -277,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||||
POSSIBILITY OF SUCH DAMAGES.
|
POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
How to Apply These Terms to Your New Programs
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
If you develop a new program, and you want it to be of the greatest
|
||||||
possible use to the public, the best way to achieve this is to make it
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
@ -303,10 +303,9 @@ the "copyright" line and a pointer to where the full notice is found.
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along
|
||||||
along with this program; if not, write to the Free Software
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
@ -336,5 +335,5 @@ necessary. Here is a sample; alter the names:
|
||||||
This General Public License does not permit incorporating your program into
|
This General Public License does not permit incorporating your program into
|
||||||
proprietary programs. If your program is a subroutine library, you may
|
proprietary programs. If your program is a subroutine library, you may
|
||||||
consider it more useful to permit linking proprietary applications with the
|
consider it more useful to permit linking proprietary applications with the
|
||||||
library. If this is what you want to do, use the GNU Library General
|
library. If this is what you want to do, use the GNU Lesser General
|
||||||
Public License instead of this License.
|
Public License instead of this License.
|
||||||
|
|
36
DISCLAIMER
36
DISCLAIMER
|
@ -1,22 +1,24 @@
|
||||||
This notice is required to be provided under our contract with the
|
This work was produced at the Lawrence Livermore National Laboratory
|
||||||
U.S. Department of Energy (DOE). This work was produced at the
|
(LLNL) under Contract No. DE-AC52-07NA27344 (Contract 44) between
|
||||||
Lawrence Livermore National Laboratory under Contract with the DOE.
|
the U.S. Department of Energy (DOE) and Lawrence Livermore National
|
||||||
|
Security, LLC (LLNS) for the operation of LLNL.
|
||||||
|
|
||||||
Neither the United States Government nor the Lawrence Livermore National
|
This work was prepared as an account of work sponsored by an agency of
|
||||||
Security, LLC. nor any of their employees, makes any warranty, express
|
the United States Government. Neither the United States Government nor
|
||||||
or implied, or assumes any liability or responsibility for the accuracy,
|
Lawrence Livermore National Security, LLC nor any of their employees,
|
||||||
completeness, or usefulness of any information, apparatus, product,
|
makes any warranty, express or implied, or assumes any liability or
|
||||||
or process disclosed, or represents that its use would not infringe
|
responsibility for the accuracy, completeness, or usefulness of any
|
||||||
privately-owned rights.
|
information, apparatus, product, or process disclosed, or represents
|
||||||
|
that its use would not infringe privately-owned rights.
|
||||||
|
|
||||||
Also, reference herein to any specific commercial products, process,
|
Reference herein to any specific commercial products, process, or
|
||||||
or services by trade name, trademark, manufacturer or otherwise does
|
services by trade name, trademark, manufacturer or otherwise does
|
||||||
not necessarily constitute or imply its endorsement, recommendation,
|
not necessarily constitute or imply its endorsement, recommendation,
|
||||||
or favoring by the United States Government or the Lawrence Livermore
|
or favoring by the United States Government or Lawrence Livermore
|
||||||
National Security, LLC. The views and opinions of authors expressed
|
National Security, LLC. The views and opinions of authors expressed
|
||||||
herein do not necessarily state or reflect those of the United States
|
herein do not necessarily state or reflect those of the Untied States
|
||||||
Government or the Lawrence Livermore National Security, LLC., and
|
Government or Lawrence Livermore National Security, LLC, and shall
|
||||||
shall not be used for advertising or product endorsement purposes.
|
not be used for advertising or product endorsement purposes.
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
The precise terms and conditions for copying, distribution, and
|
||||||
modification are specified in the file "COPYING".
|
modification are specified in the file "COPYING".
|
||||||
|
|
162
INSTALL
162
INSTALL
|
@ -1,16 +1,19 @@
|
||||||
Installation Instructions
|
Installation Instructions
|
||||||
*************************
|
*************************
|
||||||
|
|
||||||
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
|
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
|
||||||
Software Foundation, Inc.
|
2006, 2007, 2008 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is free documentation; the Free Software Foundation gives
|
This file is free documentation; the Free Software Foundation gives
|
||||||
unlimited permission to copy, distribute and modify it.
|
unlimited permission to copy, distribute and modify it.
|
||||||
|
|
||||||
Basic Installation
|
Basic Installation
|
||||||
==================
|
==================
|
||||||
|
|
||||||
These are generic installation instructions.
|
Briefly, the shell commands `./configure; make; make install' should
|
||||||
|
configure, build, and install this package. The following
|
||||||
|
more-detailed instructions are generic; see the `README' file for
|
||||||
|
instructions specific to this package.
|
||||||
|
|
||||||
The `configure' shell script attempts to guess correct values for
|
The `configure' shell script attempts to guess correct values for
|
||||||
various system-dependent variables used during compilation. It uses
|
various system-dependent variables used during compilation. It uses
|
||||||
|
@ -23,9 +26,9 @@ debugging `configure').
|
||||||
|
|
||||||
It can also use an optional file (typically called `config.cache'
|
It can also use an optional file (typically called `config.cache'
|
||||||
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
||||||
the results of its tests to speed up reconfiguring. (Caching is
|
the results of its tests to speed up reconfiguring. Caching is
|
||||||
disabled by default to prevent problems with accidental use of stale
|
disabled by default to prevent problems with accidental use of stale
|
||||||
cache files.)
|
cache files.
|
||||||
|
|
||||||
If you need to do unusual things to compile the package, please try
|
If you need to do unusual things to compile the package, please try
|
||||||
to figure out how `configure' could check whether to do them, and mail
|
to figure out how `configure' could check whether to do them, and mail
|
||||||
|
@ -35,22 +38,17 @@ some point `config.cache' contains results you don't want to keep, you
|
||||||
may remove or edit it.
|
may remove or edit it.
|
||||||
|
|
||||||
The file `configure.ac' (or `configure.in') is used to create
|
The file `configure.ac' (or `configure.in') is used to create
|
||||||
`configure' by a program called `autoconf'. You only need
|
`configure' by a program called `autoconf'. You need `configure.ac' if
|
||||||
`configure.ac' if you want to change it or regenerate `configure' using
|
you want to change it or regenerate `configure' using a newer version
|
||||||
a newer version of `autoconf'.
|
of `autoconf'.
|
||||||
|
|
||||||
The simplest way to compile this package is:
|
The simplest way to compile this package is:
|
||||||
|
|
||||||
0. `cd' to the directory containing the package's source code and type
|
1. `cd' to the directory containing the package's source code and type
|
||||||
`sh ./autogen.sh' to generate the configure script for your package.
|
`./configure' to configure the package for your system.
|
||||||
|
|
||||||
1. Type `./configure' to configure the package for your system. If you're
|
Running `configure' might take a while. While running, it prints
|
||||||
using `csh' on an old version of System V, you might need to type
|
some messages telling which features it is checking for.
|
||||||
`sh ./configure' instead to prevent `csh' from trying to execute
|
|
||||||
`configure' itself.
|
|
||||||
|
|
||||||
Running `configure' takes awhile. While running, it prints some
|
|
||||||
messages telling which features it is checking for.
|
|
||||||
|
|
||||||
2. Type `make' to compile the package.
|
2. Type `make' to compile the package.
|
||||||
|
|
||||||
|
@ -69,51 +67,66 @@ The simplest way to compile this package is:
|
||||||
all sorts of other programs in order to regenerate files that came
|
all sorts of other programs in order to regenerate files that came
|
||||||
with the distribution.
|
with the distribution.
|
||||||
|
|
||||||
|
6. Often, you can also type `make uninstall' to remove the installed
|
||||||
|
files again.
|
||||||
|
|
||||||
Compilers and Options
|
Compilers and Options
|
||||||
=====================
|
=====================
|
||||||
|
|
||||||
Some systems require unusual options for compilation or linking that the
|
Some systems require unusual options for compilation or linking that
|
||||||
`configure' script does not know about. Run `./configure --help' for
|
the `configure' script does not know about. Run `./configure --help'
|
||||||
details on some of the pertinent environment variables.
|
for details on some of the pertinent environment variables.
|
||||||
|
|
||||||
You can give `configure' initial values for configuration parameters
|
You can give `configure' initial values for configuration parameters
|
||||||
by setting variables in the command line or in the environment. Here
|
by setting variables in the command line or in the environment. Here
|
||||||
is an example:
|
is an example:
|
||||||
|
|
||||||
./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
|
./configure CC=c99 CFLAGS=-g LIBS=-lposix
|
||||||
|
|
||||||
*Note Defining Variables::, for more details.
|
*Note Defining Variables::, for more details.
|
||||||
|
|
||||||
Compiling For Multiple Architectures
|
Compiling For Multiple Architectures
|
||||||
====================================
|
====================================
|
||||||
|
|
||||||
You can compile the package for more than one kind of computer at the
|
You can compile the package for more than one kind of computer at the
|
||||||
same time, by placing the object files for each architecture in their
|
same time, by placing the object files for each architecture in their
|
||||||
own directory. To do this, you must use a version of `make' that
|
own directory. To do this, you can use GNU `make'. `cd' to the
|
||||||
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
|
||||||
directory where you want the object files and executables to go and run
|
directory where you want the object files and executables to go and run
|
||||||
the `configure' script. `configure' automatically checks for the
|
the `configure' script. `configure' automatically checks for the
|
||||||
source code in the directory that `configure' is in and in `..'.
|
source code in the directory that `configure' is in and in `..'.
|
||||||
|
|
||||||
If you have to use a `make' that does not support the `VPATH'
|
With a non-GNU `make', it is safer to compile the package for one
|
||||||
variable, you have to compile the package for one architecture at a
|
architecture at a time in the source code directory. After you have
|
||||||
time in the source code directory. After you have installed the
|
installed the package for one architecture, use `make distclean' before
|
||||||
package for one architecture, use `make distclean' before reconfiguring
|
reconfiguring for another architecture.
|
||||||
for another architecture.
|
|
||||||
|
On MacOS X 10.5 and later systems, you can create libraries and
|
||||||
|
executables that work on multiple system types--known as "fat" or
|
||||||
|
"universal" binaries--by specifying multiple `-arch' options to the
|
||||||
|
compiler but only a single `-arch' option to the preprocessor. Like
|
||||||
|
this:
|
||||||
|
|
||||||
|
./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
|
||||||
|
CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
|
||||||
|
CPP="gcc -E" CXXCPP="g++ -E"
|
||||||
|
|
||||||
|
This is not guaranteed to produce working output in all cases, you
|
||||||
|
may have to build one architecture at a time and combine the results
|
||||||
|
using the `lipo' tool if you have problems.
|
||||||
|
|
||||||
Installation Names
|
Installation Names
|
||||||
==================
|
==================
|
||||||
|
|
||||||
By default, `make install' will install the package's files in
|
By default, `make install' installs the package's commands under
|
||||||
`/usr/local/bin', `/usr/local/man', etc. You can specify an
|
`/usr/local/bin', include files under `/usr/local/include', etc. You
|
||||||
installation prefix other than `/usr/local' by giving `configure' the
|
can specify an installation prefix other than `/usr/local' by giving
|
||||||
option `--prefix=PREFIX'.
|
`configure' the option `--prefix=PREFIX'.
|
||||||
|
|
||||||
You can specify separate installation prefixes for
|
You can specify separate installation prefixes for
|
||||||
architecture-specific files and architecture-independent files. If you
|
architecture-specific files and architecture-independent files. If you
|
||||||
give `configure' the option `--exec-prefix=PREFIX', the package will
|
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
|
||||||
use PREFIX as the prefix for installing programs and libraries.
|
PREFIX as the prefix for installing programs and libraries.
|
||||||
Documentation and other data files will still use the regular prefix.
|
Documentation and other data files still use the regular prefix.
|
||||||
|
|
||||||
In addition, if you use an unusual directory layout you can give
|
In addition, if you use an unusual directory layout you can give
|
||||||
options like `--bindir=DIR' to specify different values for particular
|
options like `--bindir=DIR' to specify different values for particular
|
||||||
|
@ -127,7 +140,7 @@ option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||||
Optional Features
|
Optional Features
|
||||||
=================
|
=================
|
||||||
|
|
||||||
Some packages pay attention to `--enable-FEATURE' options to
|
Some packages pay attention to `--enable-FEATURE' options to
|
||||||
`configure', where FEATURE indicates an optional part of the package.
|
`configure', where FEATURE indicates an optional part of the package.
|
||||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||||
is something like `gnu-as' or `x' (for the X Window System). The
|
is something like `gnu-as' or `x' (for the X Window System). The
|
||||||
|
@ -139,14 +152,36 @@ find the X include and library files automatically, but if it doesn't,
|
||||||
you can use the `configure' options `--x-includes=DIR' and
|
you can use the `configure' options `--x-includes=DIR' and
|
||||||
`--x-libraries=DIR' to specify their locations.
|
`--x-libraries=DIR' to specify their locations.
|
||||||
|
|
||||||
|
Particular systems
|
||||||
|
==================
|
||||||
|
|
||||||
|
On HP-UX, the default C compiler is not ANSI C compatible. If GNU
|
||||||
|
CC is not installed, it is recommended to use the following options in
|
||||||
|
order to use an ANSI C compiler:
|
||||||
|
|
||||||
|
./configure CC="cc -Ae"
|
||||||
|
|
||||||
|
and if that doesn't work, install pre-built binaries of GCC for HP-UX.
|
||||||
|
|
||||||
|
On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
|
||||||
|
parse its `<wchar.h>' header file. The option `-nodtk' can be used as
|
||||||
|
a workaround. If GNU CC is not installed, it is therefore recommended
|
||||||
|
to try
|
||||||
|
|
||||||
|
./configure CC="cc"
|
||||||
|
|
||||||
|
and if that doesn't work, try
|
||||||
|
|
||||||
|
./configure CC="cc -nodtk"
|
||||||
|
|
||||||
Specifying the System Type
|
Specifying the System Type
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
There may be some features `configure' cannot figure out automatically,
|
There may be some features `configure' cannot figure out
|
||||||
but needs to determine by the type of machine the package will run on.
|
automatically, but needs to determine by the type of machine the package
|
||||||
Usually, assuming the package is built to be run on the _same_
|
will run on. Usually, assuming the package is built to be run on the
|
||||||
architectures, `configure' can figure that out, but if it prints a
|
_same_ architectures, `configure' can figure that out, but if it prints
|
||||||
message saying it cannot guess the machine type, give it the
|
a message saying it cannot guess the machine type, give it the
|
||||||
`--build=TYPE' option. TYPE can either be a short name for the system
|
`--build=TYPE' option. TYPE can either be a short name for the system
|
||||||
type, such as `sun4', or a canonical name which has the form:
|
type, such as `sun4', or a canonical name which has the form:
|
||||||
|
|
||||||
|
@ -161,7 +196,7 @@ where SYSTEM can have one of these forms:
|
||||||
need to know the machine type.
|
need to know the machine type.
|
||||||
|
|
||||||
If you are _building_ compiler tools for cross-compiling, you should
|
If you are _building_ compiler tools for cross-compiling, you should
|
||||||
use the `--target=TYPE' option to select the type of system they will
|
use the option `--target=TYPE' to select the type of system they will
|
||||||
produce code for.
|
produce code for.
|
||||||
|
|
||||||
If you want to _use_ a cross compiler, that generates code for a
|
If you want to _use_ a cross compiler, that generates code for a
|
||||||
|
@ -172,9 +207,9 @@ eventually be run) with `--host=TYPE'.
|
||||||
Sharing Defaults
|
Sharing Defaults
|
||||||
================
|
================
|
||||||
|
|
||||||
If you want to set default values for `configure' scripts to share, you
|
If you want to set default values for `configure' scripts to share,
|
||||||
can create a site shell script called `config.site' that gives default
|
you can create a site shell script called `config.site' that gives
|
||||||
values for variables like `CC', `cache_file', and `prefix'.
|
default values for variables like `CC', `cache_file', and `prefix'.
|
||||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||||
`CONFIG_SITE' environment variable to the location of the site script.
|
`CONFIG_SITE' environment variable to the location of the site script.
|
||||||
|
@ -183,7 +218,7 @@ A warning: not all `configure' scripts look for a site script.
|
||||||
Defining Variables
|
Defining Variables
|
||||||
==================
|
==================
|
||||||
|
|
||||||
Variables not defined in a site shell script can be set in the
|
Variables not defined in a site shell script can be set in the
|
||||||
environment passed to `configure'. However, some packages may run
|
environment passed to `configure'. However, some packages may run
|
||||||
configure again during the build, and the customized values of these
|
configure again during the build, and the customized values of these
|
||||||
variables may be lost. In order to avoid this problem, you should set
|
variables may be lost. In order to avoid this problem, you should set
|
||||||
|
@ -192,21 +227,29 @@ them in the `configure' command line, using `VAR=value'. For example:
|
||||||
./configure CC=/usr/local2/bin/gcc
|
./configure CC=/usr/local2/bin/gcc
|
||||||
|
|
||||||
causes the specified `gcc' to be used as the C compiler (unless it is
|
causes the specified `gcc' to be used as the C compiler (unless it is
|
||||||
overridden in the site shell script). Here is a another example:
|
overridden in the site shell script).
|
||||||
|
|
||||||
/bin/bash ./configure CONFIG_SHELL=/bin/bash
|
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
||||||
|
an Autoconf bug. Until the bug is fixed you can use this workaround:
|
||||||
|
|
||||||
Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
|
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
|
||||||
configuration-related scripts to be executed by `/bin/bash'.
|
|
||||||
|
|
||||||
`configure' Invocation
|
`configure' Invocation
|
||||||
======================
|
======================
|
||||||
|
|
||||||
`configure' recognizes the following options to control how it operates.
|
`configure' recognizes the following options to control how it
|
||||||
|
operates.
|
||||||
|
|
||||||
`--help'
|
`--help'
|
||||||
`-h'
|
`-h'
|
||||||
Print a summary of the options to `configure', and exit.
|
Print a summary of all of the options to `configure', and exit.
|
||||||
|
|
||||||
|
`--help=short'
|
||||||
|
`--help=recursive'
|
||||||
|
Print a summary of the options unique to this package's
|
||||||
|
`configure', and exit. The `short' variant lists options used
|
||||||
|
only in the top level, while the `recursive' variant lists options
|
||||||
|
also present in any nested packages.
|
||||||
|
|
||||||
`--version'
|
`--version'
|
||||||
`-V'
|
`-V'
|
||||||
|
@ -233,5 +276,16 @@ configuration-related scripts to be executed by `/bin/bash'.
|
||||||
Look for the package's source code in directory DIR. Usually
|
Look for the package's source code in directory DIR. Usually
|
||||||
`configure' can determine that directory automatically.
|
`configure' can determine that directory automatically.
|
||||||
|
|
||||||
|
`--prefix=DIR'
|
||||||
|
Use DIR as the installation prefix. *Note Installation Names::
|
||||||
|
for more details, including other options available for fine-tuning
|
||||||
|
the installation locations.
|
||||||
|
|
||||||
|
`--no-create'
|
||||||
|
`-n'
|
||||||
|
Run the configure checks, but stop before creating any output
|
||||||
|
files.
|
||||||
|
|
||||||
`configure' also accepts some other, not widely useful, options. Run
|
`configure' also accepts some other, not widely useful, options. Run
|
||||||
`configure --help' for more details.
|
`configure --help' for more details.
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,14 @@
|
||||||
|
|
||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
# Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
# Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
###############################################################################
|
||||||
|
# Build targets for RPM.
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
@ -761,6 +769,7 @@ uninstall-am:
|
||||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||||
tags tags-recursive uninstall uninstall-am
|
tags tags-recursive uninstall uninstall-am
|
||||||
|
|
||||||
|
|
||||||
rpm-local:
|
rpm-local:
|
||||||
mkdir -p $(rpmbuild)/TMP && \
|
mkdir -p $(rpmbuild)/TMP && \
|
||||||
mkdir -p $(rpmbuild)/BUILD && \
|
mkdir -p $(rpmbuild)/BUILD && \
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
aclocal -I config &&
|
aclocal -I config
|
||||||
libtoolize --automake --copy
|
libtoolize --automake --copy
|
||||||
autoheader &&
|
autoheader
|
||||||
automake --add-missing --include-deps --copy
|
automake --add-missing --include-deps --copy
|
||||||
autoconf
|
autoconf
|
||||||
rm -rf autom4te.cache aclocal.m4
|
rm -rf autom4te.cache aclocal.m4
|
||||||
|
|
|
@ -15,6 +15,14 @@
|
||||||
|
|
||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
# Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
# Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
###############################################################################
|
||||||
|
# Common rules for user space components.
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
34
cmd/spl.c
34
cmd/spl.c
|
@ -1,28 +1,28 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2008 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
*****************************************************************************
|
||||||
*/
|
* Solaris Porting Layer (SPL) User Space Interface.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
37
cmd/splat.c
37
cmd/splat.c
|
@ -1,30 +1,28 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2008 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
*****************************************************************************
|
||||||
*/
|
* Solaris Porting LAyer Tests (SPLAT) User Space Interface.
|
||||||
|
\*****************************************************************************/
|
||||||
/* Solaris Porting LAyer Tests (SPLAT) userspace interface */
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
@ -834,4 +832,3 @@ out:
|
||||||
fini();
|
fini();
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
32
cmd/splat.h
32
cmd/splat.h
|
@ -1,28 +1,26 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2008 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
\*****************************************************************************/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SPLAT_H
|
#ifndef _SPLAT_H
|
||||||
#define _SPLAT_H
|
#define _SPLAT_H
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
###############################################################################
|
||||||
|
# Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
# Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
# Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
###############################################################################
|
||||||
|
# Common rules for user space components.
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
DEFAULT_INCLUDES = -include ${top_srcdir}/spl_config.h
|
DEFAULT_INCLUDES = -include ${top_srcdir}/spl_config.h
|
||||||
|
|
||||||
AM_LIBTOOLFLAGS = --silent
|
AM_LIBTOOLFLAGS = --silent
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
###############################################################################
|
||||||
|
# Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
# Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
# Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
###############################################################################
|
||||||
|
# Build targets for RPM.
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
rpm-local:
|
rpm-local:
|
||||||
mkdir -p $(rpmbuild)/TMP && \
|
mkdir -p $(rpmbuild)/TMP && \
|
||||||
mkdir -p $(rpmbuild)/BUILD && \
|
mkdir -p $(rpmbuild)/BUILD && \
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
dnl #
|
###############################################################################
|
||||||
dnl # Default SPL kernel configuration
|
# Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
dnl #
|
# Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
# Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
###############################################################################
|
||||||
|
# SPL_AC_CONFIG_KERNEL: Default SPL kernel configuration.
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
AC_DEFUN([SPL_AC_CONFIG_KERNEL], [
|
AC_DEFUN([SPL_AC_CONFIG_KERNEL], [
|
||||||
SPL_AC_KERNEL
|
SPL_AC_KERNEL
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
dnl #
|
###############################################################################
|
||||||
dnl # SPL_AC_META
|
# Written by Chris Dunlap <cdunlap@llnl.gov>.
|
||||||
dnl # Read metadata from the META file.
|
# Modified by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
dnl #
|
###############################################################################
|
||||||
dnl # AUTHOR:
|
# SPL_AC_META: Read metadata from the META file.
|
||||||
dnl # Chris Dunlap <cdunlap@llnl.gov>
|
###############################################################################
|
||||||
dnl # Brian Behlendorf <behlendorf1@llnl.gov>
|
|
||||||
dnl #
|
|
||||||
AC_DEFUN([SPL_AC_META], [
|
AC_DEFUN([SPL_AC_META], [
|
||||||
AC_MSG_CHECKING([metadata])
|
AC_MSG_CHECKING([metadata])
|
||||||
|
|
||||||
|
|
50
configure.ac
50
configure.ac
|
@ -1,28 +1,28 @@
|
||||||
/*
|
###############################################################################
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
# SPL AutoConf Configuration
|
||||||
*
|
###############################################################################
|
||||||
* Copyright (c) 2008 Lawrence Livermore National Security, LLC.
|
# Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
# Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Written by:
|
# Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
# Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
# UCRL-CODE-235197
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
#
|
||||||
* UCRL-CODE-235197
|
# This file is part of the SPL, Solaris Porting Layer.
|
||||||
*
|
# For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* This is free software; you can redistribute it and/or modify it
|
#
|
||||||
* under the terms of the GNU General Public License as published by
|
# The SPL is free software; you can redistribute it and/or modify it
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
# under the terms of the GNU General Public License as published by the
|
||||||
* (at your option) any later version.
|
# Free Software Foundation; either version 2 of the License, or (at your
|
||||||
*
|
# option) any later version.
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
#
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
# The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* for more details.
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
*
|
# for more details.
|
||||||
* You should have received a copy of the GNU General Public License along
|
#
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
# You should have received a copy of the GNU General Public License along
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
###############################################################################
|
||||||
|
|
||||||
AC_INIT
|
AC_INIT
|
||||||
AC_LANG(C)
|
AC_LANG(C)
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_FS_FS_SUBR_H
|
#ifndef _SPL_FS_FS_SUBR_H
|
||||||
#define _SPL_FS_FS_SUBR_H
|
#define _SPL_FS_FS_SUBR_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_BITOPS_COMPAT_H
|
#ifndef _SPL_BITOPS_COMPAT_H
|
||||||
#define _SPL_BITOPS_COMPAT_H
|
#define _SPL_BITOPS_COMPAT_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_FILE_COMPAT_H
|
#ifndef _SPL_FILE_COMPAT_H
|
||||||
#define _SPL_FILE_COMPAT_H
|
#define _SPL_FILE_COMPAT_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_KALLSYMS_COMPAT_H
|
#ifndef _SPL_KALLSYMS_COMPAT_H
|
||||||
#define _SPL_KALLSYMS_COMPAT_H
|
#define _SPL_KALLSYMS_COMPAT_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_LIST_COMPAT_H
|
#ifndef _SPL_LIST_COMPAT_H
|
||||||
#define _SPL_LIST_COMPAT_H
|
#define _SPL_LIST_COMPAT_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_MM_COMPAT_H
|
#ifndef _SPL_MM_COMPAT_H
|
||||||
#define _SPL_MM_COMPAT_H
|
#define _SPL_MM_COMPAT_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_MODULE_COMPAT_H
|
#ifndef _SPL_MODULE_COMPAT_H
|
||||||
#define _SPL_MODULE_COMPAT_H
|
#define _SPL_MODULE_COMPAT_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_MUTEX_COMPAT_H
|
#ifndef _SPL_MUTEX_COMPAT_H
|
||||||
#define _SPL_MUTEX_COMPAT_H
|
#define _SPL_MUTEX_COMPAT_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_SMP_COMPAT_H
|
#ifndef _SPL_SMP_COMPAT_H
|
||||||
#define _SPL_SMP_COMPAT_H
|
#define _SPL_SMP_COMPAT_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_SYSCTL_COMPAT_H
|
#ifndef _SPL_SYSCTL_COMPAT_H
|
||||||
#define _SPL_SYSCTL_COMPAT_H
|
#define _SPL_SYSCTL_COMPAT_H
|
||||||
|
|
||||||
|
@ -23,34 +47,34 @@
|
||||||
#define SPL_PROC_HANDLER(proc_handler) \
|
#define SPL_PROC_HANDLER(proc_handler) \
|
||||||
static int \
|
static int \
|
||||||
proc_handler(struct ctl_table *table, int write, \
|
proc_handler(struct ctl_table *table, int write, \
|
||||||
void __user *buffer, size_t *lenp, loff_t *ppos)
|
void __user *buffer, size_t *lenp, loff_t *ppos)
|
||||||
|
|
||||||
#define spl_proc_dostring(table, write, filp, buffer, lenp, ppos) \
|
#define spl_proc_dostring(table, write, filp, buffer, lenp, ppos) \
|
||||||
proc_dostring(table, write, buffer, lenp, ppos)
|
proc_dostring(table, write, buffer, lenp, ppos)
|
||||||
#define spl_proc_dointvec(table, write, filp, buffer, lenp, ppos) \
|
#define spl_proc_dointvec(table, write, filp, buffer, lenp, ppos) \
|
||||||
proc_dointvec(table, write, buffer, lenp, ppos)
|
proc_dointvec(table, write, buffer, lenp, ppos)
|
||||||
#define spl_proc_dointvec_minmax(table, write, filp, buffer, lenp, ppos) \
|
#define spl_proc_dointvec_minmax(table, write, filp, buffer, lenp, ppos) \
|
||||||
proc_dointvec_minmax(table, write, buffer, lenp, ppos)
|
proc_dointvec_minmax(table, write, buffer, lenp, ppos)
|
||||||
#define spl_proc_dointvec_jiffies(table, write, filp, buffer, lenp, ppos) \
|
#define spl_proc_dointvec_jiffies(table, write, filp, buffer, lenp, ppos) \
|
||||||
proc_dointvec_jiffies(table, write, buffer, lenp, ppos)
|
proc_dointvec_jiffies(table, write, buffer, lenp, ppos)
|
||||||
#define spl_proc_dointvec_userhz_jiffies(table,write,filp,buffer,lenp,ppos) \
|
#define spl_proc_dointvec_userhz_jiffies(table,write,filp,buffer,lenp,ppos) \
|
||||||
proc_dointvec_userhz_jiffies(table, write, buffer, lenp, ppos)
|
proc_dointvec_userhz_jiffies(table, write, buffer, lenp, ppos)
|
||||||
#define spl_proc_dointvec_ms_jiffies(table,write,filp,buffer,lenp,ppos) \
|
#define spl_proc_dointvec_ms_jiffies(table,write,filp,buffer,lenp,ppos) \
|
||||||
proc_dointvec_ms_jiffies(table, write, buffer, lenp, ppos)
|
proc_dointvec_ms_jiffies(table, write, buffer, lenp, ppos)
|
||||||
#define spl_proc_doulongvec_minmax(table, write, filp, buffer, lenp, ppos) \
|
#define spl_proc_doulongvec_minmax(table, write, filp, buffer, lenp, ppos) \
|
||||||
proc_doulongvec_minmax(table, write, buffer, lenp, ppos)
|
proc_doulongvec_minmax(table, write, buffer, lenp, ppos)
|
||||||
#define spl_proc_doulongvec_ms_jiffies_minmax(table,write,filp,buffer,lenp,ppos) \
|
#define spl_proc_doulongvec_ms_jiffies_minmax(table,write,filp,buffer,lenp,ppos)\
|
||||||
proc_doulongvec_ms_jiffies_minmax(table, write, buffer, lenp, ppos)
|
proc_doulongvec_ms_jiffies_minmax(table, write, buffer, lenp, ppos)
|
||||||
|
|
||||||
#else /* HAVE_5ARGS_PROC_HANDLER */
|
#else /* HAVE_5ARGS_PROC_HANDLER */
|
||||||
|
|
||||||
#define SPL_PROC_HANDLER(proc_handler) \
|
#define SPL_PROC_HANDLER(proc_handler) \
|
||||||
static int \
|
static int \
|
||||||
proc_handler(struct ctl_table *table, int write, struct file *filp, \
|
proc_handler(struct ctl_table *table, int write, struct file *filp, \
|
||||||
void __user *buffer, size_t *lenp, loff_t *ppos)
|
void __user *buffer, size_t *lenp, loff_t *ppos)
|
||||||
|
|
||||||
#define spl_proc_dostring(table, write, filp, buffer, lenp, ppos) \
|
#define spl_proc_dostring(table, write, filp, buffer, lenp, ppos) \
|
||||||
proc_dostring(table, write, filp, buffer, lenp, ppos)
|
proc_dostring(table, write, filp, buffer, lenp, ppos)
|
||||||
#define spl_proc_dointvec(table, write, filp, buffer, lenp, ppos) \
|
#define spl_proc_dointvec(table, write, filp, buffer, lenp, ppos) \
|
||||||
proc_dointvec(table, write, filp, buffer, lenp, ppos)
|
proc_dointvec(table, write, filp, buffer, lenp, ppos)
|
||||||
#define spl_proc_dointvec_minmax(table, write, filp, buffer, lenp, ppos) \
|
#define spl_proc_dointvec_minmax(table, write, filp, buffer, lenp, ppos) \
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_TIME_COMPAT_H
|
#ifndef _SPL_TIME_COMPAT_H
|
||||||
#define _SPL_TIME_COMPAT_H
|
#define _SPL_TIME_COMPAT_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_UACCESS_COMPAT_H
|
#ifndef _SPL_UACCESS_COMPAT_H
|
||||||
#define _SPL_UACCESS_COMPAT_H
|
#define _SPL_UACCESS_COMPAT_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_WORKQUEUE_COMPAT_H
|
#ifndef _SPL_WORKQUEUE_COMPAT_H
|
||||||
#define _SPL_WORKQUEUE_COMPAT_H
|
#define _SPL_WORKQUEUE_COMPAT_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_RPC_TYPES_H
|
#ifndef _SPL_RPC_TYPES_H
|
||||||
#define _SPL_RPC_TYPES_H
|
#define _SPL_RPC_TYPES_H
|
||||||
|
|
||||||
|
|
|
@ -1,22 +1,23 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
|
||||||
*
|
|
||||||
* Copyright (c) 2008 Sun Microsystems, Inc.
|
* Copyright (c) 2008 Sun Microsystems, Inc.
|
||||||
|
* Written by Ricardo Correia <Ricardo.M.Correia@Sun.COM>
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
\*****************************************************************************/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SPL_RPC_XDR_H
|
#ifndef _SPL_RPC_XDR_H
|
||||||
#define _SPL_RPC_XDR_H
|
#define _SPL_RPC_XDR_H
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_SHARE_H
|
#ifndef _SPL_SHARE_H
|
||||||
#define _SPL_SHARE_H
|
#define _SPL_SHARE_H
|
||||||
|
|
||||||
|
|
|
@ -1,36 +1,34 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2008 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
\*****************************************************************************/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _DEBUG_CTL_H
|
#ifndef _DEBUG_CTL_H
|
||||||
#define _DEBUG_CTL_H
|
#define _DEBUG_CTL_H
|
||||||
|
|
||||||
/* Contains shared definitions which both the userspace
|
/*
|
||||||
* and kernelspace portions of splat must agree on.
|
* Contains shared definitions which both the user space
|
||||||
|
* and kernel space portions of splat must agree on.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct spl_debug_header {
|
typedef struct spl_debug_header {
|
||||||
int ph_len;
|
int ph_len;
|
||||||
int ph_flags;
|
int ph_flags;
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_DEVICE_H
|
#ifndef _SPL_DEVICE_H
|
||||||
#define _SPL_DEVICE_H
|
#define _SPL_DEVICE_H
|
||||||
|
|
||||||
|
|
|
@ -1,28 +1,26 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2008 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
\*****************************************************************************/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SPLAT_CTL_H
|
#ifndef _SPLAT_CTL_H
|
||||||
#define _SPLAT_CTL_H
|
#define _SPLAT_CTL_H
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_STRINGS_H
|
#ifndef _SPL_STRINGS_H
|
||||||
#define _SPL_STRINGS_H
|
#define _SPL_STRINGS_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_ACL_H
|
#ifndef _SPL_ACL_H
|
||||||
#define _SPL_ACL_H
|
#define _SPL_ACL_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_ACL_IMPL_H
|
#ifndef _SPL_ACL_IMPL_H
|
||||||
#define _SPL_ACL_IMPL_H
|
#define _SPL_ACL_IMPL_H
|
||||||
|
|
||||||
|
|
|
@ -1,28 +1,26 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2008 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
\*****************************************************************************/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SPL_ATOMIC_H
|
#ifndef _SPL_ATOMIC_H
|
||||||
#define _SPL_ATOMIC_H
|
#define _SPL_ATOMIC_H
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_ATTR_H
|
#ifndef _SPL_ATTR_H
|
||||||
#define _SPL_ATTR_H
|
#define _SPL_ATTR_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_BITMAP_H
|
#ifndef _SPL_BITMAP_H
|
||||||
#define _SPL_BITMAP_H
|
#define _SPL_BITMAP_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_BOOTCONF_H
|
#ifndef _SPL_BOOTCONF_H
|
||||||
#define _SPL_BOOTCONF_H
|
#define _SPL_BOOTCONF_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_BUF_H
|
#ifndef _SPL_BUF_H
|
||||||
#define _SPL_BUF_H
|
#define _SPL_BUF_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_BYTEORDER_H
|
#ifndef _SPL_BYTEORDER_H
|
||||||
#define _SPL_BYTEORDER_H
|
#define _SPL_BYTEORDER_H
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,30 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_CALLB_H
|
#ifndef _SPL_CALLB_H
|
||||||
#define _SPL_CALLB_H
|
#define _SPL_CALLB_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <sys/mutex.h>
|
#include <sys/mutex.h>
|
||||||
|
|
||||||
|
@ -31,9 +51,5 @@ typedef struct callb_cpr {
|
||||||
mutex_exit((cp)->cc_lockp); \
|
mutex_exit((cp)->cc_lockp); \
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _SPL_CALLB_H */
|
#endif /* _SPL_CALLB_H */
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_CMN_ERR_H
|
#ifndef _SPL_CMN_ERR_H
|
||||||
#define _SPL_CMN_ERR_H
|
#define _SPL_CMN_ERR_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_COMPRESS_H
|
#ifndef _SPL_COMPRESS_H
|
||||||
#define _SPL_COMPRESS_H
|
#define _SPL_COMPRESS_H
|
||||||
|
|
||||||
|
|
|
@ -1,42 +1,37 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2008 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
\*****************************************************************************/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SPL_CONDVAR_H
|
#ifndef _SPL_CONDVAR_H
|
||||||
#define _SPL_CONDVAR_H
|
#define _SPL_CONDVAR_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/wait.h>
|
#include <linux/wait.h>
|
||||||
#include <sys/kmem.h>
|
#include <sys/kmem.h>
|
||||||
#include <sys/mutex.h>
|
#include <sys/mutex.h>
|
||||||
|
|
||||||
/* The kcondvar_t struct is protected by mutex taken externally before
|
/*
|
||||||
|
* The kcondvar_t struct is protected by mutex taken externally before
|
||||||
* calling any of the wait/signal funs, and passed into the wait funs.
|
* calling any of the wait/signal funs, and passed into the wait funs.
|
||||||
*/
|
*/
|
||||||
#define CV_MAGIC 0x346545f4
|
#define CV_MAGIC 0x346545f4
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_CONF_H
|
#ifndef _SPL_CONF_H
|
||||||
#define _SPL_CONF_H
|
#define _SPL_CONF_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_CONSOLE_H
|
#ifndef _SPL_CONSOLE_H
|
||||||
#define _SPL_CONSOLE_H
|
#define _SPL_CONSOLE_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_CPUVAR_H
|
#ifndef _SPL_CPUVAR_H
|
||||||
#define _SPL_CPUVAR_H
|
#define _SPL_CPUVAR_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_CRC32_H
|
#ifndef _SPL_CRC32_H
|
||||||
#define _SPL_CRC32_H
|
#define _SPL_CRC32_H
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,30 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_CRED_H
|
#ifndef _SPL_CRED_H
|
||||||
#define _SPL_CRED_H
|
#define _SPL_CRED_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/vfs.h>
|
#include <sys/vfs.h>
|
||||||
|
@ -37,8 +57,4 @@ extern int crgetngroups(const cred_t *cr);
|
||||||
extern gid_t * crgetgroups(const cred_t *cr);
|
extern gid_t * crgetgroups(const cred_t *cr);
|
||||||
extern int groupmember(gid_t gid, const cred_t *cr);
|
extern int groupmember(gid_t gid, const cred_t *cr);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _SPL_CRED_H */
|
#endif /* _SPL_CRED_H */
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_CTYPE_H
|
#ifndef _SPL_CTYPE_H
|
||||||
#define _SPL_CTYPE_H
|
#define _SPL_CTYPE_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_DDI_H
|
#ifndef _SPL_DDI_H
|
||||||
#define _SPL_DDI_H
|
#define _SPL_DDI_H
|
||||||
|
|
||||||
|
|
|
@ -1,36 +1,30 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2008 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
\*****************************************************************************/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SPL_DEBUG_H
|
#ifndef _SPL_DEBUG_H
|
||||||
#define _SPL_DEBUG_H
|
#define _SPL_DEBUG_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <linux/sched.h> /* THREAD_SIZE */
|
#include <linux/sched.h> /* THREAD_SIZE */
|
||||||
#include <linux/proc_fs.h>
|
#include <linux/proc_fs.h>
|
||||||
|
|
||||||
|
@ -444,8 +438,4 @@ extern void spl_debug_bug(char *file, const char *func, const int line, int flag
|
||||||
extern int spl_debug_clear_buffer(void);
|
extern int spl_debug_clear_buffer(void);
|
||||||
extern int spl_debug_mark_buffer(char *text);
|
extern int spl_debug_mark_buffer(char *text);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* SPL_DEBUG_H */
|
#endif /* SPL_DEBUG_H */
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_DIRENT_H
|
#ifndef _SPL_DIRENT_H
|
||||||
#define _SPL_DIRENT_H
|
#define _SPL_DIRENT_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_DISP_H
|
#ifndef _SPL_DISP_H
|
||||||
#define _SPL_DISP_H
|
#define _SPL_DISP_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_DKIO_H
|
#ifndef _SPL_DKIO_H
|
||||||
#define _SPL_DKIO_H
|
#define _SPL_DKIO_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_DKLABEL_H
|
#ifndef _SPL_DKLABEL_H
|
||||||
#define _SPL_DKLABEL_H
|
#define _SPL_DKLABEL_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_DNLC_H
|
#ifndef _SPL_DNLC_H
|
||||||
#define _SPL_DNLC_H
|
#define _SPL_DNLC_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_DUMPHDR_H
|
#ifndef _SPL_DUMPHDR_H
|
||||||
#define _SPL_DUMPHDR_H
|
#define _SPL_DUMPHDR_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_EFI_PARTITION_H
|
#ifndef _SPL_EFI_PARTITION_H
|
||||||
#define _SPL_EFI_PARTITION_H
|
#define _SPL_EFI_PARTITION_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_ERRNO_H
|
#ifndef _SPL_ERRNO_H
|
||||||
#define _SPL_ERRNO_H
|
#define _SPL_ERRNO_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_FILE_H
|
#ifndef _SPL_FILE_H
|
||||||
#define _SPL_FILE_H
|
#define _SPL_FILE_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_FM_PROTOCOL_H
|
#ifndef _SPL_FM_PROTOCOL_H
|
||||||
#define _SPL_FM_PROTOCOL_H
|
#define _SPL_FM_PROTOCOL_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_FM_UTIL_H
|
#ifndef _SPL_FM_UTIL_H
|
||||||
#define _SPL_FM_UTIL_H
|
#define _SPL_FM_UTIL_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_SWAPNODE_H
|
#ifndef _SPL_SWAPNODE_H
|
||||||
#define _SPL_SWAPNODE_H
|
#define _SPL_SWAPNODE_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_INT_LIMITS_H
|
#ifndef _SPL_INT_LIMITS_H
|
||||||
#define _SPL_INT_LIMITS_H
|
#define _SPL_INT_LIMITS_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_INT_TYPES_H
|
#ifndef _SPL_INT_TYPES_H
|
||||||
#define _SPL_INT_TYPES_H
|
#define _SPL_INT_TYPES_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_INTTYPES_H
|
#ifndef _SPL_INTTYPES_H
|
||||||
#define _SPL_INTTYPES_H
|
#define _SPL_INTTYPES_H
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,30 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_ISA_DEFS_H
|
#ifndef _SPL_ISA_DEFS_H
|
||||||
#define _SPL_ISA_DEFS_H
|
#define _SPL_ISA_DEFS_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* x86_64 arch specific defines */
|
/* x86_64 arch specific defines */
|
||||||
#if defined(__x86_64) || defined(__x86_64__)
|
#if defined(__x86_64) || defined(__x86_64__)
|
||||||
|
|
||||||
|
@ -80,8 +100,4 @@ extern "C" {
|
||||||
#error "Neither _LITTLE_ENDIAN or _BIG_ENDIAN are defined"
|
#error "Neither _LITTLE_ENDIAN or _BIG_ENDIAN are defined"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _SPL_ISA_DEFS_H */
|
#endif /* _SPL_ISA_DEFS_H */
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_KIDMAP_H
|
#ifndef _SPL_KIDMAP_H
|
||||||
#define _SPL_KIDMAP_H
|
#define _SPL_KIDMAP_H
|
||||||
|
|
||||||
|
|
|
@ -1,36 +1,30 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2008 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
\*****************************************************************************/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SPL_KMEM_H
|
#ifndef _SPL_KMEM_H
|
||||||
#define _SPL_KMEM_H
|
#define _SPL_KMEM_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#undef DEBUG_KMEM_UNIMPLEMENTED
|
#undef DEBUG_KMEM_UNIMPLEMENTED
|
||||||
|
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
|
@ -411,8 +405,4 @@ void spl_kmem_fini(void);
|
||||||
#define kmem_virt(ptr) (((ptr) >= (void *)VMALLOC_START) && \
|
#define kmem_virt(ptr) (((ptr) >= (void *)VMALLOC_START) && \
|
||||||
((ptr) < (void *)VMALLOC_END))
|
((ptr) < (void *)VMALLOC_END))
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _SPL_KMEM_H */
|
#endif /* _SPL_KMEM_H */
|
||||||
|
|
|
@ -1,36 +1,30 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2008 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
\*****************************************************************************/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SPL_KOBJ_H
|
#ifndef _SPL_KOBJ_H
|
||||||
#define _SPL_KOBJ_H
|
#define _SPL_KOBJ_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <sys/vnode.h>
|
#include <sys/vnode.h>
|
||||||
|
|
||||||
typedef struct _buf {
|
typedef struct _buf {
|
||||||
|
@ -45,8 +39,4 @@ extern int kobj_read_file(struct _buf *file, char *buf,
|
||||||
ssize_t size, offset_t off);
|
ssize_t size, offset_t off);
|
||||||
extern int kobj_get_filesize(struct _buf *file, uint64_t *size);
|
extern int kobj_get_filesize(struct _buf *file, uint64_t *size);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* SPL_KOBJ_H */
|
#endif /* SPL_KOBJ_H */
|
||||||
|
|
|
@ -1,28 +1,26 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2008 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
\*****************************************************************************/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SPL_KSTAT_H
|
#ifndef _SPL_KSTAT_H
|
||||||
#define _SPL_KSTAT_H
|
#define _SPL_KSTAT_H
|
||||||
|
@ -163,4 +161,3 @@ extern void __kstat_delete(kstat_t *ksp);
|
||||||
#define kstat_delete(k) __kstat_delete(k)
|
#define kstat_delete(k) __kstat_delete(k)
|
||||||
|
|
||||||
#endif /* _SPL_KSTAT_H */
|
#endif /* _SPL_KSTAT_H */
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,35 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_LIST_H
|
#ifndef _SPL_LIST_H
|
||||||
#define _SPL_LIST_H
|
#define _SPL_LIST_H
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <linux/list.h>
|
#include <linux/list.h>
|
||||||
|
|
||||||
/* NOTE: We have implemented the Solaris list API in terms of the native
|
/*
|
||||||
|
* NOTE: I have implemented the Solaris list API in terms of the native
|
||||||
* linux API. This has certain advantages in terms of leveraging the linux
|
* linux API. This has certain advantages in terms of leveraging the linux
|
||||||
* list debugging infrastructure, but it also means that the internals of a
|
* list debugging infrastructure, but it also means that the internals of a
|
||||||
* list differ slightly than on Solaris. This is not a problem as long as
|
* list differ slightly than on Solaris. This is not a problem as long as
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_MKDEV_H
|
#ifndef _SPL_MKDEV_H
|
||||||
#define _SPL_MKDEV_H
|
#define _SPL_MKDEV_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_MNTENT_H
|
#ifndef _SPL_MNTENT_H
|
||||||
#define _SPL_MNTENT_H
|
#define _SPL_MNTENT_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_MODCTL_H
|
#ifndef _SPL_MODCTL_H
|
||||||
#define _SPL_MODCTL_H
|
#define _SPL_MODCTL_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_MODE_H
|
#ifndef _SPL_MODE_H
|
||||||
#define _SPL_MODE_H
|
#define _SPL_MODE_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_MOUNT_H
|
#ifndef _SPL_MOUNT_H
|
||||||
#define _SPL_MOUNT_H
|
#define _SPL_MOUNT_H
|
||||||
|
|
||||||
|
|
|
@ -1,28 +1,26 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2009 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
\*****************************************************************************/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SPL_MUTEX_H
|
#ifndef _SPL_MUTEX_H
|
||||||
#define _SPL_MUTEX_H
|
#define _SPL_MUTEX_H
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_NOTE_H
|
#ifndef _SPL_NOTE_H
|
||||||
#define _SPL_NOTE_H
|
#define _SPL_NOTE_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_OPEN_H
|
#ifndef _SPL_OPEN_H
|
||||||
#define _SPL_OPEN_H
|
#define _SPL_OPEN_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_PARAM_H
|
#ifndef _SPL_PARAM_H
|
||||||
#define _SPL_PARAM_H
|
#define _SPL_PARAM_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_PATHNAME_H
|
#ifndef _SPL_PATHNAME_H
|
||||||
#define _SPL_PATHNAME_H
|
#define _SPL_PATHNAME_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_POLICY_H
|
#ifndef _SPL_POLICY_H
|
||||||
#define _SPL_POLICY_H
|
#define _SPL_POLICY_H
|
||||||
|
|
||||||
|
|
|
@ -1,28 +1,26 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2008 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
\*****************************************************************************/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SPL_PROC_H
|
#ifndef _SPL_PROC_H
|
||||||
#define _SPL_PROC_H
|
#define _SPL_PROC_H
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_PROCESSOR_H
|
#ifndef _SPL_PROCESSOR_H
|
||||||
#define _SPL_PROCESSOR_H
|
#define _SPL_PROCESSOR_H
|
||||||
|
|
||||||
|
|
|
@ -1,45 +1,33 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2008 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
\*****************************************************************************/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SPL_RANDOM_H
|
#ifndef _SPL_RANDOM_H
|
||||||
#define _SPL_RANDOM_H
|
#define _SPL_RANDOM_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/random.h>
|
#include <linux/random.h>
|
||||||
|
|
||||||
/* FIXME:
|
|
||||||
* Should add support for blocking in the future to
|
|
||||||
* ensure that proper entopy is collected. ZFS doesn't
|
|
||||||
* use it at the moment so this is good enough for now.
|
|
||||||
* Always will succeed by returning 0.
|
|
||||||
*/
|
|
||||||
static __inline__ int
|
static __inline__ int
|
||||||
random_get_bytes(uint8_t *ptr, size_t len)
|
random_get_bytes(uint8_t *ptr, size_t len)
|
||||||
{
|
{
|
||||||
|
@ -47,7 +35,6 @@ random_get_bytes(uint8_t *ptr, size_t len)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Always will succeed by returning 0. */
|
|
||||||
static __inline__ int
|
static __inline__ int
|
||||||
random_get_pseudo_bytes(uint8_t *ptr, size_t len)
|
random_get_pseudo_bytes(uint8_t *ptr, size_t len)
|
||||||
{
|
{
|
||||||
|
@ -55,8 +42,4 @@ random_get_pseudo_bytes(uint8_t *ptr, size_t len)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _SPL_RANDOM_H */
|
#endif /* _SPL_RANDOM_H */
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_REFSTR_H
|
#ifndef _SPL_REFSTR_H
|
||||||
#define _SPL_REFSTR_H
|
#define _SPL_REFSTR_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_RESOURCE_H
|
#ifndef _SPL_RESOURCE_H
|
||||||
#define _SPL_RESOURCE_H
|
#define _SPL_RESOURCE_H
|
||||||
|
|
||||||
|
|
|
@ -1,28 +1,26 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2009 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
\*****************************************************************************/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SPL_RWLOCK_H
|
#ifndef _SPL_RWLOCK_H
|
||||||
#define _SPL_RWLOCK_H
|
#define _SPL_RWLOCK_H
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_SDT_H
|
#ifndef _SPL_SDT_H
|
||||||
#define _SPL_SDT_H
|
#define _SPL_SDT_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_SID_H
|
#ifndef _SPL_SID_H
|
||||||
#define _SPL_SID_H
|
#define _SPL_SID_H
|
||||||
|
|
||||||
|
|
|
@ -1,28 +1,26 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2008 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
\*****************************************************************************/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SPL_SIGNAL_H
|
#ifndef _SPL_SIGNAL_H
|
||||||
#define _SPL_SIGNAL_H
|
#define _SPL_SIGNAL_H
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_STAT_H
|
#ifndef _SPL_STAT_H
|
||||||
#define _SPL_STAT_H
|
#define _SPL_STAT_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,27 @@
|
||||||
|
/*****************************************************************************\
|
||||||
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
|
* UCRL-CODE-235197
|
||||||
|
*
|
||||||
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
|
*
|
||||||
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License along
|
||||||
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
\*****************************************************************************/
|
||||||
|
|
||||||
#ifndef _SPL_STROPTS_H
|
#ifndef _SPL_STROPTS_H
|
||||||
#define _SPL_STROPTS_H
|
#define _SPL_STROPTS_H
|
||||||
|
|
||||||
|
|
|
@ -1,28 +1,26 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2008 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
\*****************************************************************************/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SPL_SUNDDI_H
|
#ifndef _SPL_SUNDDI_H
|
||||||
#define _SPL_SUNDDI_H
|
#define _SPL_SUNDDI_H
|
||||||
|
|
|
@ -1,28 +1,26 @@
|
||||||
/*
|
/*****************************************************************************\
|
||||||
* This file is part of the SPL: Solaris Porting Layer.
|
* Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
|
||||||
*
|
* Copyright (C) 2007 The Regents of the University of California.
|
||||||
* Copyright (c) 2008 Lawrence Livermore National Security, LLC.
|
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
|
||||||
* Produced at Lawrence Livermore National Laboratory
|
* Written by Brian Behlendorf <behlendorf1@llnl.gov>.
|
||||||
* Written by:
|
|
||||||
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
||||||
* Herb Wartens <wartens2@llnl.gov>,
|
|
||||||
* Jim Garlick <garlick@llnl.gov>
|
|
||||||
* UCRL-CODE-235197
|
* UCRL-CODE-235197
|
||||||
*
|
*
|
||||||
* This is free software; you can redistribute it and/or modify it
|
* This file is part of the SPL, Solaris Porting Layer.
|
||||||
* under the terms of the GNU General Public License as published by
|
* For details, see <http://github.com/behlendorf/spl/>.
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
*
|
||||||
* This is distributed in the hope that it will be useful, but WITHOUT
|
* The SPL is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License as published by the
|
||||||
|
* Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
* option) any later version.
|
||||||
|
*
|
||||||
|
* The SPL is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
* for more details.
|
* for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with the SPL. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
\*****************************************************************************/
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SPL_SUNLDI_H
|
#ifndef _SPL_SUNLDI_H
|
||||||
#define _SPL_SUNLDI_H
|
#define _SPL_SUNLDI_H
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue