Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/nvdimm/
Dlabel.c670 nd_label->nlabel = __cpu_to_le16(nd_region->ndr_mappings); in __pmem_label_update()
776 int i, alloc, victims, nfree, old_num_resources, nlabel, rc = -ENXIO; in __blk_label_update() local
897 nd_label->nlabel = __cpu_to_le16(nsblk->num_resources); in __blk_label_update()
900 nd_label->nlabel = __cpu_to_le16(0xffff); in __blk_label_update()
905 nd_label->nlabel = __cpu_to_le16(0); /* N/A */ in __blk_label_update()
954 nlabel = 0; in __blk_label_update()
960 nlabel++; in __blk_label_update()
964 nlabel--; in __blk_label_update()
971 if (nlabel + nsblk->num_resources > num_labels) { in __blk_label_update()
Dlabel.h96 __le16 nlabel; member
Dnamespace_devs.c1796 u16 position, nlabel; in has_uuid_at_pos() local
1803 nlabel = __le16_to_cpu(nd_label->nlabel); in has_uuid_at_pos()
1825 if (nlabel != nd_region->ndr_mappings) in has_uuid_at_pos()