Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/nvdimm/
Dnamespace_devs.c274 struct nd_label_id label_id; in nd_namespace_blk_size() local
280 nd_label_gen_id(&label_id, nsblk->uuid, NSLABEL_FLAG_LOCAL); in nd_namespace_blk_size()
282 if (strcmp(res->name, label_id.id) == 0) in nd_namespace_blk_size()
292 struct nd_label_id label_id; in __nd_namespace_blk_validate() local
300 nd_label_gen_id(&label_id, nsblk->uuid, NSLABEL_FLAG_LOCAL); in __nd_namespace_blk_validate()
302 if (strcmp(res->name, label_id.id) != 0) in __nd_namespace_blk_validate()
422 struct nd_mapping *nd_mapping, struct nd_label_id *label_id, in scan_free() argument
425 bool is_blk = strncmp(label_id->id, "blk", 3) == 0; in scan_free()
435 if (strcmp(res->name, label_id->id) == 0) in scan_free()
480 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 …]
Dnd-core.h129 char *nd_label_gen_id(struct nd_label_id *label_id, u8 *uuid, u32 flags);
150 struct nd_label_id *label_id);
Ddimm_devs.c953 struct nd_label_id *label_id, resource_size_t start, in nvdimm_allocate_dpa() argument
956 char *name = kmemdup(label_id, sizeof(*label_id), GFP_KERNEL); in nvdimm_allocate_dpa()
975 struct nd_label_id *label_id) in nvdimm_allocated_dpa() argument
981 if (strcmp(res->name, label_id->id) == 0) in nvdimm_allocated_dpa()
Dnd.h370 struct nd_label_id *label_id, resource_size_t start,
/Linux-v5.10/drivers/gpu/drm/amd/pm/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,
/Linux-v5.10/arch/s390/include/uapi/asm/
Dvtoc.h191 __u8 label_id[4]; /* Label identifier */ member
/Linux-v5.10/arch/mips/mm/
Dtlbex.c165 enum label_id { enum
656 unsigned int tmp, enum label_id lid, in build_restore_pagemask()
1412 const enum label_id ls = label_tlb_huge_update; in build_r4000_tlb_refill_handler()
1414 const enum label_id ls = label_vmalloc; in build_r4000_tlb_refill_handler()
1762 int pte, int ptr, int scratch, enum label_id lid) in build_pte_present()
1814 enum label_id lid) in build_pte_writable()
1855 enum label_id lid) in build_pte_modifiable()
Dpage.c52 enum label_id { enum
/Linux-v5.10/drivers/s390/block/
Ddasd_diag.c440 if (memcmp(label->label_id, DASD_DIAG_CMS1, in dasd_diag_check_device()
/Linux-v5.10/arch/mips/kvm/
Dentry.c82 enum label_id { enum