Searched refs:cas_count_cfg (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/tools/testing/selftests/resctrl/ |
D | resctrl_val.c | 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()
|