|
|
| version 1.5, 2003/08/20 09:56:33 | version 1.6, 2004/05/02 03:05:11 |
|---|---|
| Line 66 static int procfs_unmount (struct mount | Line 66 static int procfs_unmount (struct mount |
| */ | */ |
| /* ARGSUSED */ | /* ARGSUSED */ |
| static int | static int |
| procfs_mount(mp, path, data, ndp, td) | procfs_mount(struct mount *mp, char *path, caddr_t data, struct nameidata *ndp, |
| struct mount *mp; | struct thread *td) |
| char *path; | |
| caddr_t data; | |
| struct nameidata *ndp; | |
| struct thread *td; | |
| { | { |
| size_t size; | size_t size; |
| int error; | int error; |
| Line 103 procfs_mount(mp, path, data, ndp, td) | Line 99 procfs_mount(mp, path, data, ndp, td) |
| * unmount system call | * unmount system call |
| */ | */ |
| static int | static int |
| procfs_unmount(mp, mntflags, td) | procfs_unmount(struct mount *mp, int mntflags, struct thread *td) |
| struct mount *mp; | |
| int mntflags; | |
| struct thread *td; | |
| { | { |
| int error; | int error; |
| int flags = 0; | int flags = 0; |
| Line 125 procfs_unmount(mp, mntflags, td) | Line 118 procfs_unmount(mp, mntflags, td) |
| } | } |
| int | int |
| procfs_root(mp, vpp) | procfs_root(struct mount *mp, struct vnode **vpp) |
| struct mount *mp; | |
| struct vnode **vpp; | |
| { | { |
| return (procfs_allocvp(mp, vpp, 0, Proot)); | return (procfs_allocvp(mp, vpp, 0, Proot)); |