Searched refs:to_path (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_obj_pinning.c | 30 int to_dfd, const char *to_path, in sys_move_mount() argument 33 return syscall(__NR_move_mount, from_dfd, from_path, to_dfd, to_path, ms_flags); in sys_move_mount()
|
/Linux-v6.6/fs/ |
D | namespace.c | 2930 static int do_set_group(struct path *from_path, struct path *to_path) in do_set_group() argument 2936 to = real_mount(to_path->mnt); in do_set_group() 2958 if (!path_mounted(to_path)) in do_set_group() 4063 struct path from_path, to_path; in SYSCALL_DEFINE5() local 4095 ret = user_path_at(to_dfd, to_pathname, lflags, &to_path); in SYSCALL_DEFINE5() 4099 ret = security_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5() 4104 ret = do_set_group(&from_path, &to_path); in SYSCALL_DEFINE5() 4106 ret = do_move_mount(&from_path, &to_path, in SYSCALL_DEFINE5() 4110 path_put(&to_path); in SYSCALL_DEFINE5()
|
/Linux-v6.6/security/landlock/ |
D | fs.c | 1059 const struct path *const to_path) in hook_move_mount() argument
|
/Linux-v6.6/include/linux/ |
D | security.h | 322 int security_move_mount(const struct path *from_path, const struct path *to_path); 731 const struct path *to_path) in security_move_mount() argument
|
D | lsm_hook_defs.h | 83 const struct path *to_path)
|
D | syscalls.h | 916 int to_dfd, const char __user *to_path,
|
/Linux-v6.6/security/ |
D | security.c | 1460 const struct path *to_path) in security_move_mount() argument 1462 return call_int_hook(move_mount, 0, from_path, to_path); in security_move_mount()
|
/Linux-v6.6/fs/btrfs/ |
D | send.c | 3518 struct fs_path *to_path = NULL; in apply_dir_move() local 3582 to_path = name; in apply_dir_move() 3584 ret = get_cur_path(sctx, pm->ino, pm->gen, to_path); in apply_dir_move() 3588 ret = send_rename(sctx, from_path, to_path); in apply_dir_move() 3651 fs_path_free(to_path); in apply_dir_move()
|
/Linux-v6.6/fs/smb/client/ |
D | inode.c | 2145 const char *to_path) argument 2168 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb);
|
/Linux-v6.6/security/selinux/ |
D | hooks.c | 2760 const struct path *to_path) in selinux_move_mount() argument 2764 return path_has_perm(cred, to_path, FILE__MOUNTON); in selinux_move_mount()
|