Home
last modified time | relevance | path

Searched refs:cas_count_cfg (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/
H A Dresctrl_val.c96 * @cas_count_cfg: Config
100 void get_event_and_umask(char *cas_count_cfg, int count, bool op) in get_event_and_umask() argument
105 strcat(cas_count_cfg, ","); in get_event_and_umask()
106 token[0] = strtok(cas_count_cfg, "=,"); in get_event_and_umask()
152 char cas_count_cfg[1024], imc_counter_cfg[1024], imc_counter_type[1024]; in read_from_imc_dir() local
182 if (fscanf(fp, "%s", cas_count_cfg) <= 0) { in read_from_imc_dir()
190 get_event_and_umask(cas_count_cfg, count, READ); in read_from_imc_dir()
200 if (fscanf(fp, "%s", cas_count_cfg) <= 0) { in read_from_imc_dir()
208 get_event_and_umask(cas_count_cfg, count, WRITE); in read_from_imc_dir()
/kernel/linux/linux-6.6/tools/testing/selftests/resctrl/
H A Dresctrl_val.c96 * @cas_count_cfg: Config
100 void get_event_and_umask(char *cas_count_cfg, int count, bool op) in get_event_and_umask() argument
105 strcat(cas_count_cfg, ","); in get_event_and_umask()
106 token[0] = strtok(cas_count_cfg, "=,"); in get_event_and_umask()
152 char cas_count_cfg[1024], imc_counter_cfg[1024], imc_counter_type[1024]; in read_from_imc_dir() local
182 if (fscanf(fp, "%s", cas_count_cfg) <= 0) { in read_from_imc_dir()
190 get_event_and_umask(cas_count_cfg, count, READ); in read_from_imc_dir()
200 if (fscanf(fp, "%s", cas_count_cfg) <= 0) { in read_from_imc_dir()
208 get_event_and_umask(cas_count_cfg, count, WRITE); in read_from_imc_dir()

Completed in 3 milliseconds