Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/checkpoint-restore/go-criu
/ functions
Functions
2,819 in github.com/checkpoint-restore/go-criu
⨍
Functions
2,819
◇
Types & classes
306
↓ 56 callers
Method
String
()
rpc/rpc.pb.go:6586
↓ 42 callers
Function
Ptr
Ptr returns a pointer to v. It is handy for setting proto2 optional and required scalar fields, e.g. Ptr("foo"), Ptr(true), Ptr[int32](4). TODO: drop
internal/proto/proto.go:13
↓ 24 callers
Function
getImg
Helper to decode image when file path is given
crit/utils.go:99
↓ 22 callers
Method
MarshalProtoText
()
rpc/rpc.pb.go:6572
↓ 19 callers
Method
SizeVT
()
rpc/rpc.pb.go:5938
↓ 17 callers
Method
MarshalToSizedBufferVT
(dAtA []byte)
rpc/rpc.pb.go:3013
↓ 17 callers
Method
MarshalToSizedBufferVTStrict
(dAtA []byte)
rpc/rpc.pb.go:4583
↓ 16 callers
Method
CloneVT
()
rpc/rpc.pb.go:1453
↓ 16 callers
Method
EqualVT
(that *UnixSk)
rpc/rpc.pb.go:2112
↓ 16 callers
Method
UnmarshalVT
(dAtA []byte)
rpc/rpc.pb.go:8061
↓ 16 callers
Function
countBytes
Helper to convert bytes into a more readable unit
crit/utils.go:47
↓ 15 callers
Method
UnmarshalVTUnsafe
(dAtA []byte)
rpc/rpc.pb.go:10812
↓ 13 callers
Method
GetVaddr
()
crit/images/pagemap/pagemap.pb.go:117
↓ 9 callers
Method
GetNrPages
()
crit/images/pagemap/pagemap.pb.go:145
↓ 9 callers
Method
decodeDefault
decodeDefault is used for all image files that are in the standard protobuf format
crit/decode.go:61
↓ 9 callers
Method
encodeDefault
encodeDefault is used for all image files that are in the standard protobuf format
crit/encode.go:75
↓ 8 callers
Method
GetOpts
()
crit/images/sk-unix/sk-unix.pb.go:227
↓ 8 callers
Function
New
New creates an instance of the CRIT service
crit/crit.go:47
↓ 8 callers
Method
String
()
crit/task_state.go:13
↓ 8 callers
Function
file_criu_core_proto_rawDescGZIP
()
crit/images/criu-core/criu-core.pb.go:1110
↓ 7 callers
Method
GetMemTrack
()
rpc/rpc.pb.go:1060
↓ 7 callers
Function
file_cgroup_proto_rawDescGZIP
()
crit/images/cgroup/cgroup.pb.go:516
↓ 7 callers
Function
file_core_s390_proto_rawDescGZIP
()
crit/images/core-s390/core-s390.pb.go:540
↓ 7 callers
Function
file_core_x86_proto_rawDescGZIP
()
crit/images/core-x86/core-x86.pb.go:984
↓ 7 callers
Function
file_fsnotify_proto_rawDescGZIP
()
crit/images/fsnotify/fsnotify.pb.go:628
↓ 7 callers
Function
file_tty_proto_rawDescGZIP
()
crit/images/tty/tty.pb.go:700
↓ 6 callers
Method
GetType
()
crit/images/fh/fh.pb.go:131
↓ 6 callers
Function
NewMemoryReader
NewMemoryReader creates a new instance of MemoryReader with all the fields populated
crit/mempages.go:34
↓ 6 callers
Function
file_core_aarch64_proto_rawDescGZIP
()
crit/images/core-aarch64/core-aarch64.pb.go:533
↓ 6 callers
Function
file_core_ppc64_proto_rawDescGZIP
()
crit/images/core-ppc64/core-ppc64.pb.go:565
↓ 6 callers
Function
file_cpuinfo_proto_rawDescGZIP
()
crit/images/cpuinfo/cpuinfo.pb.go:487
↓ 6 callers
Function
getFilePath
Helper to get file path for exploring file descriptors
crit/utils.go:143
↓ 5 callers
Method
Cleanup
Cleanup cleans up
main.go:127
↓ 5 callers
Method
Decode
Read binary image file into Go struct (decode.go)
crit/crit.go:16
↓ 5 callers
Method
GetCriuVersion
GetCriuVersion executes the VERSION RPC call and returns the version as an integer. Major * 10000 + Minor * 100 + SubLevel
main.go:301
↓ 5 callers
Method
GetId
()
crit/images/ns/ns.pb.go:68
↓ 5 callers
Method
GetName
()
crit/images/apparmor/apparmor.pb.go:64
↓ 5 callers
Method
GetPagemapEntries
()
crit/mempages.go:176
↓ 5 callers
Method
GetPid
()
crit/images/fown/fown.pb.go:97
↓ 5 callers
Method
GetShmid
()
crit/images/vma/vma.pb.go:101
↓ 5 callers
Method
GetStart
()
crit/images/vma/vma.pb.go:80
↓ 5 callers
Method
GetUsk
()
crit/images/fdinfo/fdinfo.pb.go:409
↓ 5 callers
Method
GetVersion
()
rpc/rpc.pb.go:1230
↓ 5 callers
Function
invalidateCache
()
crit/utils.go:114
↓ 4 callers
Method
GetEnd
()
crit/images/vma/vma.pb.go:87
↓ 4 callers
Method
GetLazyPages
()
rpc/rpc.pb.go:1067
↓ 4 callers
Method
GetMemPages
GetMemPages retrieves the content of memory pages associated with a given process ID (pid). It retrieves the memory content within the specified range
crit/mempages.go:70
↓ 4 callers
Method
GetPid
()
rpc/rpc.pb.go:1139
↓ 4 callers
Method
GetPidfdStore
()
rpc/rpc.pb.go:1074
↓ 4 callers
Method
GetProtocol
()
crit/images/sk-netlink/sk-netlink.pb.go:93
↓ 4 callers
Method
GetSoRcvbuf
()
crit/images/sk-opts/sk-opts.pb.go:159
↓ 4 callers
Method
GetSoSndbuf
()
crit/images/sk-opts/sk-opts.pb.go:152
↓ 4 callers
Method
GetType
()
rpc/rpc.pb.go:1104
↓ 4 callers
Method
PreDump
()
notify.go:5
↓ 4 callers
Method
Prepare
Prepare sets up everything for the RPC communication to CRIU
main.go:82
↓ 4 callers
Method
SizeVT
()
rpc/rpc.pb.go:5822
↓ 4 callers
Method
SizeVT
()
rpc/rpc.pb.go:5845
↓ 4 callers
Method
SizeVT
()
rpc/rpc.pb.go:5863
↓ 4 callers
Method
SizeVT
()
rpc/rpc.pb.go:5881
↓ 4 callers
Method
SizeVT
()
rpc/rpc.pb.go:5903
↓ 4 callers
Method
SizeVT
()
rpc/rpc.pb.go:5920
↓ 4 callers
Method
SizeVT
()
rpc/rpc.pb.go:5951
↓ 4 callers
Method
SizeVT
()
rpc/rpc.pb.go:6223
↓ 4 callers
Method
SizeVT
()
rpc/rpc.pb.go:6236
↓ 4 callers
Method
SizeVT
()
rpc/rpc.pb.go:6249
↓ 4 callers
Method
SizeVT
()
rpc/rpc.pb.go:6266
↓ 4 callers
Method
SizeVT
()
rpc/rpc.pb.go:6285
↓ 4 callers
Method
SizeVT
()
rpc/rpc.pb.go:6315
↓ 4 callers
Method
SizeVT
()
rpc/rpc.pb.go:6365
↓ 4 callers
Method
SizeVT
()
stats/stats.pb.go:930
↓ 4 callers
Method
SizeVT
()
stats/stats.pb.go:982
↓ 4 callers
Method
SizeVT
()
stats/stats.pb.go:1007
↓ 4 callers
Method
doSwrk
(reqType rpc.CriuReqType, opts *rpc.CriuOpts, nfy Notify)
main.go:158
↓ 4 callers
Method
doSwrkWithResp
(reqType rpc.CriuReqType, opts *rpc.CriuOpts, nfy Notify, features *rpc.CriuFeatures)
main.go:171
↓ 4 callers
Function
file_netdev_proto_rawDescGZIP
()
crit/images/netdev/netdev.pb.go:526
↓ 4 callers
Function
getSkType
Helper to identify socket type
crit/utils.go:336
↓ 4 callers
Function
getTestImgPID
helper function to get the PID from the test-imgs directory
crit/mempages_test.go:352
↓ 4 callers
Method
lastImagesDir
()
phaul/images.go:34
↓ 4 callers
Method
taskHasState
CRIU uses 4 task states to represent the state of a process. A process can be Alive, Dead, Stopped or Zombie. Only Alive and Stopped processes have as
crit/explore.go:20
↓ 4 callers
Function
write_magics
(dest, magics)
scripts/magic-gen/magicgen.py:55
↓ 3 callers
Function
GetEntryTypeFromImg
(imgFile *os.File)
crit/cli/handler.go:66
↓ 3 callers
Method
GetState
()
crit/images/sk-unix/sk-unix.pb.go:185
↓ 3 callers
Method
GetStatus
()
crit/images/vma/vma.pb.go:122
↓ 3 callers
Method
GetVmas
()
crit/images/mm/mm.pb.go:237
↓ 3 callers
Function
ReadMagic
Helper to decode magic name from hex value
crit/utils.go:21
↓ 3 callers
Method
String
()
stats/stats.pb.go:1199
↓ 3 callers
Function
doDump
(c *criu.Criu, pidS string, imgDir string, pre bool, prevImg string)
test/main.go:28
↓ 3 callers
Function
file_apparmor_proto_rawDescGZIP
()
crit/images/apparmor/apparmor.pb.go:215
↓ 3 callers
Function
file_core_arm_proto_rawDescGZIP
()
crit/images/core-arm/core-arm.pb.go:413
↓ 3 callers
Function
file_core_loongarch64_proto_rawDescGZIP
()
crit/images/core-loongarch64/core-loongarch64.pb.go:251
↓ 3 callers
Function
file_core_mips_proto_rawDescGZIP
()
crit/images/core-mips/core-mips.pb.go:879
↓ 3 callers
Function
file_core_riscv64_proto_rawDescGZIP
()
crit/images/core-riscv64/core-riscv64.pb.go:511
↓ 3 callers
Function
file_fdinfo_proto_rawDescGZIP
()
crit/images/fdinfo/fdinfo.pb.go:564
↓ 3 callers
Function
file_fh_proto_rawDescGZIP
()
crit/images/fh/fh.pb.go:249
↓ 3 callers
Function
file_inventory_proto_rawDescGZIP
()
crit/images/inventory/inventory.pb.go:331
↓ 3 callers
Function
file_packet_sock_proto_rawDescGZIP
()
crit/images/packet-sock/packet-sock.pb.go:461
↓ 3 callers
Function
file_sk_inet_proto_rawDescGZIP
()
crit/images/sk-inet/sk-inet.pb.go:458
↓ 3 callers
Function
file_stats_proto_rawDescGZIP
()
crit/images/stats/stats.pb.go:377
↓ 3 callers
Function
file_timer_proto_rawDescGZIP
()
crit/images/timer/timer.pb.go:342
↓ 3 callers
Function
getSkProtocol
Helper to identify socket protocol
crit/utils.go:341
next →
1–100 of 2,819, ranked by callers