Lines Matching refs:sprintf
109 sprintf(phys_pkg_path, "%s%d/cache/index3/id", in get_resource_id()
112 sprintf(phys_pkg_path, "%s%d/topology/physical_package_id", in get_resource_id()
155 sprintf(cache_path, "/sys/bus/cpu/devices/cpu%d/cache/index%d/size", in get_cache_size()
212 sprintf(cbm_mask_path, "%s/%s/cbm_mask", INFO_PATH, cache_type); in get_cbm_mask()
243 sprintf(core_siblings_path, "%s%d/topology/core_siblings_list", in get_core_sibling()
440 sprintf(controlgroup, "%s/%s", RESCTRL_PATH, ctrlgrp); in write_bm_pid_to_resctrl()
442 sprintf(controlgroup, "%s", RESCTRL_PATH); in write_bm_pid_to_resctrl()
448 sprintf(tasks, "%s/tasks", controlgroup); in write_bm_pid_to_resctrl()
457 sprintf(monitorgroup_p, "%s/mon_groups", controlgroup); in write_bm_pid_to_resctrl()
458 sprintf(monitorgroup, "%s/%s", monitorgroup_p, mongrp); in write_bm_pid_to_resctrl()
463 sprintf(tasks, "%s/mon_groups/%s/tasks", in write_bm_pid_to_resctrl()
510 sprintf(reason, "Failed to get resource id"); in write_schemata()
517 sprintf(controlgroup, "%s/%s/schemata", RESCTRL_PATH, ctrlgrp); in write_schemata()
519 sprintf(controlgroup, "%s/schemata", RESCTRL_PATH); in write_schemata()
523 sprintf(schema, "%s%d%c%s", "L3:", resource_id, '=', schemata); in write_schemata()
526 sprintf(schema, "%s%d%c%s", "MB:", resource_id, '=', schemata); in write_schemata()
530 sprintf(reason, "Failed to open control group"); in write_schemata()
537 sprintf(reason, "Failed to write schemata in control group"); in write_schemata()