1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/miscfs/devfs/devfs_proto.h
Julian Elischer acdbeb6b1c changes to make devfs more 'normal'
also fixes a bug I've been chasing for a LONG TIME,
due to the fact that spec_bwrite is a NOP and I didn't realise it..

old symptom:
mount -t devfs devfs /mnt
mount /mnt/wd0e /mnt/mnt2
umount /mnt2 <process hangs>

there are some pretty large structural differences internal to devfs
but outwards it should look the same.
I have not yet tested extensively but will do so and fix 3 warnings tomorrow.
1996-11-21 07:19:00 +00:00

27 lines
1.2 KiB
C

/* THIS FILE HAS BEEN PRODUCED AUTOMATICALLY */
void devfs_sinit(void *junk);
devnm_p dev_findname(dn_p dir,char *name);
int dev_finddir(char *orig_path, dn_p dirnode, int create, dn_p *dn_pp);
int dev_add_name(char *name, dn_p dirnode, devnm_p back, dn_p dnp,
devnm_p *devnm_pp);
int dev_add_node(int entrytype, union typeinfo *by, dn_p proto,
dn_p *dn_pp,struct devfsmount *dvm);
int dev_touch(devnm_p key) /* update the node for this dev */;
void devfs_dn_free(dn_p dnp);
int devfs_propogate(devnm_p parent,devnm_p child);
int dev_dup_plane(struct devfsmount *devfs_mp_p);
void devfs_free_plane(struct devfsmount *devfs_mp_p);
int dev_dup_entry(dn_p parent, devnm_p back, devnm_p *dnm_pp,
struct devfsmount *dvm);
int dev_free_name(devnm_p devnmp);
void dev_free_hier(devnm_p devnmp);
int devfs_vntodn(struct vnode *vn_p, dn_p *dn_pp);
int devfs_dntovn(dn_p dnp, struct vnode **vn_pp);
int dev_add_entry(char *name, dn_p parent, int type, union typeinfo *by,
dn_p proto, struct devfsmount *dvm, devnm_p *nm_pp);
int devfs_mount(struct mount *mp, char *path, caddr_t data,
struct nameidata *ndp, struct proc *p);
void devfs_dropvnode(dn_p dnp);
/* THIS FILE PRODUCED AUTOMATICALLY */
/* DO NOT EDIT (see reproto.sh) */