Searched refs:from_path (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/fs/ |
D | namespace.c | 3521 struct path from_path, to_path; in SYSCALL_DEFINE5() local 3540 ret = user_path_at(from_dfd, from_pathname, lflags, &from_path); in SYSCALL_DEFINE5() 3553 ret = security_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5() 3557 ret = do_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5() 3562 path_put(&from_path); in SYSCALL_DEFINE5()
|
/Linux-v5.4/include/linux/ |
D | security.h | 304 int security_move_mount(const struct path *from_path, const struct path *to_path); 674 static inline int security_move_mount(const struct path *from_path, in security_move_mount() argument
|
D | lsm_hooks.h | 1517 int (*move_mount)(const struct path *from_path, const struct path *to_path);
|
D | syscalls.h | 992 asmlinkage long sys_move_mount(int from_dfd, const char __user *from_path,
|
/Linux-v5.4/fs/btrfs/ |
D | send.c | 3192 struct fs_path *from_path = NULL; in apply_dir_move() local 3205 from_path = fs_path_alloc(); in apply_dir_move() 3206 if (!name || !from_path) { in apply_dir_move() 3219 pm->gen, from_path); in apply_dir_move() 3226 from_path); in apply_dir_move() 3229 ret = fs_path_add_path(from_path, name); in apply_dir_move() 3260 ret = send_rename(sctx, from_path, to_path); in apply_dir_move() 3323 fs_path_free(from_path); in apply_dir_move()
|
/Linux-v5.4/fs/cifs/ |
D | inode.c | 1719 const char *from_path, struct dentry *to_dentry, argument 1740 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb); 1764 oparms.path = from_path;
|
/Linux-v5.4/security/ |
D | security.c | 902 int security_move_mount(const struct path *from_path, const struct path *to_path) in security_move_mount() argument 904 return call_int_hook(move_mount, 0, from_path, to_path); in security_move_mount()
|