Print this page
8115 parallel zfs mount


   3  *
   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2014 Garrett D'Amore <garrett@damore.org>

  23  *
  24  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  25  * Use is subject to license terms.
  26  */
  27 
  28 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T     */
  29 /*        All Rights Reserved   */
  30 
  31 
  32 #ifndef _SYS_SYSTEMINFO_H
  33 #define _SYS_SYSTEMINFO_H
  34 
  35 #ifdef  __cplusplus
  36 extern "C" {
  37 #endif
  38 
  39 #ifdef  _KERNEL
  40 extern char architecture[];
  41 extern char architecture_32[];
  42 extern char hw_serial[];        /* machine's 32-bit hostid; a decimal string */
  43 extern char hw_provider[];
  44 extern char srpc_domain[];
  45 extern char platform[];
  46 #endif  /* _KERNEL */
  47 
  48 /*
  49  * Commands to sysinfo(2)
  50  *
  51  * Values for sysinfo(2) commands are to be assigned by the following
  52  * algorithm:
  53  *
  54  *    1 -  256  Unix International assigned numbers for `get' style commands.
  55  *  257 -  512  Unix International assigned numbers for `set' style commands
  56  *              where the value is selected to be the value for the
  57  *              corresponding `get' command plus 256.
  58  *  513 -  768  Solaris specific `get' style commands.
  59  *  769 - 1024  Solaris specific `set' style commands where the value is
  60  *              selected to be the value for the corresponding `get' command
  61  *              plus 256.
  62  *
  63  * These values have be registered
  64  * with Unix International can't be corrected now.  The status of a command
  65  * as published or unpublished does not alter the algorithm.
  66  */




   3  *
   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
  23  * Copyright 2017 RackTop Systems.
  24  *
  25  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  26  * Use is subject to license terms.
  27  */
  28 
  29 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T     */
  30 /*        All Rights Reserved   */
  31 
  32 
  33 #ifndef _SYS_SYSTEMINFO_H
  34 #define _SYS_SYSTEMINFO_H
  35 
  36 #ifdef  __cplusplus
  37 extern "C" {
  38 #endif
  39 
  40 #if defined(_KERNEL) || defined(_FAKE_KERNEL)
  41 extern char architecture[];
  42 extern char architecture_32[];
  43 extern char hw_serial[];        /* machine's 32-bit hostid; a decimal string */
  44 extern char hw_provider[];
  45 extern char srpc_domain[];
  46 extern char platform[];
  47 #endif  /* _KERNEL || _FAKE_KERNEL */
  48 
  49 /*
  50  * Commands to sysinfo(2)
  51  *
  52  * Values for sysinfo(2) commands are to be assigned by the following
  53  * algorithm:
  54  *
  55  *    1 -  256  Unix International assigned numbers for `get' style commands.
  56  *  257 -  512  Unix International assigned numbers for `set' style commands
  57  *              where the value is selected to be the value for the
  58  *              corresponding `get' command plus 256.
  59  *  513 -  768  Solaris specific `get' style commands.
  60  *  769 - 1024  Solaris specific `set' style commands where the value is
  61  *              selected to be the value for the corresponding `get' command
  62  *              plus 256.
  63  *
  64  * These values have be registered
  65  * with Unix International can't be corrected now.  The status of a command
  66  * as published or unpublished does not alter the algorithm.
  67  */