Searched refs:rv (Results 1 - 23 of 23) sorted by relevance

/net/sunrpc/
H A Dsvcauth.c75 int rv = 0; local
80 rv = aops->release(rqstp);
83 return rv;
89 int rv = -EINVAL; local
93 rv = 0;
96 return rv;
H A Dsvcauth_unix.c50 struct auth_domain *rv; local
53 rv = auth_domain_lookup(name, NULL);
55 if (rv) {
56 if (new && rv != &new->h)
59 if (rv->flavour != &svcauth_unix) {
60 auth_domain_put(rv);
63 return rv;
76 rv = auth_domain_lookup(name, &new->h);
482 int rv; local
492 rv
[all...]
H A Dcache.c227 int rv; local
230 rv = cache_is_valid(detail, h);
231 if (rv != -EAGAIN) {
233 return rv;
259 int rv; local
263 rv = cache_is_valid(detail, h);
270 if (rv == -EAGAIN)
271 rv = -ENOENT;
272 } else if (rv == -EAGAIN || age > refresh_age/2) {
280 rv
398 int rv = 0; local
[all...]
/net/ipv6/
H A Dxfrm6_tunnel.c355 int rv; local
363 rv = register_pernet_subsys(&xfrm6_tunnel_net_ops);
364 if (rv < 0)
366 rv = xfrm_register_type(&xfrm6_tunnel_type, AF_INET6);
367 if (rv < 0)
369 rv = xfrm6_tunnel_register(&xfrm6_tunnel_handler, AF_INET6);
370 if (rv < 0)
372 rv = xfrm6_tunnel_register(&xfrm46_tunnel_handler, AF_INET);
373 if (rv < 0)
385 return rv;
[all...]
H A Dmcast.c327 int i, j, rv; local
377 rv = !0;
379 rv = !ipv6_addr_equal(&psl->sl_addr[i], source);
380 if (rv == 0)
383 if (rv) /* source not found */
427 rv = 1; /* > 0 for insert logic below if sl_count is 0 */
429 rv = !ipv6_addr_equal(&psl->sl_addr[i], source);
430 if (rv == 0) /* There is an error in the address. */
618 bool rv = true; local
632 rv
950 bool rv = false; local
1821 int rv = 0; local
1886 int rv = ip6_mc_del1_src(pmc, sfmode, &psfsrc[i]); local
1959 int new_in, rv; local
[all...]
/net/decnet/netfilter/
H A Ddn_rtmsg.c127 int rv = 0; local
139 rv = nf_register_hook(&dnrmg_ops);
140 if (rv) {
144 return rv;
/net/bluetooth/
H A Dhci_sysfs.c276 int rv; local
278 rv = kstrtouint(buf, 0, &val);
279 if (rv < 0)
280 return rv;
303 int rv; local
305 rv = kstrtou16(buf, 0, &val);
306 if (rv < 0)
307 return rv;
330 int rv; local
332 rv
[all...]
/net/decnet/
H A Daf_decnet.c215 int rv = -EUSERS; local
224 rv = -EADDRINUSE;
229 rv = 0;
232 return rv;
727 int rv; local
766 rv = -EINVAL;
772 rv = dn_hash_sock(sk);
773 if (rv)
778 return rv;
786 int rv; local
1679 int rv = 0; local
[all...]
H A Ddn_dev.c390 int rv; local
404 rv = dn_dev_insert_ifa(dn_db, ifa);
405 if (rv)
407 return rv;
513 int rv = -EBUSY; local
521 rv = 0;
527 return rv;
782 int rv = -ENODEV; local
792 rv = 0;
796 return rv;
812 int rv; local
[all...]
/net/core/
H A Dnet_namespace.c242 int rv; local
254 rv = setup_net(net, user_ns);
255 if (rv == 0) {
261 if (rv < 0) {
264 return ERR_PTR(rv);
H A Dpktgen.c3411 int rv = 0; local
3417 rv = -EBUSY;
3427 return rv;
/net/netfilter/
H A Dnf_conntrack_pptp.c619 int rv; local
621 rv = nf_conntrack_helper_register(&pptp);
622 if (rv < 0)
623 return rv;
624 rv = register_pernet_subsys(&nf_conntrack_pptp_net_ops);
625 if (rv < 0)
627 return rv;
H A Dx_tables.c1375 int rv; local
1394 rv = register_pernet_subsys(&xt_net_ops);
1395 if (rv < 0)
1397 return rv;
/net/ipv4/
H A Digmp.c1479 int rv = 0; local
1512 rv = 1;
1517 return rv;
1556 int rv = ip_mc_del1_src(pmc, sfmode, &psfsrc[i]); local
1558 changerec |= rv > 0;
1559 if (!err && rv < 0)
1560 err = rv;
1638 int new_in, rv; local
1640 rv = 0;
1664 rv
1921 int i, j, rv; local
2325 int rv = 0; local
[all...]
/net/netfilter/ipvs/
H A Dip_vs_ftp.c482 int rv; local
484 rv = register_pernet_subsys(&ip_vs_ftp_ops);
486 return rv;
/net/sunrpc/auth_gss/
H A Dsvcauth_gss.c416 int len, rv; local
442 rv = get_int(&mesg, &id);
443 if (rv == -EINVAL)
445 if (rv == -ENOENT)
1863 int rv; local
1865 rv = rsc_cache_create_net(net);
1866 if (rv)
1867 return rv;
1868 rv = rsi_cache_create_net(net);
1869 if (rv)
[all...]
/net/mac80211/
H A Ddebugfs.c99 ssize_t rv; local
155 rv = simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf));
157 return rv;
H A Ddriver-ops.h59 int rv = 0; local
62 rv = local->ops->get_et_sset_count(&local->hw, &sdata->vif,
64 trace_drv_return_int(local, rv);
66 return rv;
H A Dcfg.c567 int rv = 0; local
570 rv += STA_STATS_LEN;
572 rv += drv_get_et_sset_count(sdata, sset);
574 if (rv == 0)
576 return rv;
/net/xfrm/
H A Dxfrm_policy.c2804 int rv; local
2810 rv = xfrm_proc_init(net);
2811 if (rv < 0)
2813 return rv;
2920 int rv; local
2922 rv = xfrm_statistics_init(net);
2923 if (rv < 0)
2925 rv = xfrm_state_init(net);
2926 if (rv < 0)
2928 rv
[all...]
H A Dxfrm_user.c3033 int rv; local
3037 rv = register_pernet_subsys(&xfrm_user_net_ops);
3038 if (rv < 0)
3039 return rv;
3040 rv = xfrm_register_km(&netlink_mgr);
3041 if (rv < 0)
3043 return rv;
/net/key/
H A Daf_key.c3785 int rv; local
3790 rv = pfkey_init_proc(net);
3792 return rv;
/net/wireless/
H A Dnl80211.c8209 int rv; local
8222 rv = -EALREADY;
8236 return rv;

Completed in 424 milliseconds