Home
last modified time | relevance | path

Searched refs:vmlogrdr_cdev (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/s390/char/
H A Dvmlogrdr.c160 static struct cdev *vmlogrdr_cdev = NULL; variable
810 vmlogrdr_cdev = cdev_alloc(); in vmlogrdr_register_cdev()
811 if (!vmlogrdr_cdev) { in vmlogrdr_register_cdev()
814 vmlogrdr_cdev->owner = THIS_MODULE; in vmlogrdr_register_cdev()
815 vmlogrdr_cdev->ops = &vmlogrdr_fops; in vmlogrdr_register_cdev()
816 rc = cdev_add(vmlogrdr_cdev, dev, MAXMINOR); in vmlogrdr_register_cdev()
821 kobject_put(&vmlogrdr_cdev->kobj); in vmlogrdr_register_cdev()
822 vmlogrdr_cdev=NULL; in vmlogrdr_register_cdev()
831 if (vmlogrdr_cdev) { in vmlogrdr_cleanup()
832 cdev_del(vmlogrdr_cdev); in vmlogrdr_cleanup()
[all...]
/kernel/linux/linux-6.6/drivers/s390/char/
H A Dvmlogrdr.c160 static struct cdev *vmlogrdr_cdev = NULL; variable
786 vmlogrdr_cdev = cdev_alloc(); in vmlogrdr_register_cdev()
787 if (!vmlogrdr_cdev) { in vmlogrdr_register_cdev()
790 vmlogrdr_cdev->owner = THIS_MODULE; in vmlogrdr_register_cdev()
791 vmlogrdr_cdev->ops = &vmlogrdr_fops; in vmlogrdr_register_cdev()
792 rc = cdev_add(vmlogrdr_cdev, dev, MAXMINOR); in vmlogrdr_register_cdev()
797 kobject_put(&vmlogrdr_cdev->kobj); in vmlogrdr_register_cdev()
798 vmlogrdr_cdev=NULL; in vmlogrdr_register_cdev()
807 if (vmlogrdr_cdev) { in vmlogrdr_cleanup()
808 cdev_del(vmlogrdr_cdev); in vmlogrdr_cleanup()
[all...]

Completed in 4 milliseconds