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
v3.12
ROOT
/
criu
/
mount.c
Search
History
3823 lines
|
ISO-8859-1
|
87 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
AUTODETECTED_MOUNT
NO_ROOT_MOUNT
MS_PROPAGATE
LOG_PREFIX
BINFMT_MISC_HOME
CRTIME_MNT_ID
MNT_TREE_WALK
(
_r,_el,_fn_f,_fn_r,_plist,_prgs
)
MNT_WALK_NONE
MS_MNT_KNOWN_FLAGS
root_yard_mp
:
struct mount_info*
ext_mount_add
(
char*,char*
)
{...}
:
int
ext_mount_parse_auto
(
char*
)
{...}
:
int
ext_mount_lookup
(
char*
)
{...}
:
char*
mntinfo
:
struct mount_info*
__lookup_overlayfs
(
struct mount_info*,char*,unsigned int,unsigned int,unsigned int
)
{...}
:
struct mount_info*
lookup_overlayfs
(
char*,unsigned int,unsigned int,unsigned int
)
{...}
:
struct mount_info*
__lookup_mnt_id
(
struct mount_info*,int
)
{...}
:
struct mount_info*
lookup_mnt_id
(
unsigned int
)
{...}
:
struct mount_info*
lookup_mnt_sdev
(
unsigned int
)
{...}
:
struct mount_info*
mount_resolve_path
(
struct mount_info*,const char*
)
{...}
:
struct mount_info*
phys_stat_resolve_dev
(
struct ns_id*,dev_t,const char*
)
{...}
:
dev_t
phys_stat_dev_match
(
dev_t,dev_t,struct ns_id*,const char*
)
{...}
:
bool
mounts_sb_equal
(
struct mount_info*,struct mount_info*
)
{...}
:
bool
mounts_equal
(
struct mount_info*,struct mount_info*
)
{...}
:
bool
mnt_roots
:
char*
mnt_build_ids_tree
(
struct mount_info*,struct mount_info*
)
{...}
:
struct mount_info*
mnt_depth
(
struct mount_info*
)
{...}
:
unsigned int
mnt_resort_siblings
(
struct mount_info*
)
{...}
:
void
mnt_tree_show
(
struct mount_info*,int
)
{...}
:
void
try_resolve_ext_mount
(
struct mount_info*
)
{...}
:
int
find_fsroot_mount_for
(
struct mount_info*
)
{...}
:
struct mount_info*
mnt_needs_remap
(
struct mount_info*
)
{...}
:
bool
mnt_is_external
(
struct mount_info*
)
{...}
:
bool
validate_children_collision
(
struct mount_info*
)
{...}
:
int
validate_mounts
(
struct mount_info*,bool
)
{...}
:
int
find_best_external_match
(
struct mount_info*,struct mount_info*
)
{...}
:
struct mount_info*
find_ext_ns_id
(
void
)
{...}
:
struct ns_id*
resolve_external_mounts
(
struct mount_info*
)
{...}
:
int
root_path_from_parent
(
struct mount_info*,char*,int
)
{...}
:
int
same_propagation_group
(
struct mount_info*,struct mount_info*
)
{...}
:
int
resolve_shared_mounts
(
struct mount_info*,int
)
{...}
:
int
mnt_build_tree
(
struct mount_info*,struct mount_info*
)
{...}
:
struct mount_info*
mnt_is_dir
(
struct mount_info*
)
{...}
:
int
__open_mountpoint
(
struct mount_info*,int
)
{...}
:
int
open_mount
(
unsigned int
)
{...}
:
int
get_clean_mnt
(
struct mount_info*,char*,char*
)
{...}
:
char*
get_clean_fd
(
struct mount_info*
)
{...}
:
int
mnt_is_overmounted
(
struct mount_info*
)
{...}
:
bool
set_is_overmounted
(
struct mount_info*
)
{...}
:
int
__umount_children_overmounts
(
struct mount_info*
)
{...}
:
int
__umount_overmounts
(
struct mount_info*
)
{...}
:
int
umount_overmounts
(
struct mount_info*
)
{...}
:
int
clone_arg
mi
:
struct mount_info*
fd
:
int*
ns_open_mountpoint
(
void*
)
{...}
:
int
open_mountpoint
(
struct mount_info*
)
{...}
:
int
dump_one_fs
(
struct mount_info*
)
{...}
:
int
dump_one_mountpoint
(
struct mount_info*,struct cr_img*
)
{...}
:
int
free_mntinfo
(
struct mount_info*
)
{...}
:
void
collect_mntinfo
(
struct ns_id*,bool
)
{...}
:
struct mount_info*
dump_mnt_ns
(
struct ns_id*,struct mount_info*
)
{...}
:
int
mnt_tree_for_each
(
struct mount_info*,int
)
{...}
:
int
mnt_tree_for_each_reverse
(
struct mount_info*,int
)
{...}
:
int
resolve_source
(
struct mount_info*
)
{...}
:
char*
umount_from_slaves
(
struct mount_info*
)
{...}
:
int
propagate_siblings
(
struct mount_info*
)
{...}
:
int
propagate_mount
(
struct mount_info*
)
{...}
:
int
fetch_rt_stat
(
struct mount_info*,const char*
)
{...}
:
int
do_simple_mount
(
struct mount_info*,const char*,const char*,unsigned long
)
{...}
:
int
mnt_fsname
(
struct mount_info*
)
{...}
:
char*
apply_sb_flags
(
void*,int,pid_t
)
{...}
:
int
do_new_mount
(
struct mount_info*
)
{...}
:
int
restore_ext_mount
(
struct mount_info*
)
{...}
:
int
mnt_clean_path
:
char[]
mount_clean_path
(
)
{...}
:
int
umount_clean_path
(
)
{...}
:
int
do_bind_mount
(
struct mount_info*
)
{...}
:
int
rst_mnt_is_root
(
struct mount_info*
)
{...}
:
bool
can_mount_now
(
struct mount_info*
)
{...}
:
bool
do_mount_root
(
struct mount_info*
)
{...}
:
int
do_close_one
(
struct mount_info*
)
{...}
:
int
do_mount_one
(
struct mount_info*
)
{...}
:
int
do_umount_one
(
struct mount_info*
)
{...}
:
int
print_ns_root
(
struct ns_id*,int,char*,int
)
:
int
get_mp_mountpoint
(
char*,struct mount_info*,char*,int
)
:
int
remap_id
:
int
mnt_remap_entry
mi
:
struct mount_info*
parent
:
struct mount_info*
node
:
struct list_head
do_remap_mount
(
struct mount_info*
)
{...}
:
int
try_remap_mount
(
struct mount_info*
)
{...}
:
int
find_remap_mounts
(
struct mount_info*
)
{...}
:
int
fixup_remap_mounts
(
)
{...}
:
int
cr_pivot_root
(
char*
)
{...}
:
int
mnt_entry_alloc
(
)
{...}
:
struct mount_info*
mnt_entry_free
(
struct mount_info*
)
{...}
:
void
print_ns_root
(
struct ns_id*,int,char*,int
)
{...}
:
int
create_mnt_roots
(
void
)
{...}
:
int
get_mp_root
(
MntEntry*,struct mount_info*
)
{...}
:
int
get_mp_mountpoint
(
char*,struct mount_info*,char*,int
)
{...}
:
int
collect_mnt_from_image
(
struct mount_info**,struct ns_id*
)
{...}
:
int
read_mnt_ns_img
(
void
)
{...}
:
int
rst_get_mnt_root
(
int,char*,int
)
{...}
:
int
mntns_maybe_create_roots
(
void
)
{...}
:
int
do_restore_task_mnt_ns
(
struct ns_id*
)
{...}
:
int
restore_task_mnt_ns
(
struct pstree_item*
)
{...}
:
int
fini_restore_mntns
(
void
)
{...}
:
void
populate_roots_yard
(
void
)
{...}
:
int
populate_mnt_ns
(
void
)
{...}
:
int
__depopulate_roots_yard
(
void
)
{...}
:
int
depopulate_roots_yard
(
int,bool
)
{...}
:
int
cleanup_mnt_ns
(
void
)
{...}
:
void
prepare_mnt_ns
(
void
)
{...}
:
int
mntns_root_pid
:
int
mntns_set_root_fd
(
pid_t,int
)
{...}
:
int
__mntns_get_root_fd
(
pid_t
)
{...}
:
int
mntns_get_root_fd
(
struct ns_id*
)
{...}
:
int
lookup_nsid_by_mnt_id
(
int
)
{...}
:
struct ns_id*
mntns_get_root_by_mnt_id
(
int
)
{...}
:
int
collect_mntns_arg
need_to_validate
:
bool
for_dump
:
bool
root_master_id
:
int
collect_mntns
(
struct ns_id*,void*
)
{...}
:
int
collect_mnt_namespaces
(
bool
)
{...}
:
int
dump_mnt_namespaces
(
void
)
{...}
:
int
clean_cr_time_mounts
(
void
)
{...}
:
void
mnt_ns_desc
:
struct ns_desc
call_helper_process
(
int,void*
)
{...}
:
int
ns_remount_writable
(
void*
)
{...}
:
int
try_remount_writable
(
struct mount_info*,bool
)
{...}
:
int
__remount_readonly_mounts
(
struct ns_id*
)
{...}
:
int
ns_remount_readonly_mounts
(
void*
)
{...}
:
int
remount_readonly_mounts
(
void
)
{...}
:
int
All occurrences
Please wait...
Page is in error, reload to recover