summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs/devfs.h
diff options
context:
space:
mode:
authorjh <jh@FreeBSD.org>2010-10-12 15:58:52 +0000
committerjh <jh@FreeBSD.org>2010-10-12 15:58:52 +0000
commit7817d1d2590ff0e3480b31e63b08d5c21aceedd2 (patch)
treeef1cec1216531e74cc802c31761243998f1023b4 /sys/fs/devfs/devfs.h
parent3ee8e0d035e480ce058f273e326bcb09c6141598 (diff)
downloadFreeBSD-src-7817d1d2590ff0e3480b31e63b08d5c21aceedd2.zip
FreeBSD-src-7817d1d2590ff0e3480b31e63b08d5c21aceedd2.tar.gz
Format prototypes to follow style(9) more closely.
Discussed with: kib, phk
Diffstat (limited to 'sys/fs/devfs/devfs.h')
-rw-r--r--sys/fs/devfs/devfs.h35
1 files changed, 19 insertions, 16 deletions
diff --git a/sys/fs/devfs/devfs.h b/sys/fs/devfs/devfs.h
index 4972eaa..d148f8e 100644
--- a/sys/fs/devfs/devfs.h
+++ b/sys/fs/devfs/devfs.h
@@ -178,22 +178,25 @@ extern unsigned devfs_rule_depth;
#define DEVFS_DEL_VNLOCKED 0x01
#define DEVFS_DEL_NORECURSE 0x02
-void devfs_rules_apply(struct devfs_mount *dm, struct devfs_dirent *de);
-void devfs_rules_cleanup (struct devfs_mount *dm);
-int devfs_rules_ioctl(struct devfs_mount *dm, u_long cmd, caddr_t data, struct thread *td);
-int devfs_allocv(struct devfs_dirent *de, struct mount *mp, int lockmode,
- struct vnode **vpp);
-char *devfs_fqpn(char *, struct devfs_mount *, struct devfs_dirent *,
- struct componentname *);
-void devfs_delete(struct devfs_mount *dm, struct devfs_dirent *de, int flags);
-void devfs_dirent_free(struct devfs_dirent *de);
-void devfs_populate (struct devfs_mount *dm);
-void devfs_cleanup (struct devfs_mount *dm);
-void devfs_unmount_final(struct devfs_mount *mp);
-struct devfs_dirent *devfs_newdirent (char *name, int namelen);
-struct devfs_dirent *devfs_parent_dirent(struct devfs_dirent *de);
-struct devfs_dirent *devfs_vmkdir (struct devfs_mount *, char *name, int namelen, struct devfs_dirent *dotdot, u_int inode);
-struct devfs_dirent *devfs_find(struct devfs_dirent *dd, const char *name, int namelen, int type);
+void devfs_rules_apply(struct devfs_mount *, struct devfs_dirent *);
+void devfs_rules_cleanup(struct devfs_mount *);
+int devfs_rules_ioctl(struct devfs_mount *, u_long, caddr_t,
+ struct thread *);
+int devfs_allocv(struct devfs_dirent *, struct mount *, int,
+ struct vnode **);
+char *devfs_fqpn(char *, struct devfs_mount *, struct devfs_dirent *,
+ struct componentname *);
+void devfs_delete(struct devfs_mount *, struct devfs_dirent *, int);
+void devfs_dirent_free(struct devfs_dirent *);
+void devfs_populate(struct devfs_mount *);
+void devfs_cleanup(struct devfs_mount *);
+void devfs_unmount_final(struct devfs_mount *);
+struct devfs_dirent *devfs_newdirent(char *, int);
+struct devfs_dirent *devfs_parent_dirent(struct devfs_dirent *);
+struct devfs_dirent *devfs_vmkdir(struct devfs_mount *, char *, int,
+ struct devfs_dirent *, u_int);
+struct devfs_dirent *devfs_find(struct devfs_dirent *, const char *, int,
+ int);
#endif /* _KERNEL */
OpenPOWER on IntegriCloud