/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | of_helpers.c | 21 char *parent_path = "/"; in pseries_of_derive_parent() local 32 parent_path = kstrndup(path, tail - path, GFP_KERNEL); in pseries_of_derive_parent() 33 if (!parent_path) in pseries_of_derive_parent() 36 parent = of_find_node_by_path(parent_path); in pseries_of_derive_parent() 37 if (strcmp(parent_path, "/")) in pseries_of_derive_parent() 38 kfree(parent_path); in pseries_of_derive_parent()
|
/openbmc/linux/fs/smb/server/ |
H A D | vfs.c | 70 struct path *parent_path, in ksmbd_vfs_path_lookup_locked() argument 91 parent_path, &last, &type, in ksmbd_vfs_path_lookup_locked() 99 path_put(parent_path); in ksmbd_vfs_path_lookup_locked() 104 err = mnt_want_write(parent_path->mnt); in ksmbd_vfs_path_lookup_locked() 106 path_put(parent_path); in ksmbd_vfs_path_lookup_locked() 111 inode_lock_nested(parent_path->dentry->d_inode, I_MUTEX_PARENT); in ksmbd_vfs_path_lookup_locked() 112 d = lookup_one_qstr_excl(&last, parent_path->dentry, 0); in ksmbd_vfs_path_lookup_locked() 122 path->mnt = mntget(parent_path->mnt); in ksmbd_vfs_path_lookup_locked() 136 inode_unlock(d_inode(parent_path->dentry)); in ksmbd_vfs_path_lookup_locked() 137 mnt_drop_write(parent_path->mnt); in ksmbd_vfs_path_lookup_locked() [all …]
|
H A D | vfs.h | 121 unsigned int flags, struct path *parent_path, 123 void ksmbd_vfs_kern_path_unlock(struct path *parent_path, struct path *path);
|
/openbmc/telemetry/src/ |
H A D | persistent_json_storage.cpp | 24 currentPath = currentPath.parent_path(); in isAnySymlink() 44 std::filesystem::create_directories(path.parent_path(), ec); in store() 61 limitPermissions(path.parent_path()); in store() 93 std::filesystem::remove(path.parent_path(), ec); in remove()
|
/openbmc/sdbusplus/test/message/ |
H A D | types.cpp | 66 EXPECT_EQ(sdbusplus::message::object_path("/abc/def").parent_path(), in TEST() 68 EXPECT_EQ(sdbusplus::message::object_path("/abc/").parent_path(), in TEST() 70 EXPECT_EQ(sdbusplus::message::object_path("/abc").parent_path(), in TEST() 72 EXPECT_EQ(sdbusplus::message::object_path("/").parent_path(), in TEST()
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | pel_utils.hpp | 23 std::filesystem::path{pelIDFile}.parent_path()); in TearDownTestCase() 42 std::filesystem::path{pelIDFile}.parent_path()); in TearDown()
|
H A D | log_id_test.cpp | 60 fs::remove_all(fs::path{backingFile}.parent_path()); in TEST() 98 fs::remove_all(fs::path{backingFile}.parent_path()); in TEST()
|
H A D | temporary_file_test.cpp | 105 fs::path parentDir = path.parent_path(); in TEST_F() 120 fs::path parentDir = path.parent_path(); in TEST_F() 351 EXPECT_EQ(tmpFile->getPath().parent_path(), "/tmp"); in TEST_F()
|
/openbmc/phosphor-inventory-manager/ |
H A D | serialize.hpp | 43 fs::create_directories(p.parent_path()); in serialize() 58 fs::create_directories(p.parent_path()); in serialize()
|
/openbmc/linux/kernel/ |
H A D | audit_watch.c | 404 struct path parent_path; in audit_add_watch() local 417 ret = audit_get_nd(watch, &parent_path); in audit_add_watch() 428 parent = audit_find_parent(d_backing_inode(parent_path.dentry)); in audit_add_watch() 430 parent = audit_init_parent(&parent_path); in audit_add_watch() 442 path_put(&parent_path); in audit_add_watch()
|
/openbmc/phosphor-fan-presence/sensor-monitor/ |
H A D | alarm_timestamps.hpp | 185 if (!std::filesystem::exists(path.parent_path())) in save() 187 std::filesystem::create_directory(path.parent_path()); in save()
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | dbcmds.c | 760 char *parent_path; in acpi_db_device_resources() local 765 parent_path = acpi_ns_get_normalized_pathname(node, TRUE); in acpi_db_device_resources() 766 if (!parent_path) { in acpi_db_device_resources() 785 acpi_os_printf("\nDevice: %s\n", parent_path); in acpi_db_device_resources() 961 ACPI_FREE(parent_path); in acpi_db_device_resources()
|
/openbmc/linux/tools/cgroup/ |
H A D | iocost_monitor.py | 72 def walk(self, blkcg, q_id, parent_path): argument 78 path = parent_path + '/' + name if parent_path else name
|
/openbmc/phosphor-user-manager/phosphor-ldap-config/ |
H A D | main.cpp | 18 std::filesystem::path(LDAP_CONFIG_FILE).parent_path(); in main()
|
H A D | ldap_mapper_serialize.cpp | 61 fs::create_directories(path.parent_path()); in serialize()
|
/openbmc/phosphor-power/test/ |
H A D | temporary_subdirectory_tests.cpp | 37 fs::path parentDir = path.parent_path(); in TEST() 282 EXPECT_EQ(subdirectory.getPath().parent_path(), "/tmp"); in TEST()
|
H A D | temporary_file_tests.cpp | 76 fs::path parentDir = path.parent_path(); in TEST() 313 EXPECT_EQ(file.getPath().parent_path(), "/tmp"); in TEST()
|
/openbmc/phosphor-debug-collector/ |
H A D | bmc_dump_entry.cpp | 21 std::filesystem::remove_all(file.parent_path()); in delete_()
|
/openbmc/phosphor-bmc-code-mgmt/bmc/ |
H A D | sync_manager.cpp | 50 fs::create_directories(dst.parent_path(), ec); in processEntry()
|
/openbmc/phosphor-led-manager/manager/ |
H A D | serialize.cpp | 45 auto dir = path.parent_path(); in storeGroups()
|
/openbmc/phosphor-state-manager/ |
H A D | scheduled_host_transition_main.cpp | 50 auto dir = fs::path(SCHEDULED_HOST_TRANSITION_PERSIST_PATH).parent_path(); in main()
|
H A D | host_state_manager_main.cpp | 74 auto dir = fs::path(HOST_STATE_PERSIST_PATH).parent_path(); in main()
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | log_id.cpp | 74 auto path = fs::path(idFilename).parent_path(); in generatePELID()
|
/openbmc/phosphor-certificate-manager/ |
H A D | csr.cpp | 50 csrFilePath = csrFilePath.parent_path() / defaultCSRFileName; in csr()
|
H A D | watch.cpp | 31 fs::path path = fs::path(certFile).parent_path(); in Watch()
|