Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/nvdimm/
Dlabel.c768 struct nd_label_ent *label_ent; in __pmem_label_update() local
834 list_for_each_entry(label_ent, &nd_mapping->labels, list) { in __pmem_label_update()
835 if (!label_ent->label) in __pmem_label_update()
837 if (test_and_clear_bit(ND_LABEL_REAP, &label_ent->flags) in __pmem_label_update()
838 || memcmp(nspm->uuid, label_ent->label->uuid, in __pmem_label_update()
840 reap_victim(nd_mapping, label_ent); in __pmem_label_update()
847 list_for_each_entry(label_ent, &nd_mapping->labels, list) in __pmem_label_update()
848 if (!label_ent->label) { in __pmem_label_update()
849 label_ent->label = nd_label; in __pmem_label_update()
906 struct nd_label_ent *label_ent, *e; in __blk_label_update() local
[all …]
Dnamespace_devs.c1222 struct nd_label_ent *label_ent; in namespace_update_uuid() local
1231 list_for_each_entry(label_ent, &nd_mapping->labels, list) { in namespace_update_uuid()
1232 struct nd_namespace_label *nd_label = label_ent->label; in namespace_update_uuid()
1240 set_bit(ND_LABEL_REAP, &label_ent->flags); in namespace_update_uuid()
1844 struct nd_label_ent *label_ent; in has_uuid_at_pos() local
1847 list_for_each_entry(label_ent, &nd_mapping->labels, list) { in has_uuid_at_pos()
1848 struct nd_namespace_label *nd_label = label_ent->label; in has_uuid_at_pos()
1903 struct nd_label_ent *label_ent; in select_pmem_id() local
1906 list_for_each_entry(label_ent, &nd_mapping->labels, list) { in select_pmem_id()
1907 nd_label = label_ent->label; in select_pmem_id()
[all …]
Dregion_devs.c882 struct nd_label_ent *label_ent, *e; in nd_mapping_free_labels() local
885 list_for_each_entry_safe(label_ent, e, &nd_mapping->labels, list) { in nd_mapping_free_labels()
886 list_del(&label_ent->list); in nd_mapping_free_labels()
887 kfree(label_ent); in nd_mapping_free_labels()