cdev
int (*ioctl) (struct cdev *, u_long, caddr_t, int, fw_proc *);
struct cdev *dev;
struct cdev *led_dev;
struct cdev *led_dev;
iwn_cdev_open(struct cdev *dev, int flags, int type, struct thread *td)
iwn_cdev_close(struct cdev *dev, int flags, int type, struct thread *td)
iwn_cdev_ioctl(struct cdev *dev, unsigned long cmd, caddr_t data, int fflag,
struct cdev *sc_cdev;
struct cdev *pm_dev; /* character device mounted */
struct cdev* v_rdev; /* v device (VCHR, VBLK) */
cdev* dev = fatVolume->pm_dev;
cdev** bsdDevice, bool* _readOnly);
status_t bsd_device_uninit(cdev* device);
static status_t dev_bsd_node_init(cdev* bsdDevice, vnode** devNode);
typedef CObjectDeleter<cdev, status_t, &bsd_device_uninit> StructCdevDeleter;
cdev* bsdDevice = NULL;
bsd_device_init(mount* bsdVolume, const dev_t devID, const char* deviceFile, cdev** bsdDevice,
cdev* device = new(std::nothrow) cdev;
ObjectDeleter<cdev> deviceDeleter(device);
bsd_device_uninit(cdev* device)
dev_bsd_node_init(cdev* bsdDevice, vnode** devNode)
cdev* dev = devvp->v_rdev;
cdev* bsdDevice = fatVolume->pm_dev;
cdev* bsdDevice = fatVolume->pm_dev;
struct cdev *ifc_led_dev;
static inline struct cdev*
static inline struct cdev*
led_destroy(struct cdev* dev)