Lines Matching refs:cdev
61 struct cdev *cdev; /* associated character device */ member
326 struct cdev *cdev; in cuse_process_init_reply() local
385 cdev = cdev_alloc(); in cuse_process_init_reply()
386 if (!cdev) in cuse_process_init_reply()
389 cdev->owner = THIS_MODULE; in cuse_process_init_reply()
390 cdev->ops = &cuse_frontend_fops; in cuse_process_init_reply()
392 rc = cdev_add(cdev, devt, 1); in cuse_process_init_reply()
397 cc->cdev = cdev; in cuse_process_init_reply()
412 cdev_del(cdev); in cuse_process_init_reply()
557 if (cc->cdev) { in cuse_channel_release()
558 unregister_chrdev_region(cc->cdev->dev, 1); in cuse_channel_release()
559 cdev_del(cc->cdev); in cuse_channel_release()