]> git.proxmox.com Git - mirror_zfs.git/blame - include/sys/vdev_disk.h
cstyle: Resolve C style issues
[mirror_zfs.git] / include / sys / vdev_disk.h
CommitLineData
60101509
BB
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
22 * Copyright (C) 2008-2010 Lawrence Livermore National Security, LLC.
23 * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
24 * Written by Brian Behlendorf <behlendorf1@llnl.gov>.
25 * LLNL-CODE-403049.
26 */
27
28#ifndef _SYS_VDEV_DISK_H
d1d7e268 29#define _SYS_VDEV_DISK_H
60101509 30
60101509
BB
31#ifdef _KERNEL
32#include <sys/vdev.h>
60101509
BB
33
34typedef struct vdev_disk {
35 ddi_devid_t vd_devid;
36 char *vd_minor;
37 struct block_device *vd_bdev;
38} vdev_disk_t;
39
40extern int vdev_disk_physio(struct block_device *, caddr_t,
41 size_t, uint64_t, int);
42extern int vdev_disk_read_rootlabel(char *, char *, nvlist_t **);
43
60101509 44#endif /* _KERNEL */
61e90960 45#endif /* _SYS_VDEV_DISK_H */