Searched refs:oldns (Results 1 - 3 of 3) sorted by relevance

/linux-master/tools/perf/util/
H A Dnamespaces.c100 char oldns[PATH_MAX]; local
107 if (snprintf(oldns, PATH_MAX, "/proc/self/ns/mnt") >= PATH_MAX)
113 if (stat(oldns, &old_stat) < 0)
278 int oldns = -1; local
285 nc->oldns = -1;
298 oldns = open(curpath, O_RDONLY);
299 if (oldns < 0)
310 nc->oldns = oldns;
316 if (oldns >
[all...]
H A Dnamespaces.h44 int oldns; member in struct:nscookie
/linux-master/fs/nfs/
H A Dsuper.c1200 const struct user_namespace *oldns = &init_user_ns; local
1204 oldns = old->client->cl_cred->user_ns;
1207 if (oldns != newns)

Completed in 151 milliseconds