HomeSort by relevance Sort by last modified time
    Searched refs:mysharesfile (Results 1 - 8 of 8) sorted by null

  /external/ltp/testcases/kernel/controllers/cpuctl/
cpuctl_test01.c 90 char mysharesfile[FILENAME_MAX], ch; local
135 sprintf(mysharesfile, "%s", mygroup);
137 strcat(mysharesfile, "/cpu.shares");
140 write_to_file(mysharesfile, "w", myshares);
169 if ((fmyshares = read_shares_file(mysharesfile)) < 2)
171 mysharesfile);
233 write_to_file(mysharesfile, "w", myshares);
241 read_shares_file(mysharesfile)) < 2)
244 mysharesfile);
cpuctl_def_task01.c 90 char mysharesfile[FILENAME_MAX], ch; local
132 sprintf(mysharesfile, "%s", mygroup);
134 strcat(mysharesfile, "/cpu.shares");
137 write_to_file(mysharesfile, "w", myshares);
164 if ((fmyshares = read_shares_file(mysharesfile)) < 2)
166 "in reading shares files %s ", mysharesfile);
235 write_to_file(mysharesfile, "w", myshares);
cpuctl_def_task04.c 88 char mysharesfile[FILENAME_MAX], ch; local
144 sprintf(mysharesfile, "%s", mygroup);
146 strcat(mysharesfile, "/cpu.shares");
155 write_to_file(mysharesfile, "w", mygroup_shares);
181 if ((fmyshares = read_shares_file(mysharesfile)) < 2)
183 "in reading shares files %s ", mysharesfile);
cpuctl_test04.c 89 char mysharesfile[FILENAME_MAX], ch; local
153 sprintf(mysharesfile, "%s", mygroup);
154 strcat(mysharesfile, "/cpu.shares");
157 write_to_file(mysharesfile, "w", mygroup_shares); /* Write the shares of the group */
187 if ((fmyshares = read_shares_file(mysharesfile)) < 2)
189 mysharesfile);
cpuctl_def_task02.c 89 char mysharesfile[FILENAME_MAX], ch; local
145 sprintf(mysharesfile, "%s", mygroup);
147 strcat(mysharesfile, "/cpu.shares");
176 if ((fmyshares = read_shares_file(mysharesfile)) < 2)
178 "in reading shares files %s ", mysharesfile);
cpuctl_def_task03.c 85 char mysharesfile[FILENAME_MAX], ch; local
141 sprintf(mysharesfile, "%s", mygroup);
143 strcat(mysharesfile, "/cpu.shares");
171 if ((fmyshares = read_shares_file(mysharesfile)) < 2)
173 "in reading shares files %s ", mysharesfile);
cpuctl_test03.c 88 char mysharesfile[FILENAME_MAX], ch; local
144 sprintf(mysharesfile, "%s", mygroup);
146 strcat(mysharesfile, "/cpu.shares");
176 if ((fmyshares = read_shares_file(mysharesfile)) < 2)
178 mysharesfile);
cpuctl_test02.c 91 char mysharesfile[FILENAME_MAX], ch; local
148 sprintf(mysharesfile, "%s", mygroup);
150 strcat(mysharesfile, "/cpu.shares");
180 if ((fmyshares = read_shares_file(mysharesfile)) < 2)
182 mysharesfile);

Completed in 676 milliseconds