Home
last modified time | relevance | path

Searched refs:kmem_size (Results 1 – 1 of 1) sorted by relevance

/drivers/dax/
Dkmem.c22 resource_size_t kmem_size; in dev_dax_kmem_probe() local
44 kmem_size = resource_size(res); in dev_dax_kmem_probe()
46 kmem_size -= kmem_start - res->start; in dev_dax_kmem_probe()
48 kmem_size &= ~(memory_block_size_bytes() - 1); in dev_dax_kmem_probe()
49 kmem_end = kmem_start + kmem_size; in dev_dax_kmem_probe()
52 new_res = request_mem_region(kmem_start, kmem_size, dev_name(dev)); in dev_dax_kmem_probe()
85 resource_size_t kmem_size = resource_size(res); in dev_dax_kmem_remove() local
94 rc = remove_memory(dev_dax->target_node, kmem_start, kmem_size); in dev_dax_kmem_remove()