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
master
ROOT
/
plugins
/
amdgpu
/
amdgpu_plugin.c
Search
History
1948 lines
|
ISO-8859-1
|
52 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
AMDGPU_KFD_DEVICE
PROCPIDMEM
HSAKMT_SHM_PATH
HSAKMT_SHM
HSAKMT_SEM_PATH
HSAKMT_SEM
KFD_IOCTL_MAJOR_VERSION
MIN_KFD_IOCTL_MINOR_VERSION
IMG_KFD_FILE
IMG_RENDERD_FILE
IMG_PAGES_FILE
_GNU_SOURCE
LOG_PREFIX
plugin_log_msg
(
fmt,...
)
plugin_log_msg
(
fmt,...
)
SDMA_PACKET
(
op,sub_op,e
)
SDMA_OPCODE_COPY
SDMA_COPY_SUB_OPCODE_LINEAR
SDMA_NOP
SDMA_LINEAR_COPY_MAX_SIZE
sdma_op_type
SDMA_OP_VRAM_READ
SDMA_OP_VRAM_WRITE
vma_metadata
list
:
struct list_head
old_pgoff
:
uint64_t
new_pgoff
:
uint64_t
vma_entry
:
uint64_t
new_minor
:
uint32_t
fd
:
int
src_topology
:
struct tp_system
dest_topology
:
struct tp_system
checkpoint_maps
:
struct device_maps
restore_maps
:
struct device_maps
fd_next
:
int
kfd_fw_version_check
:
bool
kfd_sdma_fw_version_check
:
bool
kfd_caches_count_check
:
bool
kfd_num_gws_check
:
bool
kfd_vram_size_check
:
bool
kfd_numa_check
:
bool
kfd_capability_check
:
bool
write_fp
(
FILE*,const void*,const size_t
)
{...}
:
int
read_fp
(
FILE*,void*,const size_t
)
{...}
:
int
open_img_file
(
char*,bool,size_t*
)
{...}
:
FILE*
write_img_file
(
char*,const void*,const size_t
)
{...}
:
int
read_file
(
const char*,void*,const size_t
)
{...}
:
int
kmtIoctl
(
int,unsigned long,void*
)
{...}
:
int
free_e
(
CriuKfd*
)
{...}
:
void
allocate_device_entries
(
CriuKfd*,int
)
{...}
:
int
allocate_bo_entries
(
CriuKfd*,int,struct kfd_criu_bo_bucket*
)
{...}
:
int
topology_to_devinfo
(
struct tp_system*,struct device_maps*,DeviceEntry**
)
{...}
:
int
devinfo_to_topology
(
DeviceEntry*[],uint32_t,struct tp_system*
)
{...}
:
int
getenv_bool
(
const char*,bool*
)
{...}
:
void
amdgpu_plugin_init
(
int
)
{...}
:
int
amdgpu_plugin_fini
(
int,int
)
{...}
:
void
amdgpu_plugin_handle_device_vma
(
int,const struct stat*
)
{...}
:
int
free_and_unmap
(
uint64_t,amdgpu_bo_handle,amdgpu_va_handle,uint64_t,void*
)
{...}
:
void
sdma_copy_bo
(
struct kfd_criu_bo_bucket*,void*,int,amdgpu_device_handle,uint64_t,enum sdma_op_type
)
{...}
:
int
dump_bo_contents
(
void*
)
{...}
:
void*
restore_bo_contents
(
void*
)
{...}
:
void*
check_hsakmt_shared_mem
(
uint64_t*,uint32_t*
)
{...}
:
int
restore_hsakmt_shared_mem
(
const uint64_t,const uint32_t
)
{...}
:
int
unpause_process
(
int
)
{...}
:
int
save_devices
(
int,struct kfd_ioctl_criu_args*,struct kfd_criu_device_bucket*,CriuKfd*
)
{...}
:
int
save_bos
(
int,int,struct kfd_ioctl_criu_args*,struct kfd_criu_bo_bucket*,CriuKfd*
)
{...}
:
int
kernel_supports_criu
(
int
)
{...}
:
bool
amdgpu_plugin_dump_file
(
int,int
)
{...}
:
int
restore_bos
(
struct kfd_ioctl_criu_args*,CriuKfd*
)
{...}
:
int
restore_bo_data
(
int,struct kfd_criu_bo_bucket*,CriuKfd*
)
{...}
:
int
amdgpu_plugin_restore_file
(
int
)
{...}
:
int
All occurrences
Please wait...
Page is in error, reload to recover