Searched refs:kernel_dev (Results 1 – 2 of 2) sorted by relevance
96 char *kernel_dev; in COMPAT_SYSCALL_DEFINE5() local104 kernel_dev = copy_mount_string(dev_name); in COMPAT_SYSCALL_DEFINE5()105 retval = PTR_ERR(kernel_dev); in COMPAT_SYSCALL_DEFINE5()106 if (IS_ERR(kernel_dev)) in COMPAT_SYSCALL_DEFINE5()122 retval = do_mount(kernel_dev, dir_name, kernel_type, flags, options); in COMPAT_SYSCALL_DEFINE5()127 kfree(kernel_dev); in COMPAT_SYSCALL_DEFINE5()
3363 char *kernel_dev; in ksys_mount() local3371 kernel_dev = copy_mount_string(dev_name); in ksys_mount()3372 ret = PTR_ERR(kernel_dev); in ksys_mount()3373 if (IS_ERR(kernel_dev)) in ksys_mount()3381 ret = do_mount(kernel_dev, dir_name, kernel_type, flags, options); in ksys_mount()3385 kfree(kernel_dev); in ksys_mount()