Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/fs/nfs/
Dsuper.c1162 const struct user_namespace *newns = &init_user_ns; in nfs_compare_userns() local
1167 newns = new->client->cl_cred->user_ns; in nfs_compare_userns()
1168 if (oldns != newns) in nfs_compare_userns()
/kernel/linux/linux-5.10/ipc/
Dmqueue.c48 bool newns; /* Set if newly created ipc namespace */ member
432 if (ctx->newns) { in mqueue_get_tree()
478 ctx->newns = true; in mq_create_mount()