Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvdimm/
Dnamespace_devs.c294 struct nd_mapping *nd_mapping, struct nd_label_id *label_id, in scan_free() argument
305 if (strcmp(res->name, label_id->id) == 0) in scan_free()
341 struct nd_label_id *label_id, resource_size_t n) in shrink_dpa_allocation() argument
349 rc = scan_free(nd_region, nd_mapping, label_id, n); in shrink_dpa_allocation()
357 static resource_size_t init_dpa_allocation(struct nd_label_id *label_id, in init_dpa_allocation() argument
366 res = nvdimm_allocate_dpa(ndd, label_id, nd_mapping->start, n); in init_dpa_allocation()
392 struct nd_label_id *label_id, struct resource *prev, in space_valid() argument
396 bool is_reserve = strcmp(label_id->id, "pmem-reserve") == 0; in space_valid()
432 struct nd_mapping *nd_mapping, struct nd_label_id *label_id, in scan_allocate() argument
442 if (strcmp(label_id->id, res->name) == 0) in scan_allocate()
[all …]
Dlabel.c332 char *nd_label_gen_id(struct nd_label_id *label_id, const uuid_t *uuid, in nd_label_gen_id() argument
335 if (!label_id || !uuid) in nd_label_gen_id()
337 snprintf(label_id->id, ND_LABEL_ID_SIZE, "pmem-%pUb", uuid); in nd_label_gen_id()
338 return label_id->id; in nd_label_gen_id()
410 struct nd_label_id label_id; in nd_label_reserve_dpa() local
422 nd_label_gen_id(&label_id, &label_uuid, flags); in nd_label_reserve_dpa()
423 res = nvdimm_allocate_dpa(ndd, &label_id, in nd_label_reserve_dpa()
883 struct nd_label_id label_id; in __pmem_label_update() local
895 nd_label_gen_id(&label_id, nspm->uuid, 0); in __pmem_label_update()
897 if (strcmp(res->name, label_id.id) == 0) in __pmem_label_update()
Dnd-core.h111 char *nd_label_gen_id(struct nd_label_id *label_id, const uuid_t *uuid,
132 struct nd_label_id *label_id);
Ddimm_devs.c811 struct nd_label_id *label_id, resource_size_t start, in nvdimm_allocate_dpa() argument
814 char *name = kmemdup(label_id, sizeof(*label_id), GFP_KERNEL); in nvdimm_allocate_dpa()
833 struct nd_label_id *label_id) in nvdimm_allocated_dpa() argument
839 if (strcmp(res->name, label_id->id) == 0) in nvdimm_allocated_dpa()
Dnd.h636 struct nd_label_id *label_id, resource_size_t start,
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dpp_psm.c213 enum PP_StateUILabel label_id, in psm_set_user_performance_state() argument
227 if ((*state)->classification.ui_label & label_id) in psm_set_user_performance_state()
232 switch (label_id) { in psm_set_user_performance_state()
235 label_id = PP_StateUILabel_Performance; in psm_set_user_performance_state()
Dpp_psm.h34 enum PP_StateUILabel label_id,
/linux-6.1.9/arch/s390/include/uapi/asm/
Dvtoc.h191 __u8 label_id[4]; /* Label identifier */ member
/linux-6.1.9/arch/mips/mm/
Dtlbex.c164 enum label_id { enum
630 unsigned int tmp, enum label_id lid, in build_restore_pagemask()
1372 const enum label_id ls = label_tlb_huge_update; in build_r4000_tlb_refill_handler()
1374 const enum label_id ls = label_vmalloc; in build_r4000_tlb_refill_handler()
1722 int pte, int ptr, int scratch, enum label_id lid) in build_pte_present()
1774 enum label_id lid) in build_pte_writable()
1815 enum label_id lid) in build_pte_modifiable()
Dpage.c51 enum label_id { enum
/linux-6.1.9/drivers/s390/block/
Ddasd_diag.c439 if (memcmp(label->label_id, DASD_DIAG_CMS1, in dasd_diag_check_device()
/linux-6.1.9/arch/mips/kvm/
Dentry.c82 enum label_id { enum