devfs.h (213725) | devfs.h (231265) |
---|---|
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 * Copyright (c) 2002 7 * Dima Dorfman. All rights reserved. 8 * --- 19 unchanged lines hidden (view full) --- 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 * @(#)kernfs.h 8.6 (Berkeley) 3/29/95 34 * From: FreeBSD: src/sys/miscfs/kernfs/kernfs.h 1.14 35 * | 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 * Copyright (c) 2002 7 * Dima Dorfman. All rights reserved. 8 * --- 19 unchanged lines hidden (view full) --- 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 * @(#)kernfs.h 8.6 (Berkeley) 3/29/95 34 * From: FreeBSD: src/sys/miscfs/kernfs/kernfs.h 1.14 35 * |
36 * $FreeBSD: head/sys/fs/devfs/devfs.h 213725 2010-10-12 15:58:52Z jh $ | 36 * $FreeBSD: head/sys/fs/devfs/devfs.h 231265 2012-02-09 10:09:12Z mm $ |
37 */ 38 39#ifndef _FS_DEVFS_DEVFS_H_ 40#define _FS_DEVFS_DEVFS_H_ 41 42#define DEVFS_MAGIC 0xdb0a087a 43 44/* --- 132 unchanged lines hidden (view full) --- 177 178#define DEVFS_DEL_VNLOCKED 0x01 179#define DEVFS_DEL_NORECURSE 0x02 180 181void devfs_rules_apply(struct devfs_mount *, struct devfs_dirent *); 182void devfs_rules_cleanup(struct devfs_mount *); 183int devfs_rules_ioctl(struct devfs_mount *, u_long, caddr_t, 184 struct thread *); | 37 */ 38 39#ifndef _FS_DEVFS_DEVFS_H_ 40#define _FS_DEVFS_DEVFS_H_ 41 42#define DEVFS_MAGIC 0xdb0a087a 43 44/* --- 132 unchanged lines hidden (view full) --- 177 178#define DEVFS_DEL_VNLOCKED 0x01 179#define DEVFS_DEL_NORECURSE 0x02 180 181void devfs_rules_apply(struct devfs_mount *, struct devfs_dirent *); 182void devfs_rules_cleanup(struct devfs_mount *); 183int devfs_rules_ioctl(struct devfs_mount *, u_long, caddr_t, 184 struct thread *); |
185void devfs_ruleset_set(devfs_rsnum rsnum, struct devfs_mount *dm); 186void devfs_ruleset_apply(struct devfs_mount *dm); |
|
185int devfs_allocv(struct devfs_dirent *, struct mount *, int, 186 struct vnode **); 187char *devfs_fqpn(char *, struct devfs_mount *, struct devfs_dirent *, 188 struct componentname *); 189void devfs_delete(struct devfs_mount *, struct devfs_dirent *, int); 190void devfs_dirent_free(struct devfs_dirent *); 191void devfs_populate(struct devfs_mount *); 192void devfs_cleanup(struct devfs_mount *); 193void devfs_unmount_final(struct devfs_mount *); 194struct devfs_dirent *devfs_newdirent(char *, int); 195struct devfs_dirent *devfs_parent_dirent(struct devfs_dirent *); 196struct devfs_dirent *devfs_vmkdir(struct devfs_mount *, char *, int, 197 struct devfs_dirent *, u_int); 198struct devfs_dirent *devfs_find(struct devfs_dirent *, const char *, int, 199 int); 200 201#endif /* _KERNEL */ 202 203#endif /* !_FS_DEVFS_DEVFS_H_ */ | 187int devfs_allocv(struct devfs_dirent *, struct mount *, int, 188 struct vnode **); 189char *devfs_fqpn(char *, struct devfs_mount *, struct devfs_dirent *, 190 struct componentname *); 191void devfs_delete(struct devfs_mount *, struct devfs_dirent *, int); 192void devfs_dirent_free(struct devfs_dirent *); 193void devfs_populate(struct devfs_mount *); 194void devfs_cleanup(struct devfs_mount *); 195void devfs_unmount_final(struct devfs_mount *); 196struct devfs_dirent *devfs_newdirent(char *, int); 197struct devfs_dirent *devfs_parent_dirent(struct devfs_dirent *); 198struct devfs_dirent *devfs_vmkdir(struct devfs_mount *, char *, int, 199 struct devfs_dirent *, u_int); 200struct devfs_dirent *devfs_find(struct devfs_dirent *, const char *, int, 201 int); 202 203#endif /* _KERNEL */ 204 205#endif /* !_FS_DEVFS_DEVFS_H_ */ |