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
wip/nested-namespaces
ROOT
/
criu
/
include
/
util.h
Search
History
384 lines
|
ISO-8859-1
|
10 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
__CR_UTIL_H__
PREF_SHIFT_OP
(
pref,op,size
)
KBYTES_SHIFT
MBYTES_SHIFT
GBYTES_SHIFT
KBYTES
(
size
)
MBYTES
(
size
)
GBYTES
(
size
)
KILO
(
size
)
MEGA
(
size
)
GIGA
(
size
)
pr_info_vma
(
vma_area
)
pr_vma_list
(
level,head
)
pr_info_vma_list
(
head
)
reopen_fd_as
(
new_fd,old_fd
)
reopen_fd_as_nocheck
(
new_fd,old_fd
)
PROC_SELF
PROC_GEN
PROC_NONE
__open_proc
(
pid,ier,flags,fmt,...
)
open_proc
(
pid,fmt,...
)
open_proc_rw
(
pid,fmt,...
)
open_proc_path
(
pid,fmt,...
)
opendir_proc
(
pid,fmt,...
)
fopen_proc
(
pid,fmt,...
)
DEVZERO
KDEV_MINORBITS
KDEV_MINORMASK
MKKDEV
(
ma,mi
)
is_hex_digit
(
c
)
CRS_CAN_FAIL
PSFDS
USEC_PER_SEC
NSEC_PER_SEC
LAST_PID_PATH
PID_MAX_PATH
block_sigmask
(
saved_mask,sig_mask
)
restore_sigmask
(
saved_mask
)
block_sigmask
(
saved_mask,sig_mask
)
restore_sigmask
(
saved_mask
)
service_fd_rlim_cur
:
int
pr_vma
(
unsigned int,const struct vma_area*
)
:
void
move_fd_from
(
int*,int
)
:
int
close_safe
(
int*
)
:
int
reopen_fd_as_safe
(
char*,int,int,int,bool
)
:
int
close_proc
(
void
)
:
void
open_pid_proc
(
pid_t
)
:
int
close_pid_proc
(
void
)
:
int
set_proc_fd
(
int
)
:
int
do_open_proc
(
pid_t,int,const char*,...
)
:
int
kdev_major
(
u32
)
{...}
:
u32
kdev_minor
(
u32
)
{...}
:
u32
kdev_to_odev
(
u32
)
{...}
:
dev_t
copy_file
(
int,int,size_t
)
:
int
is_anon_link_type
(
char*,char*
)
:
int
cr_system
(
int,int,int,char*,char*const[],unsigned
)
:
int
cr_system_userns
(
int,int,int,char*,char*const[],unsigned,int
)
:
int
cr_daemon
(
int,int,int*,int
)
:
int
close_status_fd
(
void
)
:
int
is_root_user
(
void
)
:
int
dir_dots
(
const struct dirent*
)
{...}
:
bool
is_empty_dir
(
int
)
:
int
read_fd_link
(
int,char*,size_t
)
:
int
vaddr_to_pfn
(
int,unsigned long,u64*
)
:
int
strstartswith2
(
const char*,const char*,char*
)
{...}
:
bool
strstartswith
(
const char*,const char*
)
{...}
:
bool
issubpath
(
const char*,const char*
)
{...}
:
bool
mkdirpat
(
int,const char*,int
)
:
int
is_path_prefix
(
const char*,const char*
)
:
bool
split
(
char*,char,char***,int*
)
:
void
fd_has_data
(
int
)
:
int
make_yard
(
char*
)
:
int
sk_wait_data
(
int
)
{...}
:
int
tcp_nodelay
(
int,bool
)
:
void
tcp_cork
(
int,bool
)
:
void
ns_to_string
(
unsigned int
)
:
const char*
xatol
(
const char*,long*
)
:
int
xatoi
(
const char*,int*
)
:
int
xstrcat
(
char*,const char*,...
)
:
char*
xsprintf
(
const char*,...
)
:
char*
print_data
(
unsigned long,unsigned char*,size_t
)
:
void
setup_tcp_server
(
char*
)
:
int
run_tcp_server
(
bool,int*,int,int
)
:
int
setup_tcp_client
(
char*
)
:
int
epoll_rfd
fd
:
int
read_event
:
int(*)(struct epoll_rfd*)
hangup_event
:
int(*)(struct epoll_rfd*)
epoll_add_rfd
(
int,struct epoll_rfd*
)
:
int
epoll_del_rfd
(
int,struct epoll_rfd*
)
:
int
epoll_run_rfds
(
int,struct epoll_event*,int,int
)
:
int
epoll_prepare
(
int,struct epoll_event**
)
:
int
open_fd_of_vpid
(
pid_t,int,int
)
:
int
call_in_child_process
(
int,void*
)
:
int
print_stack_trace
(
pid_t
)
{...}
:
void
All occurrences
Please wait...
Page is in error, reload to recover