Deleted Added
full compact
devfs.h (65132) devfs.h (65374)
1/*
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 * Copyright (c) 2000
5 * Poul-Henning Kamp. All rights reserved.
6 *
7 * This code is derived from software donated to Berkeley by
8 * Jan-Simon Pendry.

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

26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 *
31 * @(#)kernfs.h 8.6 (Berkeley) 3/29/95
32 * From: FreeBSD: src/sys/miscfs/kernfs/kernfs.h 1.14
33 *
1/*
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 * Copyright (c) 2000
5 * Poul-Henning Kamp. All rights reserved.
6 *
7 * This code is derived from software donated to Berkeley by
8 * Jan-Simon Pendry.

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

26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 *
31 * @(#)kernfs.h 8.6 (Berkeley) 3/29/95
32 * From: FreeBSD: src/sys/miscfs/kernfs/kernfs.h 1.14
33 *
34 * $FreeBSD: head/sys/fs/devfs/devfs.h 65132 2000-08-27 14:46:36Z phk $
34 * $FreeBSD: head/sys/fs/devfs/devfs.h 65374 2000-09-02 19:17:34Z phk $
35 */
36
37#ifdef _KERNEL
38
39#ifdef DEVFS_INTERN
40
41#define NDEVINO 1024
42

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

91int devfs_allocv __P((struct devfs_dirent *de, struct mount *mp, struct vnode **vpp, struct proc *p));
92struct devfs_dirent * devfs_find __P((struct devfs_dirent *dd, const char *name, int namelen));
93int devfs_populate __P((struct devfs_mount *dm));
94struct devfs_dirent * devfs_newdirent __P((char *name, int namelen));
95void devfs_purge __P((struct devfs_dirent *dd));
96struct devfs_dirent * devfs_vmkdir __P((char *name, int namelen,
97 struct devfs_dirent *dotdot));
98#endif /* DEVFS_INTERN */
35 */
36
37#ifdef _KERNEL
38
39#ifdef DEVFS_INTERN
40
41#define NDEVINO 1024
42

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

91int devfs_allocv __P((struct devfs_dirent *de, struct mount *mp, struct vnode **vpp, struct proc *p));
92struct devfs_dirent * devfs_find __P((struct devfs_dirent *dd, const char *name, int namelen));
93int devfs_populate __P((struct devfs_mount *dm));
94struct devfs_dirent * devfs_newdirent __P((char *name, int namelen));
95void devfs_purge __P((struct devfs_dirent *dd));
96struct devfs_dirent * devfs_vmkdir __P((char *name, int namelen,
97 struct devfs_dirent *dotdot));
98#endif /* DEVFS_INTERN */
99
100typedef void (*devfs_clone_fn) __P((void *arg, char *name, int namelen, dev_t *result));
101
102int devfs_stdclone __P((char *name, char **namep, char *stem, int *unit));
103EVENTHANDLER_DECLARE(devfs_clone, devfs_clone_fn);
104#endif /* _KERNEL */
99#endif /* _KERNEL */