Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/nvdimm/
Dregion_devs.c294 struct nd_interleave_set *nd_set = nd_region->nd_set; in set_cookie_show() local
297 if (is_memory(dev) && nd_set) in set_cookie_show()
329 return sprintf(buf, "%#llx\n", nd_set->cookie1); in set_cookie_show()
649 struct nd_interleave_set *nd_set = nd_region->nd_set; in region_visible() local
693 else if (is_memory(dev) && nd_set) in region_visible()
860 struct nd_interleave_set *nd_set = nd_region->nd_set; in nd_region_interleave_set_cookie() local
862 if (!nd_set) in nd_region_interleave_set_cookie()
867 return nd_set->cookie1; in nd_region_interleave_set_cookie()
868 return nd_set->cookie2; in nd_region_interleave_set_cookie()
873 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.c1842 struct nd_interleave_set *nd_set = nd_region->nd_set; in has_uuid_at_pos() local
1865 && !guid_equal(&nd_set->type_guid, in has_uuid_at_pos()
1868 &nd_set->type_guid, in has_uuid_at_pos()
2261 struct nd_interleave_set *nd_set = nd_region->nd_set; in create_namespace_blk() local
2269 if (!guid_equal(&nd_set->type_guid, &nd_label->type_guid)) { in create_namespace_blk()
2271 &nd_set->type_guid, in create_namespace_blk()
2276 if (nd_label->isetcookie != __cpu_to_le64(nd_set->cookie2)) { in create_namespace_blk()
2278 nd_set->cookie2, in create_namespace_blk()
Dnd.h157 struct nd_interleave_set *nd_set; member
/Linux-v5.10/arch/powerpc/platforms/pseries/
Dpapr_scm.c104 struct nd_interleave_set nd_set; member
944 ndr_desc.nd_set = &p->nd_set; in papr_scm_nvdimm_init()
1101 p->nd_set.cookie1 = cpu_to_le64(uuid[0]); in papr_scm_probe()
1102 p->nd_set.cookie2 = cpu_to_le64(uuid[1]); in papr_scm_probe()
/Linux-v5.10/drivers/acpi/nfit/
Dcore.c2348 struct nd_interleave_set *nd_set; in acpi_nfit_init_interleave_set() local
2354 nd_set = devm_kzalloc(dev, sizeof(*nd_set), GFP_KERNEL); in acpi_nfit_init_interleave_set()
2355 if (!nd_set) in acpi_nfit_init_interleave_set()
2357 import_guid(&nd_set->type_guid, spa->range_guid); in acpi_nfit_init_interleave_set()
2395 nd_set->cookie1 = nd_fletcher64(info, sizeof_nfit_set_info(nr), 0); in acpi_nfit_init_interleave_set()
2400 nd_set->cookie2 = nd_fletcher64(info2, sizeof_nfit_set_info2(nr), 0); in acpi_nfit_init_interleave_set()
2405 nd_set->altcookie = nd_fletcher64(info, sizeof_nfit_set_info(nr), 0); in acpi_nfit_init_interleave_set()
2429 ndr_desc->nd_set = nd_set; in acpi_nfit_init_interleave_set()
/Linux-v5.10/include/linux/
Dlibnvdimm.h123 struct nd_interleave_set *nd_set; member