/net/sunrpc/ |
D | svcauth.c | 75 int rv = 0; in svc_authorise() local 80 rv = aops->release(rqstp); in svc_authorise() 83 return rv; in svc_authorise() 89 int rv = -EINVAL; in svc_auth_register() local 93 rv = 0; in svc_auth_register() 96 return rv; in svc_auth_register()
|
D | svcauth_unix.c | 50 struct auth_domain *rv; in unix_domain_find() local 53 rv = auth_domain_lookup(name, NULL); in unix_domain_find() 55 if (rv) { in unix_domain_find() 56 if (new && rv != &new->h) in unix_domain_find() 59 if (rv->flavour != &svcauth_unix) { in unix_domain_find() 60 auth_domain_put(rv); in unix_domain_find() 63 return rv; in unix_domain_find() 76 rv = auth_domain_lookup(name, &new->h); in unix_domain_find() 482 int rv; in unix_gid_parse() local 492 rv = get_int(&mesg, &id); in unix_gid_parse() [all …]
|
D | cache.c | 227 int rv; in try_to_negate_entry() local 230 rv = cache_is_valid(detail, h); in try_to_negate_entry() 231 if (rv != -EAGAIN) { in try_to_negate_entry() 233 return rv; in try_to_negate_entry() 259 int rv; in cache_check() local 263 rv = cache_is_valid(detail, h); in cache_check() 270 if (rv == -EAGAIN) in cache_check() 271 rv = -ENOENT; in cache_check() 272 } else if (rv == -EAGAIN || age > refresh_age/2) { in cache_check() 280 rv = try_to_negate_entry(detail, h); in cache_check() [all …]
|
/net/ipv6/ |
D | xfrm6_tunnel.c | 355 int rv; in xfrm6_tunnel_init() local 363 rv = register_pernet_subsys(&xfrm6_tunnel_net_ops); in xfrm6_tunnel_init() 364 if (rv < 0) in xfrm6_tunnel_init() 366 rv = xfrm_register_type(&xfrm6_tunnel_type, AF_INET6); in xfrm6_tunnel_init() 367 if (rv < 0) in xfrm6_tunnel_init() 369 rv = xfrm6_tunnel_register(&xfrm6_tunnel_handler, AF_INET6); in xfrm6_tunnel_init() 370 if (rv < 0) in xfrm6_tunnel_init() 372 rv = xfrm6_tunnel_register(&xfrm46_tunnel_handler, AF_INET); in xfrm6_tunnel_init() 373 if (rv < 0) in xfrm6_tunnel_init() 385 return rv; in xfrm6_tunnel_init()
|
D | mcast.c | 327 int i, j, rv; in ip6_mc_source() local 377 rv = !0; in ip6_mc_source() 379 rv = !ipv6_addr_equal(&psl->sl_addr[i], source); in ip6_mc_source() 380 if (rv == 0) in ip6_mc_source() 383 if (rv) /* source not found */ in ip6_mc_source() 427 rv = 1; /* > 0 for insert logic below if sl_count is 0 */ in ip6_mc_source() 429 rv = !ipv6_addr_equal(&psl->sl_addr[i], source); in ip6_mc_source() 430 if (rv == 0) /* There is an error in the address. */ in ip6_mc_source() 618 bool rv = true; in inet6_mc_check() local 632 rv = mc->sfmode == MCAST_EXCLUDE; in inet6_mc_check() [all …]
|
/net/bluetooth/ |
D | hci_sysfs.c | 276 int rv; in store_idle_timeout() local 278 rv = kstrtouint(buf, 0, &val); in store_idle_timeout() 279 if (rv < 0) in store_idle_timeout() 280 return rv; in store_idle_timeout() 303 int rv; in store_sniff_max_interval() local 305 rv = kstrtou16(buf, 0, &val); in store_sniff_max_interval() 306 if (rv < 0) in store_sniff_max_interval() 307 return rv; in store_sniff_max_interval() 330 int rv; in store_sniff_min_interval() local 332 rv = kstrtou16(buf, 0, &val); in store_sniff_min_interval() [all …]
|
/net/decnet/netfilter/ |
D | dn_rtmsg.c | 127 int rv = 0; in dn_rtmsg_init() local 139 rv = nf_register_hook(&dnrmg_ops); in dn_rtmsg_init() 140 if (rv) { in dn_rtmsg_init() 144 return rv; in dn_rtmsg_init()
|
/net/decnet/ |
D | af_decnet.c | 215 int rv = -EUSERS; in dn_hash_sock() local 224 rv = -EADDRINUSE; in dn_hash_sock() 229 rv = 0; in dn_hash_sock() 232 return rv; in dn_hash_sock() 727 int rv; in dn_bind() local 766 rv = -EINVAL; in dn_bind() 772 rv = dn_hash_sock(sk); in dn_bind() 773 if (rv) in dn_bind() 778 return rv; in dn_bind() 786 int rv; in dn_auto_bind() local [all …]
|
D | dn_dev.c | 390 int rv; in dn_dev_set_ifa() local 404 rv = dn_dev_insert_ifa(dn_db, ifa); in dn_dev_set_ifa() 405 if (rv) in dn_dev_set_ifa() 407 return rv; in dn_dev_set_ifa() 513 int rv = -EBUSY; in dn_dev_set_default() local 521 rv = 0; in dn_dev_set_default() 527 return rv; in dn_dev_set_default() 782 int rv = -ENODEV; in dn_dev_get_first() local 792 rv = 0; in dn_dev_get_first() 796 return rv; in dn_dev_get_first() [all …]
|
/net/ipv4/ |
D | igmp.c | 1479 int rv = 0; in ip_mc_del1_src() local 1512 rv = 1; in ip_mc_del1_src() 1517 return rv; in ip_mc_del1_src() 1556 int rv = ip_mc_del1_src(pmc, sfmode, &psfsrc[i]); in ip_mc_del_src() local 1558 changerec |= rv > 0; in ip_mc_del_src() 1559 if (!err && rv < 0) in ip_mc_del_src() 1560 err = rv; in ip_mc_del_src() 1638 int new_in, rv; in sf_setstate() local 1640 rv = 0; in sf_setstate() 1664 rv++; in sf_setstate() [all …]
|
/net/netfilter/ |
D | nf_conntrack_pptp.c | 619 int rv; in nf_conntrack_pptp_init() local 621 rv = nf_conntrack_helper_register(&pptp); in nf_conntrack_pptp_init() 622 if (rv < 0) in nf_conntrack_pptp_init() 623 return rv; in nf_conntrack_pptp_init() 624 rv = register_pernet_subsys(&nf_conntrack_pptp_net_ops); in nf_conntrack_pptp_init() 625 if (rv < 0) in nf_conntrack_pptp_init() 627 return rv; in nf_conntrack_pptp_init()
|
D | x_tables.c | 1375 int rv; in xt_init() local 1394 rv = register_pernet_subsys(&xt_net_ops); in xt_init() 1395 if (rv < 0) in xt_init() 1397 return rv; in xt_init()
|
/net/netfilter/ipvs/ |
D | ip_vs_ftp.c | 482 int rv; in ip_vs_ftp_init() local 484 rv = register_pernet_subsys(&ip_vs_ftp_ops); in ip_vs_ftp_init() 486 return rv; in ip_vs_ftp_init()
|
/net/sunrpc/auth_gss/ |
D | svcauth_gss.c | 416 int len, rv; in rsc_parse() local 442 rv = get_int(&mesg, &id); in rsc_parse() 443 if (rv == -EINVAL) in rsc_parse() 445 if (rv == -ENOENT) in rsc_parse() 1863 int rv; in gss_svc_init_net() local 1865 rv = rsc_cache_create_net(net); in gss_svc_init_net() 1866 if (rv) in gss_svc_init_net() 1867 return rv; in gss_svc_init_net() 1868 rv = rsi_cache_create_net(net); in gss_svc_init_net() 1869 if (rv) in gss_svc_init_net() [all …]
|
/net/core/ |
D | net_namespace.c | 318 int rv; in copy_net_ns() local 330 rv = setup_net(net, user_ns); in copy_net_ns() 331 if (rv == 0) { in copy_net_ns() 337 if (rv < 0) { in copy_net_ns() 340 return ERR_PTR(rv); in copy_net_ns()
|
D | pktgen.c | 3411 int rv = 0; in add_dev_to_thread() local 3417 rv = -EBUSY; in add_dev_to_thread() 3427 return rv; in add_dev_to_thread()
|
/net/mac80211/ |
D | debugfs.c | 99 ssize_t rv; in hwflags_read() local 155 rv = simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in hwflags_read() 157 return rv; in hwflags_read()
|
D | driver-ops.h | 59 int rv = 0; in drv_get_et_sset_count() local 62 rv = local->ops->get_et_sset_count(&local->hw, &sdata->vif, in drv_get_et_sset_count() 64 trace_drv_return_int(local, rv); in drv_get_et_sset_count() 66 return rv; in drv_get_et_sset_count()
|
D | cfg.c | 567 int rv = 0; in ieee80211_get_et_sset_count() local 570 rv += STA_STATS_LEN; in ieee80211_get_et_sset_count() 572 rv += drv_get_et_sset_count(sdata, sset); in ieee80211_get_et_sset_count() 574 if (rv == 0) in ieee80211_get_et_sset_count() 576 return rv; in ieee80211_get_et_sset_count()
|
/net/xfrm/ |
D | xfrm_policy.c | 2805 int rv; in xfrm_statistics_init() local 2811 rv = xfrm_proc_init(net); in xfrm_statistics_init() 2812 if (rv < 0) in xfrm_statistics_init() 2814 return rv; in xfrm_statistics_init() 2921 int rv; in xfrm_net_init() local 2923 rv = xfrm_statistics_init(net); in xfrm_net_init() 2924 if (rv < 0) in xfrm_net_init() 2926 rv = xfrm_state_init(net); in xfrm_net_init() 2927 if (rv < 0) in xfrm_net_init() 2929 rv = xfrm_policy_init(net); in xfrm_net_init() [all …]
|
D | xfrm_user.c | 3062 int rv; in xfrm_user_init() local 3066 rv = register_pernet_subsys(&xfrm_user_net_ops); in xfrm_user_init() 3067 if (rv < 0) in xfrm_user_init() 3068 return rv; in xfrm_user_init() 3069 rv = xfrm_register_km(&netlink_mgr); in xfrm_user_init() 3070 if (rv < 0) in xfrm_user_init() 3072 return rv; in xfrm_user_init()
|
/net/key/ |
D | af_key.c | 3790 int rv; in pfkey_net_init() local 3795 rv = pfkey_init_proc(net); in pfkey_net_init() 3797 return rv; in pfkey_net_init()
|
/net/wireless/ |
D | nl80211.c | 8227 int rv; in nl80211_register_beacons() local 8240 rv = -EALREADY; in nl80211_register_beacons() 8254 return rv; in nl80211_register_beacons()
|