Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/nvdimm/
Dregion_devs.c320 struct nd_interleave_set *nd_set = nd_region->nd_set; in set_cookie_show() local
323 if (is_memory(dev) && nd_set) in set_cookie_show()
355 return sprintf(buf, "%#llx\n", nd_set->cookie1); in set_cookie_show()
626 struct nd_interleave_set *nd_set = nd_region->nd_set; in region_visible() local
671 else if (is_memory(dev) && nd_set) in region_visible()
686 struct nd_interleave_set *nd_set = nd_region->nd_set; in nd_region_interleave_set_cookie() local
688 if (!nd_set) in nd_region_interleave_set_cookie()
693 return nd_set->cookie1; in nd_region_interleave_set_cookie()
694 return nd_set->cookie2; in nd_region_interleave_set_cookie()
699 struct nd_interleave_set *nd_set = nd_region->nd_set; in nd_region_interleave_set_altcookie() local
[all …]
Dlabel.c764 struct nd_interleave_set *nd_set = nd_region->nd_set; in __pmem_label_update() local
811 guid_copy(&nd_label->type_guid, &nd_set->type_guid); in __pmem_label_update()
902 struct nd_interleave_set *nd_set = nd_region->nd_set; in __blk_label_update() local
1027 nd_label->isetcookie = __cpu_to_le64(nd_set->cookie2); in __blk_label_update()
1039 guid_copy(&nd_label->type_guid, &nd_set->type_guid); in __blk_label_update()
Dnamespace_devs.c1799 struct nd_interleave_set *nd_set = nd_region->nd_set; in has_uuid_at_pos() local
1822 && !guid_equal(&nd_set->type_guid, in has_uuid_at_pos()
1825 &nd_set->type_guid, in has_uuid_at_pos()
2220 struct nd_interleave_set *nd_set = nd_region->nd_set; in create_namespace_blk() local
2228 if (!guid_equal(&nd_set->type_guid, &nd_label->type_guid)) { in create_namespace_blk()
2230 &nd_set->type_guid, in create_namespace_blk()
2235 if (nd_label->isetcookie != __cpu_to_le64(nd_set->cookie2)) { in create_namespace_blk()
2237 nd_set->cookie2, in create_namespace_blk()
Dnd.h156 struct nd_interleave_set *nd_set; member
/Linux-v5.4/arch/powerpc/platforms/pseries/
Dpapr_scm.c41 struct nd_interleave_set nd_set; member
379 ndr_desc.nd_set = &p->nd_set; in papr_scm_nvdimm_init()
456 p->nd_set.cookie1 = cpu_to_le64(uuid[0]); in papr_scm_probe()
457 p->nd_set.cookie2 = cpu_to_le64(uuid[1]); in papr_scm_probe()
/Linux-v5.4/drivers/acpi/nfit/
Dcore.c2291 struct nd_interleave_set *nd_set; in acpi_nfit_init_interleave_set() local
2297 nd_set = devm_kzalloc(dev, sizeof(*nd_set), GFP_KERNEL); in acpi_nfit_init_interleave_set()
2298 if (!nd_set) in acpi_nfit_init_interleave_set()
2300 guid_copy(&nd_set->type_guid, (guid_t *) spa->range_guid); in acpi_nfit_init_interleave_set()
2338 nd_set->cookie1 = nd_fletcher64(info, sizeof_nfit_set_info(nr), 0); in acpi_nfit_init_interleave_set()
2343 nd_set->cookie2 = nd_fletcher64(info2, sizeof_nfit_set_info2(nr), 0); in acpi_nfit_init_interleave_set()
2348 nd_set->altcookie = nd_fletcher64(info, sizeof_nfit_set_info(nr), 0); in acpi_nfit_init_interleave_set()
2372 ndr_desc->nd_set = nd_set; in acpi_nfit_init_interleave_set()
/Linux-v5.4/include/linux/
Dlibnvdimm.h126 struct nd_interleave_set *nd_set; member