/linux-2.6.39/Documentation/ia64/ |
D | aliasing-test.c | 68 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-2.6.39/include/linux/ |
D | path.h | 15 static inline int path_equal(const struct path *path1, const struct path *path2) in path_equal() argument 17 return path1->mnt == path2->mnt && path1->dentry == path2->dentry; in path_equal()
|
/linux-2.6.39/security/tomoyo/ |
D | tomoyo.c | 162 struct path path2 = { new_dir->mnt, new_dentry }; in tomoyo_path_link() local 163 return tomoyo_path2_perm(TOMOYO_TYPE_LINK, &path1, &path2); in tomoyo_path_link() 172 struct path path2 = { new_parent->mnt, new_dentry }; in tomoyo_path_rename() local 173 return tomoyo_path2_perm(TOMOYO_TYPE_RENAME, &path1, &path2); in tomoyo_path_rename()
|
D | file.c | 197 const char *operation = tomoyo_path2_keyword[r->param.path2.operation]; in tomoyo_audit_path2_log() 198 const struct tomoyo_path_info *filename1 = r->param.path2.filename1; in tomoyo_audit_path2_log() 199 const struct tomoyo_path_info *filename2 = r->param.path2.filename2; in tomoyo_audit_path2_log() 541 return (acl->perm & (1 << r->param.path2.operation)) && in tomoyo_check_path2_acl() 542 tomoyo_compare_name_union(r->param.path2.filename1, &acl->name1) in tomoyo_check_path2_acl() 543 && tomoyo_compare_name_union(r->param.path2.filename2, in tomoyo_check_path2_acl() 1079 struct path *path2) in tomoyo_path2_perm() argument 1087 if (!path1->mnt || !path2->mnt || in tomoyo_path2_perm() 1095 !tomoyo_get_realpath(&buf2, path2)) in tomoyo_path2_perm() 1111 r.param.path2.operation = operation; in tomoyo_path2_perm() [all …]
|
D | common.h | 257 } path2; member 853 struct path *path2);
|
/linux-2.6.39/kernel/ |
D | audit_tree.c | 719 struct path path1, path2; in audit_tag_tree() local 723 err = kern_path(new, 0, &path2); in audit_tag_tree() 726 tagged = collect_mounts(&path2); in audit_tag_tree() 727 path_put(&path2); in audit_tag_tree() 751 err = kern_path(tree->pathname, 0, &path2); in audit_tag_tree() 753 good_one = path_is_under(&path1, &path2); in audit_tag_tree() 754 path_put(&path2); in audit_tag_tree()
|
/linux-2.6.39/fs/btrfs/ |
D | relocation.c | 654 struct btrfs_path *path2; local 674 path2 = btrfs_alloc_path(); 675 if (!path1 || !path2) { 875 path2->search_commit_root = 1; 876 path2->skip_locking = 1; 877 path2->lowest_level = level; 878 ret = btrfs_search_slot(NULL, root, node_key, path2, 0, 0); 879 path2->lowest_level = 0; 884 if (ret > 0 && path2->slots[level] > 0) 885 path2->slots[level]--; [all …]
|
/linux-2.6.39/fs/ |
D | dcache.c | 2867 int path_is_under(struct path *path1, struct path *path2) in path_is_under() argument 2874 if (mnt != path2->mnt) { in path_is_under() 2880 if (mnt->mnt_parent == path2->mnt) in path_is_under() 2886 res = is_subdir(dentry, path2->dentry); in path_is_under()
|
/linux-2.6.39/fs/ceph/ |
D | mds_client.c | 1590 const char *path2 = NULL; in create_request_message() local 1609 &path2, &pathlen2, &ino2, &freepath2); in create_request_message() 1646 ceph_encode_filepath(&p, end, ino2, path2); in create_request_message() 1680 kfree((char *)path2); in create_request_message()
|