Lines Matching refs:tgid
63 static int nsinfo__get_nspid(pid_t *tgid, pid_t *nstgid, bool *in_pidns, const char *path)
75 /* Use tgid if CONFIG_PID_NS is not defined. */
77 *tgid = (pid_t)strtol(strrchr(statln, '\t'), NULL, 10);
78 *nstgid = *tgid;
85 * If innermost tgid is not the first, process is in a different
129 * attempt to work out the innermost tgid for the process.
134 rv = nsinfo__get_nspid(&RC_CHK_ACCESS(nsi)->tgid, &RC_CHK_ACCESS(nsi)->nstgid,
166 RC_CHK_ACCESS(nsi)->tgid = pid;
197 RC_CHK_ACCESS(nnsi)->tgid = nsinfo__tgid(nsi);
256 return RC_CHK_ACCESS(nsi)->tgid;
376 pid_t tgid = 0, nstgid = 0;
379 nsinfo__get_nspid(&tgid, &nstgid, &in_pidns, "/proc/self/status");