Lines Matching refs:snprintf
62 snprintf(ret, len, "%s/%s", root, name); in cg_name()
72 snprintf(ret, len, "%s/%s_%d", root, name, index); in cg_name_indexed()
82 snprintf(ret, len, "%s/%s", cgroup, control); in cg_control()
93 snprintf(path, sizeof(path), "%s/%s", cgroup, control); in cg_read()
193 snprintf(path, sizeof(path), "%s/%s", cgroup, control); in cg_write()
206 snprintf(path, sizeof(path), "%s/%s", cgroup, control); in cg_open()
355 snprintf(pidbuf, sizeof(pidbuf), "%d", pid); in cg_enter()
381 snprintf(buf, sizeof(buf), "%d", getpid()); in cg_run()
504 snprintf(buf, sizeof(buf), "%d", getpid()); in cg_run_nowait()
531 snprintf(path, sizeof(path), "/proc/%s/%s", in proc_read_text()
534 snprintf(path, sizeof(path), "/proc/%d/%s", pid, item); in proc_read_text()