Lines Matching defs:task
18 #include <linux/sched/task.h>
460 struct task_struct *task;
466 task = get_pid_task(submit->pid, PIDTYPE_PID);
467 if (task) {
468 comm = kstrdup(task->comm, GFP_KERNEL);
469 cmd = kstrdup_quotable_cmdline(task, GFP_KERNEL);
470 put_task_struct(task);
474 DRM_DEV_ERROR(dev->dev, "%s: offending task: %s (%s)\n",
478 "offending task: %s (%s)", comm, cmd);
835 msm_gpu_create_private_address_space(struct msm_gpu *gpu, struct task_struct *task)
848 aspace->pid = get_pid(task_pid(task));