Home
last modified time | relevance | path

Searched refs:parm (Results 1 – 22 of 22) sorted by relevance

/net/iucv/
Diucv.c323 static inline int __iucv_call_b2f0(int command, union iucv_param *parm) in __iucv_call_b2f0() argument
330 reg1 = (unsigned long)parm; in __iucv_call_b2f0()
335 : "=d" (ccode), "=m" (*parm), "+d" (reg0), "+a" (reg1) in __iucv_call_b2f0()
336 : "m" (*parm) : "cc"); in __iucv_call_b2f0()
340 static inline int iucv_call_b2f0(int command, union iucv_param *parm) in iucv_call_b2f0() argument
344 ccode = __iucv_call_b2f0(command, parm); in iucv_call_b2f0()
345 return ccode == 1 ? parm->ctrl.iprcode : ccode; in iucv_call_b2f0()
398 union iucv_param *parm; in iucv_allow_cpu() local
409 parm = iucv_param_irq[cpu]; in iucv_allow_cpu()
410 memset(parm, 0, sizeof(union iucv_param)); in iucv_allow_cpu()
[all …]
/net/sched/
Dact_pedit.c41 struct tc_pedit *parm; in tcf_pedit_init() local
56 parm = nla_data(tb[TCA_PEDIT_PARMS]); in tcf_pedit_init()
57 ksize = parm->nkeys * sizeof(struct tc_pedit_key); in tcf_pedit_init()
58 if (nla_len(tb[TCA_PEDIT_PARMS]) < sizeof(*parm) + ksize) in tcf_pedit_init()
61 if (!tcf_hash_check(tn, parm->index, a, bind)) { in tcf_pedit_init()
62 if (!parm->nkeys) in tcf_pedit_init()
64 ret = tcf_hash_create(tn, parm->index, est, a, in tcf_pedit_init()
82 if (p->tcfp_nkeys && p->tcfp_nkeys != parm->nkeys) { in tcf_pedit_init()
90 p->tcfp_flags = parm->flags; in tcf_pedit_init()
91 p->tcf_action = parm->action; in tcf_pedit_init()
[all …]
Dact_police.c83 struct tc_police *parm; in tcf_act_police_init() local
100 if (size != sizeof(*parm) && size != sizeof(struct tc_police_compat)) in tcf_act_police_init()
103 parm = nla_data(tb[TCA_POLICE_TBF]); in tcf_act_police_init()
104 exists = tcf_hash_check(tn, parm->index, a, bind); in tcf_act_police_init()
109 ret = tcf_hash_create(tn, parm->index, NULL, a, in tcf_act_police_init()
121 if (parm->rate.rate) { in tcf_act_police_init()
123 R_tab = qdisc_get_rtab(&parm->rate, tb[TCA_POLICE_RATE]); in tcf_act_police_init()
127 if (parm->peakrate.rate) { in tcf_act_police_init()
128 P_tab = qdisc_get_rtab(&parm->peakrate, in tcf_act_police_init()
152 police->tcfp_mtu = parm->mtu; in tcf_act_police_init()
[all …]
Dact_mirred.c63 struct tc_mirred *parm; in tcf_mirred_init() local
76 parm = nla_data(tb[TCA_MIRRED_PARMS]); in tcf_mirred_init()
78 exists = tcf_hash_check(tn, parm->index, a, bind); in tcf_mirred_init()
82 switch (parm->eaction) { in tcf_mirred_init()
91 if (parm->ifindex) { in tcf_mirred_init()
92 dev = __dev_get_by_index(net, parm->ifindex); in tcf_mirred_init()
118 ret = tcf_hash_create(tn, parm->index, est, a, in tcf_mirred_init()
131 m->tcf_action = parm->action; in tcf_mirred_init()
132 m->tcfm_eaction = parm->eaction; in tcf_mirred_init()
134 m->tcfm_ifindex = parm->ifindex; in tcf_mirred_init()
Dact_connmark.c106 struct tc_connmark *parm; in tcf_connmark_init() local
119 parm = nla_data(tb[TCA_CONNMARK_PARMS]); in tcf_connmark_init()
121 if (!tcf_hash_check(tn, parm->index, a, bind)) { in tcf_connmark_init()
122 ret = tcf_hash_create(tn, parm->index, est, a, in tcf_connmark_init()
128 ci->tcf_action = parm->action; in tcf_connmark_init()
130 ci->zone = parm->zone; in tcf_connmark_init()
142 ci->tcf_action = parm->action; in tcf_connmark_init()
143 ci->zone = parm->zone; in tcf_connmark_init()
Dact_nat.c46 struct tc_nat *parm; in tcf_nat_init() local
59 parm = nla_data(tb[TCA_NAT_PARMS]); in tcf_nat_init()
61 if (!tcf_hash_check(tn, parm->index, a, bind)) { in tcf_nat_init()
62 ret = tcf_hash_create(tn, parm->index, est, a, in tcf_nat_init()
77 p->old_addr = parm->old_addr; in tcf_nat_init()
78 p->new_addr = parm->new_addr; in tcf_nat_init()
79 p->mask = parm->mask; in tcf_nat_init()
80 p->flags = parm->flags; in tcf_nat_init()
82 p->tcf_action = parm->action; in tcf_nat_init()
Dact_vlan.c112 struct tc_vlan *parm; in tcf_vlan_init() local
130 parm = nla_data(tb[TCA_VLAN_PARMS]); in tcf_vlan_init()
131 exists = tcf_hash_check(tn, parm->index, a, bind); in tcf_vlan_init()
135 switch (parm->v_action) { in tcf_vlan_init()
173 action = parm->v_action; in tcf_vlan_init()
176 ret = tcf_hash_create(tn, parm->index, est, a, in tcf_vlan_init()
197 v->tcf_action = parm->action; in tcf_vlan_init()
Dact_simple.c88 struct tc_defact *parm; in tcf_simp_init() local
104 parm = nla_data(tb[TCA_DEF_PARMS]); in tcf_simp_init()
105 exists = tcf_hash_check(tn, parm->index, a, bind); in tcf_simp_init()
118 ret = tcf_hash_create(tn, parm->index, est, a, in tcf_simp_init()
129 d->tcf_action = parm->action; in tcf_simp_init()
138 reset_policy(d, defdata, parm); in tcf_simp_init()
Dact_tunnel_key.c81 struct tc_tunnel_key *parm; in tunnel_key_init() local
98 parm = nla_data(tb[TCA_TUNNEL_KEY_PARMS]); in tunnel_key_init()
99 exists = tcf_hash_check(tn, parm->index, a, bind); in tunnel_key_init()
103 switch (parm->t_action) { in tunnel_key_init()
149 ret = tcf_hash_create(tn, parm->index, est, a, in tunnel_key_init()
173 params_new->action = parm->action; in tunnel_key_init()
174 params_new->tcft_action = parm->t_action; in tunnel_key_init()
Dact_skbmod.c94 struct tc_skbmod *parm; in tcf_skbmod_init() local
128 parm = nla_data(tb[TCA_SKBMOD_PARMS]); in tcf_skbmod_init()
129 if (parm->flags & SKBMOD_F_SWAPMAC) in tcf_skbmod_init()
132 exists = tcf_hash_check(tn, parm->index, a, bind); in tcf_skbmod_init()
140 ret = tcf_hash_create(tn, parm->index, est, a, in tcf_skbmod_init()
163 d->tcf_action = parm->action; in tcf_skbmod_init()
Dact_gact.c65 struct tc_gact *parm; in tcf_gact_init() local
82 parm = nla_data(tb[TCA_GACT_PARMS]); in tcf_gact_init()
95 if (!tcf_hash_check(tn, parm->index, a, bind)) { in tcf_gact_init()
96 ret = tcf_hash_create(tn, parm->index, est, a, in tcf_gact_init()
112 gact->tcf_action = parm->action; in tcf_gact_init()
Dact_skbedit.c72 struct tc_skbedit *parm; in tcf_skbedit_init() local
111 parm = nla_data(tb[TCA_SKBEDIT_PARMS]); in tcf_skbedit_init()
113 exists = tcf_hash_check(tn, parm->index, a, bind); in tcf_skbedit_init()
123 ret = tcf_hash_create(tn, parm->index, est, a, in tcf_skbedit_init()
149 d->tcf_action = parm->action; in tcf_skbedit_init()
Dact_bpf.c281 struct tc_act_bpf *parm; in tcf_bpf_init() local
296 parm = nla_data(tb[TCA_ACT_BPF_PARMS]); in tcf_bpf_init()
298 if (!tcf_hash_check(tn, parm->index, act, bind)) { in tcf_bpf_init()
299 ret = tcf_hash_create(tn, parm->index, est, act, in tcf_bpf_init()
344 prog->tcf_action = parm->action; in tcf_bpf_init()
Dact_ife.c454 struct tc_ife *parm; in tcf_ife_init() local
469 parm = nla_data(tb[TCA_IFE_PARMS]); in tcf_ife_init()
471 exists = tcf_hash_check(tn, parm->index, a, bind); in tcf_ife_init()
475 if (parm->flags & IFE_ENCODE) { in tcf_ife_init()
488 ret = tcf_hash_create(tn, parm->index, est, a, &act_ife_ops, in tcf_ife_init()
500 ife->flags = parm->flags; in tcf_ife_init()
502 if (parm->flags & IFE_ENCODE) { in tcf_ife_init()
512 ife->tcf_action = parm->action; in tcf_ife_init()
514 if (parm->flags & IFE_ENCODE) { in tcf_ife_init()
Dact_csum.c54 struct tc_csum *parm; in tcf_csum_init() local
67 parm = nla_data(tb[TCA_CSUM_PARMS]); in tcf_csum_init()
69 if (!tcf_hash_check(tn, parm->index, a, bind)) { in tcf_csum_init()
70 ret = tcf_hash_create(tn, parm->index, est, a, in tcf_csum_init()
85 p->tcf_action = parm->action; in tcf_csum_init()
86 p->update_flags = parm->update_flags; in tcf_csum_init()
/net/core/
Dgen_estimator.c220 struct gnet_estimator *parm = nla_data(opt); in gen_new_estimator() local
224 if (nla_len(opt) < sizeof(*parm)) in gen_new_estimator()
227 if (parm->interval < -2 || parm->interval > 3) in gen_new_estimator()
236 idx = parm->interval + 2; in gen_new_estimator()
241 est->ewma_log = parm->ewma_log; in gen_new_estimator()
/net/ipv4/
Dipip.c569 struct ip_tunnel_parm *parm = &tunnel->parms; in ipip_fill_info() local
571 if (nla_put_u32(skb, IFLA_IPTUN_LINK, parm->link) || in ipip_fill_info()
572 nla_put_in_addr(skb, IFLA_IPTUN_LOCAL, parm->iph.saddr) || in ipip_fill_info()
573 nla_put_in_addr(skb, IFLA_IPTUN_REMOTE, parm->iph.daddr) || in ipip_fill_info()
574 nla_put_u8(skb, IFLA_IPTUN_TTL, parm->iph.ttl) || in ipip_fill_info()
575 nla_put_u8(skb, IFLA_IPTUN_TOS, parm->iph.tos) || in ipip_fill_info()
576 nla_put_u8(skb, IFLA_IPTUN_PROTO, parm->iph.protocol) || in ipip_fill_info()
578 !!(parm->iph.frag_off & htons(IP_DF)))) in ipip_fill_info()
/net/ipv6/
Dip6_vti.c1024 struct __ip6_tnl_parm *parm = &tunnel->parms; in vti6_fill_info() local
1026 if (nla_put_u32(skb, IFLA_VTI_LINK, parm->link) || in vti6_fill_info()
1027 nla_put_in6_addr(skb, IFLA_VTI_LOCAL, &parm->laddr) || in vti6_fill_info()
1028 nla_put_in6_addr(skb, IFLA_VTI_REMOTE, &parm->raddr) || in vti6_fill_info()
1029 nla_put_be32(skb, IFLA_VTI_IKEY, parm->i_key) || in vti6_fill_info()
1030 nla_put_be32(skb, IFLA_VTI_OKEY, parm->o_key)) in vti6_fill_info()
Dsit.c1672 struct ip_tunnel_parm *parm = &tunnel->parms; in ipip6_fill_info() local
1674 if (nla_put_u32(skb, IFLA_IPTUN_LINK, parm->link) || in ipip6_fill_info()
1675 nla_put_in_addr(skb, IFLA_IPTUN_LOCAL, parm->iph.saddr) || in ipip6_fill_info()
1676 nla_put_in_addr(skb, IFLA_IPTUN_REMOTE, parm->iph.daddr) || in ipip6_fill_info()
1677 nla_put_u8(skb, IFLA_IPTUN_TTL, parm->iph.ttl) || in ipip6_fill_info()
1678 nla_put_u8(skb, IFLA_IPTUN_TOS, parm->iph.tos) || in ipip6_fill_info()
1680 !!(parm->iph.frag_off & htons(IP_DF))) || in ipip6_fill_info()
1681 nla_put_u8(skb, IFLA_IPTUN_PROTO, parm->iph.protocol) || in ipip6_fill_info()
1682 nla_put_be16(skb, IFLA_IPTUN_FLAGS, parm->i_flags)) in ipip6_fill_info()
Dip6_tunnel.c2081 struct __ip6_tnl_parm *parm = &tunnel->parms; in ip6_tnl_fill_info() local
2083 if (nla_put_u32(skb, IFLA_IPTUN_LINK, parm->link) || in ip6_tnl_fill_info()
2084 nla_put_in6_addr(skb, IFLA_IPTUN_LOCAL, &parm->laddr) || in ip6_tnl_fill_info()
2085 nla_put_in6_addr(skb, IFLA_IPTUN_REMOTE, &parm->raddr) || in ip6_tnl_fill_info()
2086 nla_put_u8(skb, IFLA_IPTUN_TTL, parm->hop_limit) || in ip6_tnl_fill_info()
2087 nla_put_u8(skb, IFLA_IPTUN_ENCAP_LIMIT, parm->encap_limit) || in ip6_tnl_fill_info()
2088 nla_put_be32(skb, IFLA_IPTUN_FLOWINFO, parm->flowinfo) || in ip6_tnl_fill_info()
2089 nla_put_u32(skb, IFLA_IPTUN_FLAGS, parm->flags) || in ip6_tnl_fill_info()
2090 nla_put_u8(skb, IFLA_IPTUN_PROTO, parm->proto)) in ip6_tnl_fill_info()
2099 if (parm->collect_md) in ip6_tnl_fill_info()
/net/irda/
Dqos.c87 static int irlap_param_link_disconnect(void *instance, irda_param_t *parm,
94 static int irlap_param_additional_bofs(void *instance, irda_param_t *parm,
/net/mac80211/
Dcfg.c1814 static inline bool _chg_mesh_attr(enum nl80211_meshconf_params parm, u32 mask) in _chg_mesh_attr() argument
1816 return (mask >> (parm-1)) & 0x1; in _chg_mesh_attr()