Lines Matching defs:tgid
2112 * '/proc/<tgid>/task'. Other entries(eg. fd, stat) under '/proc/<tgid>'
2113 * can be released by invalidating '/proc/<tgid>' dentry.
2114 * In theory, dentries under '/proc/<tgid>/task' can also be released by
2115 * invalidating '/proc/<tgid>' dentry, we reserve it to handle single
2117 * '/proc/<tgid>/task/<pid>' dentry before released.
2851 * new entries into /proc/<tgid>/ without very good reasons.
3638 unsigned tgid;
3643 tgid = name_to_int(&dentry->d_name);
3644 if (tgid == ~0U)
3650 task = find_task_by_pid_ns(tgid, ns);
3671 * Find the first task with tgid >= tgid
3675 unsigned int tgid;
3687 pid = find_ge_pid(iter.tgid, ns);
3689 iter.tgid = pid_nr_ns(pid, ns);
3692 iter.tgid += 1;
3726 iter.tgid = pos - TGID_OFFSET;
3730 iter.tgid += 1, iter = next_tgid(ns, iter)) {
3738 len = snprintf(name, sizeof(name), "%u", iter.tgid);
3739 ctx->pos = iter.tgid + TGID_OFFSET;
4076 /* f_version caches the tgid value that the last readdir call couldn't
4094 /* returning this tgid failed, save it as the first