Home
last modified time | relevance | path

Searched refs:path1 (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-inotify/
H A Dnew-test-inotify.patch143 - i.add_watch(path1)
144 + wd = i.add_watch(path1)
155 path1,
162 path1,
169 path1,
176 path1,
212 path1 = TestInotify._make_temp_path(path, 'aa')
215 i = inotify.adapters.Inotify([path1, path2])
218 TestInotify._open_write_close(path1, 'seen_new_file')
221 + wd_path1 = get_wd(i, path1)
[all …]
/openbmc/linux/tools/perf/util/
H A Dpath.c37 int path__join(char *bf, size_t size, const char *path1, const char *path2) in path__join() argument
39 return scnprintf(bf, size, "%s%s%s", path1, path1[0] ? "/" : "", path2); in path__join()
42 int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3) in path__join3() argument
44 return scnprintf(bf, size, "%s%s%s%s%s", path1, path1[0] ? "/" : "", in path__join3()
H A Dpath.h10 int path__join(char *bf, size_t size, const char *path1, const char *path2);
11 int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3);
/openbmc/phosphor-power/test/
H A Dtemporary_subdirectory_tests.cpp75 fs::path path1 = subdirectory1.getPath(); in TEST() local
86 EXPECT_NE(path1, path2); in TEST()
96 EXPECT_EQ(subdirectory2.getPath(), path1); in TEST()
97 EXPECT_TRUE(fs::exists(path1)); in TEST()
129 fs::path path1 = subdirectory1.getPath(); in TEST() local
140 EXPECT_NE(path1, path2); in TEST()
160 EXPECT_EQ(subdirectory1.getPath(), path1); in TEST()
161 EXPECT_TRUE(fs::exists(path1)); in TEST()
H A Dtemporary_file_tests.cpp115 fs::path path1 = file1.getPath(); in TEST() local
126 EXPECT_NE(path1, path2); in TEST()
135 EXPECT_EQ(file2.getPath(), path1); in TEST()
136 EXPECT_TRUE(fs::exists(path1)); in TEST()
168 fs::path path1 = file1.getPath(); in TEST() local
179 EXPECT_NE(path1, path2); in TEST()
196 EXPECT_EQ(file1.getPath(), path1); in TEST()
197 EXPECT_TRUE(fs::exists(path1)); in TEST()
/openbmc/phosphor-logging/test/openpower-pels/
H A Dtemporary_file_test.cpp159 fs::path path1 = tmpFile->getPath(); in TEST_F() local
169 EXPECT_NE(path1, path2); in TEST_F()
178 EXPECT_EQ(tmpFileNoData->getPath(), path1); in TEST_F()
179 EXPECT_TRUE(fs::exists(path1)); in TEST_F()
211 fs::path path1 = tmpFile->getPath(); in TEST_F() local
221 EXPECT_NE(path1, path2); in TEST_F()
238 EXPECT_EQ(tmpFile->getPath(), path1); in TEST_F()
239 EXPECT_TRUE(fs::exists(path1)); in TEST_F()
/openbmc/linux/include/linux/
H A Dpath.h16 static inline int path_equal(const struct path *path1, const struct path *path2) in path_equal() argument
18 return path1->mnt == path2->mnt && path1->dentry == path2->dentry; in path_equal()
/openbmc/qemu/tests/qtest/
H A Dnetdev-socket.c424 gchar *path0, *path1; in test_dgram_unix() local
427 path1 = g_strconcat(tmpdir, "/dgram_unix1", NULL); in test_dgram_unix()
432 path0, path1); in test_dgram_unix()
435 path0, path1); in test_dgram_unix()
442 path1, path0); in test_dgram_unix()
446 path1, path0); in test_dgram_unix()
452 unlink(path1); in test_dgram_unix()
453 g_free(path1); in test_dgram_unix()
/openbmc/phosphor-psu-code-mgmt/test/
H A Dtest_utils.cpp30 const char* path1 = "/com/example/chassis/powersupply1"; in TEST() local
54 *s = path1; in TEST()
64 EXPECT_EQ(path1, ret[1]); in TEST()
/openbmc/phosphor-objmgr/src/test/
H A Dhandler.cpp243 std::string path1 = "/test/object_path_0/child/grandchild"; in TEST_F() local
264 subtree = getSubTree(interfaceMap, path1, 0, interfaces); in TEST_F()
289 std::string path1 = "/test/object_path_0/child/grandchild"; in TEST_F() local
310 subtreePath = getSubTreePaths(interfaceMap, path1, 0, interfaces); in TEST_F()
344 sdbusplus::message::object_path path1("/test/object_path_0/child"); in TEST_F() local
376 path1 / "descendent", path1, 0, interfaces); in TEST_F()
415 sdbusplus::message::object_path path1("/test/object_path_0/child"); in TEST_F() local
437 path1 / "descendent", path1, 0, interfaces); in TEST_F()
/openbmc/openpower-hw-diags/test/
H A Dtest-util-data-file.cpp36 fs::path path1 = fullPathTempFile1; in TEST() local
44 it = find(dataPaths.begin(), dataPaths.end(), path1); in TEST()
/openbmc/linux/security/tomoyo/
H A Dfile.c713 .path1 = { .mnt = path->mnt, .dentry = path->dentry }, in tomoyo_path_number_perm()
761 .path1 = { .mnt = path->mnt, .dentry = path->dentry }, in tomoyo_check_open_permission()
807 .path1 = { .mnt = path->mnt, .dentry = path->dentry }, in tomoyo_path_perm()
864 .path1 = { .mnt = path->mnt, .dentry = path->dentry }, in tomoyo_mkdev_perm()
903 int tomoyo_path2_perm(const u8 operation, const struct path *path1, in tomoyo_path2_perm() argument
911 .path1 = { .mnt = path1->mnt, .dentry = path1->dentry }, in tomoyo_path2_perm()
922 if (!tomoyo_get_realpath(&buf1, path1) || in tomoyo_path2_perm()
928 if (!d_is_dir(path1->dentry)) in tomoyo_path2_perm()
H A Dtomoyo.c266 struct path path1 = { .mnt = new_dir->mnt, .dentry = old_dentry }; in tomoyo_path_link() local
269 return tomoyo_path2_perm(TOMOYO_TYPE_LINK, &path1, &path2); in tomoyo_path_link()
289 struct path path1 = { .mnt = old_parent->mnt, .dentry = old_dentry }; in tomoyo_path_rename() local
294 &path1); in tomoyo_path_rename()
299 return tomoyo_path2_perm(TOMOYO_TYPE_RENAME, &path1, &path2); in tomoyo_path_rename()
H A Dmount.c140 obj.path1 = path; in tomoyo_mount_acl()
175 if (obj.path1.dentry) in tomoyo_mount_acl()
176 path_put(&obj.path1); in tomoyo_mount_acl()
H A Dcommon.h591 struct path path1; member
987 int tomoyo_path2_perm(const u8 operation, const struct path *path1,
H A Ddomain.c724 ee->obj.path1 = bprm->file->f_path; in tomoyo_find_next_domain()
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_mdss.c54 struct icc_path *path1; in msm_mdss_parse_data_bus_icc_path() local
64 path1 = devm_of_icc_get(dev, "mdp1-mem"); in msm_mdss_parse_data_bus_icc_path()
65 if (!IS_ERR_OR_NULL(path1)) { in msm_mdss_parse_data_bus_icc_path()
66 msm_mdss->mdp_path[1] = path1; in msm_mdss_parse_data_bus_icc_path()
/openbmc/u-boot/Documentation/sphinx/
H A Dkfigure.py105 def isNewer(path1, path2): argument
111 return (path.exists(path1)
112 and os.stat(path1).st_ctime > os.stat(path2).st_ctime)
/openbmc/linux/Documentation/sphinx/
H A Dkfigure.py99 def isNewer(path1, path2): argument
105 return (path.exists(path1)
106 and os.stat(path1).st_ctime > os.stat(path2).st_ctime)
/openbmc/openpower-proc-control/
H A Dtargeting.cpp99 metadata::PATH(e.path1().c_str())); in Targeting()
/openbmc/linux/kernel/
H A Daudit_tree.c874 struct path path1, path2; in audit_tag_tree() local
886 err = kern_path(old, 0, &path1); in audit_tag_tree()
907 good_one = path_is_under(&path1, &path2); in audit_tag_tree()
957 path_put(&path1); in audit_tag_tree()
/openbmc/linux/fs/ext4/
H A Dextents.c5645 struct ext4_ext_path *path1 = NULL; in ext4_swap_extents() local
5663 path1 = ext4_find_extent(inode1, lblk1, NULL, EXT4_EX_NOCACHE); in ext4_swap_extents()
5664 if (IS_ERR(path1)) { in ext4_swap_extents()
5665 *erp = PTR_ERR(path1); in ext4_swap_extents()
5666 path1 = NULL; in ext4_swap_extents()
5677 ex1 = path1[path1->p_depth].p_ext; in ext4_swap_extents()
5694 next1 = ext4_ext_next_allocated_block(path1); in ext4_swap_extents()
5720 &path1, lblk1, 0); in ext4_swap_extents()
5746 &path1, lblk1 + len, 0); in ext4_swap_extents()
5763 *erp = ext4_ext_get_access(handle, inode1, path1 + path1->p_depth); in ext4_swap_extents()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_kms.c905 struct icc_path *path1 = msm_icc_get(&pdev->dev, "mdp1-mem"); in mdp5_setup_interconnect() local
924 if (!IS_ERR_OR_NULL(path1)) in mdp5_setup_interconnect()
925 icc_set_bw(path1, 0, MBps_to_icc(6400)); in mdp5_setup_interconnect()
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_kms.c391 struct icc_path *path1; in dpu_kms_parse_data_bus_icc_path() local
396 path1 = msm_icc_get(dpu_dev, "mdp1-mem"); in dpu_kms_parse_data_bus_icc_path()
404 if (!IS_ERR_OR_NULL(path1)) { in dpu_kms_parse_data_bus_icc_path()
405 dpu_kms->path[1] = path1; in dpu_kms_parse_data_bus_icc_path()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dphy.c1012 u8 path1, path2; in rtl92s_phy_bb_config() local
1022 path1 = (u8)(rtl92s_phy_query_bb_reg(hw, RFPGA0_TXINFO, 0xf)); in rtl92s_phy_bb_config()
1025 pathmap = path1 | path2; in rtl92s_phy_bb_config()
1040 path1, path2, pathmap); in rtl92s_phy_bb_config()

12