/net/atm/ |
D | svc.c | 102 int error; in svc_bind() local 108 error = -EISCONN; in svc_bind() 112 error = -EINVAL; in svc_bind() 118 error = -EAFNOSUPPORT; in svc_bind() 125 error = -EBADFD; in svc_bind() 140 error = -EUNATCH; in svc_bind() 145 error = -sk->sk_err; in svc_bind() 148 return error; in svc_bind() 158 int error; in svc_connect() local 163 error = -EINVAL; in svc_connect() [all …]
|
D | common.c | 386 int error; in __vcc_connect() local 394 error = -ENODEV; in __vcc_connect() 396 return error; in __vcc_connect() 400 (error = find_ci(vcc, &vpi, &vci))) { in __vcc_connect() 410 error = atm_init_aal0(vcc); in __vcc_connect() 414 error = atm_init_aal34(vcc); in __vcc_connect() 422 error = atm_init_aal5(vcc); in __vcc_connect() 426 error = -EPROTOTYPE; in __vcc_connect() 428 if (!error) in __vcc_connect() 429 error = adjust_tp(&vcc->qos.txtp, vcc->qos.aal); in __vcc_connect() [all …]
|
D | resources.c | 179 int error = 0; in fetch_stats() local 185 error = copy_to_user(arg, &tmp, sizeof(tmp)); in fetch_stats() 186 if (zero && !error) { in fetch_stats() 191 return error ? -EFAULT : 0; in fetch_stats() 196 int error, len, size = 0; in atm_getnames() local 220 error = ((copy_to_user(buf, tmp_buf, size)) || in atm_getnames() 224 return error; in atm_getnames() 230 int error, len, size = 0; in atm_dev_ioctl() local 245 error = -EFAULT; in atm_dev_ioctl() 252 error = -EFAULT; in atm_dev_ioctl() [all …]
|
D | ioctl.c | 56 int error; in do_vcc_ioctl() local 67 error = -EINVAL; in do_vcc_ioctl() 70 error = put_user(sk->sk_sndbuf - sk_wmem_alloc_get(sk), in do_vcc_ioctl() 79 error = -EINVAL; in do_vcc_ioctl() 86 error = put_user(amount, (int __user *)argp) ? -EFAULT : 0; in do_vcc_ioctl() 92 error = 0; in do_vcc_ioctl() 96 error = -EPERM; in do_vcc_ioctl() 107 error = -EPERM; in do_vcc_ioctl() 116 error = -EINVAL; in do_vcc_ioctl() 120 error = sigd_attach(vcc); in do_vcc_ioctl() [all …]
|
D | addr.c | 74 int error; in atm_add_addr() local 76 error = check_addr(addr); in atm_add_addr() 77 if (error) in atm_add_addr() 78 return error; in atm_add_addr() 109 int error; in atm_del_addr() local 111 error = check_addr(addr); in atm_del_addr() 112 if (error) in atm_del_addr() 113 return error; in atm_del_addr() 139 int total = 0, error; in atm_get_addr() local 157 error = total > size ? -E2BIG : total; in atm_get_addr() [all …]
|
D | pvc.c | 33 int error; in pvc_bind() local 43 error = -EBADFD; in pvc_bind() 52 error = vcc_connect(sock, addr->sap_addr.itf, addr->sap_addr.vpi, in pvc_bind() 56 return error; in pvc_bind() 69 int error; in pvc_setsockopt() local 72 error = vcc_setsockopt(sock, level, optname, optval, optlen); in pvc_setsockopt() 74 return error; in pvc_setsockopt() 81 int error; in pvc_getsockopt() local 84 error = vcc_getsockopt(sock, level, optname, optval, optlen); in pvc_getsockopt() 86 return error; in pvc_getsockopt()
|
/net/nfc/ |
D | core.c | 43 goto error; in nfc_fw_download() 48 goto error; in nfc_fw_download() 53 goto error; in nfc_fw_download() 61 error: in nfc_fw_download() 99 goto error; in nfc_dev_up() 104 goto error; in nfc_dev_up() 109 goto error; in nfc_dev_up() 114 goto error; in nfc_dev_up() 127 error: in nfc_dev_up() 147 goto error; in nfc_dev_down() [all …]
|
/net/sctp/ |
D | sm_sideeffect.c | 144 int error = 0; in sctp_gen_sack() local 222 return error; in sctp_gen_sack() 224 error = -ENOMEM; in sctp_gen_sack() 225 return error; in sctp_gen_sack() 238 int error; in sctp_generate_t3_rtx_event() local 253 error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT, in sctp_generate_t3_rtx_event() 259 if (error) in sctp_generate_t3_rtx_event() 260 sk->sk_err = -error; in sctp_generate_t3_rtx_event() 275 int error = 0; in sctp_generate_timeout_event() local 295 error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT, in sctp_generate_timeout_event() [all …]
|
D | bind_addr.c | 49 int error = 0; in sctp_bind_addr_copy() local 56 error = sctp_copy_one_addr(net, dest, &addr->a, scope, in sctp_bind_addr_copy() 58 if (error < 0) in sctp_bind_addr_copy() 68 error = sctp_copy_one_addr(net, dest, &addr->a, in sctp_bind_addr_copy() 71 if (error < 0) in sctp_bind_addr_copy() 80 error = -ENETUNREACH; in sctp_bind_addr_copy() 83 if (error) in sctp_bind_addr_copy() 86 return error; in sctp_bind_addr_copy() 99 int error = 0; in sctp_bind_addr_dup() local 105 error = sctp_add_bind_addr(dest, &addr->a, sizeof(addr->a), in sctp_bind_addr_dup() [all …]
|
/net/core/ |
D | net-sysfs.c | 1051 int error = 0; in rx_queue_add_kobject() local 1059 error = kobject_init_and_add(kobj, &rx_queue_ktype, NULL, in rx_queue_add_kobject() 1061 if (error) in rx_queue_add_kobject() 1065 error = sysfs_create_group(kobj, dev->sysfs_rx_queue_group); in rx_queue_add_kobject() 1066 if (error) in rx_queue_add_kobject() 1072 return error; in rx_queue_add_kobject() 1076 return error; in rx_queue_add_kobject() 1084 int error; in rx_queue_change_owner() local 1086 error = sysfs_change_owner(kobj, kuid, kgid); in rx_queue_change_owner() 1087 if (error) in rx_queue_change_owner() [all …]
|
D | datagram.c | 92 int error; in __skb_wait_for_more_packets() local 98 error = sock_error(sk); in __skb_wait_for_more_packets() 99 if (error) in __skb_wait_for_more_packets() 112 error = -ENOTCONN; in __skb_wait_for_more_packets() 121 error = 0; in __skb_wait_for_more_packets() 125 return error; in __skb_wait_for_more_packets() 127 error = sock_intr_errno(*timeo_p); in __skb_wait_for_more_packets() 129 *err = error; in __skb_wait_for_more_packets() 133 error = 1; in __skb_wait_for_more_packets() 252 int error = sock_error(sk); in __skb_try_recv_datagram() local [all …]
|
D | net_namespace.c | 313 int error = 0; in setup_net() local 329 error = ops_init(ops, net); in setup_net() 330 if (error < 0) in setup_net() 337 return error; in setup_net() 1138 int error; in __register_pernet_operations() local 1147 error = ops_init(ops, net); in __register_pernet_operations() 1148 if (error) in __register_pernet_operations() 1159 return error; in __register_pernet_operations() 1206 int error; in register_pernet_operations() local 1209 error = ida_alloc_min(&net_generic_ids, MIN_PERNET_OPS_ID, in register_pernet_operations() [all …]
|
D | scm.c | 154 goto error; in __scm_send() 163 goto error; in __scm_send() 166 goto error; in __scm_send() 174 goto error; in __scm_send() 178 goto error; in __scm_send() 186 goto error; in __scm_send() 195 goto error; in __scm_send() 202 goto error; in __scm_send() 213 error: in __scm_send()
|
/net/l2tp/ |
D | l2tp_ppp.c | 271 int error; in pppol2tp_sendmsg() local 276 error = -ENOTCONN; in pppol2tp_sendmsg() 278 goto error; in pppol2tp_sendmsg() 281 error = -EBADF; in pppol2tp_sendmsg() 284 goto error; in pppol2tp_sendmsg() 291 error = -ENOMEM; in pppol2tp_sendmsg() 312 error = memcpy_from_msg(skb_put(skb, total_len), m, total_len); in pppol2tp_sendmsg() 313 if (error < 0) { in pppol2tp_sendmsg() 328 error: in pppol2tp_sendmsg() 329 return error; in pppol2tp_sendmsg() [all …]
|
/net/ipv4/ |
D | ip_options.c | 289 goto error; in __ip_options_compile() 294 goto error; in __ip_options_compile() 301 goto error; in __ip_options_compile() 305 goto error; in __ip_options_compile() 310 goto error; in __ip_options_compile() 315 goto error; in __ip_options_compile() 327 goto error; in __ip_options_compile() 331 goto error; in __ip_options_compile() 335 goto error; in __ip_options_compile() 340 goto error; in __ip_options_compile() [all …]
|
/net/openvswitch/ |
D | datapath.c | 233 int error; in ovs_dp_process_packet() local 253 error = ovs_dp_upcall(dp, skb, key, &upcall, 0); in ovs_dp_process_packet() 254 switch (error) { in ovs_dp_process_packet() 271 error = ovs_execute_actions(dp, skb, sf_acts, key); in ovs_dp_process_packet() 272 if (unlikely(error)) in ovs_dp_process_packet() 274 ovs_dp_name(dp), error); in ovs_dp_process_packet() 863 goto error; in ovs_flow_cmd_fill_info() 868 goto error; in ovs_flow_cmd_fill_info() 874 goto error; in ovs_flow_cmd_fill_info() 879 goto error; in ovs_flow_cmd_fill_info() [all …]
|
/net/psample/ |
D | psample.c | 54 goto error; in psample_group_nl_fill() 58 goto error; in psample_group_nl_fill() 62 goto error; in psample_group_nl_fill() 67 error: in psample_group_nl_fill() 406 goto error; in psample_sample_packet() 411 goto error; in psample_sample_packet() 417 goto error; in psample_sample_packet() 422 goto error; in psample_sample_packet() 426 goto error; in psample_sample_packet() 430 goto error; in psample_sample_packet() [all …]
|
/net/9p/ |
D | client.c | 968 goto error; in p9_client_version() 982 goto error; in p9_client_version() 989 goto error; in p9_client_version() 994 error: in p9_client_version() 1131 goto error; in p9_client_attach() 1139 goto error; in p9_client_attach() 1146 goto error; in p9_client_attach() 1157 error: in p9_client_attach() 1181 goto error; in p9_client_walk() 1195 goto error; in p9_client_walk() [all …]
|
D | trans_rdma.c | 397 goto error; in post_recv() 416 error: in post_recv() 663 goto error; in rdma_create_trans() 674 goto error; in rdma_create_trans() 686 goto error; in rdma_create_trans() 689 goto error; in rdma_create_trans() 694 goto error; in rdma_create_trans() 697 goto error; in rdma_create_trans() 704 goto error; in rdma_create_trans() 709 goto error; in rdma_create_trans() [all …]
|
/net/wireless/ |
D | pmsr.c | 403 goto error; in nl80211_pmsr_send_ftm_res() 410 goto error; in nl80211_pmsr_send_ftm_res() 420 goto error; \ in nl80211_pmsr_send_ftm_res() 435 goto error; \ in nl80211_pmsr_send_ftm_res() 456 goto error; in nl80211_pmsr_send_ftm_res() 460 goto error; in nl80211_pmsr_send_ftm_res() 470 goto error; in nl80211_pmsr_send_ftm_res() 474 goto error; in nl80211_pmsr_send_ftm_res() 481 error: in nl80211_pmsr_send_ftm_res() 492 goto error; in nl80211_pmsr_send_result() [all …]
|
/net/sunrpc/ |
D | svc.c | 926 int error; in __svc_rpcb_register4() local 939 error = rpcb_v4_register(net, program, version, in __svc_rpcb_register4() 946 if (error == -EPROTONOSUPPORT) in __svc_rpcb_register4() 947 error = rpcb_register(net, program, version, protocol, port); in __svc_rpcb_register4() 949 return error; in __svc_rpcb_register4() 974 int error; in __svc_rpcb_register6() local 987 error = rpcb_v4_register(net, program, version, in __svc_rpcb_register6() 994 if (error == -EPROTONOSUPPORT) in __svc_rpcb_register6() 995 error = -EAFNOSUPPORT; in __svc_rpcb_register6() 997 return error; in __svc_rpcb_register6() [all …]
|
/net/rxrpc/ |
D | af_rxrpc.c | 141 goto error; in rxrpc_bind() 201 error: in rxrpc_bind() 469 goto error; in rxrpc_connect() 480 goto error; in rxrpc_connect() 487 error: in rxrpc_connect() 610 goto error; in rxrpc_setsockopt() 613 goto error; in rxrpc_setsockopt() 620 goto error; in rxrpc_setsockopt() 623 goto error; in rxrpc_setsockopt() 625 goto error; in rxrpc_setsockopt() [all …]
|
/net/rfkill/ |
D | core.c | 841 int error; in rfkill_dev_uevent() local 843 error = add_uevent_var(env, "RFKILL_NAME=%s", rfkill->name); in rfkill_dev_uevent() 844 if (error) in rfkill_dev_uevent() 845 return error; in rfkill_dev_uevent() 846 error = add_uevent_var(env, "RFKILL_TYPE=%s", in rfkill_dev_uevent() 848 if (error) in rfkill_dev_uevent() 849 return error; in rfkill_dev_uevent() 854 error = add_uevent_var(env, "RFKILL_STATE=%d", in rfkill_dev_uevent() 856 if (error) in rfkill_dev_uevent() 857 return error; in rfkill_dev_uevent() [all …]
|
/net/strparser/ |
D | strparser.c | 67 desc->error = err; in strp_parser_err() 116 desc->error = -ENOMEM; in __strp_recv() 122 desc->error = -ENOMEM; in __strp_recv() 136 desc->error = err; in __strp_recv() 148 desc->error = -EINVAL; in __strp_recv() 155 desc->error = -ENOMEM; in __strp_recv() 174 desc->error = -ENOMEM; in __strp_recv() 197 desc->error = err; in __strp_recv() 354 desc.error = 0; in strp_read_sock() 360 desc.error = strp->cb.read_sock_done(strp, desc.error); in strp_read_sock() [all …]
|
/net/ipv6/ |
D | ip6_udp_tunnel.c | 25 goto error; in udp_sock_create6() 30 goto error; in udp_sock_create6() 35 goto error; in udp_sock_create6() 45 goto error; in udp_sock_create6() 58 goto error; in udp_sock_create6() 66 error: in udp_sock_create6()
|