Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kernel/cpu/resctrl/
H A Dctrlmondata.c358 static int rdtgroup_parse_resource(char *resname, char *tok, in rdtgroup_parse_resource() argument
364 if (!strcmp(resname, s->name) && rdtgrp->closid < s->num_closid) in rdtgroup_parse_resource()
367 rdt_last_cmd_printf("Unknown or unsupported resource name '%s'\n", resname); in rdtgroup_parse_resource()
377 char *tok, *resname; in rdtgroup_schemata_write() local
407 resname = strim(strsep(&tok, ":")); in rdtgroup_schemata_write()
414 rdt_last_cmd_printf("Missing '%s' value\n", resname); in rdtgroup_schemata_write()
418 ret = rdtgroup_parse_resource(resname, tok, rdtgrp); in rdtgroup_schemata_write()
/openbmc/linux/drivers/mtd/nand/raw/
H A 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()