Lines Matching defs:ver
53 enum tst_cg_ver ver;
304 (roots[0].ver ? roots : roots + 1)
306 for ((r) = first_root; (r)->ver; (r)++)
308 for ((r) = roots + 1; (r)->ver; (r)++)
340 return !!roots[0].ver;
345 return !!roots[1].ver;
356 return ctrl->ctrl_root && ctrl->ctrl_root->ver == TST_CG_V2;
401 #define CONFIG_HEADER "ctrl_name ver we_require_it mnt_path we_mounted_it ltp_dir.we_created_it test_dir.dir_name"
423 root->ver,
460 int ver, we_require_it, we_mounted_it, ltp_dir_we_created_it, vars_read;
465 ctrl_name, &ver, &we_require_it, mnt_path, &we_mounted_it,
569 if (root->ver && ctrl_field == root->ctrl_field)
575 root->ver = TST_CG_V2;
609 root->ver = TST_CG_V1;
906 static void cgroup_drain(const enum tst_cg_ver ver,
912 ver == TST_CG_V1 ? "tasks" : "cgroup.procs";
993 cgroup_drain(root->ver,
1003 cgroup_drain(root->ver,
1060 if (dir->dir_root->ver != TST_CG_V1)
1069 if (!parent || dir->dir_root->ver == TST_CG_V1)
1216 return dir->dir_root->ver;
1223 if (dir->dir_root->ver != TST_CG_V1)