Deleted Added
full compact
diskpc98.h (58942) diskpc98.h (59249)
1/*
2 * Copyright (c) 1987, 1988, 1993
3 * The Regents of the University of California. 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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)disklabel.h 8.2 (Berkeley) 7/10/94
1/*
2 * Copyright (c) 1987, 1988, 1993
3 * The Regents of the University of California. 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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)disklabel.h 8.2 (Berkeley) 7/10/94
34 * $FreeBSD: head/sys/sys/diskpc98.h 58942 2000-04-02 19:08:05Z phk $
34 * $FreeBSD: head/sys/sys/diskpc98.h 59249 2000-04-15 05:54:02Z phk $
35 */
36
37#ifndef _SYS_DISKLABEL_H_
38#define _SYS_DISKLABEL_H_
39
40#ifndef _KERNEL
41#include <sys/types.h>
42#endif

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

436 return (((minor(dev) >> 16) & 0x1e0) | ((minor(dev) >> 3) & 0x1f));
437}
438
439struct bio;
440struct buf;
441struct buf_queue_head;
442struct bio_queue_head;
443
35 */
36
37#ifndef _SYS_DISKLABEL_H_
38#define _SYS_DISKLABEL_H_
39
40#ifndef _KERNEL
41#include <sys/types.h>
42#endif

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

436 return (((minor(dev) >> 16) & 0x1e0) | ((minor(dev) >> 3) & 0x1f));
437}
438
439struct bio;
440struct buf;
441struct buf_queue_head;
442struct bio_queue_head;
443
444int bounds_check_with_label __P((struct buf *bp, struct disklabel *lp,
444int bounds_check_with_label __P((struct bio *bp, struct disklabel *lp,
445 int wlabel));
445 int wlabel));
446void diskerr __P((struct buf *bp, char *what, int pri, int blkdone,
446void diskerr __P((struct bio *bp, char *what, int pri, int blkdone,
447 struct disklabel *lp));
448void disksort __P((struct buf *ap, struct buf *bp));
449u_int dkcksum __P((struct disklabel *lp));
450char *readdisklabel __P((dev_t dev, struct disklabel *lp));
451void bufqdisksort __P((struct buf_queue_head *ap, struct buf *bp));
452void bioqdisksort __P((struct bio_queue_head *ap, struct bio *bp));
453int setdisklabel __P((struct disklabel *olp, struct disklabel *nlp,
454 u_long openmask));

--- 16 unchanged lines hidden ---
447 struct disklabel *lp));
448void disksort __P((struct buf *ap, struct buf *bp));
449u_int dkcksum __P((struct disklabel *lp));
450char *readdisklabel __P((dev_t dev, struct disklabel *lp));
451void bufqdisksort __P((struct buf_queue_head *ap, struct buf *bp));
452void bioqdisksort __P((struct bio_queue_head *ap, struct bio *bp));
453int setdisklabel __P((struct disklabel *olp, struct disklabel *nlp,
454 u_long openmask));

--- 16 unchanged lines hidden ---