Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/perf/util/
Dnamespaces.c65 char oldns[PATH_MAX]; in nsinfo__init() local
75 if (snprintf(oldns, PATH_MAX, "/proc/self/ns/mnt") >= PATH_MAX) in nsinfo__init()
81 if (stat(oldns, &old_stat) < 0) in nsinfo__init()
205 int oldns = -1; in nsinfo__mountns_enter() local
212 nc->oldns = -1; in nsinfo__mountns_enter()
225 oldns = open(curpath, O_RDONLY); in nsinfo__mountns_enter()
226 if (oldns < 0) in nsinfo__mountns_enter()
237 nc->oldns = oldns; in nsinfo__mountns_enter()
243 if (oldns > -1) in nsinfo__mountns_enter()
244 close(oldns); in nsinfo__mountns_enter()
[all …]
Dnamespaces.h41 int oldns; member
/kernel/linux/linux-5.10/fs/nfs/
Dsuper.c1161 const struct user_namespace *oldns = &init_user_ns; in nfs_compare_userns() local
1165 oldns = old->client->cl_cred->user_ns; in nfs_compare_userns()
1168 if (oldns != newns) in nfs_compare_userns()