Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Dnamespaces.c100 char oldns[PATH_MAX]; in nsinfo__init() local
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()
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()
334 if (nc->oldns > -1) { in nsinfo__mountns_exit()
335 close(nc->oldns); in nsinfo__mountns_exit()
[all …]
H A Dnamespaces.h44 int oldns; member
/openbmc/linux/fs/nfs/
H A Dsuper.c1197 const struct user_namespace *oldns = &init_user_ns; in nfs_compare_userns() local
1201 oldns = old->client->cl_cred->user_ns; in nfs_compare_userns()
1204 if (oldns != newns) in nfs_compare_userns()