Lines Matching refs:BUFSIZ
244 char fullpath[BUFSIZ]; in check()
247 snprintf(fullpath, BUFSIZ, PATH_KSM "%s", path); in check()
609 char buf[BUFSIZ]; in gather_node_cpus()
610 char path[BUFSIZ], path1[BUFSIZ]; in gather_node_cpus()
616 snprintf(path, BUFSIZ, in gather_node_cpus()
619 snprintf(path1, BUFSIZ, "%s/online", path); in gather_node_cpus()
640 char path[BUFSIZ]; in read_cpuset_files()
647 snprintf(path, BUFSIZ, "%s/%s", prefix, filename); in read_cpuset_files()
651 snprintf(path, BUFSIZ, "%s/cpuset.%s", in read_cpuset_files()
657 if (read(fd, retbuf, BUFSIZ) < 0) in read_cpuset_files()
665 char path[BUFSIZ]; in write_cpuset_files()
672 snprintf(path, BUFSIZ, "%s/%s", prefix, filename); in write_cpuset_files()
676 snprintf(path, BUFSIZ, "%s/cpuset.%s", in write_cpuset_files()
688 char buf[BUFSIZ]; in write_cpusets()
689 char cpus[BUFSIZ] = ""; in write_cpusets()
691 snprintf(buf, BUFSIZ, "%ld", nd); in write_cpusets()
715 char s_new[BUFSIZ], s[BUFSIZ], value[BUFSIZ]; in umount_mem()
723 snprintf(s_new, BUFSIZ, "%s/tasks", path_new); in umount_mem()
728 while (fgets(value, BUFSIZ, fp) != NULL) in umount_mem()
812 char path[BUFSIZ]; in set_sys_tune()
816 snprintf(path, BUFSIZ, PATH_SYSVM "%s", sys_file); in set_sys_tune()
829 char path[BUFSIZ]; in get_sys_tune()
832 snprintf(path, BUFSIZ, PATH_SYSVM "%s", sys_file); in get_sys_tune()