Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Dnamespaces.c285 char *oldcwd = NULL; in nsinfo__mountns_enter() local
299 oldcwd = get_current_dir_name(); in nsinfo__mountns_enter()
300 if (!oldcwd) in nsinfo__mountns_enter()
314 nc->oldcwd = oldcwd; in nsinfo__mountns_enter()
320 free(oldcwd); in nsinfo__mountns_enter()
329 if (nc == NULL || nc->oldns == -1 || nc->newns == -1 || !nc->oldcwd) in nsinfo__mountns_exit()
334 if (nc->oldcwd) { in nsinfo__mountns_exit()
335 WARN_ON_ONCE(chdir(nc->oldcwd)); in nsinfo__mountns_exit()
336 zfree(&nc->oldcwd); in nsinfo__mountns_exit()
H A Dnamespaces.h46 char *oldcwd; member
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dbuild.py190 oldcwd = os.getcwd()
192 oldcwd = None
200 if cdir == oldcwd:
269 if oldcwd and curcwd != oldcwd:
272 os.chdir(oldcwd)
/openbmc/openbmc/poky/meta/lib/oe/
H A Dpackage.py1067 oldcwd = os.getcwd()
1318 os.chdir(oldcwd)