/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 268 error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT, in sctp_generate_t3_rtx_event() 274 if (error) in sctp_generate_t3_rtx_event() 275 asoc->base.sk->sk_err = -error; in sctp_generate_t3_rtx_event() 289 int error = 0; in sctp_generate_timeout_event() local 309 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() 339 if (error < 0) in sctp_outq_tail() 340 return error; in sctp_outq_tail() 343 error = sctp_outq_flush(q, 0); in sctp_outq_tail() [all …]
|
/net/9p/ |
D | client.c | 342 goto error; in p9_tag_init() 347 goto error; in p9_tag_init() 350 error: in p9_tag_init() 902 goto error; in p9_fid_create() 917 error: in p9_fid_create() 971 goto error; in p9_client_version() 983 goto error; in p9_client_version() 989 error: in p9_client_version() 1124 goto error; in p9_client_attach() 1131 goto error; in p9_client_attach() [all …]
|
D | trans_rdma.c | 405 goto error; in post_recv() 418 error: in post_recv() 640 goto error; in rdma_create_trans() 653 goto error; in rdma_create_trans() 656 goto error; in rdma_create_trans() 661 goto error; in rdma_create_trans() 664 goto error; in rdma_create_trans() 669 goto error; in rdma_create_trans() 676 goto error; in rdma_create_trans() 682 goto error; in rdma_create_trans() [all …]
|
/net/ipv4/ |
D | ip_options.c | 290 goto error; in ip_options_compile() 295 goto error; in ip_options_compile() 302 goto error; in ip_options_compile() 306 goto error; in ip_options_compile() 311 goto error; in ip_options_compile() 316 goto error; in ip_options_compile() 328 goto error; in ip_options_compile() 332 goto error; in ip_options_compile() 336 goto error; in ip_options_compile() 341 goto error; in ip_options_compile() [all …]
|
D | esp4.c | 159 goto error; in esp_output() 175 goto error; in esp_output() 264 goto error; in esp_output() 271 error: in esp_output() 525 goto error; in esp_init_aead() 532 goto error; in esp_init_aead() 536 goto error; in esp_init_aead() 538 error: in esp_init_aead() 555 goto error; in esp_init_authenc() 564 goto error; in esp_init_authenc() [all …]
|
D | icmp.c | 194 short error; /* This ICMP is classed as an error message */ member 347 if (icmp_pointers[icmp_param->data.icmph.type].error) in icmp_glue_bits() 598 if (icmp_pointers[type].error) { in icmp_send() 622 icmp_pointers[*itp].error) in icmp_send() 655 tos = icmp_pointers[type].error ? ((iph->tos & IPTOS_TOS_MASK) | in icmp_send() 975 goto error; in icmp_rcv() 987 goto error; in icmp_rcv() 1004 goto error; in icmp_rcv() 1010 goto error; in icmp_rcv() 1021 error: in icmp_rcv() [all …]
|
/net/core/ |
D | net-sysfs.c | 803 int error = 0; in rx_queue_add_kobject() local 806 error = kobject_init_and_add(kobj, &rx_queue_ktype, NULL, in rx_queue_add_kobject() 808 if (error) in rx_queue_add_kobject() 812 error = sysfs_create_group(kobj, dev->sysfs_rx_queue_group); in rx_queue_add_kobject() 813 if (error) in rx_queue_add_kobject() 820 return error; in rx_queue_add_kobject() 823 return error; in rx_queue_add_kobject() 832 int error = 0; in net_rx_queue_update_kobjects() local 839 error = rx_queue_add_kobject(dev, i); in net_rx_queue_update_kobjects() 840 if (error) { in net_rx_queue_update_kobjects() [all …]
|
D | net_namespace.c | 229 int error = 0; in setup_net() local 243 error = ops_init(ops, net); in setup_net() 244 if (error < 0) in setup_net() 248 return error; in setup_net() 656 int error; in __register_pernet_operations() local 662 error = ops_init(ops, net); in __register_pernet_operations() 663 if (error) in __register_pernet_operations() 675 return error; in __register_pernet_operations() 713 int error; in register_pernet_operations() local 717 error = ida_get_new_above(&net_generic_ids, 1, ops->id); in register_pernet_operations() [all …]
|
D | scm.c | 145 goto error; in __scm_send() 154 goto error; in __scm_send() 157 goto error; in __scm_send() 165 goto error; in __scm_send() 169 goto error; in __scm_send() 177 goto error; in __scm_send() 186 goto error; in __scm_send() 193 goto error; in __scm_send() 204 error: in __scm_send()
|
/net/openvswitch/ |
D | datapath.c | 256 int error; in ovs_dp_process_packet() local 262 error = ovs_dp_upcall(dp, skb, &upcall); in ovs_dp_process_packet() 263 if (unlikely(error)) in ovs_dp_process_packet() 699 goto error; in ovs_flow_cmd_fill_info() 708 goto error; in ovs_flow_cmd_fill_info() 748 goto error; in ovs_flow_cmd_fill_info() 759 error: in ovs_flow_cmd_fill_info() 812 int error; in ovs_flow_cmd_new() local 815 error = -EINVAL; in ovs_flow_cmd_new() 817 goto error; in ovs_flow_cmd_new() [all …]
|
D | vport-vxlan.c | 106 goto error; in vxlan_tnl_create() 114 goto error; in vxlan_tnl_create() 134 error: in vxlan_tnl_create() 152 goto error; in vxlan_tnl_send() 167 goto error; in vxlan_tnl_send() 185 error: in vxlan_tnl_send()
|
/net/l2tp/ |
D | l2tp_ppp.c | 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() [all …]
|
/net/sunrpc/ |
D | svc.c | 714 int error = 0; in svc_set_num_threads() local 735 error = PTR_ERR(rqstp); in svc_set_num_threads() 743 error = PTR_ERR(task); in svc_set_num_threads() 763 return error; in svc_set_num_threads() 816 int error; in __svc_rpcb_register4() local 829 error = rpcb_v4_register(net, program, version, in __svc_rpcb_register4() 836 if (error == -EPROTONOSUPPORT) in __svc_rpcb_register4() 837 error = rpcb_register(net, program, version, protocol, port); in __svc_rpcb_register4() 839 return error; in __svc_rpcb_register4() 864 int error; in __svc_rpcb_register6() local [all …]
|
/net/ipv6/ |
D | esp6.c | 186 goto error; in esp6_output() 202 goto error; in esp6_output() 256 goto error; in esp6_output() 263 error: in esp6_output() 469 goto error; in esp_init_aead() 476 goto error; in esp_init_aead() 480 goto error; in esp_init_aead() 482 error: in esp_init_aead() 499 goto error; in esp_init_authenc() 508 goto error; in esp_init_authenc() [all …]
|
/net/rfkill/ |
D | core.c | 757 int error; in rfkill_dev_uevent() local 759 error = add_uevent_var(env, "RFKILL_NAME=%s", rfkill->name); in rfkill_dev_uevent() 760 if (error) in rfkill_dev_uevent() 761 return error; in rfkill_dev_uevent() 762 error = add_uevent_var(env, "RFKILL_TYPE=%s", in rfkill_dev_uevent() 764 if (error) in rfkill_dev_uevent() 765 return error; in rfkill_dev_uevent() 769 error = add_uevent_var(env, "RFKILL_STATE=%d", in rfkill_dev_uevent() 771 return error; in rfkill_dev_uevent() 932 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()
|