Lines Matching defs:task_info
2473 * amdgpu_vm_put_task_info - reference down the vm task_info ptr
2475 * @task_info: task_info struct under discussion.
2477 * frees the vm task_info ptr at the last put
2479 void amdgpu_vm_put_task_info(struct amdgpu_task_info *task_info)
2481 if (task_info)
2482 kref_put(&task_info->refcount, amdgpu_vm_destroy_task_info);
2490 * Returns the reference counted task_info structure, which must be
2499 ti = vm->task_info;
2500 kref_get(&vm->task_info->refcount);
2512 * Returns the reference counted task_info structure, which must be
2524 vm->task_info = kzalloc_obj(struct amdgpu_task_info);
2525 if (!vm->task_info)
2528 kref_init(&vm->task_info->refcount);
2539 if (!vm->task_info)
2542 if (vm->task_info->task.pid == current->pid)
2545 vm->task_info->task.pid = current->pid;
2546 get_task_comm(vm->task_info->task.comm, current);
2548 vm->task_info->tgid = current->tgid;
2549 get_task_comm(vm->task_info->process_name, current->group_leader);
2818 struct amdgpu_task_info *ti = vm->task_info;
2825 amdgpu_vm_put_task_info(vm->task_info);
3178 struct amdgpu_task_info *task_info)
3182 task_info->process_name, task_info->tgid,
3183 task_info->task.comm, task_info->task.pid);