Lines Matching refs:process_priv
1753 struct kfd_criu_process_priv_data process_priv; in criu_checkpoint_process() local
1756 memset(&process_priv, 0, sizeof(process_priv)); in criu_checkpoint_process()
1758 process_priv.version = KFD_CRIU_PRIV_VERSION; in criu_checkpoint_process()
1763 process_priv.xnack_mode = p->xnack_enabled ? 1 : 0; in criu_checkpoint_process()
1766 &process_priv, sizeof(process_priv)); in criu_checkpoint_process()
1773 *priv_offset += sizeof(process_priv); in criu_checkpoint_process()
2142 struct kfd_criu_process_priv_data process_priv; in criu_restore_process() local
2144 if (*priv_offset + sizeof(process_priv) > max_priv_data_size) in criu_restore_process()
2147 ret = copy_from_user(&process_priv, in criu_restore_process()
2149 sizeof(process_priv)); in criu_restore_process()
2155 *priv_offset += sizeof(process_priv); in criu_restore_process()
2157 if (process_priv.version != KFD_CRIU_PRIV_VERSION) { in criu_restore_process()
2159 process_priv.version, KFD_CRIU_PRIV_VERSION); in criu_restore_process()
2164 if (process_priv.xnack_mode && !kfd_process_xnack_mode(p, true)) { in criu_restore_process()
2169 pr_debug("set xnack mode: %d\n", process_priv.xnack_mode); in criu_restore_process()
2170 p->xnack_enabled = process_priv.xnack_mode; in criu_restore_process()