Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/ia64/
A Daliasing-test.c65 char *name, *path2; in scan_tree() local
84 strcpy(path2, path); in scan_tree()
85 strcat(path2, "/"); in scan_tree()
86 strcat(path2, name); in scan_tree()
108 free(path2); in scan_tree()
150 char *name, *path2; in scan_rom() local
169 strcpy(path2, path); in scan_rom()
170 strcat(path2, "/"); in scan_rom()
171 strcat(path2, name); in scan_rom()
174 rc = read_rom(path2); in scan_rom()
[all …]
/linux-6.3-rc2/tools/perf/util/
A Dpath.c62 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()
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);
/linux-6.3-rc2/include/linux/
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()
/linux-6.3-rc2/security/tomoyo/
A 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()
302 return (acl->perm & (1 << r->param.path2.operation)) && 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()
939 r.param.path2.filename1 = &buf1; in tomoyo_path2_perm()
[all …]
A Dtomoyo.c267 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()
A Dcommon.h446 } path2; member
593 struct path path2; member
988 const struct path *path2);
A Dmount.c104 obj.path2 = *dir; in tomoyo_mount_acl()
A Dcondition.c728 dentry = obj->path2.dentry; in tomoyo_get_attributes()
/linux-6.3-rc2/kernel/
A Daudit_tree.c874 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()
/linux-6.3-rc2/fs/ext4/
A Dextents.c5642 if (IS_ERR(path2)) { in ext4_swap_extents()
5643 *erp = PTR_ERR(path2); in ext4_swap_extents()
5644 path2 = NULL; in ext4_swap_extents()
5648 ex2 = path2[path2->p_depth].p_ext; in ext4_swap_extents()
5697 &path2, lblk2, 0); in ext4_swap_extents()
5736 *erp = ext4_ext_get_access(handle, inode2, path2 + path2->p_depth); in ext4_swap_extents()
5754 path2->p_depth); in ext4_swap_extents()
5775 path1 = path2 = NULL; in ext4_swap_extents()
6050 if (IS_ERR(path2)) { in ext4_ext_replay_set_iblocks()
6059 if (i <= path2->p_depth) in ext4_ext_replay_set_iblocks()
[all …]
/linux-6.3-rc2/fs/btrfs/
A Dfree-space-tree.c1069 struct btrfs_path *path, *path2; in populate_free_space_tree() local
1079 path2 = btrfs_alloc_path(); in populate_free_space_tree()
1080 if (!path2) { in populate_free_space_tree()
1085 ret = add_new_free_space_info(trans, block_group, path2); in populate_free_space_tree()
1121 path2, start, in populate_free_space_tree()
1144 ret = __add_to_free_space_tree(trans, block_group, path2, in populate_free_space_tree()
1154 btrfs_free_path(path2); in populate_free_space_tree()
/linux-6.3-rc2/Documentation/sphinx/
A Dkfigure.py99 def isNewer(path1, path2): argument
106 and os.stat(path1).st_ctime > os.stat(path2).st_ctime)
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
A Dphy.c1019 u8 path1, path2; in rtl92s_phy_bb_config() local
1031 path2 = (u8)(rtl92s_phy_query_bb_reg(hw, ROFDM0_TRXPATHENABLE, 0xf)); in rtl92s_phy_bb_config()
1032 pathmap = path1 | path2; in rtl92s_phy_bb_config()
1047 path1, path2, pathmap); in rtl92s_phy_bb_config()
/linux-6.3-rc2/fs/ceph/
A Dmds_client.c2554 const char *path2 = NULL; in create_request_message() local
2578 &path2, &pathlen2, &ino2, &freepath2, true); in create_request_message()
2636 ceph_encode_filepath(&p, end, ino2, path2); in create_request_message()
2692 ceph_mdsc_free_path((char *)path2, pathlen2); in create_request_message()
/linux-6.3-rc2/fs/
A Dnamespace.c3836 bool path_is_under(const struct path *path1, const struct path *path2) in path_is_under() argument
3840 res = is_path_reachable(real_mount(path1->mnt), path1->dentry, path2); in path_is_under()

Completed in 45 milliseconds