Searched refs:devmem (Results 1 – 1 of 1) sorted by relevance
502 struct dmirror_chunk *devmem; in dmirror_allocate_chunk() local510 devmem = kzalloc(sizeof(*devmem), GFP_KERNEL); in dmirror_allocate_chunk()511 if (!devmem) in dmirror_allocate_chunk()520 devmem->pagemap.range.start = res->start; in dmirror_allocate_chunk()521 devmem->pagemap.range.end = res->end; in dmirror_allocate_chunk()522 devmem->pagemap.type = MEMORY_DEVICE_PRIVATE; in dmirror_allocate_chunk()525 devmem->pagemap.range.start = (MINOR(mdevice->cdevice.dev) - 2) ? in dmirror_allocate_chunk()528 devmem->pagemap.range.end = devmem->pagemap.range.start + in dmirror_allocate_chunk()530 devmem->pagemap.type = MEMORY_DEVICE_COHERENT; in dmirror_allocate_chunk()537 devmem->pagemap.nr_range = 1; in dmirror_allocate_chunk()[all …]