/net/atm/ |
D | svc.c | 101 int error; in svc_bind() local 107 error = -EISCONN; in svc_bind() 111 error = -EINVAL; in svc_bind() 117 error = -EAFNOSUPPORT; in svc_bind() 124 error = -EBADFD; in svc_bind() 139 error = -EUNATCH; in svc_bind() 144 error = -sk->sk_err; in svc_bind() 147 return error; in svc_bind() 157 int error; in svc_connect() local 162 error = -EINVAL; in svc_connect() [all …]
|
D | common.c | 390 int error; in __vcc_connect() local 398 error = -ENODEV; in __vcc_connect() 400 return error; in __vcc_connect() 404 (error = find_ci(vcc, &vpi, &vci))) { in __vcc_connect() 414 error = atm_init_aal0(vcc); in __vcc_connect() 418 error = atm_init_aal34(vcc); in __vcc_connect() 426 error = atm_init_aal5(vcc); in __vcc_connect() 430 error = -EPROTOTYPE; in __vcc_connect() 432 if (!error) in __vcc_connect() 433 error = adjust_tp(&vcc->qos.txtp, vcc->qos.aal); in __vcc_connect() [all …]
|
D | resources.c | 180 int error = 0; in fetch_stats() local 186 error = copy_to_user(arg, &tmp, sizeof(tmp)); in fetch_stats() 187 if (zero && !error) { in fetch_stats() 192 return error ? -EFAULT : 0; in fetch_stats() 198 int error, len, number, size = 0; in atm_dev_ioctl() local 246 error = ((copy_to_user(buf, tmp_buf, size)) || in atm_dev_ioctl() 250 return error; in atm_dev_ioctl() 291 error = -EFAULT; in atm_dev_ioctl() 298 error = -EFAULT; in atm_dev_ioctl() 308 error = -EEXIST; in atm_dev_ioctl() [all …]
|
D | ioctl.c | 55 int error; in do_vcc_ioctl() local 64 error = -EINVAL; in do_vcc_ioctl() 67 error = put_user(sk->sk_sndbuf - sk_wmem_alloc_get(sk), in do_vcc_ioctl() 75 error = -EINVAL; in do_vcc_ioctl() 79 error = put_user(skb ? skb->len : 0, in do_vcc_ioctl() 86 error = compat_sock_get_timestamp(sk, argp); in do_vcc_ioctl() 89 error = sock_get_timestamp(sk, argp); in do_vcc_ioctl() 94 error = compat_sock_get_timestampns(sk, argp); in do_vcc_ioctl() 97 error = sock_get_timestampns(sk, argp); in do_vcc_ioctl() 102 error = 0; in do_vcc_ioctl() [all …]
|
D | addr.c | 73 int error; in atm_add_addr() local 75 error = check_addr(addr); in atm_add_addr() 76 if (error) in atm_add_addr() 77 return error; in atm_add_addr() 108 int error; in atm_del_addr() local 110 error = check_addr(addr); in atm_del_addr() 111 if (error) in atm_del_addr() 112 return error; in atm_del_addr() 138 int total = 0, error; in atm_get_addr() local 156 error = total > size ? -E2BIG : total; in atm_get_addr() [all …]
|
D | pvc.c | 32 int error; in pvc_bind() local 42 error = -EBADFD; in pvc_bind() 51 error = vcc_connect(sock, addr->sap_addr.itf, addr->sap_addr.vpi, in pvc_bind() 55 return error; in pvc_bind() 68 int error; in pvc_setsockopt() local 71 error = vcc_setsockopt(sock, level, optname, optval, optlen); in pvc_setsockopt() 73 return error; in pvc_setsockopt() 80 int error; in pvc_getsockopt() local 83 error = vcc_getsockopt(sock, level, optname, optval, optlen); in pvc_getsockopt() 85 return error; in pvc_getsockopt()
|
/net/nfc/ |
D | core.c | 55 goto error; in nfc_fw_download() 60 goto error; in nfc_fw_download() 65 goto error; in nfc_fw_download() 73 error: in nfc_fw_download() 111 goto error; in nfc_dev_up() 116 goto error; in nfc_dev_up() 121 goto error; in nfc_dev_up() 126 goto error; in nfc_dev_up() 139 error: in nfc_dev_up() 159 goto error; in nfc_dev_down() [all …]
|
/net/sctp/ |
D | sm_sideeffect.c | 159 int error = 0; in sctp_gen_sack() local 233 return error; in sctp_gen_sack() 235 error = -ENOMEM; in sctp_gen_sack() 236 return error; in sctp_gen_sack() 244 int error; in sctp_generate_t3_rtx_event() local 269 error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT, in sctp_generate_t3_rtx_event() 275 if (error) in sctp_generate_t3_rtx_event() 276 sk->sk_err = -error; in sctp_generate_t3_rtx_event() 291 int error = 0; in sctp_generate_timeout_event() local 311 error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT, in sctp_generate_timeout_event() [all …]
|
D | bind_addr.c | 64 int error = 0; in sctp_bind_addr_copy() local 71 error = sctp_copy_one_addr(net, dest, &addr->a, scope, in sctp_bind_addr_copy() 73 if (error < 0) in sctp_bind_addr_copy() 83 error = sctp_copy_one_addr(net, dest, &addr->a, in sctp_bind_addr_copy() 86 if (error < 0) in sctp_bind_addr_copy() 92 if (error) in sctp_bind_addr_copy() 95 return error; in sctp_bind_addr_copy() 108 int error = 0; in sctp_bind_addr_dup() local 114 error = sctp_add_bind_addr(dest, &addr->a, 1, gfp); in sctp_bind_addr_dup() 115 if (error < 0) in sctp_bind_addr_dup() [all …]
|
D | outqueue.c | 227 sctp_chunk_fail(chunk, q->error); in __sctp_outq_teardown() 237 sctp_chunk_fail(chunk, q->error); in __sctp_outq_teardown() 246 sctp_chunk_fail(chunk, q->error); in __sctp_outq_teardown() 255 sctp_chunk_fail(chunk, q->error); in __sctp_outq_teardown() 263 sctp_chunk_fail(chunk, q->error); in __sctp_outq_teardown() 291 int error = 0; in sctp_outq_tail() local 318 error = -ESHUTDOWN; in sctp_outq_tail() 340 if (error < 0) in sctp_outq_tail() 341 return error; in sctp_outq_tail() 344 error = sctp_outq_flush(q, 0); in sctp_outq_tail() [all …]
|
/net/ipv4/ |
D | ip_options.c | 292 goto error; in __ip_options_compile() 297 goto error; in __ip_options_compile() 304 goto error; in __ip_options_compile() 308 goto error; in __ip_options_compile() 313 goto error; in __ip_options_compile() 318 goto error; in __ip_options_compile() 330 goto error; in __ip_options_compile() 334 goto error; in __ip_options_compile() 338 goto error; in __ip_options_compile() 343 goto error; in __ip_options_compile() [all …]
|
D | esp4.c | 175 goto error; in esp_output() 189 goto error; in esp_output() 275 goto error; in esp_output() 291 goto error; in esp_output() 304 error: in esp_output() 577 goto error; in esp_init_aead() 582 goto error; in esp_init_aead() 589 goto error; in esp_init_aead() 593 goto error; in esp_init_aead() 595 error: in esp_init_aead() [all …]
|
D | icmp.c | 195 short error; /* This ICMP is classed as an error message */ member 353 if (icmp_pointers[icmp_param->data.icmph.type].error) in icmp_glue_bits() 646 if (icmp_pointers[type].error) { in __icmp_send() 670 icmp_pointers[*itp].error) in __icmp_send() 703 tos = icmp_pointers[type].error ? ((iph->tos & IPTOS_TOS_MASK) | in __icmp_send() 1034 goto error; in icmp_rcv() 1046 goto error; in icmp_rcv() 1063 goto error; in icmp_rcv() 1069 goto error; in icmp_rcv() 1085 error: in icmp_rcv() [all …]
|
/net/l2tp/ |
D | l2tp_ppp.c | 310 int error; in pppol2tp_sendmsg() local 316 error = -ENOTCONN; in pppol2tp_sendmsg() 318 goto error; in pppol2tp_sendmsg() 321 error = -EBADF; in pppol2tp_sendmsg() 324 goto error; in pppol2tp_sendmsg() 334 error = -ENOMEM; in pppol2tp_sendmsg() 355 error = memcpy_from_msg(skb_put(skb, total_len), m, total_len); in pppol2tp_sendmsg() 356 if (error < 0) { in pppol2tp_sendmsg() 374 error: in pppol2tp_sendmsg() 375 return error; in pppol2tp_sendmsg() [all …]
|
/net/9p/ |
D | client.c | 349 goto error; in p9_tag_init() 354 goto error; in p9_tag_init() 357 error: in p9_tag_init() 901 goto error; in p9_fid_create() 916 error: in p9_fid_create() 970 goto error; in p9_client_version() 984 goto error; in p9_client_version() 991 goto error; in p9_client_version() 996 error: in p9_client_version() 1138 goto error; in p9_client_attach() [all …]
|
D | trans_rdma.c | 408 goto error; in post_recv() 421 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() 705 goto error; in rdma_create_trans() 711 goto error; in rdma_create_trans() [all …]
|
/net/openvswitch/ |
D | datapath.c | 272 int error; in ovs_dp_process_packet() local 278 error = ovs_dp_upcall(dp, skb, key, &upcall); in ovs_dp_process_packet() 279 if (unlikely(error)) in ovs_dp_process_packet() 837 goto error; in ovs_flow_cmd_fill_info() 842 goto error; in ovs_flow_cmd_fill_info() 848 goto error; in ovs_flow_cmd_fill_info() 853 goto error; in ovs_flow_cmd_fill_info() 858 goto error; in ovs_flow_cmd_fill_info() 864 error: in ovs_flow_cmd_fill_info() 927 int error; in ovs_flow_cmd_new() local [all …]
|
/net/sunrpc/ |
D | svc.c | 708 int error = 0; in svc_set_num_threads() local 729 error = PTR_ERR(rqstp); in svc_set_num_threads() 737 error = PTR_ERR(task); in svc_set_num_threads() 757 return error; in svc_set_num_threads() 817 int error; in __svc_rpcb_register4() local 830 error = rpcb_v4_register(net, program, version, in __svc_rpcb_register4() 837 if (error == -EPROTONOSUPPORT) in __svc_rpcb_register4() 838 error = rpcb_register(net, program, version, protocol, port); in __svc_rpcb_register4() 840 return error; in __svc_rpcb_register4() 865 int error; in __svc_rpcb_register6() local [all …]
|
/net/core/ |
D | net-sysfs.c | 890 int error = 0; in rx_queue_add_kobject() local 893 error = kobject_init_and_add(kobj, &rx_queue_ktype, NULL, in rx_queue_add_kobject() 895 if (error) in rx_queue_add_kobject() 899 error = sysfs_create_group(kobj, dev->sysfs_rx_queue_group); in rx_queue_add_kobject() 900 if (error) in rx_queue_add_kobject() 907 return error; in rx_queue_add_kobject() 910 return error; in rx_queue_add_kobject() 919 int error = 0; in net_rx_queue_update_kobjects() local 926 error = rx_queue_add_kobject(dev, i); in net_rx_queue_update_kobjects() 927 if (error) { in net_rx_queue_update_kobjects() [all …]
|
D | net_namespace.c | 280 int error = 0; in setup_net() local 292 error = ops_init(ops, net); in setup_net() 293 if (error < 0) in setup_net() 297 return error; in setup_net() 800 int error; in __register_pernet_operations() local 806 error = ops_init(ops, net); in __register_pernet_operations() 807 if (error) in __register_pernet_operations() 819 return error; in __register_pernet_operations() 857 int error; in register_pernet_operations() local 861 error = ida_get_new_above(&net_generic_ids, 1, ops->id); in register_pernet_operations() [all …]
|
D | datagram.c | 89 int error; in wait_for_more_packets() local 95 error = sock_error(sk); in wait_for_more_packets() 96 if (error) in wait_for_more_packets() 109 error = -ENOTCONN; in wait_for_more_packets() 118 error = 0; in wait_for_more_packets() 122 return error; in wait_for_more_packets() 124 error = sock_intr_errno(*timeo_p); in wait_for_more_packets() 126 *err = error; in wait_for_more_packets() 130 error = 1; in wait_for_more_packets() 204 int error = sock_error(sk); in __skb_recv_datagram() local [all …]
|
D | scm.c | 150 goto error; in __scm_send() 159 goto error; in __scm_send() 162 goto error; in __scm_send() 170 goto error; in __scm_send() 174 goto error; in __scm_send() 182 goto error; in __scm_send() 191 goto error; in __scm_send() 198 goto error; in __scm_send() 209 error: in __scm_send()
|
/net/ipv6/ |
D | esp6.c | 192 goto error; in esp6_output() 206 goto error; in esp6_output() 255 goto error; in esp6_output() 272 goto error; in esp6_output() 285 error: in esp6_output() 511 goto error; in esp_init_aead() 516 goto error; in esp_init_aead() 523 goto error; in esp_init_aead() 527 goto error; in esp_init_aead() 529 error: in esp_init_aead() [all …]
|
/net/rfkill/ |
D | core.c | 765 int error; in rfkill_dev_uevent() local 767 error = add_uevent_var(env, "RFKILL_NAME=%s", rfkill->name); in rfkill_dev_uevent() 768 if (error) in rfkill_dev_uevent() 769 return error; in rfkill_dev_uevent() 770 error = add_uevent_var(env, "RFKILL_TYPE=%s", in rfkill_dev_uevent() 772 if (error) in rfkill_dev_uevent() 773 return error; in rfkill_dev_uevent() 777 error = add_uevent_var(env, "RFKILL_STATE=%d", in rfkill_dev_uevent() 779 return error; in rfkill_dev_uevent() 940 int error; in rfkill_register() local [all …]
|
/net/dccp/ |
D | probe.c | 121 int error = 0, cnt = 0; in dccpprobe_read() local 134 error = wait_event_interruptible(dccpw.wait, in dccpprobe_read() 136 if (error) in dccpprobe_read() 140 error = copy_to_user(buf, tbuf, cnt) ? -EFAULT : 0; in dccpprobe_read() 145 return error ? error : cnt; in dccpprobe_read()
|