Home
last modified time | relevance | path

Searched refs:label_id (Results 1 – 6 of 6) sorted by relevance

/drivers/nvdimm/
Dnamespace_devs.c269 struct nd_label_id label_id; in nd_namespace_blk_size() local
275 nd_label_gen_id(&label_id, nsblk->uuid, NSLABEL_FLAG_LOCAL); in nd_namespace_blk_size()
277 if (strcmp(res->name, label_id.id) == 0) in nd_namespace_blk_size()
287 struct nd_label_id label_id; in __nd_namespace_blk_validate() local
295 nd_label_gen_id(&label_id, nsblk->uuid, NSLABEL_FLAG_LOCAL); in __nd_namespace_blk_validate()
297 if (strcmp(res->name, label_id.id) != 0) in __nd_namespace_blk_validate()
417 struct nd_mapping *nd_mapping, struct nd_label_id *label_id, in scan_free() argument
420 bool is_blk = strncmp(label_id->id, "blk", 3) == 0; in scan_free()
430 if (strcmp(res->name, label_id->id) == 0) in scan_free()
475 struct nd_label_id *label_id, resource_size_t n) in shrink_dpa_allocation() argument
[all …]
Dlabel.c246 char *nd_label_gen_id(struct nd_label_id *label_id, u8 *uuid, u32 flags) in nd_label_gen_id() argument
248 if (!label_id || !uuid) in nd_label_gen_id()
250 snprintf(label_id->id, ND_LABEL_ID_SIZE, "%s-%pUb", in nd_label_gen_id()
252 return label_id->id; in nd_label_gen_id()
298 struct nd_label_id label_id; in nd_label_reserve_dpa() local
309 nd_label_gen_id(&label_id, label_uuid, flags); in nd_label_reserve_dpa()
310 res = nvdimm_allocate_dpa(ndd, &label_id, in nd_label_reserve_dpa()
616 struct nd_label_id label_id; in __blk_label_update() local
626 nd_label_gen_id(&label_id, nsblk->uuid, NSLABEL_FLAG_LOCAL); in __blk_label_update()
637 if (strcmp(res->name, label_id.id) != 0) in __blk_label_update()
[all …]
Dnd-core.h65 char *nd_label_gen_id(struct nd_label_id *label_id, u8 *uuid, u32 flags);
75 struct nd_label_id *label_id);
Ddimm_devs.c505 struct nd_label_id *label_id, resource_size_t start, in nvdimm_allocate_dpa() argument
508 char *name = kmemdup(label_id, sizeof(*label_id), GFP_KERNEL); in nvdimm_allocate_dpa()
527 struct nd_label_id *label_id) in nvdimm_allocated_dpa() argument
533 if (strcmp(res->name, label_id->id) == 0) in nvdimm_allocated_dpa()
Dnd.h257 struct nd_label_id *label_id, resource_size_t start,
/drivers/s390/block/
Ddasd_diag.c440 if (memcmp(label->label_id, DASD_DIAG_CMS1, in dasd_diag_check_device()