OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cgroup_path
(Results
1 - 2
of
2
) sorted by null
/external/linux-kselftest/tools/testing/selftests/bpf/
cgroup_helpers.c
85
static int join_cgroup_from_top(char *
cgroup_path
)
92
"%s/cgroup.procs",
cgroup_path
);
122
char
cgroup_path
[PATH_MAX + 1];
local
124
format_cgroup_path(
cgroup_path
, path);
125
return join_cgroup_from_top(
cgroup_path
);
162
char
cgroup_path
[PATH_MAX + 1];
local
165
format_cgroup_path(
cgroup_path
, path);
166
if (mkdir(
cgroup_path
, 0777) && errno != EEXIST) {
167
log_err("mkdiring cgroup %s .. %s", path,
cgroup_path
);
171
fd = open(
cgroup_path
, O_RDONLY)
[
all
...]
/external/ltp/testcases/kernel/syscalls/madvise/
madvise09.c
62
static char
cgroup_path
[PATH_MAX];
variable
107
snprintf(
cgroup_path
, sizeof(
cgroup_path
),
109
snprintf(tasks_path, sizeof(tasks_path), "%s/tasks",
cgroup_path
);
111
"%s/memory.limit_in_bytes",
cgroup_path
);
113
"%s/memory.memsw.limit_in_bytes",
cgroup_path
);
175
SAFE_MKDIR(
cgroup_path
, 0777);
278
if (
cgroup_path
[0] && !access(
cgroup_path
, F_OK))
279
rmdir(
cgroup_path
);
[
all
...]
Completed in 287 milliseconds