Home
last modified time | relevance | path

Searched refs:resname (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/arch/x86/kernel/cpu/resctrl/
Dctrlmondata.c353 static int rdtgroup_parse_resource(char *resname, char *tok, in rdtgroup_parse_resource() argument
359 if (!strcmp(resname, s->name) && rdtgrp->closid < s->num_closid) in rdtgroup_parse_resource()
362 rdt_last_cmd_printf("Unknown or unsupported resource name '%s'\n", resname); in rdtgroup_parse_resource()
372 char *tok, *resname; in rdtgroup_schemata_write() local
402 resname = strim(strsep(&tok, ":")); in rdtgroup_schemata_write()
409 rdt_last_cmd_printf("Missing '%s' value\n", resname); in rdtgroup_schemata_write()
413 ret = rdtgroup_parse_resource(resname, tok, rdtgrp); in rdtgroup_schemata_write()
/linux-6.6.21/drivers/mtd/nand/raw/
Dintel-nand-controller.c584 char *resname; in ebu_nand_probe() local
621 resname = devm_kasprintf(dev, GFP_KERNEL, "nand_cs%d", cs); in ebu_nand_probe()
622 if (!resname) { in ebu_nand_probe()
628 resname); in ebu_nand_probe()
656 resname = devm_kasprintf(dev, GFP_KERNEL, "addr_sel%d", cs); in ebu_nand_probe()
657 if (!resname) { in ebu_nand_probe()
662 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, resname); in ebu_nand_probe()