/openbmc/linux/tools/testing/selftests/ia64/ |
H A D | aliasing-test.c | 65 char *name, *path2; in scan_tree() local 83 path2 = malloc(strlen(path) + strlen(name) + 3); in scan_tree() 84 strcpy(path2, path); in scan_tree() 85 strcat(path2, "/"); in scan_tree() 86 strcat(path2, name); in scan_tree() 89 rc = map_mem(path2, offset, length, touch); in scan_tree() 91 …fprintf(stderr, "PASS: %s 0x%lx-0x%lx is %s\n", path2, offset, offset + length, touch ? "readable"… in scan_tree() 93 fprintf(stderr, "PASS: %s 0x%lx-0x%lx not mappable\n", path2, offset, offset + length); in scan_tree() 95 fprintf(stderr, "FAIL: %s 0x%lx-0x%lx not accessible\n", path2, offset, offset + length); in scan_tree() 99 r = lstat(path2, &buf); in scan_tree() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-inotify/ |
H A D | new-test-inotify.patch | 140 os.mkdir(path2) 213 path2 = TestInotify._make_temp_path(path, 'bb') 215 i = inotify.adapters.Inotify([path1, path2]) 219 TestInotify._open_write_close(path2, 'seen_new_file2') 222 + wd_path2 = get_wd(i, path2) 233 - TestInotify._event_create(wd=2, path=path2, filename='seen_new_file2'), 234 - TestInotify._event_open(wd=2, path=path2, filename='seen_new_file2'), 235 - TestInotify._event_close_write(wd=2, path=path2, filename='seen_new_file2'), 241 …s._INOTIFY_EVENT(wd=wd_path2, mask=256, cookie=0, len=16), ['IN_CREATE'], path2, u'seen_new_file2'… 242 …ters._INOTIFY_EVENT(wd=wd_path2, mask=32, cookie=0, len=16), ['IN_OPEN'], path2, u'seen_new_file2'… [all …]
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/kprobe/ |
H A D | kprobe_args_user.tc | 10 echo 'p:myevent do_sys_open path=+0($arg2):ustring path2=+u0($arg2):string' \ 12 echo 'p:myevent2 do_sys_openat2 path=+0($arg2):ustring path2=+u0($arg2):string' \ 16 grep -q 'path=+0($arg2):ustring path2=+u0($arg2):string' 23 grep myevent trace | grep -q 'path="/dev/null" path2="/dev/null"' 26 echo 'p:myevent vfs_symlink path=+0($arg3):ustring path2=+u0($arg3):string' \ 32 grep myevent trace | grep -q 'path=(fault) path2=(fault)'
|
/openbmc/phosphor-dbus-monitor/src/test/yaml/pathgentest/ |
H A D | grouptwo.yaml | 23 - meta: PATH2 25 - meta: PATH2 27 - meta: PATH2 29 - meta: PATH2
|
/openbmc/linux/tools/perf/util/ |
H A D | path.c | 37 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 45 path2, path2[0] ? "/" : "", path3); in path__join3()
|
H A D | path.h | 10 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 D | temporary_subdirectory_tests.cpp | 83 fs::path path2 = subdirectory2.getPath(); in TEST() local 86 EXPECT_NE(path1, path2); in TEST() 100 EXPECT_FALSE(fs::exists(path2)); in TEST() 146 fs::path path2 = subdirectory2.getPath(); in TEST() local 149 EXPECT_NE(path1, path2); in TEST() 152 fs::permissions(path2, fs::perms::none); in TEST() 166 fs::permissions(path2, fs::perms::owner_all); in TEST() 173 EXPECT_EQ(subdirectory2.getPath(), path2); in TEST() 174 EXPECT_TRUE(fs::exists(path2)); in TEST()
|
H A D | temporary_file_tests.cpp | 123 fs::path path2 = file2.getPath(); in TEST() local 126 EXPECT_NE(path1, path2); in TEST() 139 EXPECT_FALSE(fs::exists(path2)); in TEST() 185 fs::path path2 = file2.getPath(); in TEST() local 188 EXPECT_NE(path1, path2); in TEST() 191 makeFileUnRemovable(path2); in TEST() 209 EXPECT_EQ(file2.getPath(), path2); in TEST() 210 EXPECT_TRUE(fs::exists(path2)); in TEST() 213 makeFileRemovable(path2); in TEST()
|
/openbmc/linux/include/linux/ |
H A D | path.h | 16 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/phosphor-logging/test/openpower-pels/ |
H A D | temporary_file_test.cpp | 166 fs::path path2 = tmpFileNoData->getPath(); in TEST_F() local 169 EXPECT_NE(path1, path2); in TEST_F() 182 EXPECT_FALSE(fs::exists(path2)); in TEST_F() 218 fs::path path2 = tmpFileNoData->getPath(); in TEST_F() local 221 EXPECT_NE(path1, path2); in TEST_F() 224 makeFileUnRemovable(path2); in TEST_F() 242 EXPECT_EQ(tmpFileNoData->getPath(), path2); in TEST_F() 243 EXPECT_TRUE(fs::exists(path2)); in TEST_F() 246 makeFileRemovable(path2); in TEST_F()
|
/openbmc/linux/security/tomoyo/ |
H A D | file.c | 183 [tomoyo_pp2mac[r->param.path2.operation]], in tomoyo_audit_path2_log() 184 r->param.path2.filename1->name, in tomoyo_audit_path2_log() 185 r->param.path2.filename2->name); in tomoyo_audit_path2_log() 302 return (acl->perm & (1 << r->param.path2.operation)) && in tomoyo_check_path2_acl() 303 tomoyo_compare_name_union(r->param.path2.filename1, &acl->name1) in tomoyo_check_path2_acl() 304 && tomoyo_compare_name_union(r->param.path2.filename2, in tomoyo_check_path2_acl() 899 * @path2: Pointer to "struct path". 904 const struct path *path2) in tomoyo_path2_perm() argument 912 .path2 = { .mnt = path2->mnt, .dentry = path2->dentry } in tomoyo_path2_perm() 923 !tomoyo_get_realpath(&buf2, path2)) in tomoyo_path2_perm() [all …]
|
H A D | tomoyo.c | 267 struct path path2 = { .mnt = new_dir->mnt, .dentry = new_dentry }; in tomoyo_path_link() local 269 return tomoyo_path2_perm(TOMOYO_TYPE_LINK, &path1, &path2); in tomoyo_path_link() 290 struct path path2 = { .mnt = new_parent->mnt, .dentry = new_dentry }; in tomoyo_path_rename() local 293 const int err = tomoyo_path2_perm(TOMOYO_TYPE_RENAME, &path2, in tomoyo_path_rename() 299 return tomoyo_path2_perm(TOMOYO_TYPE_RENAME, &path1, &path2); in tomoyo_path_rename()
|
H A D | common.c | 117 [TOMOYO_PATH2_UID] = "path2.uid", 118 [TOMOYO_PATH2_GID] = "path2.gid", 119 [TOMOYO_PATH2_INO] = "path2.ino", 120 [TOMOYO_PATH2_MAJOR] = "path2.major", 121 [TOMOYO_PATH2_MINOR] = "path2.minor", 122 [TOMOYO_PATH2_PERM] = "path2.perm", 123 [TOMOYO_PATH2_TYPE] = "path2.type", 124 [TOMOYO_PATH2_DEV_MAJOR] = "path2.dev_major", 125 [TOMOYO_PATH2_DEV_MINOR] = "path2.dev_minor", 130 [TOMOYO_PATH2_PARENT_UID] = "path2.parent.uid", [all …]
|
H A D | common.h | 446 } path2; member 593 struct path path2; member 595 * Information on @path1, @path1's parent directory, @path2, @path2's 988 const struct path *path2);
|
/openbmc/openpower-hw-diags/test/ |
H A D | test-util-data-file.cpp | 35 // path1 and path2 will be used to test later. in TEST() 37 fs::path path2 = fullPathTempFile2; in TEST() local 46 it = find(dataPaths.begin(), dataPaths.end(), path2); in TEST()
|
/openbmc/sdbusplus/test/message/ |
H A D | types.cpp | 108 sdbusplus::message::object_path path2("/"); in TEST() local 109 path2 /= std::string("d-ef"); in TEST() 110 EXPECT_EQ(path2, sdbusplus::message::object_path("/_64_2def")); in TEST()
|
/openbmc/telemetry/tests/src/ |
H A D | test_sensor_cache.cpp | 59 IdParam("service1", "path2")}), 63 IdParam("service2", "path2")})));
|
/openbmc/linux/kernel/ |
H A D | audit_tree.c | 874 struct path path1, path2; in audit_tag_tree() local 878 err = kern_path(new, 0, &path2); in audit_tag_tree() 881 tagged = collect_mounts(&path2); in audit_tag_tree() 882 path_put(&path2); in audit_tag_tree() 905 err = kern_path(tree->pathname, 0, &path2); in audit_tag_tree() 907 good_one = path_is_under(&path1, &path2); in audit_tag_tree() 908 path_put(&path2); in audit_tag_tree()
|
/openbmc/u-boot/Documentation/sphinx/ |
H A D | kfigure.py | 105 def isNewer(path1, path2): argument 106 """Returns True if ``path1`` is newer than ``path2`` 108 If ``path1`` exists and is newer than ``path2`` the function returns 112 and os.stat(path1).st_ctime > os.stat(path2).st_ctime)
|
/openbmc/linux/Documentation/sphinx/ |
H A D | kfigure.py | 99 def isNewer(path1, path2): argument 100 """Returns True if ``path1`` is newer than ``path2`` 102 If ``path1`` exists and is newer than ``path2`` the function returns 106 and os.stat(path1).st_ctime > os.stat(path2).st_ctime)
|
/openbmc/linux/fs/btrfs/ |
H A D | free-space-tree.c | 1070 struct btrfs_path *path, *path2; in populate_free_space_tree() local 1080 path2 = btrfs_alloc_path(); in populate_free_space_tree() 1081 if (!path2) { in populate_free_space_tree() 1086 ret = add_new_free_space_info(trans, block_group, path2); in populate_free_space_tree() 1122 path2, start, in populate_free_space_tree() 1145 ret = __add_to_free_space_tree(trans, block_group, path2, in populate_free_space_tree() 1155 btrfs_free_path(path2); in populate_free_space_tree()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/systemd/systemd-systemctl/ |
H A D | systemctl | 33 for path2 in sorted((root / location / "system" / dirname).glob("*.conf")): 34 self._parse(root, path2)
|
/openbmc/linux/fs/ext4/ |
H A D | extents.c | 5637 struct ext4_ext_path *path2 = NULL; in ext4_swap_extents() local 5662 path2 = ext4_find_extent(inode2, lblk2, NULL, EXT4_EX_NOCACHE); in ext4_swap_extents() 5663 if (IS_ERR(path2)) { in ext4_swap_extents() 5664 *erp = PTR_ERR(path2); in ext4_swap_extents() 5665 path2 = NULL; in ext4_swap_extents() 5669 ex2 = path2[path2->p_depth].p_ext; in ext4_swap_extents() 5686 next2 = ext4_ext_next_allocated_block(path2); in ext4_swap_extents() 5718 &path2, lblk2, 0); in ext4_swap_extents() 5744 &path2, lblk2 + len, 0); in ext4_swap_extents() 5757 *erp = ext4_ext_get_access(handle, inode2, path2 + path2->p_depth); in ext4_swap_extents() [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd-systemctl/ |
H A D | systemctl | 41 for path2 in sorted(files): 42 self._parse(root, path2)
|
/openbmc/phosphor-dbus-monitor/src/test/ |
H A D | pathgentest.cpp | 17 "PATH2"s,
|