Lines Matching refs:process_priv
1735 struct kfd_criu_process_priv_data process_priv; in criu_checkpoint_process() local
1738 memset(&process_priv, 0, sizeof(process_priv)); in criu_checkpoint_process()
1740 process_priv.version = KFD_CRIU_PRIV_VERSION; in criu_checkpoint_process()
1745 process_priv.xnack_mode = p->xnack_enabled ? 1 : 0; in criu_checkpoint_process()
1748 &process_priv, sizeof(process_priv)); in criu_checkpoint_process()
1755 *priv_offset += sizeof(process_priv); in criu_checkpoint_process()
2143 struct kfd_criu_process_priv_data process_priv; in criu_restore_process() local
2145 if (*priv_offset + sizeof(process_priv) > max_priv_data_size) in criu_restore_process()
2148 ret = copy_from_user(&process_priv, in criu_restore_process()
2150 sizeof(process_priv)); in criu_restore_process()
2156 *priv_offset += sizeof(process_priv); in criu_restore_process()
2158 if (process_priv.version != KFD_CRIU_PRIV_VERSION) { in criu_restore_process()
2160 process_priv.version, KFD_CRIU_PRIV_VERSION); in criu_restore_process()
2165 if (process_priv.xnack_mode && !kfd_process_xnack_mode(p, true)) { in criu_restore_process()
2170 pr_debug("set xnack mode: %d\n", process_priv.xnack_mode); in criu_restore_process()
2171 p->xnack_enabled = process_priv.xnack_mode; in criu_restore_process()