Searched refs:vmlogrdr_cdev (Results 1 – 1 of 1) sorted by relevance
160 static struct cdev *vmlogrdr_cdev = NULL; variable810 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 …]