Home
last modified time | relevance | path

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

/Linux-v5.10/tools/perf/util/
Dnamespaces.c67 char *newns = NULL; in nsinfo__init() local
78 if (asprintf(&newns, "/proc/%d/ns/mnt", nsi->pid) == -1) in nsinfo__init()
84 if (stat(newns, &new_stat) < 0) in nsinfo__init()
92 nsi->mntns_path = newns; in nsinfo__init()
93 newns = NULL; in nsinfo__init()
126 free(newns); in nsinfo__init()
206 int newns = -1; in nsinfo__mountns_enter() local
213 nc->newns = -1; in nsinfo__mountns_enter()
229 newns = open(nsi->mntns_path, O_RDONLY); in nsinfo__mountns_enter()
230 if (newns < 0) in nsinfo__mountns_enter()
[all …]
Dnamespaces.h42 int newns; member
/Linux-v5.10/fs/nfs/
Dsuper.c1153 const struct user_namespace *newns = &init_user_ns; in nfs_compare_userns() local
1158 newns = new->client->cl_cred->user_ns; in nfs_compare_userns()
1159 if (oldns != newns) in nfs_compare_userns()