Lines Matching refs:pid
490 vcpu->pid = NULL; in kvm_vcpu_init()
518 put_pid(rcu_dereference_protected(vcpu->pid, 1)); in kvm_vcpu_destroy()
3686 struct pid *pid; in kvm_vcpu_yield_to() local
3691 pid = rcu_dereference(target->pid); in kvm_vcpu_yield_to()
3692 if (pid) in kvm_vcpu_yield_to()
3693 task = get_pid_task(pid, PIDTYPE_PID); in kvm_vcpu_yield_to()
3916 *val = pid_nr(rcu_dereference(vcpu->pid)); in vcpu_get_pid()
4143 struct pid *oldpid; in kvm_vcpu_ioctl()
4147 oldpid = rcu_access_pointer(vcpu->pid); in kvm_vcpu_ioctl()
4150 struct pid *newpid; in kvm_vcpu_ioctl()
4157 rcu_assign_pointer(vcpu->pid, newpid); in kvm_vcpu_ioctl()