Searched refs:nvdimm_map (Results 1 – 1 of 1) sorted by relevance
52 struct nvdimm_map { struct65 static struct nvdimm_map *find_nvdimm_map(struct device *dev, in find_nvdimm_map() argument69 struct nvdimm_map *nvdimm_map; in find_nvdimm_map() local71 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() local83 nvdimm_map = kzalloc(sizeof(*nvdimm_map), GFP_KERNEL); in alloc_nvdimm_map()84 if (!nvdimm_map) in alloc_nvdimm_map()[all …]