• Home
  • Raw
  • Download

Lines Matching refs:error

304 	int error;  in pppol2tp_sendmsg()  local
310 error = -ENOTCONN; in pppol2tp_sendmsg()
312 goto error; in pppol2tp_sendmsg()
315 error = -EBADF; in pppol2tp_sendmsg()
318 goto error; in pppol2tp_sendmsg()
328 error = -ENOMEM; in pppol2tp_sendmsg()
349 error = memcpy_fromiovec(skb_put(skb, total_len), m->msg_iov, in pppol2tp_sendmsg()
351 if (error < 0) { in pppol2tp_sendmsg()
369 error: in pppol2tp_sendmsg()
370 return error; in pppol2tp_sendmsg()
489 int error; in pppol2tp_release() local
494 error = -EBADF; in pppol2tp_release()
497 goto error; in pppol2tp_release()
524 error: in pppol2tp_release()
526 return error; in pppol2tp_release()
550 int error = -ENOMEM; in pppol2tp_create() local
569 error = 0; in pppol2tp_create()
572 return error; in pppol2tp_create()
602 int error = 0; in pppol2tp_connect() local
610 error = -EINVAL; in pppol2tp_connect()
615 error = -EBUSY; in pppol2tp_connect()
620 error = -EALREADY; in pppol2tp_connect()
664 error = -EINVAL; in pppol2tp_connect()
669 error = -EINVAL; in pppol2tp_connect()
685 error = l2tp_tunnel_create(sock_net(sk), fd, ver, tunnel_id, peer_tunnel_id, &tcfg, &tunnel); in pppol2tp_connect()
686 if (error < 0) in pppol2tp_connect()
691 error = -ENOENT; in pppol2tp_connect()
724 error = -ENOMEM; in pppol2tp_connect()
729 error = -EEXIST; in pppol2tp_connect()
774 error = 0; in pppol2tp_connect()
788 error = ppp_register_net_channel(sock_net(sk), &po->chan); in pppol2tp_connect()
789 if (error) in pppol2tp_connect()
802 return error; in pppol2tp_connect()
811 int error; in pppol2tp_session_create() local
819 error = -ENOENT; in pppol2tp_session_create()
828 error = -EEXIST; in pppol2tp_session_create()
840 error = -ENOMEM; in pppol2tp_session_create()
853 error = 0; in pppol2tp_session_create()
856 return error; in pppol2tp_session_create()
867 int error = 0; in pppol2tp_getname() local
874 error = -ENOTCONN; in pppol2tp_getname()
880 error = -EBADF; in pppol2tp_getname()
888 error = -EBADF; in pppol2tp_getname()
972 error = 0; in pppol2tp_getname()
975 return error; in pppol2tp_getname()