crash.software
Projects
Pull Requests
Issues
Builds
criu
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
criu
Files
🤬
Sign In
c48099d8
ROOT
/
criu
/
cgroup.c
Search
History
1841 lines
|
ISO-8859-1
|
40 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
LOG_PREFIX
CGCMP_MATCH
CGCMP_ISSUB
EXACT_MATCH
PARENT_MATCH
NO_MATCH
cg_set
id
:
u32
l
:
struct list_head
n_ctls
:
unsigned int
ctls
:
struct list_head
n_sets
:
unsigned int
rst_sets
:
CgSetEntry**
n_controllers
:
unsigned int
controllers
:
CgControllerEntry**
cg_yard
:
char*
root_cgset
:
struct cg_set*
criu_cgset
:
struct cg_set*
cg_set_ids
:
u32
n_cgroups
:
unsigned int
find_rst_set_by_id
(
u32
)
{...}
:
CgSetEntry*
cg_set_compare
(
struct cg_set*,struct list_head*,int
)
{...}
:
bool
collect_cgroups
(
struct list_head*
)
:
int
get_cg_set
(
struct list_head*,unsigned int,bool
)
{...}
:
struct cg_set*
new_controller
(
const char*
)
{...}
:
struct cg_controller*
parse_cg_info
(
void
)
{...}
:
int
cgroup_contains
(
char**,unsigned int,char*
)
{...}
:
bool
current_controller
:
struct cg_controller*
path_pref_len
:
unsigned int
find_dir
(
const char*,struct list_head*,struct cgroup_dir**
)
{...}
:
int
strip
(
char*
)
{...}
:
char*
read_cgroup_prop
(
struct cgroup_prop*,const char*
)
{...}
:
int
create_cgroup_prop
(
const char*
)
{...}
:
struct cgroup_prop*
free_cgroup_prop
(
struct cgroup_prop*
)
{...}
:
void
free_all_cgroup_props
(
struct cgroup_dir*
)
{...}
:
void
dump_cg_props_array
(
const char*,struct cgroup_dir*,const cgp_t*
)
{...}
:
int
add_cgroup_properties
(
const char*,struct cgroup_dir*,struct cg_controller*
)
{...}
:
int
add_cgroup
(
const char*,const struct stat*,int
)
{...}
:
int
add_freezer_state
(
struct cg_controller*
)
{...}
:
int
collect_cgroups
(
struct list_head*
)
{...}
:
int
dump_task_cgroup
(
struct pstree_item*,u32*,struct parasite_dump_cgroup_args*
)
{...}
:
int
dump_cg_dir_props
(
struct list_head*,size_t,CgroupPropEntry***
)
{...}
:
int
dump_cg_dirs
(
struct list_head*,size_t,CgroupDirEntry***,int
)
{...}
:
int
dump_controllers
(
CgroupEntry*
)
{...}
:
int
free_sets
(
CgroupEntry*,unsigned
)
{...}
:
void
dump_sets
(
CgroupEntry*
)
{...}
:
int
dump_cgroups
(
void
)
{...}
:
int
ctrl_dir_and_opt
(
CgControllerEntry*,char*,int,char*,int
)
{...}
:
int
special_props
:
const char*[]
userns_move
(
void*,int,pid_t
)
{...}
:
int
prepare_cgns
(
CgSetEntry*
)
{...}
:
int
move_in_cgroup
(
CgSetEntry*,bool
)
{...}
:
int
prepare_task_cgroup
(
struct pstree_item*
)
{...}
:
int
fini_cgroup
(
void
)
{...}
:
void
restore_perms
(
int,const char*,CgroupPerms*
)
{...}
:
int
restore_cgroup_prop
(
const CgroupPropEntry*,char*,int
)
{...}
:
int
freezer_state_entry
:
CgroupPropEntry*
freezer_path
:
char[PATH_MAX]
restore_freezer_state
(
void
)
{...}
:
int
add_freezer_state_for_restore
(
CgroupPropEntry*,char*,size_t
)
{...}
:
void
next_device_entry
(
char*
)
{...}
:
int
prepare_cgroup_dir_properties
(
char*,int,CgroupDirEntry**,unsigned int
)
{...}
:
int
prepare_cgroup_properties
(
void
)
{...}
:
int
restore_special_props
(
char*,size_t,CgroupDirEntry*
)
{...}
:
int
prepare_dir_perms
(
int,char*,CgroupPerms*
)
{...}
:
int
prepare_cgroup_dirs
(
char**,int,char*,size_t,CgroupDirEntry**,size_t
)
{...}
:
int
prepare_cgroup_sfd
(
CgroupEntry*
)
{...}
:
int
rewrite_cgsets
(
CgroupEntry*,char**,int,char**,char*
)
{...}
:
int
rewrite_cgroup_roots
(
CgroupEntry*
)
{...}
:
int
prepare_cgroup
(
void
)
{...}
:
int
new_cg_root_add
(
char*,char*
)
{...}
:
int
cgroup_ns_desc
:
struct ns_desc
All occurrences
Please wait...
Page is in error, reload to recover