Home
last modified time | relevance | path

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

/Linux-v6.6/tools/perf/util/
Dnamespaces.c102 char *newns = NULL; in nsinfo__init() local
110 if (asprintf(&newns, "/proc/%d/ns/mnt", nsinfo__pid(nsi)) == -1) in nsinfo__init()
116 if (stat(newns, &new_stat) < 0) in nsinfo__init()
124 RC_CHK_ACCESS(nsi)->mntns_path = newns; in nsinfo__init()
125 newns = NULL; in nsinfo__init()
138 free(newns); in nsinfo__init()
279 int newns = -1; in nsinfo__mountns_enter() local
286 nc->newns = -1; in nsinfo__mountns_enter()
302 newns = open(nsinfo__mntns_path(nsi), O_RDONLY); in nsinfo__mountns_enter()
303 if (newns < 0) in nsinfo__mountns_enter()
[all …]
Dnamespaces.h45 int newns; member
/Linux-v6.6/fs/nfs/
Dsuper.c1188 const struct user_namespace *newns = &init_user_ns; in nfs_compare_userns() local
1193 newns = new->client->cl_cred->user_ns; in nfs_compare_userns()
1194 if (oldns != newns) in nfs_compare_userns()
/Linux-v6.6/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()