/net/ipv6/ |
D | xfrm6_tunnel.c | 352 int rv; in xfrm6_tunnel_init() local 360 rv = register_pernet_subsys(&xfrm6_tunnel_net_ops); in xfrm6_tunnel_init() 361 if (rv < 0) in xfrm6_tunnel_init() 363 rv = xfrm_register_type(&xfrm6_tunnel_type, AF_INET6); in xfrm6_tunnel_init() 364 if (rv < 0) in xfrm6_tunnel_init() 366 rv = xfrm6_tunnel_register(&xfrm6_tunnel_handler, AF_INET6); in xfrm6_tunnel_init() 367 if (rv < 0) in xfrm6_tunnel_init() 369 rv = xfrm6_tunnel_register(&xfrm46_tunnel_handler, AF_INET); in xfrm6_tunnel_init() 370 if (rv < 0) in xfrm6_tunnel_init() 382 return rv; in xfrm6_tunnel_init()
|
D | mcast.c | 370 int i, j, rv; in ip6_mc_source() local 414 rv = !0; in ip6_mc_source() 416 rv = !ipv6_addr_equal(&psl->sl_addr[i], source); in ip6_mc_source() 417 if (rv == 0) in ip6_mc_source() 420 if (rv) /* source not found */ in ip6_mc_source() 468 rv = 1; /* > 0 for insert logic below if sl_count is 0 */ in ip6_mc_source() 470 rv = !ipv6_addr_equal(&psl->sl_addr[i], source); in ip6_mc_source() 471 if (rv == 0) /* There is an error in the address. */ in ip6_mc_source() 636 bool rv = true; in inet6_mc_check() local 649 rv = mc->sfmode == MCAST_EXCLUDE; in inet6_mc_check() [all …]
|
/net/sunrpc/ |
D | svcauth.c | 101 int rv = 0; in svc_authorise() local 106 rv = aops->release(rqstp); in svc_authorise() 109 return rv; in svc_authorise() 116 int rv = -EINVAL; in svc_auth_register() local 121 rv = 0; in svc_auth_register() 123 return rv; in svc_auth_register()
|
D | svcauth_unix.c | 57 struct auth_domain *rv; in unix_domain_find() local 60 rv = auth_domain_find(name); in unix_domain_find() 62 if (rv) { in unix_domain_find() 63 if (new && rv != &new->h) in unix_domain_find() 66 if (rv->flavour != &svcauth_unix) { in unix_domain_find() 67 auth_domain_put(rv); in unix_domain_find() 70 return rv; in unix_domain_find() 83 rv = auth_domain_lookup(name, &new->h); in unix_domain_find() 492 int rv; in unix_gid_parse() local 502 rv = get_int(&mesg, &id); in unix_gid_parse() [all …]
|
D | cache.c | 267 int rv; in try_to_negate_entry() local 270 rv = cache_is_valid(h); in try_to_negate_entry() 271 if (rv == -EAGAIN) { in try_to_negate_entry() 275 rv = -ENOENT; in try_to_negate_entry() 279 return rv; in try_to_negate_entry() 299 int rv; in cache_check() local 303 rv = cache_is_valid(h); in cache_check() 310 if (rv == -EAGAIN) in cache_check() 311 rv = -ENOENT; in cache_check() 312 } else if (rv == -EAGAIN || in cache_check() [all …]
|
/net/mac80211/ |
D | ethtool.c | 52 int rv = 0; in ieee80211_get_sset_count() local 55 rv += STA_STATS_LEN; in ieee80211_get_sset_count() 57 rv += drv_get_et_sset_count(sdata, sset); in ieee80211_get_sset_count() 59 if (rv == 0) in ieee80211_get_sset_count() 61 return rv; in ieee80211_get_sset_count()
|
D | debugfs_sta.c | 146 ssize_t rv; in sta_aqm_read() local 191 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_aqm_read() 193 return rv; in sta_aqm_read() 206 ssize_t rv; in sta_airtime_read() local 226 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_airtime_read() 228 return rv; in sta_airtime_read() 259 ssize_t rv; in sta_aql_read() local 280 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_aql_read() 282 return rv; in sta_aql_read()
|
D | debugfs.c | 517 ssize_t rv; in hwflags_read() local 534 rv = simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in hwflags_read() 536 return rv; in hwflags_read() 547 ssize_t rv; in misc_read() local 566 rv = simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in misc_read() 568 return rv; in misc_read()
|
D | driver-ops.h | 75 int rv = 0; in drv_get_et_sset_count() local 78 rv = local->ops->get_et_sset_count(&local->hw, &sdata->vif, in drv_get_et_sset_count() 80 trace_drv_return_int(local, rv); in drv_get_et_sset_count() 82 return rv; in drv_get_et_sset_count()
|
/net/ipv4/ |
D | igmp.c | 1866 int rv = 0; in ip_mc_del1_src() local 1899 rv = 1; in ip_mc_del1_src() 1904 return rv; in ip_mc_del1_src() 1943 int rv = ip_mc_del1_src(pmc, sfmode, &psfsrc[i]); in ip_mc_del_src() local 1945 changerec |= rv > 0; in ip_mc_del_src() 1946 if (!err && rv < 0) in ip_mc_del_src() 1947 err = rv; in ip_mc_del_src() 2025 int new_in, rv; in sf_setstate() local 2027 rv = 0; in sf_setstate() 2051 rv++; in sf_setstate() [all …]
|
/net/sunrpc/auth_gss/ |
D | svcauth_gss.c | 446 int len, rv; in rsc_parse() local 472 rv = get_int(&mesg, &id); in rsc_parse() 473 if (rv == -EINVAL) in rsc_parse() 475 if (rv == -ENOENT) in rsc_parse() 1980 int rv; in gss_svc_init_net() local 1982 rv = rsc_cache_create_net(net); in gss_svc_init_net() 1983 if (rv) in gss_svc_init_net() 1984 return rv; in gss_svc_init_net() 1985 rv = rsi_cache_create_net(net); in gss_svc_init_net() 1986 if (rv) in gss_svc_init_net() [all …]
|
/net/core/ |
D | net_namespace.c | 451 int rv; in copy_net_ns() local 462 rv = -ENOMEM; in copy_net_ns() 469 rv = down_read_killable(&pernet_ops_rwsem); in copy_net_ns() 470 if (rv < 0) in copy_net_ns() 473 rv = setup_net(net, user_ns); in copy_net_ns() 477 if (rv < 0) { in copy_net_ns() 486 return ERR_PTR(rv); in copy_net_ns()
|
D | pktgen.c | 3704 int rv = 0; in add_dev_to_thread() local 3716 rv = -EBUSY; in add_dev_to_thread() 3726 return rv; in add_dev_to_thread()
|
/net/wireless/ |
D | core.c | 462 int rv; in wiphy_new_nm() local 465 rv = cfg80211_dev_check_name(rdev, requested_name); in wiphy_new_nm() 467 if (rv < 0) { in wiphy_new_nm() 472 rv = dev_set_name(&rdev->wiphy.dev, "%s", requested_name); in wiphy_new_nm() 474 if (rv) in wiphy_new_nm() 477 int rv; in wiphy_new_nm() local 486 rv = dev_set_name(&rdev->wiphy.dev, PHY_NAME "%d", rdev->wiphy_idx); in wiphy_new_nm() 487 if (rv < 0) { in wiphy_new_nm()
|
D | nl80211.c | 13991 int rv; in nl80211_register_beacons() local 14004 rv = -EALREADY; in nl80211_register_beacons() 14018 return rv; in nl80211_register_beacons()
|
/net/xfrm/ |
D | xfrm_policy.c | 4001 int rv; in xfrm_statistics_init() local 4005 rv = xfrm_proc_init(net); in xfrm_statistics_init() 4006 if (rv < 0) in xfrm_statistics_init() 4008 return rv; in xfrm_statistics_init() 4129 int rv; in xfrm_net_init() local 4140 rv = xfrm_statistics_init(net); in xfrm_net_init() 4141 if (rv < 0) in xfrm_net_init() 4143 rv = xfrm_state_init(net); in xfrm_net_init() 4144 if (rv < 0) in xfrm_net_init() 4146 rv = xfrm_policy_init(net); in xfrm_net_init() [all …]
|
D | xfrm_user.c | 3677 int rv; in xfrm_user_init() local 3681 rv = register_pernet_subsys(&xfrm_user_net_ops); in xfrm_user_init() 3682 if (rv < 0) in xfrm_user_init() 3683 return rv; in xfrm_user_init() 3684 rv = xfrm_register_km(&netlink_mgr); in xfrm_user_init() 3685 if (rv < 0) in xfrm_user_init() 3687 return rv; in xfrm_user_init()
|
/net/netfilter/ |
D | x_tables.c | 1983 int rv; in xt_init() local 2003 rv = register_pernet_subsys(&xt_net_ops); in xt_init() 2004 if (rv < 0) in xt_init() 2006 return rv; in xt_init()
|
/net/key/ |
D | af_key.c | 3870 int rv; in pfkey_net_init() local 3875 rv = pfkey_init_proc(net); in pfkey_net_init() 3877 return rv; in pfkey_net_init()
|