Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/nvdimm/
Dcore.c53 struct nvdimm_map { struct
66 static struct nvdimm_map *find_nvdimm_map(struct device *dev, in find_nvdimm_map() argument
70 struct nvdimm_map *nvdimm_map; in find_nvdimm_map() local
72 list_for_each_entry(nvdimm_map, &nvdimm_bus->mapping_list, list) in find_nvdimm_map()
73 if (nvdimm_map->offset == offset) in find_nvdimm_map()
74 return nvdimm_map; in find_nvdimm_map()
78 static struct nvdimm_map *alloc_nvdimm_map(struct device *dev, in alloc_nvdimm_map()
82 struct nvdimm_map *nvdimm_map; in alloc_nvdimm_map() local
84 nvdimm_map = kzalloc(sizeof(*nvdimm_map), GFP_KERNEL); in alloc_nvdimm_map()
85 if (!nvdimm_map) in alloc_nvdimm_map()
[all …]