MCPcopy Create free account

hub / github.com/checkpoint-restore/go-criu / functions

Functions2,819 in github.com/checkpoint-restore/go-criu

↓ 56 callersMethodString
()
rpc/rpc.pb.go:6586
↓ 42 callersFunctionPtr
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 callersFunctiongetImg
Helper to decode image when file path is given
crit/utils.go:99
↓ 22 callersMethodMarshalProtoText
()
rpc/rpc.pb.go:6572
↓ 19 callersMethodSizeVT
()
rpc/rpc.pb.go:5938
↓ 17 callersMethodMarshalToSizedBufferVT
(dAtA []byte)
rpc/rpc.pb.go:3013
↓ 17 callersMethodMarshalToSizedBufferVTStrict
(dAtA []byte)
rpc/rpc.pb.go:4583
↓ 16 callersMethodCloneVT
()
rpc/rpc.pb.go:1453
↓ 16 callersMethodEqualVT
(that *UnixSk)
rpc/rpc.pb.go:2112
↓ 16 callersMethodUnmarshalVT
(dAtA []byte)
rpc/rpc.pb.go:8061
↓ 16 callersFunctioncountBytes
Helper to convert bytes into a more readable unit
crit/utils.go:47
↓ 15 callersMethodUnmarshalVTUnsafe
(dAtA []byte)
rpc/rpc.pb.go:10812
↓ 13 callersMethodGetVaddr
()
crit/images/pagemap/pagemap.pb.go:117
↓ 9 callersMethodGetNrPages
()
crit/images/pagemap/pagemap.pb.go:145
↓ 9 callersMethoddecodeDefault
decodeDefault is used for all image files that are in the standard protobuf format
crit/decode.go:61
↓ 9 callersMethodencodeDefault
encodeDefault is used for all image files that are in the standard protobuf format
crit/encode.go:75
↓ 8 callersMethodGetOpts
()
crit/images/sk-unix/sk-unix.pb.go:227
↓ 8 callersFunctionNew
New creates an instance of the CRIT service
crit/crit.go:47
↓ 8 callersMethodString
()
crit/task_state.go:13
↓ 8 callersFunctionfile_criu_core_proto_rawDescGZIP
()
crit/images/criu-core/criu-core.pb.go:1110
↓ 7 callersMethodGetMemTrack
()
rpc/rpc.pb.go:1060
↓ 7 callersFunctionfile_cgroup_proto_rawDescGZIP
()
crit/images/cgroup/cgroup.pb.go:516
↓ 7 callersFunctionfile_core_s390_proto_rawDescGZIP
()
crit/images/core-s390/core-s390.pb.go:540
↓ 7 callersFunctionfile_core_x86_proto_rawDescGZIP
()
crit/images/core-x86/core-x86.pb.go:984
↓ 7 callersFunctionfile_fsnotify_proto_rawDescGZIP
()
crit/images/fsnotify/fsnotify.pb.go:628
↓ 7 callersFunctionfile_tty_proto_rawDescGZIP
()
crit/images/tty/tty.pb.go:700
↓ 6 callersMethodGetType
()
crit/images/fh/fh.pb.go:131
↓ 6 callersFunctionNewMemoryReader
NewMemoryReader creates a new instance of MemoryReader with all the fields populated
crit/mempages.go:34
↓ 6 callersFunctionfile_core_aarch64_proto_rawDescGZIP
()
crit/images/core-aarch64/core-aarch64.pb.go:533
↓ 6 callersFunctionfile_core_ppc64_proto_rawDescGZIP
()
crit/images/core-ppc64/core-ppc64.pb.go:565
↓ 6 callersFunctionfile_cpuinfo_proto_rawDescGZIP
()
crit/images/cpuinfo/cpuinfo.pb.go:487
↓ 6 callersFunctiongetFilePath
Helper to get file path for exploring file descriptors
crit/utils.go:143
↓ 5 callersMethodCleanup
Cleanup cleans up
main.go:127
↓ 5 callersMethodDecode
Read binary image file into Go struct (decode.go)
crit/crit.go:16
↓ 5 callersMethodGetCriuVersion
GetCriuVersion executes the VERSION RPC call and returns the version as an integer. Major * 10000 + Minor * 100 + SubLevel
main.go:301
↓ 5 callersMethodGetId
()
crit/images/ns/ns.pb.go:68
↓ 5 callersMethodGetName
()
crit/images/apparmor/apparmor.pb.go:64
↓ 5 callersMethodGetPagemapEntries
()
crit/mempages.go:176
↓ 5 callersMethodGetPid
()
crit/images/fown/fown.pb.go:97
↓ 5 callersMethodGetShmid
()
crit/images/vma/vma.pb.go:101
↓ 5 callersMethodGetStart
()
crit/images/vma/vma.pb.go:80
↓ 5 callersMethodGetUsk
()
crit/images/fdinfo/fdinfo.pb.go:409
↓ 5 callersMethodGetVersion
()
rpc/rpc.pb.go:1230
↓ 5 callersFunctioninvalidateCache
()
crit/utils.go:114
↓ 4 callersMethodGetEnd
()
crit/images/vma/vma.pb.go:87
↓ 4 callersMethodGetLazyPages
()
rpc/rpc.pb.go:1067
↓ 4 callersMethodGetMemPages
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 callersMethodGetPid
()
rpc/rpc.pb.go:1139
↓ 4 callersMethodGetPidfdStore
()
rpc/rpc.pb.go:1074
↓ 4 callersMethodGetProtocol
()
crit/images/sk-netlink/sk-netlink.pb.go:93
↓ 4 callersMethodGetSoRcvbuf
()
crit/images/sk-opts/sk-opts.pb.go:159
↓ 4 callersMethodGetSoSndbuf
()
crit/images/sk-opts/sk-opts.pb.go:152
↓ 4 callersMethodGetType
()
rpc/rpc.pb.go:1104
↓ 4 callersMethodPreDump
()
notify.go:5
↓ 4 callersMethodPrepare
Prepare sets up everything for the RPC communication to CRIU
main.go:82
↓ 4 callersMethodSizeVT
()
rpc/rpc.pb.go:5822
↓ 4 callersMethodSizeVT
()
rpc/rpc.pb.go:5845
↓ 4 callersMethodSizeVT
()
rpc/rpc.pb.go:5863
↓ 4 callersMethodSizeVT
()
rpc/rpc.pb.go:5881
↓ 4 callersMethodSizeVT
()
rpc/rpc.pb.go:5903
↓ 4 callersMethodSizeVT
()
rpc/rpc.pb.go:5920
↓ 4 callersMethodSizeVT
()
rpc/rpc.pb.go:5951
↓ 4 callersMethodSizeVT
()
rpc/rpc.pb.go:6223
↓ 4 callersMethodSizeVT
()
rpc/rpc.pb.go:6236
↓ 4 callersMethodSizeVT
()
rpc/rpc.pb.go:6249
↓ 4 callersMethodSizeVT
()
rpc/rpc.pb.go:6266
↓ 4 callersMethodSizeVT
()
rpc/rpc.pb.go:6285
↓ 4 callersMethodSizeVT
()
rpc/rpc.pb.go:6315
↓ 4 callersMethodSizeVT
()
rpc/rpc.pb.go:6365
↓ 4 callersMethodSizeVT
()
stats/stats.pb.go:930
↓ 4 callersMethodSizeVT
()
stats/stats.pb.go:982
↓ 4 callersMethodSizeVT
()
stats/stats.pb.go:1007
↓ 4 callersMethoddoSwrk
(reqType rpc.CriuReqType, opts *rpc.CriuOpts, nfy Notify)
main.go:158
↓ 4 callersMethoddoSwrkWithResp
(reqType rpc.CriuReqType, opts *rpc.CriuOpts, nfy Notify, features *rpc.CriuFeatures)
main.go:171
↓ 4 callersFunctionfile_netdev_proto_rawDescGZIP
()
crit/images/netdev/netdev.pb.go:526
↓ 4 callersFunctiongetSkType
Helper to identify socket type
crit/utils.go:336
↓ 4 callersFunctiongetTestImgPID
helper function to get the PID from the test-imgs directory
crit/mempages_test.go:352
↓ 4 callersMethodlastImagesDir
()
phaul/images.go:34
↓ 4 callersMethodtaskHasState
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 callersFunctionwrite_magics
(dest, magics)
scripts/magic-gen/magicgen.py:55
↓ 3 callersFunctionGetEntryTypeFromImg
(imgFile *os.File)
crit/cli/handler.go:66
↓ 3 callersMethodGetState
()
crit/images/sk-unix/sk-unix.pb.go:185
↓ 3 callersMethodGetStatus
()
crit/images/vma/vma.pb.go:122
↓ 3 callersMethodGetVmas
()
crit/images/mm/mm.pb.go:237
↓ 3 callersFunctionReadMagic
Helper to decode magic name from hex value
crit/utils.go:21
↓ 3 callersMethodString
()
stats/stats.pb.go:1199
↓ 3 callersFunctiondoDump
(c *criu.Criu, pidS string, imgDir string, pre bool, prevImg string)
test/main.go:28
↓ 3 callersFunctionfile_apparmor_proto_rawDescGZIP
()
crit/images/apparmor/apparmor.pb.go:215
↓ 3 callersFunctionfile_core_arm_proto_rawDescGZIP
()
crit/images/core-arm/core-arm.pb.go:413
↓ 3 callersFunctionfile_core_loongarch64_proto_rawDescGZIP
()
crit/images/core-loongarch64/core-loongarch64.pb.go:251
↓ 3 callersFunctionfile_core_mips_proto_rawDescGZIP
()
crit/images/core-mips/core-mips.pb.go:879
↓ 3 callersFunctionfile_core_riscv64_proto_rawDescGZIP
()
crit/images/core-riscv64/core-riscv64.pb.go:511
↓ 3 callersFunctionfile_fdinfo_proto_rawDescGZIP
()
crit/images/fdinfo/fdinfo.pb.go:564
↓ 3 callersFunctionfile_fh_proto_rawDescGZIP
()
crit/images/fh/fh.pb.go:249
↓ 3 callersFunctionfile_inventory_proto_rawDescGZIP
()
crit/images/inventory/inventory.pb.go:331
↓ 3 callersFunctionfile_packet_sock_proto_rawDescGZIP
()
crit/images/packet-sock/packet-sock.pb.go:461
↓ 3 callersFunctionfile_sk_inet_proto_rawDescGZIP
()
crit/images/sk-inet/sk-inet.pb.go:458
↓ 3 callersFunctionfile_stats_proto_rawDescGZIP
()
crit/images/stats/stats.pb.go:377
↓ 3 callersFunctionfile_timer_proto_rawDescGZIP
()
crit/images/timer/timer.pb.go:342
↓ 3 callersFunctiongetSkProtocol
Helper to identify socket protocol
crit/utils.go:341
next →1–100 of 2,819, ranked by callers