pseudofs.h (132902) | pseudofs.h (143841) |
---|---|
1/*- 2 * Copyright (c) 2001 Dag-Erling Co�dan Sm�rgrav 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * | 1/*- 2 * Copyright (c) 2001 Dag-Erling Co�dan Sm�rgrav 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * |
28 * $FreeBSD: head/sys/fs/pseudofs/pseudofs.h 132902 2004-07-30 22:08:52Z phk $ | 28 * $FreeBSD: head/sys/fs/pseudofs/pseudofs.h 143841 2005-03-19 08:22:36Z phk $ |
29 */ 30 31#ifndef _PSEUDOFS_H_INCLUDED 32#define _PSEUDOFS_H_INCLUDED 33 34/* 35 * Opaque structures 36 */ --- 122 unchanged lines hidden (view full) --- 159struct pfs_info { 160 char pi_name[PFS_FSNAMELEN]; 161 pfs_init_t pi_init; 162 pfs_init_t pi_uninit; 163 /* members below this line aren't initialized */ 164 struct pfs_node *pi_root; 165 /* currently, the mutex is only used to protect the bitmap */ 166 struct mtx pi_mutex; | 29 */ 30 31#ifndef _PSEUDOFS_H_INCLUDED 32#define _PSEUDOFS_H_INCLUDED 33 34/* 35 * Opaque structures 36 */ --- 122 unchanged lines hidden (view full) --- 159struct pfs_info { 160 char pi_name[PFS_FSNAMELEN]; 161 pfs_init_t pi_init; 162 pfs_init_t pi_uninit; 163 /* members below this line aren't initialized */ 164 struct pfs_node *pi_root; 165 /* currently, the mutex is only used to protect the bitmap */ 166 struct mtx pi_mutex; |
167 struct pfs_bitmap *pi_bitmap; | 167 struct unrhdr *pi_unrhdr; |
168}; 169 170/* 171 * pfs_node: describes a node (file or directory) within a pseudofs 172 */ 173struct pfs_node { 174 char pn_name[PFS_NAMELEN]; 175 pfs_type_t pn_type; --- 90 unchanged lines hidden --- | 168}; 169 170/* 171 * pfs_node: describes a node (file or directory) within a pseudofs 172 */ 173struct pfs_node { 174 char pn_name[PFS_NAMELEN]; 175 pfs_type_t pn_type; --- 90 unchanged lines hidden --- |