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()525 devmem->pagemap.range.start = (MINOR(mdevice->cdevice.dev) - 2) ? in dmirror_allocate_chunk()1485 cdev_init(&mdevice->cdevice, &dmirror_fops); in dmirror_device_init()1486 mdevice->cdevice.owner = THIS_MODULE; in dmirror_device_init()1494 ret = cdev_device_add(&mdevice->cdevice, &mdevice->device); in dmirror_device_init()1505 cdev_device_del(&mdevice->cdevice, &mdevice->device); in dmirror_device_remove()