Deleted Added
full compact
conf.h (111622) conf.h (111668)
1/*-
2 * Copyright (c) 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 * Copyright (c) 2000
5 * Poul-Henning Kamp. All rights reserved.
6 * (c) UNIX System Laboratories, Inc.
7 * All or some portions of this file are derived from material licensed
8 * to the University of California by American Telephone and Telegraph

--- 24 unchanged lines hidden (view full) ---

33 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
36 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
37 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
38 * SUCH DAMAGE.
39 *
40 * @(#)conf.h 8.5 (Berkeley) 1/9/95
1/*-
2 * Copyright (c) 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 * Copyright (c) 2000
5 * Poul-Henning Kamp. All rights reserved.
6 * (c) UNIX System Laboratories, Inc.
7 * All or some portions of this file are derived from material licensed
8 * to the University of California by American Telephone and Telegraph

--- 24 unchanged lines hidden (view full) ---

33 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
36 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
37 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
38 * SUCH DAMAGE.
39 *
40 * @(#)conf.h 8.5 (Berkeley) 1/9/95
41 * $FreeBSD: head/sys/sys/conf.h 111622 2003-02-27 14:46:51Z phk $
41 * $FreeBSD: head/sys/sys/conf.h 111668 2003-02-28 10:02:02Z phk $
42 */
43
44#ifndef _SYS_CONF_H_
45#define _SYS_CONF_H_
46
47#ifdef _KERNEL
48#include <sys/eventhandler.h>
49

--- 34 unchanged lines hidden (view full) ---

84 gid_t si_gid;
85 mode_t si_mode;
86 u_long si_usecount;
87 union {
88 struct {
89 struct tty *__sit_tty;
90 } __si_tty;
91 struct {
42 */
43
44#ifndef _SYS_CONF_H_
45#define _SYS_CONF_H_
46
47#ifdef _KERNEL
48#include <sys/eventhandler.h>
49

--- 34 unchanged lines hidden (view full) ---

84 gid_t si_gid;
85 mode_t si_mode;
86 u_long si_usecount;
87 union {
88 struct {
89 struct tty *__sit_tty;
90 } __si_tty;
91 struct {
92 struct disk *__sid_disk;
93 struct mount *__sid_mountpoint;
94 int __sid_bsize_phys; /* min physical block size */
95 int __sid_bsize_best; /* optimal block size */
96 struct snaphead __sid_snapshots;
97 daddr_t __sid_snaplistsize; /* size of snapblklist. */
98 daddr_t *__sid_snapblklist; /* known snapshot blocks. */
99 int (*__sid_copyonwrite)(struct vnode *, struct buf *);
100 } __si_disk;
101 } __si_u;
102 char __si_namebuf[SPECNAMELEN + 1];
103};
104
105#define si_tty __si_u.__si_tty.__sit_tty
92 struct mount *__sid_mountpoint;
93 int __sid_bsize_phys; /* min physical block size */
94 int __sid_bsize_best; /* optimal block size */
95 struct snaphead __sid_snapshots;
96 daddr_t __sid_snaplistsize; /* size of snapblklist. */
97 daddr_t *__sid_snapblklist; /* known snapshot blocks. */
98 int (*__sid_copyonwrite)(struct vnode *, struct buf *);
99 } __si_disk;
100 } __si_u;
101 char __si_namebuf[SPECNAMELEN + 1];
102};
103
104#define si_tty __si_u.__si_tty.__sit_tty
106#define si_disk __si_u.__si_disk.__sid_disk
107#define si_mountpoint __si_u.__si_disk.__sid_mountpoint
108#define si_bsize_phys __si_u.__si_disk.__sid_bsize_phys
109#define si_bsize_best __si_u.__si_disk.__sid_bsize_best
110#define si_snapshots __si_u.__si_disk.__sid_snapshots
111#define si_snaplistsize __si_u.__si_disk.__sid_snaplistsize
112#define si_snapblklist __si_u.__si_disk.__sid_snapblklist
113#define si_copyonwrite __si_u.__si_disk.__sid_copyonwrite
114

--- 254 unchanged lines hidden ---
105#define si_mountpoint __si_u.__si_disk.__sid_mountpoint
106#define si_bsize_phys __si_u.__si_disk.__sid_bsize_phys
107#define si_bsize_best __si_u.__si_disk.__sid_bsize_best
108#define si_snapshots __si_u.__si_disk.__sid_snapshots
109#define si_snaplistsize __si_u.__si_disk.__sid_snaplistsize
110#define si_snapblklist __si_u.__si_disk.__sid_snapblklist
111#define si_copyonwrite __si_u.__si_disk.__sid_copyonwrite
112

--- 254 unchanged lines hidden ---