diff options
author | jh <jh@FreeBSD.org> | 2010-10-12 15:58:52 +0000 |
---|---|---|
committer | jh <jh@FreeBSD.org> | 2010-10-12 15:58:52 +0000 |
commit | 7817d1d2590ff0e3480b31e63b08d5c21aceedd2 (patch) | |
tree | ef1cec1216531e74cc802c31761243998f1023b4 /sys/fs | |
parent | 3ee8e0d035e480ce058f273e326bcb09c6141598 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/fs/devfs/devfs.h | 35 | ||||
-rw-r--r-- | sys/fs/devfs/devfs_int.h | 12 |
2 files changed, 25 insertions, 22 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 */ diff --git a/sys/fs/devfs/devfs_int.h b/sys/fs/devfs/devfs_int.h index df16f18..cdc6aba 100644 --- a/sys/fs/devfs/devfs_int.h +++ b/sys/fs/devfs/devfs_int.h @@ -71,12 +71,12 @@ struct cdev_priv { #define cdev2priv(c) member2struct(cdev_priv, cdp_c, c) -struct cdev *devfs_alloc(int); -int devfs_dev_exists(const char *); -void devfs_free(struct cdev *); -void devfs_create(struct cdev *dev); -void devfs_destroy(struct cdev *dev); -void devfs_destroy_cdevpriv(struct cdev_privdata *p); +struct cdev *devfs_alloc(int); +int devfs_dev_exists(const char *); +void devfs_free(struct cdev *); +void devfs_create(struct cdev *); +void devfs_destroy(struct cdev *); +void devfs_destroy_cdevpriv(struct cdev_privdata *); int devfs_dir_find(const char *); void devfs_dir_ref_de(struct devfs_mount *, struct devfs_dirent *); |