/kernel/linux/linux-5.10/drivers/nvdimm/ |
H A D | namespace_devs.c | 274 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() 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() 469 * shrink_dpa_allocation - for each dimm in region free n bytes for label_id 421 scan_free(struct nd_region *nd_region, struct nd_mapping *nd_mapping, struct nd_label_id *label_id, resource_size_t n) scan_free() argument 479 shrink_dpa_allocation(struct nd_region *nd_region, struct nd_label_id *label_id, resource_size_t n) shrink_dpa_allocation() argument 496 init_dpa_allocation(struct nd_label_id *label_id, struct nd_region *nd_region, struct nd_mapping *nd_mapping, resource_size_t n) init_dpa_allocation() argument 538 space_valid(struct nd_region *nd_region, struct nvdimm_drvdata *ndd, struct nd_label_id *label_id, struct resource *prev, struct resource *next, struct resource *exist, resource_size_t n, struct resource *valid) space_valid() argument 594 scan_allocate(struct nd_region *nd_region, struct nd_mapping *nd_mapping, struct nd_label_id *label_id, resource_size_t n) scan_allocate() argument 746 merge_dpa(struct nd_region *nd_region, struct nd_mapping *nd_mapping, struct nd_label_id *label_id) merge_dpa() argument 781 struct nd_label_id label_id; __reserve_free_pmem() local 851 grow_dpa_allocation(struct nd_region *nd_region, struct nd_label_id *label_id, resource_size_t n) grow_dpa_allocation() argument 914 struct nd_label_id label_id; nd_namespace_pmem_set_resource() local 957 struct nd_label_id label_id; __size_store() local 1233 struct nd_label_id label_id; namespace_update_uuid() local 1380 struct nd_label_id label_id; dpa_extents_show() local 2084 struct nd_label_id label_id; nsblk_add_resource() local [all...] |
H A D | label.c | 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 in __pmem_label_update() 910 struct nd_label_id label_id; __blk_label_update() local [all...] |
H A D | dimm_devs.c | 965 struct nd_label_id *label_id, resource_size_t start, in nvdimm_allocate_dpa() 968 char *name = kmemdup(label_id, sizeof(*label_id), GFP_KERNEL); in nvdimm_allocate_dpa() 982 * nvdimm_allocated_dpa - sum up the dpa currently allocated to this label_id 984 * @label_id: dpa resource name of the form {pmem|blk}-<human readable uuid> 987 struct nd_label_id *label_id) in nvdimm_allocated_dpa() 993 if (strcmp(res->name, label_id->id) == 0) in nvdimm_allocated_dpa() 964 nvdimm_allocate_dpa(struct nvdimm_drvdata *ndd, struct nd_label_id *label_id, resource_size_t start, resource_size_t n) nvdimm_allocate_dpa() argument 986 nvdimm_allocated_dpa(struct nvdimm_drvdata *ndd, struct nd_label_id *label_id) nvdimm_allocated_dpa() argument
|
H A D | nd-core.h | 129 char *nd_label_gen_id(struct nd_label_id *label_id, u8 *uuid, u32 flags); 150 struct nd_label_id *label_id);
|
H A D | nd.h | 370 struct nd_label_id *label_id, resource_size_t start,
|
/kernel/linux/linux-6.6/drivers/nvdimm/ |
H A D | namespace_devs.c | 295 struct nd_mapping *nd_mapping, struct nd_label_id *label_id, in scan_free() 306 if (strcmp(res->name, label_id->id) == 0) in scan_free() 331 * shrink_dpa_allocation - for each dimm in region free n bytes for label_id 333 * @label_id: unique identifier for the namespace consuming this dpa range 342 struct nd_label_id *label_id, resource_size_t n) in shrink_dpa_allocation() 350 rc = scan_free(nd_region, nd_mapping, label_id, n); in shrink_dpa_allocation() 358 static resource_size_t init_dpa_allocation(struct nd_label_id *label_id, in init_dpa_allocation() argument 367 res = nvdimm_allocate_dpa(ndd, label_id, nd_mapping->start, n); in init_dpa_allocation() 380 * @label_id: namespace id to allocate space 393 struct nd_label_id *label_id, struc in space_valid() 294 scan_free(struct nd_region *nd_region, struct nd_mapping *nd_mapping, struct nd_label_id *label_id, resource_size_t n) scan_free() argument 341 shrink_dpa_allocation(struct nd_region *nd_region, struct nd_label_id *label_id, resource_size_t n) shrink_dpa_allocation() argument 392 space_valid(struct nd_region *nd_region, struct nvdimm_drvdata *ndd, struct nd_label_id *label_id, struct resource *prev, struct resource *next, struct resource *exist, resource_size_t n, struct resource *valid) space_valid() argument 432 scan_allocate(struct nd_region *nd_region, struct nd_mapping *nd_mapping, struct nd_label_id *label_id, resource_size_t n) scan_allocate() argument 574 merge_dpa(struct nd_region *nd_region, struct nd_mapping *nd_mapping, struct nd_label_id *label_id) merge_dpa() argument 609 struct nd_label_id label_id; __reserve_free_pmem() local 666 grow_dpa_allocation(struct nd_region *nd_region, struct nd_label_id *label_id, resource_size_t n) grow_dpa_allocation() argument 706 struct nd_label_id label_id; nd_namespace_pmem_set_resource() local 750 struct nd_label_id label_id; __size_store() local 1005 struct nd_label_id label_id; namespace_update_uuid() local 1135 struct nd_label_id label_id; dpa_extents_show() local [all...] |
H A D | label.c | 332 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 in __pmem_label_update() [all...] |
H A D | nd-core.h | 112 char *nd_label_gen_id(struct nd_label_id *label_id, const uuid_t *uuid, 133 struct nd_label_id *label_id);
|
H A D | dimm_devs.c | 821 struct nd_label_id *label_id, resource_size_t start, in nvdimm_allocate_dpa() 824 char *name = kmemdup(label_id, sizeof(*label_id), GFP_KERNEL); in nvdimm_allocate_dpa() 838 * nvdimm_allocated_dpa - sum up the dpa currently allocated to this label_id 840 * @label_id: dpa resource name of the form pmem-<human readable uuid> 843 struct nd_label_id *label_id) in nvdimm_allocated_dpa() 849 if (strcmp(res->name, label_id->id) == 0) in nvdimm_allocated_dpa() 820 nvdimm_allocate_dpa(struct nvdimm_drvdata *ndd, struct nd_label_id *label_id, resource_size_t start, resource_size_t n) nvdimm_allocate_dpa() argument 842 nvdimm_allocated_dpa(struct nvdimm_drvdata *ndd, struct nd_label_id *label_id) nvdimm_allocated_dpa() argument
|
H A D | nd.h | 636 struct nd_label_id *label_id, resource_size_t start,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | pp_psm.c | 204 enum PP_StateUILabel label_id, in psm_set_user_performance_state() 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() 203 psm_set_user_performance_state(struct pp_hwmgr *hwmgr, enum PP_StateUILabel label_id, struct pp_power_state **state) psm_set_user_performance_state() argument
|
H A D | pp_psm.h | 34 enum PP_StateUILabel label_id,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | pp_psm.c | 213 enum PP_StateUILabel label_id, in psm_set_user_performance_state() 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() 212 psm_set_user_performance_state(struct pp_hwmgr *hwmgr, enum PP_StateUILabel label_id, struct pp_power_state **state) psm_set_user_performance_state() argument
|
H A D | pp_psm.h | 34 enum PP_StateUILabel label_id,
|
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/ |
H A D | vtoc.h | 191 __u8 label_id[4]; /* Label identifier */ member
|
/kernel/linux/linux-6.6/arch/s390/include/uapi/asm/ |
H A D | vtoc.h | 191 __u8 label_id[4]; /* Label identifier */ member
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
H A D | tlbex.c | 165 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()
|
H A D | page.c | 52 enum label_id { enum
|
/kernel/linux/linux-6.6/arch/mips/mm/ |
H A D | tlbex.c | 164 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()
|
H A D | page.c | 51 enum label_id { enum
|
/kernel/linux/linux-5.10/drivers/s390/block/ |
H A D | dasd_diag.c | 440 if (memcmp(label->label_id, DASD_DIAG_CMS1, in dasd_diag_check_device()
|
/kernel/linux/linux-6.6/drivers/s390/block/ |
H A D | dasd_diag.c | 439 if (memcmp(label->label_id, DASD_DIAG_CMS1, in dasd_diag_check_device()
|
/kernel/linux/linux-5.10/arch/mips/kvm/ |
H A D | entry.c | 82 enum label_id { enum
|
/kernel/linux/linux-6.6/arch/mips/kvm/ |
H A D | entry.c | 82 enum label_id { enum
|