Deleted Added
full compact
geom_disk.h (237518) geom_disk.h (238216)
1/*-
2 * Copyright (c) 2003 Poul-Henning Kamp
3 * All rights reserved.
4 *
5 * This software was developed for the FreeBSD Project by Poul-Henning Kamp
6 * and NAI Labs, the Security Research Division of Network Associates, Inc.
7 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the
8 * DARPA CHATS research program.

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

26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
1/*-
2 * Copyright (c) 2003 Poul-Henning Kamp
3 * All rights reserved.
4 *
5 * This software was developed for the FreeBSD Project by Poul-Henning Kamp
6 * and NAI Labs, the Security Research Division of Network Associates, Inc.
7 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the
8 * DARPA CHATS research program.

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

26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * $FreeBSD: head/sys/geom/geom_disk.h 237518 2012-06-24 04:29:03Z ken $
34 * $FreeBSD: head/sys/geom/geom_disk.h 238216 2012-07-07 21:28:31Z trasz $
35 */
36
37#ifndef _GEOM_GEOM_DISK_H_
38#define _GEOM_GEOM_DISK_H_
39
40#ifdef _KERNEL
41
42#include <sys/queue.h>

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

104#define DISKFLAG_CANDELETE 0x4
105#define DISKFLAG_CANFLUSHCACHE 0x8
106
107struct disk *disk_alloc(void);
108void disk_create(struct disk *disk, int version);
109void disk_destroy(struct disk *disk);
110void disk_gone(struct disk *disk);
111void disk_attr_changed(struct disk *dp, const char *attr, int flag);
35 */
36
37#ifndef _GEOM_GEOM_DISK_H_
38#define _GEOM_GEOM_DISK_H_
39
40#ifdef _KERNEL
41
42#include <sys/queue.h>

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

104#define DISKFLAG_CANDELETE 0x4
105#define DISKFLAG_CANFLUSHCACHE 0x8
106
107struct disk *disk_alloc(void);
108void disk_create(struct disk *disk, int version);
109void disk_destroy(struct disk *disk);
110void disk_gone(struct disk *disk);
111void disk_attr_changed(struct disk *dp, const char *attr, int flag);
112void disk_resize(struct disk *dp);
112
113#define DISK_VERSION_00 0x58561059
114#define DISK_VERSION_01 0x5856105a
115#define DISK_VERSION_02 0x5856105b
116#define DISK_VERSION DISK_VERSION_02
117
118#endif /* _KERNEL */
119#endif /* _GEOM_GEOM_DISK_H_ */
113
114#define DISK_VERSION_00 0x58561059
115#define DISK_VERSION_01 0x5856105a
116#define DISK_VERSION_02 0x5856105b
117#define DISK_VERSION DISK_VERSION_02
118
119#endif /* _KERNEL */
120#endif /* _GEOM_GEOM_DISK_H_ */