Home
last modified time | relevance | path

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

/drivers/nvdimm/
Dcore.c52 struct nvdimm_map { struct
65 static struct nvdimm_map *find_nvdimm_map(struct device *dev, in find_nvdimm_map() argument
69 struct nvdimm_map *nvdimm_map; in find_nvdimm_map() local
71 list_for_each_entry(nvdimm_map, &nvdimm_bus->mapping_list, list) in find_nvdimm_map()
72 if (nvdimm_map->offset == offset) in find_nvdimm_map()
73 return nvdimm_map; in find_nvdimm_map()
77 static struct nvdimm_map *alloc_nvdimm_map(struct device *dev, in alloc_nvdimm_map()
81 struct nvdimm_map *nvdimm_map; in alloc_nvdimm_map() local
83 nvdimm_map = kzalloc(sizeof(*nvdimm_map), GFP_KERNEL); in alloc_nvdimm_map()
84 if (!nvdimm_map) in alloc_nvdimm_map()
[all …]