Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/util/
Dnamespaces.c103 char *newns = NULL; in nsinfo__init() local
111 if (asprintf(&newns, "/proc/%d/ns/mnt", nsinfo__pid(nsi)) == -1) in nsinfo__init()
117 if (stat(newns, &new_stat) < 0) in nsinfo__init()
125 nsi->mntns_path = newns; in nsinfo__init()
126 newns = NULL; in nsinfo__init()
138 free(newns); in nsinfo__init()
250 int newns = -1; in nsinfo__mountns_enter() local
257 nc->newns = -1; in nsinfo__mountns_enter()
273 newns = open(nsi->mntns_path, O_RDONLY); in nsinfo__mountns_enter()
274 if (newns < 0) in nsinfo__mountns_enter()
[all …]
Dnamespaces.h44 int newns; member
/linux-6.1.9/fs/nfs/
Dsuper.c1184 const struct user_namespace *newns = &init_user_ns; in nfs_compare_userns() local
1189 newns = new->client->cl_cred->user_ns; in nfs_compare_userns()
1190 if (oldns != newns) in nfs_compare_userns()
/linux-6.1.9/ipc/
Dmqueue.c48 bool newns; /* Set if newly created ipc namespace */ member
433 if (ctx->newns) { in mqueue_get_tree()
479 ctx->newns = true; in mq_create_mount()