Home
last modified time | relevance | path

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

/Linux-v6.1/tools/perf/util/
Dnamespaces.c101 char oldns[PATH_MAX]; in nsinfo__init() local
108 if (snprintf(oldns, PATH_MAX, "/proc/self/ns/mnt") >= PATH_MAX) in nsinfo__init()
114 if (stat(oldns, &old_stat) < 0) in nsinfo__init()
249 int oldns = -1; in nsinfo__mountns_enter() local
256 nc->oldns = -1; in nsinfo__mountns_enter()
269 oldns = open(curpath, O_RDONLY); in nsinfo__mountns_enter()
270 if (oldns < 0) in nsinfo__mountns_enter()
281 nc->oldns = oldns; in nsinfo__mountns_enter()
287 if (oldns > -1) in nsinfo__mountns_enter()
288 close(oldns); in nsinfo__mountns_enter()
[all …]
Dnamespaces.h43 int oldns; member
/Linux-v6.1/fs/nfs/
Dsuper.c1183 const struct user_namespace *oldns = &init_user_ns; in nfs_compare_userns() local
1187 oldns = old->client->cl_cred->user_ns; in nfs_compare_userns()
1190 if (oldns != newns) in nfs_compare_userns()