Lines Matching refs:tid
2503 (notify & SIGEV_THREAD_ID) ? "tid" : "pid",
3560 * used for the node /proc/<pid>/task/<tid>/comm.
3583 /* This file (/proc/<pid>/task/<tid>/comm) can always be
3752 unsigned tid;
3760 tid = name_to_int(&dentry->d_name);
3761 if (tid == ~0U)
3767 task = find_task_by_pid_ns(tid, ns);
3786 * Find the first tid of a thread group to return to user space.
3797 static struct task_struct *first_tid(struct pid *pid, int tid, loff_t f_pos,
3811 /* Attempt to start with the tid of a thread */
3812 if (tid && nr) {
3813 pos = find_task_by_pid_ns(tid, ns);
3865 int tid;
3877 tid = (int)file->f_version;
3879 for (task = first_tid(proc_pid(inode), tid, ctx->pos - 2, ns);
3885 tid = task_pid_nr_ns(task, ns);
3886 if (!tid)
3888 len = snprintf(name, sizeof(name), "%u", tid);
3893 file->f_version = (u64)tid;