Home
last modified time | relevance | path

Searched refs:kernel_type (Results 1 – 2 of 2) sorted by relevance

/fs/
Dcompat.c94 char *kernel_type; in COMPAT_SYSCALL_DEFINE5() local
99 kernel_type = copy_mount_string(type); in COMPAT_SYSCALL_DEFINE5()
100 retval = PTR_ERR(kernel_type); in COMPAT_SYSCALL_DEFINE5()
101 if (IS_ERR(kernel_type)) in COMPAT_SYSCALL_DEFINE5()
114 if (kernel_type && options) { in COMPAT_SYSCALL_DEFINE5()
115 if (!strcmp(kernel_type, NFS4_NAME)) { in COMPAT_SYSCALL_DEFINE5()
122 retval = do_mount(kernel_dev, dir_name, kernel_type, flags, options); in COMPAT_SYSCALL_DEFINE5()
129 kfree(kernel_type); in COMPAT_SYSCALL_DEFINE5()
Dnamespace.c3362 char *kernel_type; in ksys_mount() local
3366 kernel_type = copy_mount_string(type); in ksys_mount()
3367 ret = PTR_ERR(kernel_type); in ksys_mount()
3368 if (IS_ERR(kernel_type)) in ksys_mount()
3381 ret = do_mount(kernel_dev, dir_name, kernel_type, flags, options); in ksys_mount()
3387 kfree(kernel_type); in ksys_mount()