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