Home
last modified time | relevance | path

Searched refs:is_directory (Results 1 – 25 of 48) sorted by relevance

12

/openbmc/openpower-pnor-code-mgmt/ubi/
H A Dactivation_ubi.cpp64 if ((std::filesystem::is_directory(PNOR_PRSV)) && in activation()
65 (std::filesystem::is_directory(PNOR_RW_PREFIX + versionId)) && in activation()
66 (std::filesystem::is_directory(PNOR_RO_PREFIX + versionId))) in activation()
H A Ditem_updater_ubi.cpp159 if (!std::filesystem::is_directory(roDir)) in processPNORImage()
218 if (std::filesystem::is_directory(patchDir)) in reset()
230 if (std::filesystem::is_directory(rwDir)) in reset()
241 if (std::filesystem::is_directory(PNOR_PRSV)) in reset()
267 if (!std::filesystem::is_directory(activeRO)) in isVersionFunctional()
H A Dserialize.cpp22 if (!std::filesystem::is_directory(PERSIST_DIR)) in storeToFile()
33 if (std::filesystem::is_directory(PNOR_RW_PREFIX + versionId)) in storeToFile()
H A Dwatch.cpp34 if (!std::filesystem::is_directory(PNOR_ACTIVE_PATH)) in Watch()
/openbmc/phosphor-debug-collector/
H A Ddump_manager_bmc.cpp225 if (!std::filesystem::is_directory(i.first)) in watchCallback()
241 std::filesystem::is_directory(i.first)) in watchCallback()
275 if ((std::filesystem::is_directory(p.path())) && in restore()
310 if (!std::filesystem::is_directory(p)) in getDirectorySize()
H A Dwatch.cpp34 if (!std::filesystem::is_directory(path)) in Watch()
/openbmc/linux/tools/perf/util/
H A Dpath.h14 bool is_directory(const char *base_path, const struct dirent *dent);
H A Dpath.c59 bool is_directory(const char *base_path, const struct dirent *dent) in is_directory() function
/openbmc/phosphor-bmc-code-mgmt/
H A Dserialize.cpp30 if (!fs::is_directory(path, ec)) in storePriority()
51 if (!fs::is_directory(path, ec)) in storePurpose()
H A Dsync_manager.cpp41 if (fs::is_directory(entryPath, ec)) in processEntry()
H A Ddownload_manager.cpp66 if (!fs::is_directory(imgDirPath, ec)) in downloadViaTFTP()
H A Dwatch.cpp36 if (!fs::is_directory(imgDirPath, ec)) in Watch()
/openbmc/linux/fs/ufs/
H A Dialloc.c63 int is_directory; in ufs_free_inode() local
94 is_directory = S_ISDIR(inode->i_mode); in ufs_free_inode()
106 if (is_directory) { in ufs_free_inode()
/openbmc/hiomapd/vpnor/
H A Dbackend.cpp191 if (!(fs::is_directory(fs::status(paths->ro_loc)) && in vpnor_dev_init()
192 fs::is_directory(fs::status(paths->rw_loc)) && in vpnor_dev_init()
193 fs::is_directory(fs::status(paths->prsv_loc)))) in vpnor_dev_init()
/openbmc/estoraged/include/
H A DfilesystemInterface.hpp135 return std::filesystem::is_directory(std::filesystem::status(p)); in directoryExists()
/openbmc/pldm/fw-update/
H A Dwatch.cpp27 if (!fs::is_directory(imgDirPath)) in Watch()
/openbmc/bmcweb/include/ibm/
H A Dmanagement_console_rest.hpp83 if (!std::filesystem::is_directory(it, ec)) in handleFilePut()
227 if (std::filesystem::exists(loc) && std::filesystem::is_directory(loc)) in handleConfigFileList()
256 if (std::filesystem::exists(loc) && std::filesystem::is_directory(loc)) in deleteConfigFiles()
/openbmc/openpower-occ-control/
H A Di2c_occ.cpp50 if (fs::is_directory(path)) in getOccHwmonDevices()
/openbmc/openbmc/poky/meta/recipes-support/shared-mime-info/shared-mime-info/
H A D0002-Handle-build-with-older-versions-of-GCC.patch42 + return std::filesystem::is_directory(
/openbmc/phosphor-fan-presence/
H A Dhwmon_ffdc.cpp59 if (!path.is_directory()) in getHwmonNameFFDC()
/openbmc/witherspoon-pfault-analysis/
H A Dpmbus.cpp314 if (fs::is_directory(path)) in findHwmonDir()
321 (fs::is_directory(f.path()))) in findHwmonDir()
/openbmc/linux/fs/ext2/
H A Dialloc.c108 int is_directory; in ext2_free_inode() local
127 is_directory = S_ISDIR(inode->i_mode); in ext2_free_inode()
147 ext2_release_inode(sb, block_group, is_directory); in ext2_free_inode()
/openbmc/pldm/libpldmresponder/
H A Dplatform_config.cpp155 if (dirEntry.is_directory()) in getSysSpecificJsonDir()
/openbmc/phosphor-power/
H A Dpmbus.cpp373 if (fs::is_directory(path)) in findHwmonDir()
380 (fs::is_directory(f.path()))) in findHwmonDir()
/openbmc/linux/tools/perf/tests/
H A Dbuiltin-test-list.c178 } else if (is_directory(path, ent)) { /* Scan the subdir */ in append_scripts_in_dir()

12