Searched refs:from_path (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/fs/ |
D | namespace.c | 3590 struct path from_path, to_path; in SYSCALL_DEFINE5() local 3609 ret = user_path_at(from_dfd, from_pathname, lflags, &from_path); in SYSCALL_DEFINE5() 3622 ret = security_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5() 3626 ret = do_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5() 3631 path_put(&from_path); in SYSCALL_DEFINE5()
|
/Linux-v5.10/include/linux/ |
D | security.h | 311 int security_move_mount(const struct path *from_path, const struct path *to_path); 693 static inline int security_move_mount(const struct path *from_path, in security_move_mount() argument
|
D | lsm_hook_defs.h | 81 LSM_HOOK(int, 0, move_mount, const struct path *from_path,
|
D | syscalls.h | 999 asmlinkage long sys_move_mount(int from_dfd, const char __user *from_path,
|
/Linux-v5.10/fs/btrfs/ |
D | send.c | 3218 struct fs_path *from_path = NULL; in apply_dir_move() local 3231 from_path = fs_path_alloc(); in apply_dir_move() 3232 if (!name || !from_path) { in apply_dir_move() 3245 pm->gen, from_path); in apply_dir_move() 3252 from_path); in apply_dir_move() 3255 ret = fs_path_add_path(from_path, name); in apply_dir_move() 3286 ret = send_rename(sctx, from_path, to_path); in apply_dir_move() 3349 fs_path_free(from_path); in apply_dir_move()
|
/Linux-v5.10/fs/cifs/ |
D | inode.c | 2000 const char *from_path, struct dentry *to_dentry, argument 2021 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb); 2045 oparms.path = from_path;
|
/Linux-v5.10/security/ |
D | security.c | 959 int security_move_mount(const struct path *from_path, const struct path *to_path) in security_move_mount() argument 961 return call_int_hook(move_mount, 0, from_path, to_path); in security_move_mount()
|
/Linux-v5.10/security/selinux/ |
D | hooks.c | 2739 static int selinux_move_mount(const struct path *from_path, in selinux_move_mount() argument
|