Searched defs:res (Results 1 - 25 of 146) sorted by relevance

123456

/net/ax25/
H A Dax25_dev.c37 ax25_dev *ax25_dev, *res = NULL; local
42 res = ax25_dev;
46 return res;
H A Dax25_ds_subr.c160 int res = 0; local
165 res = 1;
170 return res;
H A Dax25_iface.c163 int (*res)(struct sk_buff *, ax25_cb *) = NULL;
169 res = protocol->func;
174 return res;
206 int res = 0; local
211 res = 1;
216 return res;
H A Dax25_uid.c56 ax25_uid_assoc *ax25_uid, *res = NULL; local
62 res = ax25_uid;
68 return res;
77 unsigned long res; local
81 res = -ENOENT;
85 res = from_kuid_munged(current_user_ns(), ax25_uid->uid);
91 return res;
/net/mac802154/
H A Dtx.c49 int res; local
54 res = xw->priv->ops->set_channel(&xw->priv->hw,
57 if (res) {
66 res = xw->priv->ops->xmit(&xw->priv->hw, xw->skb);
67 if (res)
H A Dieee802154_dev.c39 int res = 0; local
42 res = ipriv->ops->start(&ipriv->hw);
43 WARN_ON(res);
44 if (res)
49 res = ipriv->ops->ieee_addr(&ipriv->hw, dev->dev_addr);
50 WARN_ON(res);
51 if (res)
61 return res;
H A Dmib.c56 int res; local
58 res = hw->ops->set_hw_addr_filt(&hw->hw,
61 if (res)
177 int res; local
180 res = hw->ops->set_channel(&hw->hw, priv->page, priv->chan);
181 if (res)
/net/netfilter/
H A Dnf_nat_amanda.c48 int res; local
51 res = nf_ct_expect_related(exp);
52 if (res == 0)
54 else if (res != -EBUSY) {
/net/sunrpc/
H A Dtimer.c111 unsigned long res; local
116 res = ((rt->srtt[timer] + 7) >> 3) + rt->sdrtt[timer];
117 if (res > RPC_RTO_MAX)
118 res = RPC_RTO_MAX;
120 return res;
/net/tipc/
H A Dcore.c93 int res; local
96 res = tipc_eth_media_start();
97 if (res < 0)
99 res = tipc_ib_media_start();
100 if (res < 0)
102 return res;
106 return res;
128 int res; local
132 res = tipc_handler_start();
133 if (!res)
154 int res; local
[all...]
H A Dnetlink.c88 int res; local
90 res = genl_register_family_with_ops(&tipc_genl_family,
92 if (res) {
94 return res;
H A Dmsg.c79 int dsz, sz, hsz, pos, res, cnt; local
94 for (res = 1, cnt = 0; res && (cnt < num_sect); cnt++) {
96 res = !copy_from_user((*buf)->data + pos,
105 if (likely(res))
/net/ipv4/
H A Dfib_lookup.h43 static inline void fib_result_assign(struct fib_result *res, argument
47 res->fi = fi;
H A Dfib_rules.c50 int __fib_lookup(struct net *net, struct flowi4 *flp, struct fib_result *res) argument
53 .result = res,
61 res->tclassid = ((struct fib4_rule *)arg.rule)->tclassid;
63 res->tclassid = 0;
/net/ipv4/netfilter/
H A Dipt_rpfilter.c38 struct fib_result res; local
43 if (fib_lookup(net, fl4, &res))
46 if (res.type != RTN_UNICAST) {
47 if (res.type != RTN_LOCAL || !(flags & XT_RPFILTER_ACCEPT_LOCAL))
52 for (ret = 0; ret < res.fi->fib_nhs; ret++) {
53 struct fib_nh *nh = &res.fi->fib_nh[ret];
61 if (FIB_RES_DEV(res) == dev)
65 return FIB_RES_NH(res).nh_scope <= RT_SCOPE_HOST;
/net/sched/
H A Dsch_ingress.c61 struct tcf_result res; local
64 result = tc_classify(skb, p->filter_list, &res);
78 skb->tc_index = TC_H_MIN(res.classid);
H A Dact_gact.c138 struct tcf_result *res)
137 tcf_gact(struct sk_buff *skb, const struct tc_action *a, struct tcf_result *res) argument
H A Dact_simple.c40 struct tcf_result *res)
39 tcf_simp(struct sk_buff *skb, const struct tc_action *a, struct tcf_result *res) argument
H A Dact_skbedit.c43 struct tcf_result *res)
42 tcf_skbedit(struct sk_buff *skb, const struct tc_action *a, struct tcf_result *res) argument
/net/bridge/
H A Dbr_if.c236 int res; local
247 res = register_netdev(dev);
248 if (res)
250 return res;
/net/core/
H A Dgen_estimator.c311 bool res; local
316 res = gen_find_node(bstats, rate_est) != NULL;
319 return res;
/net/phonet/
H A Ddatagram.c59 u32 res; local
60 if (get_user(res, (u32 __user *)arg))
62 if (res >= 256)
65 return pn_sock_bind_res(sk, res);
67 return pn_sock_unbind_res(sk, res);
/net/decnet/
H A Ddn_rules.c53 int dn_fib_lookup(struct flowidn *flp, struct dn_fib_res *res) argument
56 .result = res,
62 res->r = arg.rule;
183 struct dn_fib_res res; local
187 res.r = NULL;
190 if (!tb->lookup(tb, &fld, &res)) {
191 ret = res.type;
192 dn_fib_res_put(&res);
/net/ipv6/
H A Dinet6_connection_sock.c236 int res; local
252 res = ip6_xmit(sk, skb, &fl6, np->opt, np->tclass);
254 return res;
/net/mac80211/
H A Ddebugfs.c25 int res; local
28 res = vscnprintf(buf, sizeof(buf), fmt, args);
31 return simple_read_from_buffer(userbuf, count, ppos, buf, res);
166 int q, res = 0; local
170 res += sprintf(buf + res, "%02d: %#.8lx/%d\n", q,
175 return simple_read_from_buffer(user_buf, count, ppos, buf, res);
191 int res; local
194 res = drv_get_stats(local, &stats);
196 if (res)
[all...]

Completed in 270 milliseconds

123456