Lines Matching defs:tgid
2121 * '/proc/<tgid>/task'. Other entries(eg. fd, stat) under '/proc/<tgid>'
2122 * can be released by invalidating '/proc/<tgid>' dentry.
2123 * In theory, dentries under '/proc/<tgid>/task' can also be released by
2124 * invalidating '/proc/<tgid>' dentry, we reserve it to handle single
2126 * '/proc/<tgid>/task/<pid>' dentry before released.
2855 * new entries into /proc/<tgid>/ without very good reasons.
3610 unsigned tgid;
3615 tgid = name_to_int(&dentry->d_name);
3616 if (tgid == ~0U)
3622 task = find_task_by_pid_ns(tgid, ns);
3643 * Find the first task with tgid >= tgid
3647 unsigned int tgid;
3659 pid = find_ge_pid(iter.tgid, ns);
3661 iter.tgid = pid_nr_ns(pid, ns);
3664 iter.tgid += 1;
3698 iter.tgid = pos - TGID_OFFSET;
3702 iter.tgid += 1, iter = next_tgid(ns, iter)) {
3710 len = snprintf(name, sizeof(name), "%u", iter.tgid);
3711 ctx->pos = iter.tgid + TGID_OFFSET;
4044 /* f_version caches the tgid value that the last readdir call couldn't
4059 /* returning this tgid failed, save it as the first