g_raid3.h (142727) | g_raid3.h (148440) |
---|---|
1/*- 2 * Copyright (c) 2004-2005 Pawel Jakub Dawidek <pjd@FreeBSD.org> 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2004-2005 Pawel Jakub Dawidek <pjd@FreeBSD.org> 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/geom/raid3/g_raid3.h 142727 2005-02-27 23:07:47Z pjd $ | 26 * $FreeBSD: head/sys/geom/raid3/g_raid3.h 148440 2005-07-27 09:03:51Z pjd $ |
27 */ 28 29#ifndef _G_RAID3_H_ 30#define _G_RAID3_H_ 31 32#include <sys/endian.h> 33#include <sys/md5.h> 34 --- 162 unchanged lines hidden (view full) --- 197 int sc_bump_id; 198 struct g_raid3_device_sync sc_sync; 199 int sc_idle; /* DIRTY flags removed. */ 200 201 TAILQ_HEAD(, g_raid3_event) sc_events; 202 struct mtx sc_events_mtx; 203 204 struct callout sc_callout; | 27 */ 28 29#ifndef _G_RAID3_H_ 30#define _G_RAID3_H_ 31 32#include <sys/endian.h> 33#include <sys/md5.h> 34 --- 162 unchanged lines hidden (view full) --- 197 int sc_bump_id; 198 struct g_raid3_device_sync sc_sync; 199 int sc_idle; /* DIRTY flags removed. */ 200 201 TAILQ_HEAD(, g_raid3_event) sc_events; 202 struct mtx sc_events_mtx; 203 204 struct callout sc_callout; |
205 206 struct root_hold_token *sc_rootmount; |
|
205}; 206#define sc_name sc_geom->name 207 208const char *g_raid3_get_diskname(struct g_raid3_disk *disk); 209u_int g_raid3_ndisks(struct g_raid3_softc *sc, int state); 210int g_raid3_destroy(struct g_raid3_softc *sc, boolean_t force); 211int g_raid3_event_send(void *arg, int state, int flags); 212struct g_raid3_metadata; --- 216 unchanged lines hidden --- | 207}; 208#define sc_name sc_geom->name 209 210const char *g_raid3_get_diskname(struct g_raid3_disk *disk); 211u_int g_raid3_ndisks(struct g_raid3_softc *sc, int state); 212int g_raid3_destroy(struct g_raid3_softc *sc, boolean_t force); 213int g_raid3_event_send(void *arg, int state, int flags); 214struct g_raid3_metadata; --- 216 unchanged lines hidden --- |