Searched refs:label_ent (Results 1 – 3 of 3) sorted by relevance
/drivers/nvdimm/ |
D | label.c | 499 struct nd_label_ent *label_ent, *victim = NULL; in __pmem_label_update() local 551 list_for_each_entry(label_ent, &nd_mapping->labels, list) { in __pmem_label_update() 552 if (!label_ent->label) in __pmem_label_update() 554 if (memcmp(nspm->uuid, label_ent->label->uuid, in __pmem_label_update() 557 victim = label_ent; in __pmem_label_update() 572 list_for_each_entry(label_ent, &nd_mapping->labels, list) in __pmem_label_update() 573 if (!label_ent->label) { in __pmem_label_update() 574 label_ent->label = nd_label; in __pmem_label_update() 629 struct nd_label_ent *label_ent, *e; in __blk_label_update() local 758 list_for_each_entry_safe(label_ent, e, &nd_mapping->labels, list) { in __blk_label_update() [all …]
|
D | namespace_devs.c | 1602 struct nd_label_ent *label_ent; in has_uuid_at_pos() local 1605 list_for_each_entry(label_ent, &nd_mapping->labels, list) { in has_uuid_at_pos() 1606 struct nd_namespace_label *nd_label = label_ent->label; in has_uuid_at_pos() 1654 struct nd_label_ent *label_ent; in select_pmem_id() local 1657 list_for_each_entry(label_ent, &nd_mapping->labels, list) { in select_pmem_id() 1658 nd_label = label_ent->label; in select_pmem_id() 1689 list_move(&label_ent->list, &nd_mapping->labels); in select_pmem_id() 1705 struct nd_label_ent *label_ent; in create_namespace_pmem() local 1780 label_ent = list_first_entry_or_null(&nd_mapping->labels, in create_namespace_pmem() 1781 typeof(*label_ent), list); in create_namespace_pmem() [all …]
|
D | region_devs.c | 519 struct nd_label_ent *label_ent, *e; in nd_mapping_free_labels() local 522 list_for_each_entry_safe(label_ent, e, &nd_mapping->labels, list) { in nd_mapping_free_labels() 523 list_del(&label_ent->list); in nd_mapping_free_labels() 524 kfree(label_ent); in nd_mapping_free_labels()
|