Home | History | Annotate | Download | only in fio

Lines Matching refs:root

18 	char *root;
66 cm->root = smalloc_strdup(name);
67 if (!cm->root) {
91 rmdir(cm->root);
93 sfree(cm->root);
132 static int cgroup_write_pid(struct thread_data *td, const char *root)
136 return write_int_to_file(td, root, "tasks", val, "cgroup write pid");
140 * Move pid to root class
149 char *root;
160 root = get_cgroup_root(td, *mnt);
161 if (mkdir(root, 0755) < 0) {
166 log_err("fio: path %s\n", root);
170 add_cgroup(td, root, clist);
173 if (write_int_to_file(td, root, "blkio.weight",
179 if (!cgroup_write_pid(td, root)) {
180 free(root);
185 free(root);