Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvdimm/
Dregion_devs.c269 struct nd_interleave_set *nd_set = nd_region->nd_set; in set_cookie_show() local
272 if (is_memory(dev) && nd_set) in set_cookie_show()
304 return sprintf(buf, "%#llx\n", nd_set->cookie1); in set_cookie_show()
610 struct nd_interleave_set *nd_set = nd_region->nd_set; in region_visible() local
653 else if (is_memory(dev) && nd_set) in region_visible()
809 struct nd_interleave_set *nd_set = nd_region->nd_set; in nd_region_interleave_set_cookie() local
811 if (!nd_set) in nd_region_interleave_set_cookie()
816 return nd_set->cookie1; in nd_region_interleave_set_cookie()
817 return nd_set->cookie2; in nd_region_interleave_set_cookie()
822 struct nd_interleave_set *nd_set = nd_region->nd_set; in nd_region_interleave_set_altcookie() local
[all …]
Dlabel.c878 struct nd_interleave_set *nd_set = nd_region->nd_set; in __pmem_label_update() local
924 nsl_set_type_guid(ndd, nd_label, &nd_set->type_guid); in __pmem_label_update()
Dnd.h422 struct nd_interleave_set *nd_set; member
Dnamespace_devs.c1561 struct nd_interleave_set *nd_set = nd_region->nd_set; in has_uuid_at_pos() local
1581 &nd_set->type_guid)) in has_uuid_at_pos()
/linux-6.1.9/drivers/cxl/
Dpmem.c434 struct nd_interleave_set *nd_set; in cxl_pmem_region_probe() local
489 nd_set = devm_kzalloc(dev, sizeof(*nd_set), GFP_KERNEL); in cxl_pmem_region_probe()
490 if (!nd_set) { in cxl_pmem_region_probe()
559 nd_set->cookie1 = in cxl_pmem_region_probe()
561 nd_set->cookie2 = nd_set->cookie1; in cxl_pmem_region_probe()
562 ndr_desc.nd_set = nd_set; in cxl_pmem_region_probe()
/linux-6.1.9/tools/testing/nvdimm/test/
Dndtest.c410 struct nd_interleave_set *nd_set; in ndtest_create_region() local
434 nd_set = devm_kzalloc(&p->pdev.dev, sizeof(*nd_set), GFP_KERNEL); in ndtest_create_region()
435 if (!nd_set) in ndtest_create_region()
438 nd_set->cookie1 = cpu_to_le64(uuid[0]); in ndtest_create_region()
439 nd_set->cookie2 = cpu_to_le64(uuid[1]); in ndtest_create_region()
440 nd_set->altcookie = nd_set->cookie1; in ndtest_create_region()
441 ndr_desc->nd_set = nd_set; in ndtest_create_region()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dpapr_scm.c107 struct nd_interleave_set nd_set; member
1303 ndr_desc.nd_set = &p->nd_set; in papr_scm_nvdimm_init()
1469 p->nd_set.cookie1 = get_unaligned_le64(&uuid_raw[0]); in papr_scm_probe()
1470 p->nd_set.cookie2 = get_unaligned_le64(&uuid_raw[8]); in papr_scm_probe()
/linux-6.1.9/drivers/acpi/nfit/
Dcore.c2261 struct nd_interleave_set *nd_set; in acpi_nfit_init_interleave_set() local
2267 nd_set = devm_kzalloc(dev, sizeof(*nd_set), GFP_KERNEL); in acpi_nfit_init_interleave_set()
2268 if (!nd_set) in acpi_nfit_init_interleave_set()
2270 import_guid(&nd_set->type_guid, spa->range_guid); in acpi_nfit_init_interleave_set()
2307 nd_set->cookie1 = nd_fletcher64(info, sizeof(*info) * nr, 0); in acpi_nfit_init_interleave_set()
2311 nd_set->cookie2 = nd_fletcher64(info2, sizeof(*info2) * nr, 0); in acpi_nfit_init_interleave_set()
2315 nd_set->altcookie = nd_fletcher64(info, sizeof(*info) * nr, 0); in acpi_nfit_init_interleave_set()
2339 ndr_desc->nd_set = nd_set; in acpi_nfit_init_interleave_set()
/linux-6.1.9/include/linux/
Dlibnvdimm.h122 struct nd_interleave_set *nd_set; member