/Linux-v5.4/tools/testing/selftests/ia64/ |
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 …]
|
/Linux-v5.4/tools/perf/util/ |
D | path.c | 62 int path__join(char *bf, size_t size, const char *path1, const char *path2) in path__join() argument 64 return scnprintf(bf, size, "%s%s%s", path1, path1[0] ? "/" : "", path2); in path__join() 67 int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3) in path__join3() argument 70 path2, path2[0] ? "/" : "", path3); in path__join3()
|
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);
|
/Linux-v5.4/include/linux/ |
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()
|
/Linux-v5.4/security/tomoyo/ |
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() 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() 938 r.param.path2.operation = operation; in tomoyo_path2_perm() [all …]
|
D | tomoyo.c | 262 struct path path2 = { .mnt = new_dir->mnt, .dentry = new_dentry }; in tomoyo_path_link() local 264 return tomoyo_path2_perm(TOMOYO_TYPE_LINK, &path1, &path2); in tomoyo_path_link() 283 struct path path2 = { .mnt = new_parent->mnt, .dentry = new_dentry }; in tomoyo_path_rename() local 285 return tomoyo_path2_perm(TOMOYO_TYPE_RENAME, &path1, &path2); in tomoyo_path_rename()
|
D | common.h | 446 } path2; member 593 struct path path2; member 989 const struct path *path2);
|
D | mount.c | 104 obj.path2 = *dir; in tomoyo_mount_acl()
|
D | condition.c | 728 dentry = obj->path2.dentry; in tomoyo_get_attributes()
|
/Linux-v5.4/kernel/ |
D | audit_tree.c | 876 struct path path1, path2; in audit_tag_tree() local 880 err = kern_path(new, 0, &path2); in audit_tag_tree() 883 tagged = collect_mounts(&path2); in audit_tag_tree() 884 path_put(&path2); in audit_tag_tree() 908 err = kern_path(tree->pathname, 0, &path2); in audit_tag_tree() 910 good_one = path_is_under(&path1, &path2); in audit_tag_tree() 911 path_put(&path2); in audit_tag_tree()
|
/Linux-v5.4/fs/btrfs/ |
D | free-space-tree.c | 1049 struct btrfs_path *path, *path2; in populate_free_space_tree() local 1059 path2 = btrfs_alloc_path(); in populate_free_space_tree() 1060 if (!path2) { in populate_free_space_tree() 1065 ret = add_new_free_space_info(trans, block_group, path2); in populate_free_space_tree() 1100 path2, start, in populate_free_space_tree() 1123 ret = __add_to_free_space_tree(trans, block_group, path2, in populate_free_space_tree() 1133 btrfs_free_path(path2); in populate_free_space_tree()
|
D | relocation.c | 656 struct btrfs_path *path2; /* For searching parent of TREE_BLOCK_REF */ in build_backref_tree() local 677 path2 = btrfs_alloc_path(); in build_backref_tree() 678 if (!path1 || !path2) { in build_backref_tree() 683 path2->reada = READA_FORWARD; in build_backref_tree() 880 path2->search_commit_root = 1; in build_backref_tree() 881 path2->skip_locking = 1; in build_backref_tree() 882 path2->lowest_level = level; in build_backref_tree() 883 ret = btrfs_search_slot(NULL, root, node_key, path2, 0, 0); in build_backref_tree() 884 path2->lowest_level = 0; in build_backref_tree() 889 if (ret > 0 && path2->slots[level] > 0) in build_backref_tree() [all …]
|
/Linux-v5.4/Documentation/sphinx/ |
D | kfigure.py | 107 def isNewer(path1, path2): argument 114 and os.stat(path1).st_ctime > os.stat(path2).st_ctime)
|
/Linux-v5.4/fs/ext4/ |
D | extents.c | 5782 struct ext4_ext_path *path2 = NULL; in ext4_swap_extents() local 5811 path2 = ext4_find_extent(inode2, lblk2, NULL, EXT4_EX_NOCACHE); in ext4_swap_extents() 5812 if (IS_ERR(path2)) { in ext4_swap_extents() 5813 *erp = PTR_ERR(path2); in ext4_swap_extents() 5814 path2 = NULL; in ext4_swap_extents() 5818 ex2 = path2[path2->p_depth].p_ext; in ext4_swap_extents() 5835 next2 = ext4_ext_next_allocated_block(path2); in ext4_swap_extents() 5867 &path2, lblk2, 0); in ext4_swap_extents() 5893 &path2, lblk2 + len, 0); in ext4_swap_extents() 5906 *erp = ext4_ext_get_access(handle, inode2, path2 + path2->p_depth); in ext4_swap_extents() [all …]
|
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | phy.c | 1028 u8 path1, path2; in rtl92s_phy_bb_config() local 1040 path2 = (u8)(rtl92s_phy_query_bb_reg(hw, ROFDM0_TRXPATHENABLE, 0xf)); in rtl92s_phy_bb_config() 1041 pathmap = path1 | path2; in rtl92s_phy_bb_config() 1056 path1, path2, pathmap); in rtl92s_phy_bb_config()
|
/Linux-v5.4/fs/ceph/ |
D | mds_client.c | 2289 const char *path2 = NULL; in create_request_message() local 2312 &path2, &pathlen2, &ino2, &freepath2, true); in create_request_message() 2351 ceph_encode_filepath(&p, end, ino2, path2); in create_request_message() 2406 ceph_mdsc_free_path((char *)path2, pathlen2); in create_request_message()
|
/Linux-v5.4/fs/ |
D | namespace.c | 3581 bool path_is_under(const struct path *path1, const struct path *path2) in path_is_under() argument 3585 res = is_path_reachable(real_mount(path1->mnt), path1->dentry, path2); in path_is_under()
|