Home
last modified time | relevance | path

Searched refs:path1 (Results 1 – 12 of 12) sorted by relevance

/linux-3.4.99/include/linux/
Dpath.h15 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-3.4.99/security/tomoyo/
Dtomoyo.c278 struct path path1 = { new_dir->mnt, old_dentry }; in tomoyo_path_link() local
280 return tomoyo_path2_perm(TOMOYO_TYPE_LINK, &path1, &path2); in tomoyo_path_link()
298 struct path path1 = { old_parent->mnt, old_dentry }; in tomoyo_path_rename() local
300 return tomoyo_path2_perm(TOMOYO_TYPE_RENAME, &path1, &path2); in tomoyo_path_rename()
Dmount.c135 obj.path1 = path; in tomoyo_mount_acl()
170 if (obj.path1.dentry) in tomoyo_mount_acl()
171 path_put(&obj.path1); in tomoyo_mount_acl()
Dfile.c695 .path1 = *path, in tomoyo_path_number_perm()
743 .path1 = *path, in tomoyo_check_open_permission()
789 .path1 = *path, in tomoyo_path_perm()
846 .path1 = *path, in tomoyo_mkdev_perm()
885 int tomoyo_path2_perm(const u8 operation, struct path *path1, in tomoyo_path2_perm() argument
893 .path1 = *path1, in tomoyo_path2_perm()
904 if (!tomoyo_get_realpath(&buf1, path1) || in tomoyo_path2_perm()
911 dentry = path1->dentry; in tomoyo_path2_perm()
Dcommon.h587 struct path path1; member
978 int tomoyo_path2_perm(const u8 operation, struct path *path1,
Ddomain.c699 ee->obj.path1 = bprm->file->f_path; in tomoyo_find_next_domain()
Dcondition.c702 dentry = obj->path1.dentry; in tomoyo_get_attributes()
/linux-3.4.99/fs/btrfs/
Drelocation.c668 struct btrfs_path *path1; local
689 path1 = btrfs_alloc_path();
691 if (!path1 || !path2) {
695 path1->reada = 1;
715 path1->search_commit_root = 1;
716 path1->skip_locking = 1;
717 ret = btrfs_search_slot(NULL, rc->extent_root, &key, path1,
723 BUG_ON(!ret || !path1->slots[0]);
725 path1->slots[0]--;
750 eb = path1->nodes[0];
[all …]
/linux-3.4.99/kernel/
Daudit_tree.c712 struct path path1, path2; in audit_tag_tree() local
724 err = kern_path(old, 0, &path1); in audit_tag_tree()
746 good_one = path_is_under(&path1, &path2); in audit_tag_tree()
798 path_put(&path1); in audit_tag_tree()
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192se/
Dphy.c1145 u8 path1, path2; in rtl92s_phy_bb_config() local
1155 path1 = (u8)(rtl92s_phy_query_bb_reg(hw, RFPGA0_TXINFO, 0xf)); in rtl92s_phy_bb_config()
1158 pathmap = path1 | path2; in rtl92s_phy_bb_config()
1175 path1, path2, pathmap); in rtl92s_phy_bb_config()
/linux-3.4.99/fs/
Dnamespace.c2417 int path_is_under(struct path *path1, struct path *path2) in path_is_under() argument
2421 res = is_path_reachable(real_mount(path1->mnt), path1->dentry, path2); in path_is_under()
/linux-3.4.99/fs/ceph/
Dmds_client.c1621 const char *path1 = NULL; in create_request_message() local
1633 &path1, &pathlen1, &ino1, &freepath1); in create_request_message()
1677 ceph_encode_filepath(&p, end, ino1, path1); in create_request_message()
1715 kfree((char *)path1); in create_request_message()