Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/cxl/
Dpmem.c313 struct nd_interleave_set *nd_set; in cxl_pmem_region_probe() local
352 nd_set = devm_kzalloc(dev, sizeof(*nd_set), GFP_KERNEL); in cxl_pmem_region_probe()
353 if (!nd_set) in cxl_pmem_region_probe()
394 nd_set->cookie1 = in cxl_pmem_region_probe()
396 nd_set->cookie2 = nd_set->cookie1; in cxl_pmem_region_probe()
397 ndr_desc.nd_set = nd_set; in cxl_pmem_region_probe()
/linux-6.12.1/drivers/nvdimm/
Dregion_devs.c316 struct nd_interleave_set *nd_set = nd_region->nd_set; in set_cookie_show() local
319 if (is_memory(dev) && nd_set) in set_cookie_show()
351 return sprintf(buf, "%#llx\n", nd_set->cookie1); in set_cookie_show()
657 struct nd_interleave_set *nd_set = nd_region->nd_set; in region_visible() local
700 else if (is_memory(dev) && nd_set) in region_visible()
856 struct nd_interleave_set *nd_set = nd_region->nd_set; in nd_region_interleave_set_cookie() local
858 if (!nd_set) in nd_region_interleave_set_cookie()
863 return nd_set->cookie1; in nd_region_interleave_set_cookie()
864 return nd_set->cookie2; in nd_region_interleave_set_cookie()
869 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()
Dnamespace_devs.c1570 struct nd_interleave_set *nd_set = nd_region->nd_set; in has_uuid_at_pos() local
1590 &nd_set->type_guid)) in has_uuid_at_pos()
Dnd.h422 struct nd_interleave_set *nd_set; member
/linux-6.12.1/tools/testing/nvdimm/test/
Dndtest.c416 struct nd_interleave_set *nd_set; in ndtest_create_region() local
440 nd_set = devm_kzalloc(&p->pdev.dev, sizeof(*nd_set), GFP_KERNEL); in ndtest_create_region()
441 if (!nd_set) in ndtest_create_region()
444 nd_set->cookie1 = cpu_to_le64(uuid[0]); in ndtest_create_region()
445 nd_set->cookie2 = cpu_to_le64(uuid[1]); in ndtest_create_region()
446 nd_set->altcookie = nd_set->cookie1; in ndtest_create_region()
447 ndr_desc->nd_set = nd_set; in ndtest_create_region()
/linux-6.12.1/arch/powerpc/platforms/pseries/
Dpapr_scm.c68 struct nd_interleave_set nd_set; member
1264 ndr_desc.nd_set = &p->nd_set; in papr_scm_nvdimm_init()
1437 p->nd_set.cookie1 = get_unaligned_le64(&uuid_raw[0]); in papr_scm_probe()
1438 p->nd_set.cookie2 = get_unaligned_le64(&uuid_raw[8]); in papr_scm_probe()
/linux-6.12.1/drivers/acpi/nfit/
Dcore.c2265 struct nd_interleave_set *nd_set; in acpi_nfit_init_interleave_set() local
2271 nd_set = devm_kzalloc(dev, sizeof(*nd_set), GFP_KERNEL); in acpi_nfit_init_interleave_set()
2272 if (!nd_set) in acpi_nfit_init_interleave_set()
2274 import_guid(&nd_set->type_guid, spa->range_guid); in acpi_nfit_init_interleave_set()
2303 nd_set->cookie1 = nd_fletcher64(info, sizeof(*info) * nr, 0); in acpi_nfit_init_interleave_set()
2307 nd_set->cookie2 = nd_fletcher64(info2, sizeof(*info2) * nr, 0); in acpi_nfit_init_interleave_set()
2311 nd_set->altcookie = nd_fletcher64(info, sizeof(*info) * nr, 0); in acpi_nfit_init_interleave_set()
2335 ndr_desc->nd_set = nd_set; in acpi_nfit_init_interleave_set()
/linux-6.12.1/include/linux/
Dlibnvdimm.h130 struct nd_interleave_set *nd_set; member