Home
last modified time | relevance | path

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

/drivers/nvdimm/
Dnamespace_devs.c299 struct nd_label_id label_id; in nd_namespace_blk_size() local
305 nd_label_gen_id(&label_id, nsblk->uuid, NSLABEL_FLAG_LOCAL); in nd_namespace_blk_size()
307 if (strcmp(res->name, label_id.id) == 0) in nd_namespace_blk_size()
317 struct nd_label_id label_id; in __nd_namespace_blk_validate() local
325 nd_label_gen_id(&label_id, nsblk->uuid, NSLABEL_FLAG_LOCAL); in __nd_namespace_blk_validate()
327 if (strcmp(res->name, label_id.id) != 0) in __nd_namespace_blk_validate()
447 struct nd_mapping *nd_mapping, struct nd_label_id *label_id, in scan_free() argument
450 bool is_blk = strncmp(label_id->id, "blk", 3) == 0; in scan_free()
460 if (strcmp(res->name, label_id->id) == 0) in scan_free()
505 struct nd_label_id *label_id, resource_size_t n) in shrink_dpa_allocation() argument
[all …]
Dlabel.c324 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()
[all …]
Ddimm_devs.c772 struct nd_label_id *label_id, resource_size_t start, in nvdimm_allocate_dpa() argument
775 char *name = kmemdup(label_id, sizeof(*label_id), GFP_KERNEL); in nvdimm_allocate_dpa()
794 struct nd_label_id *label_id) in nvdimm_allocated_dpa() argument
800 if (strcmp(res->name, label_id->id) == 0) in nvdimm_allocated_dpa()
Dnd-core.h133 char *nd_label_gen_id(struct nd_label_id *label_id, u8 *uuid, u32 flags);
154 struct nd_label_id *label_id);
Dnd.h361 struct nd_label_id *label_id, resource_size_t start,
/drivers/gpu/drm/amd/powerplay/hwmgr/
Dpp_psm.c204 enum PP_StateUILabel label_id, in psm_set_user_performance_state() argument
218 if ((*state)->classification.ui_label & label_id) in psm_set_user_performance_state()
223 switch (label_id) { in psm_set_user_performance_state()
226 label_id = PP_StateUILabel_Performance; in psm_set_user_performance_state()
Dpp_psm.h34 enum PP_StateUILabel label_id,
/drivers/s390/block/
Ddasd_diag.c433 if (memcmp(label->label_id, DASD_DIAG_CMS1, in dasd_diag_check_device()