Searched refs:dmirror (Results 1 – 1 of 1) sorted by relevance
83 struct dmirror *dmirror; member90 struct dmirror { struct147 dmirror_select_device(struct dmirror *dmirror) in dmirror_select_device() argument149 return (dmirror->mdevice->zone_device_type == in dmirror_select_device()163 struct dmirror *dmirror; in dmirror_fops_open() local167 dmirror = kzalloc(sizeof(*dmirror), GFP_KERNEL); in dmirror_fops_open()168 if (dmirror == NULL) in dmirror_fops_open()171 dmirror->mdevice = container_of(cdev, struct dmirror_device, cdevice); in dmirror_fops_open()172 mutex_init(&dmirror->mutex); in dmirror_fops_open()173 xa_init(&dmirror->pt); in dmirror_fops_open()[all …]