Searched refs:nd_set (Results 1 – 6 of 6) sorted by relevance
/drivers/nvdimm/ |
D | region_devs.c | 269 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 …]
|
D | label.c | 878 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()
|
D | namespace_devs.c | 1561 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()
|
D | nd.h | 422 struct nd_interleave_set *nd_set; member
|
/drivers/cxl/ |
D | pmem.c | 435 struct nd_interleave_set *nd_set; in cxl_pmem_region_probe() local 490 nd_set = devm_kzalloc(dev, sizeof(*nd_set), GFP_KERNEL); in cxl_pmem_region_probe() 491 if (!nd_set) { in cxl_pmem_region_probe() 560 nd_set->cookie1 = in cxl_pmem_region_probe() 562 nd_set->cookie2 = nd_set->cookie1; in cxl_pmem_region_probe() 563 ndr_desc.nd_set = nd_set; in cxl_pmem_region_probe()
|
/drivers/acpi/nfit/ |
D | core.c | 2261 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()
|