Changeset View
Changeset View
Standalone View
Standalone View
head/sys/fs/devfs/devfs_int.h
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | #define CDP_UNREF_DTR (1 << 2) | ||||
struct devfs_dirent **cdp_dirents; | struct devfs_dirent **cdp_dirents; | ||||
struct devfs_dirent *cdp_dirent0; | struct devfs_dirent *cdp_dirent0; | ||||
TAILQ_ENTRY(cdev_priv) cdp_dtr_list; | TAILQ_ENTRY(cdev_priv) cdp_dtr_list; | ||||
void (*cdp_dtr_cb)(void *); | void (*cdp_dtr_cb)(void *); | ||||
void *cdp_dtr_cb_arg; | void *cdp_dtr_cb_arg; | ||||
LIST_HEAD(, cdev_privdata) cdp_fdpriv; | LIST_HEAD(, cdev_privdata) cdp_fdpriv; | ||||
struct mtx cdp_threadlock; | |||||
}; | }; | ||||
#define cdev2priv(c) __containerof(c, struct cdev_priv, cdp_c) | #define cdev2priv(c) __containerof(c, struct cdev_priv, cdp_c) | ||||
struct cdev *devfs_alloc(int); | struct cdev *devfs_alloc(int); | ||||
int devfs_dev_exists(const char *); | int devfs_dev_exists(const char *); | ||||
void devfs_free(struct cdev *); | void devfs_free(struct cdev *); | ||||
void devfs_create(struct cdev *); | void devfs_create(struct cdev *); | ||||
Show All 18 Lines |