Changeset View
Changeset View
Standalone View
Standalone View
head/sys/fs/devfs/devfs.h
Show First 20 Lines • Show All 147 Lines • ▼ Show 20 Lines | #define DE_USER 0x20 | ||||
uid_t de_uid; | uid_t de_uid; | ||||
gid_t de_gid; | gid_t de_gid; | ||||
struct label *de_label; | struct label *de_label; | ||||
struct timespec de_atime; | struct timespec de_atime; | ||||
struct timespec de_mtime; | struct timespec de_mtime; | ||||
struct timespec de_ctime; | struct timespec de_ctime; | ||||
struct vnode *de_vnode; | struct vnode *de_vnode; | ||||
char *de_symlink; | char *de_symlink; | ||||
int de_usecount; | |||||
}; | }; | ||||
struct devfs_mount { | struct devfs_mount { | ||||
u_int dm_idx; | u_int dm_idx; | ||||
struct mount *dm_mount; | struct mount *dm_mount; | ||||
struct devfs_dirent *dm_rootdir; | struct devfs_dirent *dm_rootdir; | ||||
unsigned dm_generation; | unsigned dm_generation; | ||||
int dm_holdcnt; | int dm_holdcnt; | ||||
Show All 33 Lines | |||||
void devfs_cleanup(struct devfs_mount *); | void devfs_cleanup(struct devfs_mount *); | ||||
void devfs_unmount_final(struct devfs_mount *); | void devfs_unmount_final(struct devfs_mount *); | ||||
struct devfs_dirent *devfs_newdirent(char *, int); | struct devfs_dirent *devfs_newdirent(char *, int); | ||||
struct devfs_dirent *devfs_parent_dirent(struct devfs_dirent *); | struct devfs_dirent *devfs_parent_dirent(struct devfs_dirent *); | ||||
struct devfs_dirent *devfs_vmkdir(struct devfs_mount *, char *, int, | struct devfs_dirent *devfs_vmkdir(struct devfs_mount *, char *, int, | ||||
struct devfs_dirent *, u_int); | struct devfs_dirent *, u_int); | ||||
struct devfs_dirent *devfs_find(struct devfs_dirent *, const char *, int, | struct devfs_dirent *devfs_find(struct devfs_dirent *, const char *, int, | ||||
int); | int); | ||||
void devfs_ctty_ref(struct vnode *); | |||||
void devfs_ctty_unref(struct vnode *); | |||||
int devfs_usecount(struct vnode *); | |||||
#endif /* _KERNEL */ | #endif /* _KERNEL */ | ||||
#endif /* !_FS_DEVFS_DEVFS_H_ */ | #endif /* !_FS_DEVFS_DEVFS_H_ */ |