Lines Matching refs:cdev

56 struct cdev {  struct
77 LIST_ENTRY(cdev) si_list; argument
78 LIST_ENTRY(cdev) si_clone;
79 LIST_HEAD(, cdev) si_children;
80 LIST_ENTRY(cdev) si_siblings;
81 struct cdev *si_parent; argument
113 typedef int d_open_t(struct cdev *dev, int oflags, int devtype, struct thread *td); argument
114 typedef int d_fdopen_t(struct cdev *dev, int oflags, struct thread *td, struct file *fp);
115 typedef int d_close_t(struct cdev *dev, int fflag, int devtype, struct thread *td);
117 typedef int d_ioctl_t(struct cdev *dev, u_long cmd, caddr_t data,
120 typedef int d_read_t(struct cdev *dev, struct uio *uio, int ioflag);
121 typedef int d_write_t(struct cdev *dev, struct uio *uio, int ioflag);
122 typedef int d_poll_t(struct cdev *dev, int events, struct thread *td);
123 typedef int d_kqfilter_t(struct cdev *dev, struct knote *kn);
124 typedef int d_mmap_t(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr,
126 typedef int d_mmap_single_t(struct cdev *cdev, vm_ooffset_t *offset,
128 typedef void d_purge_t(struct cdev *dev);
219 LIST_HEAD(, cdev) d_devs;
252 int clone_create(struct clonedevs **, struct cdevsw *, int *unit, struct cdev **dev, int extra);
276 void delist_dev(struct cdev *_dev);
277 void destroy_dev(struct cdev *_dev);
278 int destroy_dev_sched(struct cdev *dev);
279 int destroy_dev_sched_cb(struct cdev *dev, void (*cb)(void *), void *arg);
282 struct cdevsw *dev_refthread(struct cdev *_dev, int *_ref);
283 struct cdevsw *devvn_refthread(struct vnode *vp, struct cdev **devp, int *_ref);
284 void dev_relthread(struct cdev *_dev, int _ref);
285 void dev_depends(struct cdev *_pdev, struct cdev *_cdev);
286 void dev_ref(struct cdev *dev);
287 void dev_refl(struct cdev *dev);
288 void dev_rel(struct cdev *dev);
289 struct cdev *make_dev(struct cdevsw *_devsw, int _unit, uid_t _uid, gid_t _gid,
291 struct cdev *make_dev_cred(struct cdevsw *_devsw, int _unit,
294 struct cdev *make_dev_credf(int _flags,
298 int make_dev_p(int _flags, struct cdev **_cdev, struct cdevsw *_devsw,
301 int make_dev_s(struct make_dev_args *_args, struct cdev **_cdev,
303 struct cdev *make_dev_alias(struct cdev *_pdev, const char *_fmt, ...)
305 int make_dev_alias_p(int _flags, struct cdev **_cdev, struct cdev *_pdev,
307 int make_dev_physpath_alias(int _flags, struct cdev **_cdev,
308 struct cdev *_pdev, struct cdev *_old_alias,
330 int namelen, struct cdev **result);