Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dnamespaces.c207 char *oldcwd = NULL; in nsinfo__mountns_enter() local
221 oldcwd = get_current_dir_name(); in nsinfo__mountns_enter()
222 if (!oldcwd) in nsinfo__mountns_enter()
236 nc->oldcwd = oldcwd; in nsinfo__mountns_enter()
242 free(oldcwd); in nsinfo__mountns_enter()
251 if (nc == NULL || nc->oldns == -1 || nc->newns == -1 || !nc->oldcwd) in nsinfo__mountns_exit()
256 if (nc->oldcwd) { in nsinfo__mountns_exit()
257 WARN_ON_ONCE(chdir(nc->oldcwd)); in nsinfo__mountns_exit()
258 zfree(&nc->oldcwd); in nsinfo__mountns_exit()
H A Dnamespaces.h43 char *oldcwd; member
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dpackage_tar.bbclass8 oldcwd = os.getcwd()
55 os.chdir(oldcwd)
H A Dpackage.bbclass1173 oldcwd = os.getcwd()
1386 os.chdir(oldcwd)
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/
H A Dbuild.py186 oldcwd = os.getcwd()
188 oldcwd = None
263 if oldcwd and curcwd != oldcwd:
266 os.chdir(oldcwd)