Lines Matching refs:cg
9 expression cg, fname, data;
12 - if (cg_write(cg, fname, data)) {
15 + SAFE_CGROUP_PRINT(cg, fname, data);
18 expression cg;
23 - SAFE_CGROUP_PRINT(cg, "cgroup.subtree_control", "+memory");
24 + if (TST_CGROUP_VER(cg, "memory") != TST_CGROUP_V1)
25 + SAFE_CGROUP_PRINT(cg, "cgroup.subtree_control", "+memory");
28 expression cg, fname, needle;
31 - cg_read_strstr(cg, fname, needle)
32 + !SAFE_CGROUP_OCCURSIN(cg, fname, needle)
36 expression cg, fname;
39 - l = cg_read_long(cg, fname);
40 + SAFE_CGROUP_SCANF(cg, fname, "%ld", &l);