Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_process_queue_manager.c744 uint64_t *priv_data_offset) in kfd_criu_checkpoint_queues() argument
756 priv_data_offset); in kfd_criu_checkpoint_queues()
786 uint64_t *priv_data_offset, in kfd_criu_restore_queue() argument
797 if (*priv_data_offset + sizeof(*q_data) > max_priv_data_size) in kfd_criu_restore_queue()
804 ret = copy_from_user(q_data, user_priv_ptr + *priv_data_offset, sizeof(*q_data)); in kfd_criu_restore_queue()
810 *priv_data_offset += sizeof(*q_data); in kfd_criu_restore_queue()
813 if (*priv_data_offset + q_extra_data_size > max_priv_data_size) { in kfd_criu_restore_queue()
824 ret = copy_from_user(q_extra_data, user_priv_ptr + *priv_data_offset, q_extra_data_size); in kfd_criu_restore_queue()
830 *priv_data_offset += q_extra_data_size; in kfd_criu_restore_queue()
Dkfd_svm.h194 uint64_t *priv_data_offset,
252 uint64_t *priv_data_offset, in kfd_criu_restore_svm() argument
Dkfd_events.c447 uint64_t *priv_data_offset, in kfd_criu_restore_event() argument
464 if (*priv_data_offset + sizeof(*ev_priv) > max_priv_data_size) { in kfd_criu_restore_event()
469 ret = copy_from_user(ev_priv, user_priv_ptr + *priv_data_offset, sizeof(*ev_priv)); in kfd_criu_restore_event()
474 *priv_data_offset += sizeof(*ev_priv); in kfd_criu_restore_event()
524 uint64_t *priv_data_offset) in kfd_criu_checkpoint_events() argument
580 ret = copy_to_user(user_priv_data + *priv_data_offset, in kfd_criu_checkpoint_events()
587 *priv_data_offset += num_events * sizeof(*ev_privs); in kfd_criu_checkpoint_events()
Dkfd_priv.h1148 uint64_t *priv_data_offset);
1152 uint64_t *priv_data_offset,
1157 uint64_t *priv_data_offset);
1162 uint64_t *priv_data_offset,
Dkfd_svm.c3639 uint64_t *priv_data_offset, in kfd_criu_restore_svm() argument
3667 if (*priv_data_offset + svm_priv_data_size > max_priv_data_size) { in kfd_criu_restore_svm()
3672 ret = copy_from_user(&criu_svm_md->data, user_priv_ptr + *priv_data_offset, in kfd_criu_restore_svm()
3678 *priv_data_offset += svm_priv_data_size; in kfd_criu_restore_svm()
3751 uint64_t *priv_data_offset) in kfd_criu_checkpoint_svm() argument
3823 if (copy_to_user(user_priv_data + *priv_data_offset, svm_priv, in kfd_criu_checkpoint_svm()
3830 *priv_data_offset += svm_priv_data_size; in kfd_criu_checkpoint_svm()