Searched refs:pid_to_task (Results 1 – 1 of 1) sorted by relevance
185 struct task_desc **pid_to_task; member454 if (sched->pid_to_task == NULL) { in register_pid()457 BUG_ON((sched->pid_to_task = calloc(pid_max, sizeof(struct task_desc *))) == NULL); in register_pid()460 BUG_ON((sched->pid_to_task = realloc(sched->pid_to_task, (pid + 1) * in register_pid()463 sched->pid_to_task[pid_max++] = NULL; in register_pid()466 task = sched->pid_to_task[pid]; in register_pid()481 sched->pid_to_task[pid] = task; in register_pid()