Home
last modified time | relevance | path

Searched refs:bo_privs (Results 1 – 1 of 1) sorted by relevance

/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c1893 struct kfd_criu_bo_priv_data *bo_privs; in criu_checkpoint_bos() local
1901 bo_privs = kvzalloc(num_bos * sizeof(*bo_privs), GFP_KERNEL); in criu_checkpoint_bos()
1902 if (!bo_privs) { in criu_checkpoint_bos()
1933 bo_priv = &bo_privs[bo_index]; in criu_checkpoint_bos()
1995 ret = copy_to_user(user_priv_data + *priv_offset, bo_privs, num_bos * sizeof(*bo_privs)); in criu_checkpoint_bos()
2002 *priv_offset += num_bos * sizeof(*bo_privs); in criu_checkpoint_bos()
2012 kvfree(bo_privs); in criu_checkpoint_bos()
2430 struct kfd_criu_bo_priv_data *bo_privs = NULL; in criu_restore_bos() local
2434 if (*priv_offset + (args->num_bos * sizeof(*bo_privs)) > max_priv_data_size) in criu_restore_bos()
2452 bo_privs = kvmalloc_array(args->num_bos, sizeof(*bo_privs), GFP_KERNEL); in criu_restore_bos()
[all …]