Lines Matching defs:schemata
491 * write_schemata - Update schemata of a con_mon grp
493 * @schemata: Schemata that should be updated to
497 * Update schemata of a con_mon grp *only* if requested resctrl feature is
502 int write_schemata(char *ctrlgrp, char *schemata, int cpu_no, char *resctrl_val)
513 if (!schemata) {
514 printf("# Skipping empty schemata update\n");
527 sprintf(controlgroup, "%s/%s/schemata", RESCTRL_PATH, ctrlgrp);
529 sprintf(controlgroup, "%s/schemata", RESCTRL_PATH);
533 sprintf(schema, "%s%d%c%s", "L3:", resource_id, '=', schemata);
535 sprintf(schema, "%s%d%c%s", "MB:", resource_id, '=', schemata);
546 sprintf(reason, "Failed to write schemata in control group");