Home
last modified time | relevance | path

Searched refs:cdev (Results 1 – 3 of 3) sorted by relevance

/fs/
Dchar_dev.c40 struct cdev *cdev; /* will die */ member
273 struct cdev *cdev; in __register_chrdev() local
280 cdev = cdev_alloc(); in __register_chrdev()
281 if (!cdev) in __register_chrdev()
284 cdev->owner = fops->owner; in __register_chrdev()
285 cdev->ops = fops; in __register_chrdev()
286 kobject_set_name(&cdev->kobj, "%s", name); in __register_chrdev()
288 err = cdev_add(cdev, MKDEV(cd->major, baseminor), count); in __register_chrdev()
292 cd->cdev = cdev; in __register_chrdev()
296 kobject_put(&cdev->kobj); in __register_chrdev()
[all …]
/fs/fuse/
Dcuse.c61 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()
[all …]
/fs/ubifs/
Dsuper.c2212 return c->vi.cdev == c1->vi.cdev; in sb_test()