Lines Matching refs:label_id
324 char *nd_label_gen_id(struct nd_label_id *label_id, u8 *uuid, u32 flags) in nd_label_gen_id() argument
326 if (!label_id || !uuid) in nd_label_gen_id()
328 snprintf(label_id->id, ND_LABEL_ID_SIZE, "%s-%pUb", in nd_label_gen_id()
330 return label_id->id; in nd_label_gen_id()
388 struct nd_label_id label_id; in nd_label_reserve_dpa() local
401 nd_label_gen_id(&label_id, label_uuid, flags); in nd_label_reserve_dpa()
402 res = nvdimm_allocate_dpa(ndd, &label_id, in nd_label_reserve_dpa()
769 struct nd_label_id label_id; in __pmem_label_update() local
781 nd_label_gen_id(&label_id, nspm->uuid, 0); in __pmem_label_update()
783 if (strcmp(res->name, label_id.id) == 0) in __pmem_label_update()
910 struct nd_label_id label_id; in __blk_label_update() local
922 nd_label_gen_id(&label_id, nsblk->uuid, NSLABEL_FLAG_LOCAL); in __blk_label_update()
933 if (strcmp(res->name, label_id.id) != 0) in __blk_label_update()
975 if (strcmp(res->name, label_id.id) != 0) in __blk_label_update()