Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/devfs/devfs_int.h
| Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Lines | |||||
| int devfs_dir_find(const char *); | int devfs_dir_find(const char *); | ||||
| void devfs_dir_ref_de(struct devfs_mount *, struct devfs_dirent *); | void devfs_dir_ref_de(struct devfs_mount *, struct devfs_dirent *); | ||||
| void devfs_dir_unref_de(struct devfs_mount *, struct devfs_dirent *); | void devfs_dir_unref_de(struct devfs_mount *, struct devfs_dirent *); | ||||
| int devfs_pathpath(const char *, const char *); | int devfs_pathpath(const char *, const char *); | ||||
| extern struct unrhdr *devfs_inos; | extern struct unrhdr *devfs_inos; | ||||
| extern struct mtx devmtx; | extern struct mtx devmtx; | ||||
| extern struct mtx devfs_de_interlock; | extern struct mtx devfs_de_interlock; | ||||
| extern struct sx clone_drain_lock; | |||||
| extern struct mtx cdevpriv_mtx; | extern struct mtx cdevpriv_mtx; | ||||
| extern TAILQ_HEAD(cdev_priv_list, cdev_priv) cdevp_list; | extern TAILQ_HEAD(cdev_priv_list, cdev_priv) cdevp_list; | ||||
| #define dev_lock_assert_locked() mtx_assert(&devmtx, MA_OWNED) | #define dev_lock_assert_locked() mtx_assert(&devmtx, MA_OWNED) | ||||
| #define dev_lock_assert_unlocked() mtx_assert(&devmtx, MA_NOTOWNED) | #define dev_lock_assert_unlocked() mtx_assert(&devmtx, MA_NOTOWNED) | ||||
| #endif /* _KERNEL */ | #endif /* _KERNEL */ | ||||
| #endif /* !_FS_DEVFS_DEVFS_INT_H_ */ | #endif /* !_FS_DEVFS_DEVFS_INT_H_ */ | ||||