Searched refs:opath (Results 1 – 5 of 5) sorted by relevance
/openbmc/google-ipmi-sys/ |
H A D | handler.cpp | 141 std::ostringstream opath; in getRxPackets() local 142 opath << "/sys/class/net/" << name << "/statistics/rx_packets"; in getRxPackets() 143 std::string path = opath.str(); in getRxPackets() 181 std::ostringstream opath; in getCpldVersion() local 182 opath << "/run/cpld" << id << ".version"; in getCpldVersion() 186 if (!this->getFs()->exists(opath.str(), ec)) in getCpldVersion() 188 stdplus::print(stderr, "Path: '{}' doesn't exist.\n", opath.str()); in getCpldVersion() 199 ifs.open(opath.str()); in getCpldVersion() 787 std::string opath = std::format("/run/bm-instance/{}", propertyTypeString); in getBMInstanceProperty() local 792 if (!this->getFs()->exists(opath, ec)) in getBMInstanceProperty() [all …]
|
/openbmc/openpower-occ-control/ |
H A D | powercap.cpp | 42 std::filesystem::path opath = in save() 45 if (!std::filesystem::exists(opath.parent_path())) in save() 47 std::filesystem::create_directory(opath.parent_path()); in save() 52 std::ofstream stream{opath.c_str(), std::ios_base::binary}; in save() 60 "PATH", opath, "ERRNO", error, "ERR", e); in save()
|
H A D | powermode.cpp | 815 std::filesystem::path opath = in save() 818 if (!std::filesystem::exists(opath.parent_path())) in save() 820 std::filesystem::create_directory(opath.parent_path()); in save() 825 "FILE", opath); in save() 828 std::ofstream stream{opath.c_str()}; in save()
|
/openbmc/openbmc/poky/meta/classes-global/ |
H A D | buildstats.bbclass | 166 opath = d.getVar("BB_ORIGENV", False).getVar("PATH") 168 os.environ['PATH'] = path + ":" + opath + ":" + ospath
|
/openbmc/qemu/hw/9pfs/ |
H A D | 9p-local.c | 102 static void renameat_preserve_errno(int odirfd, const char *opath, int ndirfd, in renameat_preserve_errno() argument 106 qemu_renameat(odirfd, opath, ndirfd, npath); in renameat_preserve_errno()
|