Home
last modified time | relevance | path

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

/arch/x86/kernel/cpu/resctrl/
Dctrlmondata.c284 static int rdtgroup_parse_resource(char *resname, char *tok, in rdtgroup_parse_resource() argument
291 return parse_line(tok, r, rdtgrp); in rdtgroup_parse_resource()
303 char *tok, *resname; in rdtgroup_schemata_write() local
335 while ((tok = strsep(&buf, "\n")) != NULL) { in rdtgroup_schemata_write()
336 resname = strim(strsep(&tok, ":")); in rdtgroup_schemata_write()
337 if (!tok) { in rdtgroup_schemata_write()
342 if (tok[0] == '\0') { in rdtgroup_schemata_write()
347 ret = rdtgroup_parse_resource(resname, tok, rdtgrp); in rdtgroup_schemata_write()
Dcore.c788 char *tok; in set_rdt_options() local
792 while ((tok = strsep(&str, ",")) != NULL) { in set_rdt_options()
793 force_off = *tok == '!'; in set_rdt_options()
795 tok++; in set_rdt_options()
797 if (strcmp(tok, o->name) == 0) { in set_rdt_options()