Home
last modified time | relevance | path

Searched refs:path2 (Results 1 – 17 of 17) sorted by relevance

/Linux-v4.19/tools/testing/selftests/ia64/
Daliasing-test.c68 char *name, *path2; in scan_tree() local
86 path2 = malloc(strlen(path) + strlen(name) + 3); in scan_tree()
87 strcpy(path2, path); in scan_tree()
88 strcat(path2, "/"); in scan_tree()
89 strcat(path2, name); in scan_tree()
92 rc = map_mem(path2, offset, length, touch); in scan_tree()
94 …fprintf(stderr, "PASS: %s 0x%lx-0x%lx is %s\n", path2, offset, offset + length, touch ? "readable"… in scan_tree()
96 fprintf(stderr, "PASS: %s 0x%lx-0x%lx not mappable\n", path2, offset, offset + length); in scan_tree()
98 fprintf(stderr, "FAIL: %s 0x%lx-0x%lx not accessible\n", path2, offset, offset + length); in scan_tree()
102 r = lstat(path2, &buf); in scan_tree()
[all …]
/Linux-v4.19/tools/perf/util/
Dpath.c61 int path__join(char *bf, size_t size, const char *path1, const char *path2) in path__join() argument
63 return scnprintf(bf, size, "%s%s%s", path1, path1[0] ? "/" : "", path2); in path__join()
66 int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3) in path__join3() argument
69 path2, path2[0] ? "/" : "", path3); in path__join3()
Dpath.h7 int path__join(char *bf, size_t size, const char *path1, const char *path2);
8 int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3);
/Linux-v4.19/include/linux/
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()
/Linux-v4.19/security/tomoyo/
Dfile.c183 [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()
298 return (acl->perm & (1 << r->param.path2.operation)) && in tomoyo_check_path2_acl()
299 tomoyo_compare_name_union(r->param.path2.filename1, &acl->name1) in tomoyo_check_path2_acl()
300 && tomoyo_compare_name_union(r->param.path2.filename2, in tomoyo_check_path2_acl()
887 const struct path *path2) in tomoyo_path2_perm() argument
895 .path2 = { .mnt = path2->mnt, .dentry = path2->dentry } in tomoyo_path2_perm()
906 !tomoyo_get_realpath(&buf2, path2)) in tomoyo_path2_perm()
921 r.param.path2.operation = operation; in tomoyo_path2_perm()
[all …]
Dtomoyo.c273 struct path path2 = { .mnt = new_dir->mnt, .dentry = new_dentry }; in tomoyo_path_link() local
274 return tomoyo_path2_perm(TOMOYO_TYPE_LINK, &path1, &path2); in tomoyo_path_link()
293 struct path path2 = { .mnt = new_parent->mnt, .dentry = new_dentry }; in tomoyo_path_rename() local
294 return tomoyo_path2_perm(TOMOYO_TYPE_RENAME, &path1, &path2); in tomoyo_path_rename()
Dcommon.h443 } path2; member
590 struct path path2; member
979 const struct path *path2);
Dmount.c101 obj.path2 = *dir; in tomoyo_mount_acl()
Dcondition.c708 dentry = obj->path2.dentry; in tomoyo_get_attributes()
/Linux-v4.19/kernel/
Daudit_tree.c827 struct path path1, path2; in audit_tag_tree() local
831 err = kern_path(new, 0, &path2); in audit_tag_tree()
834 tagged = collect_mounts(&path2); in audit_tag_tree()
835 path_put(&path2); in audit_tag_tree()
859 err = kern_path(tree->pathname, 0, &path2); in audit_tag_tree()
861 good_one = path_is_under(&path1, &path2); in audit_tag_tree()
862 path_put(&path2); in audit_tag_tree()
/Linux-v4.19/fs/btrfs/
Dfree-space-tree.c1045 struct btrfs_path *path, *path2; in populate_free_space_tree() local
1055 path2 = btrfs_alloc_path(); in populate_free_space_tree()
1056 if (!path2) { in populate_free_space_tree()
1061 ret = add_new_free_space_info(trans, block_group, path2); in populate_free_space_tree()
1096 path2, start, in populate_free_space_tree()
1119 ret = __add_to_free_space_tree(trans, block_group, path2, in populate_free_space_tree()
1129 btrfs_free_path(path2); in populate_free_space_tree()
Drelocation.c652 struct btrfs_path *path2; in build_backref_tree() local
673 path2 = btrfs_alloc_path(); in build_backref_tree()
674 if (!path1 || !path2) { in build_backref_tree()
679 path2->reada = READA_FORWARD; in build_backref_tree()
870 path2->search_commit_root = 1; in build_backref_tree()
871 path2->skip_locking = 1; in build_backref_tree()
872 path2->lowest_level = level; in build_backref_tree()
873 ret = btrfs_search_slot(NULL, root, node_key, path2, 0, 0); in build_backref_tree()
874 path2->lowest_level = 0; in build_backref_tree()
879 if (ret > 0 && path2->slots[level] > 0) in build_backref_tree()
[all …]
/Linux-v4.19/fs/ext4/
Dextents.c5792 struct ext4_ext_path *path2 = NULL; in ext4_swap_extents() local
5821 path2 = ext4_find_extent(inode2, lblk2, NULL, EXT4_EX_NOCACHE); in ext4_swap_extents()
5822 if (IS_ERR(path2)) { in ext4_swap_extents()
5823 *erp = PTR_ERR(path2); in ext4_swap_extents()
5824 path2 = NULL; in ext4_swap_extents()
5828 ex2 = path2[path2->p_depth].p_ext; in ext4_swap_extents()
5845 next2 = ext4_ext_next_allocated_block(path2); in ext4_swap_extents()
5877 &path2, lblk2, 0); in ext4_swap_extents()
5903 &path2, lblk2 + len, 0); in ext4_swap_extents()
5916 *erp = ext4_ext_get_access(handle, inode2, path2 + path2->p_depth); in ext4_swap_extents()
[all …]
/Linux-v4.19/Documentation/sphinx/
Dkfigure.py105 def isNewer(path1, path2): argument
112 and os.stat(path1).st_ctime > os.stat(path2).st_ctime)
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dphy.c1050 u8 path1, path2; in rtl92s_phy_bb_config() local
1062 path2 = (u8)(rtl92s_phy_query_bb_reg(hw, ROFDM0_TRXPATHENABLE, 0xf)); in rtl92s_phy_bb_config()
1063 pathmap = path1 | path2; in rtl92s_phy_bb_config()
1078 path1, path2, pathmap); in rtl92s_phy_bb_config()
/Linux-v4.19/fs/ceph/
Dmds_client.c2035 const char *path2 = NULL; in create_request_message() local
2055 &path2, &pathlen2, &ino2, &freepath2); in create_request_message()
2094 ceph_encode_filepath(&p, end, ino2, path2); in create_request_message()
2150 kfree((char *)path2); in create_request_message()
/Linux-v4.19/fs/
Dnamespace.c3035 bool path_is_under(const struct path *path1, const struct path *path2) in path_is_under() argument
3039 res = is_path_reachable(real_mount(path1->mnt), path1->dentry, path2); in path_is_under()