Lines Matching defs:error
425 * writable fd's, e.g. due to a fs error with errors=remount-ro
514 * On error, -EBUSY is returned.
2297 * Otherwise a negative error code is returned.
2693 int error;
2720 error = user_path_at(dfd, filename, lookup_flags, &path);
2721 if (unlikely(error)) {
2722 file = ERR_PTR(error);
3046 * Return: On success 0, and on error a negative error code is returned.
3264 int error;
3266 error = security_sb_kern_mount(sb);
3267 if (!error && mount_too_revealing(sb, &mnt_flags))
3268 error = -EPERM;
3270 if (unlikely(error)) {
3272 return error;
3288 error = do_add_mount(real_mount(mnt), mp, mountpoint, mnt_flags);
3290 if (error < 0)
3292 return error;
4183 int error;
4188 error = user_path_at(AT_FDCWD, new_root,
4190 if (error)
4193 error = user_path_at(AT_FDCWD, put_old,
4195 if (error)
4198 error = security_sb_pivotroot(&old, &new);
4199 if (error)
4204 error = PTR_ERR(old_mp);
4208 error = -EINVAL;
4222 error = -ENOENT;
4225 error = -EBUSY;
4228 error = -EINVAL;
4261 error = 0;
4264 if (!error)
4273 return error;
4748 printk(KERN_WARNING "%s: sysfs_init error: %d\n",
4752 printk(KERN_WARNING "%s: kobj create error\n", __func__);