Lines Matching refs:pid
181 * a pair (one each for procs, tasks) for each pid namespace that's relevant
278 * The two pid files - task and cgroup.procs - guaranteed that the result
279 * is sorted, which forced this whole pidlist fiasco. As pid order is
342 int pid, n = 0; /* used for populating the array */
366 /* get tgid or pid for procs or tasks file respectively */
368 pid = task_tgid_vnr(tsk);
370 pid = task_pid_vnr(tsk);
372 if (pid > 0) { /* make sure to only use valid results */
373 array[n++] = pid;
400 * next pid to display; the seq_file iterator is a pointer to the pid
408 * one more than the last pid shown (or 0 on the first call or
410 * next pid to display, if any
417 int index = 0, pid = *pos;
444 if (pid) {
449 if (l->list[mid] == pid) {
452 } else if (l->list[mid] <= pid) {
463 /* Update the abstract position to be the actual pid that we found */
489 * Advance to the next pid in the array. If this goes off the
864 /* do not accept '\n' to prevent making /proc/<pid>/cgroup unparsable */
1128 pr_warn("option changes via remount are deprecated (pid=%d comm=%s)\n", task_tgid_nr(current), current->comm);