Lines Matching refs:res
559 int res = 0; in ax25_setsockopt() local
577 res = -EINVAL; in ax25_setsockopt()
582 res = -EINVAL; in ax25_setsockopt()
591 res = -EINVAL; in ax25_setsockopt()
600 res = -EINVAL; in ax25_setsockopt()
608 res = -EINVAL; in ax25_setsockopt()
616 res = -EINVAL; in ax25_setsockopt()
624 res = -EINVAL; in ax25_setsockopt()
632 res = -EINVAL; in ax25_setsockopt()
652 res = -EINVAL; in ax25_setsockopt()
665 res = -EFAULT; in ax25_setsockopt()
672 res = -EADDRNOTAVAIL; in ax25_setsockopt()
680 res = -ENODEV; in ax25_setsockopt()
687 res = -ENODEV; in ax25_setsockopt()
695 res = -ENOPROTOOPT; in ax25_setsockopt()
699 return res; in ax25_setsockopt()
802 int res = 0; in ax25_listen() local
810 res = -EOPNOTSUPP; in ax25_listen()
815 return res; in ax25_listen()
1756 int res = 0; in ax25_ioctl() local
1766 res = put_user(amount, (int __user *)argp); in ax25_ioctl()
1776 res = put_user(amount, (int __user *) argp); in ax25_ioctl()
1785 res = -EFAULT; in ax25_ioctl()
1788 res = ax25_uid_ioctl(cmd, &sax25); in ax25_ioctl()
1795 res = -EPERM; in ax25_ioctl()
1799 res = -EFAULT; in ax25_ioctl()
1803 res = -EINVAL; in ax25_ioctl()
1807 res = 0; in ax25_ioctl()
1815 res = -EPERM; in ax25_ioctl()
1818 res = ax25_rt_ioctl(cmd, argp); in ax25_ioctl()
1823 res = -EPERM; in ax25_ioctl()
1826 res = ax25_ctl_ioctl(cmd, argp); in ax25_ioctl()
1864 res = -EFAULT; in ax25_ioctl()
1869 res = -EINVAL; in ax25_ioctl()
1873 res = 0; in ax25_ioctl()
1881 res = -EPERM; in ax25_ioctl()
1885 res = -EFAULT; in ax25_ioctl()
1888 res = ax25_fwd_ioctl(cmd, &ax25_fwd); in ax25_ioctl()
1902 res = -EINVAL; in ax25_ioctl()
1906 res = -ENOIOCTLCMD; in ax25_ioctl()
1911 return res; in ax25_ioctl()