Home
last modified time | relevance | path

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

/linux-6.6.21/tools/perf/util/
Dnamespaces.c100 char oldns[PATH_MAX]; in nsinfo__init() local
107 if (snprintf(oldns, PATH_MAX, "/proc/self/ns/mnt") >= PATH_MAX) in nsinfo__init()
113 if (stat(oldns, &old_stat) < 0) in nsinfo__init()
278 int oldns = -1; in nsinfo__mountns_enter() local
285 nc->oldns = -1; in nsinfo__mountns_enter()
298 oldns = open(curpath, O_RDONLY); in nsinfo__mountns_enter()
299 if (oldns < 0) in nsinfo__mountns_enter()
310 nc->oldns = oldns; in nsinfo__mountns_enter()
316 if (oldns > -1) in nsinfo__mountns_enter()
317 close(oldns); in nsinfo__mountns_enter()
[all …]
Dnamespaces.h44 int oldns; member
/linux-6.6.21/fs/nfs/
Dsuper.c1187 const struct user_namespace *oldns = &init_user_ns; in nfs_compare_userns() local
1191 oldns = old->client->cl_cred->user_ns; in nfs_compare_userns()
1194 if (oldns != newns) in nfs_compare_userns()