Searched defs:shares (Results 1 - 1 of 1) sorted by relevance

/external/ltp/testcases/kernel/controllers/libcontrollers/
H A Dlibcontrollers.c40 * This function scans all the shares files under the mountpoint
41 * of the controller and returns the total added shares of all
61 * exclude the shares of default group. FLAG to ensure dir_pointer is non NULL
64 && (strcmp(fullpath, "/dev/cpuctl/cpu.shares") != 0)
65 && (strcmp(dir_pointer->d_name, "cpu.shares") == 0)) {
85 * search all groups recursively and get total shares
168 * Reads shares value from a given shares file and writes them to
175 unsigned int shares; local
181 fscanf(fp, "%u", &shares);
[all...]

Completed in 99 milliseconds