Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_chardev.c1890 struct kfd_criu_bo_priv_data *bo_privs; in criu_checkpoint_bos() local
1899 bo_privs = kvzalloc(num_bos * sizeof(*bo_privs), GFP_KERNEL); in criu_checkpoint_bos()
1900 if (!bo_privs) { in criu_checkpoint_bos()
1932 bo_priv = &bo_privs[bo_index]; in criu_checkpoint_bos()
1994 ret = copy_to_user(user_priv_data + *priv_offset, bo_privs, num_bos * sizeof(*bo_privs)); in criu_checkpoint_bos()
2001 *priv_offset += num_bos * sizeof(*bo_privs); in criu_checkpoint_bos()
2007 kvfree(bo_privs); in criu_checkpoint_bos()
2426 struct kfd_criu_bo_priv_data *bo_privs = NULL; in criu_restore_bos() local
2431 if (*priv_offset + (args->num_bos * sizeof(*bo_privs)) > max_priv_data_size) in criu_restore_bos()
2455 bo_privs = kvmalloc_array(args->num_bos, sizeof(*bo_privs), GFP_KERNEL); in criu_restore_bos()
[all …]