Lines Matching full:labels

79 	 * enough to hold 2 index blocks and 2 labels.  The minimum index  in sizeof_namespace_index()
89 dev_err(ndd->dev, "label area (%d) too small to host (%d byte) labels\n", in sizeof_namespace_index()
98 * by an array of labels. None of these structures are ever in __nd_label_validate()
100 * active index and the next one to write, while labels are in __nd_label_validate()
244 * need to know the size of the labels, and we can't trust the in nd_label_validate()
245 * size of the labels until we validate the index blocks. in nd_label_validate()
247 * sizes, but default to v1.2 256-byte namespace labels if in nd_label_validate()
454 * we must read and validate before we can start processing labels. in nd_label_data_init()
456 * If the area is too small to contain the two indexes and 2 labels in nd_label_data_init()
499 /* Validate index data, if not valid assume all labels are invalid */ in nd_label_data_init()
515 /* Loop through the free list pulling in any active labels */ in nd_label_data_init()
519 /* zero out the unused labels */ in nd_label_data_init()
749 /* CXL labels store UUIDs instead of GUIDs for the same data */
787 /* CXL labels store UUIDs instead of GUIDs for the same data */
939 list_for_each_entry(label_ent, &nd_mapping->labels, list) { in __pmem_label_update()
951 list_for_each_entry(label_ent, &nd_mapping->labels, list) in __pmem_label_update()
976 list_for_each_entry(label_ent, &nd_mapping->labels, list) in init_labels()
981 * We need to preserve all the old labels for the mapping so in init_labels()
982 * they can be garbage collected after writing the new labels. in init_labels()
989 list_add_tail(&label_ent->list, &nd_mapping->labels); in init_labels()
1025 /* no index || no labels == nothing to delete */ in del_labels()
1030 list_for_each_entry_safe(label_ent, e, &nd_mapping->labels, list) { in del_labels()
1045 list_splice_tail_init(&list, &nd_mapping->labels); in del_labels()
1049 dev_dbg(ndd->dev, "no more active labels\n"); in del_labels()