Home
last modified time | relevance | path

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

/freebsd/sys/dev/nvdimm/
H A Dnvdimm_acpi.c131 struct SPA_mapping *spa_mapping; in nvdimm_root_create_spas() local
142 spa_mapping = malloc(sizeof(struct SPA_mapping), M_NVDIMM_ACPI, in nvdimm_root_create_spas()
144 error = nvdimm_spa_init(spa_mapping, *spa, spa_type); in nvdimm_root_create_spas()
146 nvdimm_spa_fini(spa_mapping); in nvdimm_root_create_spas()
147 free(spa_mapping, M_NVDIMM_ACPI); in nvdimm_root_create_spas()
152 nvdimm_create_namespaces(spa_mapping, nfitbl); in nvdimm_root_create_spas()
153 SLIST_INSERT_HEAD(&dev->spas, spa_mapping, link); in nvdimm_root_create_spas()
H A Dnvdimm_e820.c109 struct SPA_mapping *spa_mapping; in nvdimm_e820_create_spas() local
217 spa_mapping = malloc(sizeof(*spa_mapping), M_NVDIMM_E820, in nvdimm_e820_create_spas()
228 error = nvdimm_spa_init(spa_mapping, &nfit_sa, spa_type); in nvdimm_e820_create_spas()
230 nvdimm_spa_fini(spa_mapping); in nvdimm_e820_create_spas()
231 free(spa_mapping, M_NVDIMM_E820); in nvdimm_e820_create_spas()
235 SLIST_INSERT_HEAD(&sc->spas, spa_mapping, link); in nvdimm_e820_create_spas()