Home
last modified time | relevance | path

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

/Linux-v5.15/tools/perf/util/
Dnamespaces.c65 char oldns[PATH_MAX]; in nsinfo__init() local
76 if (snprintf(oldns, PATH_MAX, "/proc/self/ns/mnt") >= PATH_MAX) in nsinfo__init()
82 if (stat(oldns, &old_stat) < 0) in nsinfo__init()
212 int oldns = -1; in nsinfo__mountns_enter() local
219 nc->oldns = -1; in nsinfo__mountns_enter()
232 oldns = open(curpath, O_RDONLY); in nsinfo__mountns_enter()
233 if (oldns < 0) in nsinfo__mountns_enter()
244 nc->oldns = oldns; in nsinfo__mountns_enter()
250 if (oldns > -1) in nsinfo__mountns_enter()
251 close(oldns); in nsinfo__mountns_enter()
[all …]
Dnamespaces.h43 int oldns; member
/Linux-v5.15/fs/nfs/
Dsuper.c1170 const struct user_namespace *oldns = &init_user_ns; in nfs_compare_userns() local
1174 oldns = old->client->cl_cred->user_ns; in nfs_compare_userns()
1177 if (oldns != newns) in nfs_compare_userns()