Searched refs:cdevice (Results 1 – 1 of 1) sorted by relevance
110 struct cdev cdevice; member171 dmirror->mdevice = container_of(cdev, struct dmirror_device, cdevice); in dmirror_fops_open()519 devmem->pagemap.range.start = (MINOR(mdevice->cdevice.dev) - 2) ? in dmirror_allocate_chunk()1479 cdev_init(&mdevice->cdevice, &dmirror_fops); in dmirror_device_init()1480 mdevice->cdevice.owner = THIS_MODULE; in dmirror_device_init()1488 ret = cdev_device_add(&mdevice->cdevice, &mdevice->device); in dmirror_device_init()1499 cdev_device_del(&mdevice->cdevice, &mdevice->device); in dmirror_device_remove()