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.18
ROOT
/
criu
/
files-reg.c
Search
History
2658 lines
|
ISO-8859-1
|
64 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
SEEK_DATA
SEEK_HOLE
SILLYNAME_PREF
SILLYNAME_SUFF_LEN
BUILD_ID_MAP_SIZE
ST_UNIT
EXTENT_MAX_COUNT
BUFSIZE
GHOST_CHUNKS_THRESH
setfsuid
(
uid_t
)
:
int
setfsgid
(
gid_t
)
:
int
ghost_file
list
:
struct list_head
id
:
u32
dev
:
u32
ino
:
u32
remap
:
struct file_remap
ghost_file_ids
:
u32
remap_open_lock
:
mutex_t*
init_remap_lock
(
void
)
{...}
:
int
link_remap_rlb
list
:
struct list_head
mnt_ns
:
struct ns_id*
path
:
char*
note_link_remap
(
char*,struct ns_id*
)
{...}
:
int
trim_last_parent
(
char*
)
{...}
:
int
copy_chunk_from_file
(
int,int,off_t,size_t
)
{...}
:
int
copy_file_to_chunks
(
int,struct cr_img*,size_t
)
{...}
:
int
skip_outstanding
(
struct fiemap_extent*,size_t
)
{...}
:
int
copy_file_to_chunks_fiemap
(
int,struct cr_img*,size_t
)
{...}
:
int
copy_chunk_to_file
(
int,int,off_t,size_t
)
{...}
:
int
copy_file_from_chunks
(
struct cr_img*,int,size_t
)
{...}
:
int
mkreg_ghost
(
char*,GhostFileEntry*,struct cr_img*
)
{...}
:
int
mklnk_ghost
(
char*,GhostFileEntry*
)
{...}
:
int
ghost_apply_metadata
(
const char*,GhostFileEntry*
)
{...}
:
int
create_ghost_dentry
(
char*,GhostFileEntry*,struct cr_img*
)
{...}
:
int
nomntns_create_ghost
(
struct ghost_file*,GhostFileEntry*,struct cr_img*
)
{...}
:
int
create_ghost
(
struct ghost_file*,GhostFileEntry*,struct cr_img*
)
{...}
:
int
ghost_path
(
char*,int,struct reg_file_info*,RemapFilePathEntry*
)
{...}
:
void
collect_remap_ghost
(
struct reg_file_info*,RemapFilePathEntry*
)
{...}
:
int
open_remap_ghost
(
struct reg_file_info*,RemapFilePathEntry*
)
{...}
:
int
collect_remap_linked
(
struct reg_file_info*,RemapFilePathEntry*
)
{...}
:
int
open_remap_linked
(
struct reg_file_info*
)
{...}
:
int
collect_remap_dead_process
(
struct reg_file_info*,RemapFilePathEntry*
)
{...}
:
int
remap_info
list
:
struct list_head
rpe
:
RemapFilePathEntry*
rfi
:
struct reg_file_info*
collect_one_remap
(
void*,ProtobufCMessage*,struct cr_img*
)
{...}
:
int
prepare_one_remap
(
struct remap_info*
)
{...}
:
int
prepare_remaps
(
void
)
{...}
:
int
clean_one_remap
(
struct remap_info*
)
{...}
:
int
try_clean_remaps
(
bool
)
{...}
:
int
dump_ghost_file
(
int,u32,const struct stat*,dev_t
)
{...}
:
int
lookup_ghost_remap
(
u32,u32
)
{...}
:
struct file_remap*
dump_ghost_remap
(
char*,const struct stat*,int,u32,struct ns_id*
)
{...}
:
int
__rollback_link_remaps
(
bool
)
{...}
:
void
delete_link_remaps
(
void
)
{...}
:
void
free_link_remaps
(
void
)
{...}
:
void
linkat_hard
(
int,char*,int,char*,uid_t,gid_t,int
)
:
int
check_overlayfs_fallback
(
char*,const struct fd_parms*,bool*
)
{...}
:
void
create_link_remap
(
char*,int,int,u32*,struct ns_id*,const struct fd_parms*,bool*
)
{...}
:
int
dump_linked_remap
(
char*,int,const struct fd_parms*,int,u32,struct ns_id*,bool*
)
{...}
:
int
dead_pids
:
pid_t*
n_dead_pids
:
int
dead_pid_conflict
(
void
)
{...}
:
int
have_seen_dead_pid
(
pid_t
)
{...}
:
int
dump_dead_process_remap
(
pid_t,u32
)
{...}
:
int
is_sillyrename_name
(
char*
)
{...}
:
bool
nfs_silly_rename
(
char*,const struct fd_parms*
)
{...}
:
bool
check_path_remap
(
struct fd_link*,const struct fd_parms*,int,u32,struct ns_id*
)
{...}
:
int
should_check_size
(
int
)
{...}
:
bool
get_build_id_32
(
Elf32_Ehdr*,unsigned char**,const int,size_t
)
{...}
:
int
get_build_id_64
(
Elf64_Ehdr*,unsigned char**,const int,size_t
)
{...}
:
int
get_build_id
(
const int,const struct stat*,unsigned char**
)
{...}
:
int
store_validation_data_build_id
(
RegFileEntry*,int,const struct fd_parms*
)
{...}
:
int
store_validation_data
(
RegFileEntry*,const struct fd_parms*,int
)
{...}
:
bool
dump_one_reg_file
(
int,u32,const struct fd_parms*
)
{...}
:
int
convert_path_from_another_mp
(
char*,char*,int,struct mount_info*,struct mount_info*
)
{...}
:
void
linkat_hard
(
int,char*,int,char*,uid_t,gid_t,int
)
{...}
:
int
rm_parent_dirs
(
int,char*,int
)
{...}
:
int
make_parent_dirs_if_need
(
int,char*
)
{...}
:
int
rfi_remap
(
struct reg_file_info*,int*
)
{...}
:
int
validate_with_build_id
(
const int,const struct stat*,const struct reg_file_info*
)
{...}
:
int
validate_file
(
const int,const struct stat*,const struct reg_file_info*
)
{...}
:
bool
open_path
(
struct file_desc*,int,void*
)
{...}
:
int
do_open_reg_noseek_flags
(
int,struct reg_file_info*,void*
)
{...}
:
int
do_open_reg_noseek
(
int,struct reg_file_info*,void*
)
{...}
:
int
do_open_reg
(
int,struct reg_file_info*,void*
)
{...}
:
int
open_reg_fd
(
struct file_desc*
)
{...}
:
int
open_reg_by_id
(
u32
)
{...}
:
int
filemap_ctx
flags
:
u32
desc
:
struct file_desc*
fd
:
int
close
:
bool
vma
:
struct vma_area*
ctx
:
struct filemap_ctx
filemap_ctx_init
(
bool
)
{...}
:
void
filemap_ctx_fini
(
void
)
{...}
:
void
open_filemap
(
int,struct vma_area*
)
{...}
:
int
collect_filemap
(
struct vma_area*
)
{...}
:
int
open_fe_fd
(
struct file_desc*,int*
)
{...}
:
int
reg_file_path
(
struct file_desc*,char*,size_t
)
{...}
:
char*
try_collect_special_file
(
u32,int
)
{...}
:
struct file_desc*
collect_one_regfile
(
void*,ProtobufCMessage*,struct cr_img*
)
{...}
:
int
collect_remaps_and_regfiles
(
void
)
{...}
:
int
All occurrences
Please wait...
Page is in error, reload to recover