Lines Matching refs:res
538 int res = 0; in ax25_setsockopt() local
556 res = -EINVAL; in ax25_setsockopt()
561 res = -EINVAL; in ax25_setsockopt()
570 res = -EINVAL; in ax25_setsockopt()
579 res = -EINVAL; in ax25_setsockopt()
587 res = -EINVAL; in ax25_setsockopt()
595 res = -EINVAL; in ax25_setsockopt()
603 res = -EINVAL; in ax25_setsockopt()
611 res = -EINVAL; in ax25_setsockopt()
631 res = -EINVAL; in ax25_setsockopt()
642 res = -EFAULT; in ax25_setsockopt()
649 res = -EADDRNOTAVAIL; in ax25_setsockopt()
657 res = -ENODEV; in ax25_setsockopt()
664 res = -ENODEV; in ax25_setsockopt()
672 res = -ENOPROTOOPT; in ax25_setsockopt()
676 return res; in ax25_setsockopt()
779 int res = 0; in ax25_listen() local
787 res = -EOPNOTSUPP; in ax25_listen()
792 return res; in ax25_listen()
1692 int res = 0; in ax25_ioctl() local
1702 res = put_user(amount, (int __user *)argp); in ax25_ioctl()
1712 res = put_user(amount, (int __user *) argp); in ax25_ioctl()
1721 res = -EFAULT; in ax25_ioctl()
1724 res = ax25_uid_ioctl(cmd, &sax25); in ax25_ioctl()
1731 res = -EPERM; in ax25_ioctl()
1735 res = -EFAULT; in ax25_ioctl()
1739 res = -EINVAL; in ax25_ioctl()
1743 res = 0; in ax25_ioctl()
1751 res = -EPERM; in ax25_ioctl()
1754 res = ax25_rt_ioctl(cmd, argp); in ax25_ioctl()
1759 res = -EPERM; in ax25_ioctl()
1762 res = ax25_ctl_ioctl(cmd, argp); in ax25_ioctl()
1800 res = -EFAULT; in ax25_ioctl()
1805 res = -EINVAL; in ax25_ioctl()
1809 res = 0; in ax25_ioctl()
1817 res = -EPERM; in ax25_ioctl()
1821 res = -EFAULT; in ax25_ioctl()
1824 res = ax25_fwd_ioctl(cmd, &ax25_fwd); in ax25_ioctl()
1838 res = -EINVAL; in ax25_ioctl()
1842 res = -ENOIOCTLCMD; in ax25_ioctl()
1847 return res; in ax25_ioctl()