Lines Matching refs:nnsi
164 struct nsinfo *nnsi; in nsinfo__copy() local
169 nnsi = calloc(1, sizeof(*nnsi)); in nsinfo__copy()
170 if (nnsi != NULL) { in nsinfo__copy()
171 nnsi->pid = nsi->pid; in nsinfo__copy()
172 nnsi->tgid = nsi->tgid; in nsinfo__copy()
173 nnsi->nstgid = nsi->nstgid; in nsinfo__copy()
174 nnsi->need_setns = nsi->need_setns; in nsinfo__copy()
175 nnsi->in_pidns = nsi->in_pidns; in nsinfo__copy()
177 nnsi->mntns_path = strdup(nsi->mntns_path); in nsinfo__copy()
178 if (!nnsi->mntns_path) { in nsinfo__copy()
179 free(nnsi); in nsinfo__copy()
183 refcount_set(&nnsi->refcnt, 1); in nsinfo__copy()
186 return nnsi; in nsinfo__copy()