Home
last modified time | relevance | path

Searched refs:label_ent (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/nvdimm/
Dlabel.c633 struct nd_label_ent *label_ent, *victim = NULL; in __pmem_label_update() local
701 list_for_each_entry(label_ent, &nd_mapping->labels, list) { in __pmem_label_update()
702 if (!label_ent->label) in __pmem_label_update()
704 if (memcmp(nspm->uuid, label_ent->label->uuid, in __pmem_label_update()
707 victim = label_ent; in __pmem_label_update()
722 list_for_each_entry(label_ent, &nd_mapping->labels, list) in __pmem_label_update()
723 if (!label_ent->label) { in __pmem_label_update()
724 label_ent->label = nd_label; in __pmem_label_update()
781 struct nd_label_ent *label_ent, *e; in __blk_label_update() local
956 list_for_each_entry_safe(label_ent, e, &nd_mapping->labels, list) { in __blk_label_update()
[all …]
Dnamespace_devs.c1791 struct nd_label_ent *label_ent; in has_uuid_at_pos() local
1794 list_for_each_entry(label_ent, &nd_mapping->labels, list) { in has_uuid_at_pos()
1795 struct nd_namespace_label *nd_label = label_ent->label; in has_uuid_at_pos()
1850 struct nd_label_ent *label_ent; in select_pmem_id() local
1853 list_for_each_entry(label_ent, &nd_mapping->labels, list) { in select_pmem_id()
1854 nd_label = label_ent->label; in select_pmem_id()
1885 list_move(&label_ent->list, &nd_mapping->labels); in select_pmem_id()
1902 struct nd_label_ent *label_ent; in create_namespace_pmem() local
1978 label_ent = list_first_entry_or_null(&nd_mapping->labels, in create_namespace_pmem()
1979 typeof(*label_ent), list); in create_namespace_pmem()
[all …]
Dregion_devs.c698 struct nd_label_ent *label_ent, *e; in nd_mapping_free_labels() local
701 list_for_each_entry_safe(label_ent, e, &nd_mapping->labels, list) { in nd_mapping_free_labels()
702 list_del(&label_ent->list); in nd_mapping_free_labels()
703 kfree(label_ent); in nd_mapping_free_labels()