Home | History | Annotate | Download | only in lib

Lines Matching defs:cpus

694 static void gather_node_cpus(char *cpus, long nd)
720 strcat(cpus, buf);
724 cpus[strlen(cpus) - 1] = '\0';
786 char cpus[BUFSIZ] = "";
791 gather_node_cpus(cpus, nd);
793 * If the 'nd' node doesn't contain any CPUs,
795 * the value of cpuset.cpus.
797 if (strlen(cpus) != 0) {
798 write_cpuset_files(CPATH_NEW, "cpus", cpus);
800 tst_resm(TINFO, "No CPUs in the node%ld; "
802 write_cpuset_files(CPATH_NEW, "cpus", "0");