geom.h (93776) | geom.h (93778) |
---|---|
1/*- 2 * Copyright (c) 2002 Poul-Henning Kamp 3 * Copyright (c) 2002 Networks Associates Technology, Inc. 4 * All rights reserved. 5 * 6 * This software was developed for the FreeBSD Project by Poul-Henning Kamp 7 * and NAI Labs, the Security Research Division of Network Associates, Inc. 8 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the --- 18 unchanged lines hidden (view full) --- 27 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33 * SUCH DAMAGE. 34 * | 1/*- 2 * Copyright (c) 2002 Poul-Henning Kamp 3 * Copyright (c) 2002 Networks Associates Technology, Inc. 4 * All rights reserved. 5 * 6 * This software was developed for the FreeBSD Project by Poul-Henning Kamp 7 * and NAI Labs, the Security Research Division of Network Associates, Inc. 8 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the --- 18 unchanged lines hidden (view full) --- 27 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33 * SUCH DAMAGE. 34 * |
35 * $FreeBSD: head/sys/geom/geom.h 93776 2002-04-04 09:54:13Z phk $ | 35 * $FreeBSD: head/sys/geom/geom.h 93778 2002-04-04 09:58:20Z phk $ |
36 */ 37 38#include <sys/lock.h> 39#include <sys/mutex.h> 40#include <sys/sx.h> 41#include <sys/queue.h> 42 43#ifndef _KERNEL --- 111 unchanged lines hidden (view full) --- 155 LIST_ENTRY(g_provider) provider; 156 struct g_geom *geom; 157 LIST_HEAD(,g_consumer) consumers; 158 int acr, acw, ace; 159 int error; 160 struct g_event *event; 161 TAILQ_ENTRY(g_provider) orphan; 162 int index; | 36 */ 37 38#include <sys/lock.h> 39#include <sys/mutex.h> 40#include <sys/sx.h> 41#include <sys/queue.h> 42 43#ifndef _KERNEL --- 111 unchanged lines hidden (view full) --- 155 LIST_ENTRY(g_provider) provider; 156 struct g_geom *geom; 157 LIST_HEAD(,g_consumer) consumers; 158 int acr, acw, ace; 159 int error; 160 struct g_event *event; 161 TAILQ_ENTRY(g_provider) orphan; 162 int index; |
163 off_t mediasize; |
|
163}; 164 165/* geom_dump.c */ 166void g_hexdump(void *ptr, int length); 167void g_trace(int level, char *, ...); 168# define G_T_TOPOLOGY 1 169# define G_T_BIO 2 170# define G_T_ACCESS 4 --- 96 unchanged lines hidden --- | 164}; 165 166/* geom_dump.c */ 167void g_hexdump(void *ptr, int length); 168void g_trace(int level, char *, ...); 169# define G_T_TOPOLOGY 1 170# define G_T_BIO 2 171# define G_T_ACCESS 4 --- 96 unchanged lines hidden --- |