Home
last modified time | relevance | path

Searched refs:bind (Results 1 – 25 of 78) sorted by relevance

1234

/net/sched/
Dact_ipt.c81 static void tcf_ipt_release(struct tc_action *a, int bind) in tcf_ipt_release() argument
98 const struct tc_action_ops *ops, int ovr, int bind) in __tcf_ipt_init() argument
119 exists = tcf_hash_check(tn, index, a, bind); in __tcf_ipt_init()
120 if (exists && bind) in __tcf_ipt_init()
125 tcf_hash_release(*a, bind); in __tcf_ipt_init()
132 tcf_hash_release(*a, bind); in __tcf_ipt_init()
137 ret = tcf_hash_create(tn, index, est, a, ops, bind, in __tcf_ipt_init()
143 if (bind)/* dont override defaults */ in __tcf_ipt_init()
145 tcf_hash_release(*a, bind); in __tcf_ipt_init()
196 int bind) in tcf_ipt_init() argument
[all …]
Dact_simple.c52 static void tcf_simp_release(struct tc_action *a, int bind) in tcf_simp_release() argument
84 int ovr, int bind) in tcf_simp_init() argument
105 exists = tcf_hash_check(tn, parm->index, a, bind); in tcf_simp_init()
106 if (exists && bind) in tcf_simp_init()
111 tcf_hash_release(*a, bind); in tcf_simp_init()
119 &act_simp_ops, bind, false); in tcf_simp_init()
134 tcf_hash_release(*a, bind); in tcf_simp_init()
147 int bind, int ref) in tcf_simp_dump() argument
154 .bindcnt = d->tcf_bindcnt - bind, in tcf_simp_dump()
Dact_vlan.c108 int ovr, int bind) in tcf_vlan_init() argument
131 exists = tcf_hash_check(tn, parm->index, a, bind); in tcf_vlan_init()
132 if (exists && bind) in tcf_vlan_init()
142 tcf_hash_release(*a, bind); in tcf_vlan_init()
148 tcf_hash_release(*a, bind); in tcf_vlan_init()
170 tcf_hash_release(*a, bind); in tcf_vlan_init()
177 &act_vlan_ops, bind, false); in tcf_vlan_init()
183 tcf_hash_release(*a, bind); in tcf_vlan_init()
207 int bind, int ref) in tcf_vlan_dump() argument
214 .bindcnt = v->tcf_bindcnt - bind, in tcf_vlan_dump()
Dact_tunnel_key.c74 int ovr, int bind) in tunnel_key_init() argument
99 exists = tcf_hash_check(tn, parm->index, a, bind); in tunnel_key_init()
100 if (exists && bind) in tunnel_key_init()
150 &act_tunnel_key_ops, bind, true); in tunnel_key_init()
156 tcf_hash_release(*a, bind); in tunnel_key_init()
167 tcf_hash_release(*a, bind); in tunnel_key_init()
189 tcf_hash_release(*a, bind); in tunnel_key_init()
193 static void tunnel_key_release(struct tc_action *a, int bind) in tunnel_key_release() argument
236 int bind, int ref) in tunnel_key_dump() argument
244 .bindcnt = t->tcf_bindcnt - bind, in tunnel_key_dump()
Dact_mirred.c36 static void tcf_mirred_release(struct tc_action *a, int bind) in tcf_mirred_release() argument
59 int bind) in tcf_mirred_init() argument
78 exists = tcf_hash_check(tn, parm->index, a, bind); in tcf_mirred_init()
79 if (exists && bind) in tcf_mirred_init()
88 tcf_hash_release(*a, bind); in tcf_mirred_init()
95 tcf_hash_release(*a, bind); in tcf_mirred_init()
119 &act_mirred_ops, bind, true); in tcf_mirred_init()
124 tcf_hash_release(*a, bind); in tcf_mirred_init()
217 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_mirred_dump() argument
226 .bindcnt = m->tcf_bindcnt - bind, in tcf_mirred_dump()
Dact_skbmod.c89 int ovr, int bind) in tcf_skbmod_init() argument
132 exists = tcf_hash_check(tn, parm->index, a, bind); in tcf_skbmod_init()
133 if (exists && bind) in tcf_skbmod_init()
141 &act_skbmod_ops, bind, true); in tcf_skbmod_init()
147 tcf_hash_release(*a, bind); in tcf_skbmod_init()
158 tcf_hash_release(*a, bind); in tcf_skbmod_init()
189 static void tcf_skbmod_cleanup(struct tc_action *a, int bind) in tcf_skbmod_cleanup() argument
200 int bind, int ref) in tcf_skbmod_dump() argument
208 .bindcnt = d->tcf_bindcnt - bind, in tcf_skbmod_dump()
Dact_api.c53 int __tcf_hash_release(struct tc_action *p, bool bind, bool strict) in __tcf_hash_release() argument
58 if (bind) in __tcf_hash_release()
66 p->ops->cleanup(p, bind); in __tcf_hash_release()
223 int bind) in tcf_hash_check() argument
229 if (bind) in tcf_hash_check()
250 int bind, bool cpustats) in tcf_hash_create() argument
259 if (bind) in tcf_hash_create()
453 int tcf_action_destroy(struct list_head *actions, int bind) in tcf_action_destroy() argument
461 ret = __tcf_hash_release(a, bind, true); in tcf_action_destroy()
471 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_old() argument
[all …]
Dact_skbedit.c68 int ovr, int bind) in tcf_skbedit_init() argument
113 exists = tcf_hash_check(tn, parm->index, a, bind); in tcf_skbedit_init()
114 if (exists && bind) in tcf_skbedit_init()
118 tcf_hash_release(*a, bind); in tcf_skbedit_init()
124 &act_skbedit_ops, bind, false); in tcf_skbedit_init()
132 tcf_hash_release(*a, bind); in tcf_skbedit_init()
159 int bind, int ref) in tcf_skbedit_dump() argument
166 .bindcnt = d->tcf_bindcnt - bind, in tcf_skbedit_dump()
Dact_connmark.c101 int ovr, int bind) in tcf_connmark_init() argument
121 if (!tcf_hash_check(tn, parm->index, a, bind)) { in tcf_connmark_init()
123 &act_connmark_ops, bind, false); in tcf_connmark_init()
136 if (bind) in tcf_connmark_init()
138 tcf_hash_release(*a, bind); in tcf_connmark_init()
150 int bind, int ref) in tcf_connmark_dump() argument
158 .bindcnt = ci->tcf_bindcnt - bind, in tcf_connmark_dump()
Dact_pedit.c37 int ovr, int bind) in tcf_pedit_init() argument
61 if (!tcf_hash_check(tn, parm->index, a, bind)) { in tcf_pedit_init()
65 &act_pedit_ops, bind, false); in tcf_pedit_init()
76 if (bind) in tcf_pedit_init()
78 tcf_hash_release(*a, bind); in tcf_pedit_init()
104 static void tcf_pedit_cleanup(struct tc_action *a, int bind) in tcf_pedit_cleanup() argument
194 int bind, int ref) in tcf_pedit_dump() argument
216 opt->bindcnt = p->tcf_bindcnt - bind; in tcf_pedit_dump()
Dact_gact.c61 int ovr, int bind) in tcf_gact_init() argument
95 if (!tcf_hash_check(tn, parm->index, a, bind)) { in tcf_gact_init()
97 &act_gact_ops, bind, true); in tcf_gact_init()
102 if (bind)/* dont override defaults */ in tcf_gact_init()
104 tcf_hash_release(*a, bind); in tcf_gact_init()
168 int bind, int ref) in tcf_gact_dump() argument
175 .bindcnt = gact->tcf_bindcnt - bind, in tcf_gact_dump()
Dact_nat.c42 struct tc_action **a, int ovr, int bind) in tcf_nat_init() argument
61 if (!tcf_hash_check(tn, parm->index, a, bind)) { in tcf_nat_init()
63 &act_nat_ops, bind, false); in tcf_nat_init()
68 if (bind) in tcf_nat_init()
70 tcf_hash_release(*a, bind); in tcf_nat_init()
249 int bind, int ref) in tcf_nat_dump() argument
262 .bindcnt = p->tcf_bindcnt - bind, in tcf_nat_dump()
Dact_bpf.c132 int bind, int ref) in tcf_bpf_dump() argument
139 .bindcnt = prog->tcf_bindcnt - bind, in tcf_bpf_dump()
276 int replace, int bind) in tcf_bpf_init() argument
298 if (!tcf_hash_check(tn, parm->index, act, bind)) { in tcf_bpf_init()
300 &act_bpf_ops, bind, true); in tcf_bpf_init()
307 if (bind) in tcf_bpf_init()
310 tcf_hash_release(*act, bind); in tcf_bpf_init()
363 static void tcf_bpf_cleanup(struct tc_action *act, int bind) in tcf_bpf_cleanup() argument
Dact_ife.c392 static void _tcf_ife_cleanup(struct tc_action *a, int bind) in _tcf_ife_cleanup() argument
410 static void tcf_ife_cleanup(struct tc_action *a, int bind) in tcf_ife_cleanup() argument
415 _tcf_ife_cleanup(a, bind); in tcf_ife_cleanup()
448 int ovr, int bind) in tcf_ife_init() argument
471 exists = tcf_hash_check(tn, parm->index, a, bind); in tcf_ife_init()
472 if (exists && bind) in tcf_ife_init()
481 tcf_hash_release(*a, bind); in tcf_ife_init()
489 bind, false); in tcf_ife_init()
494 tcf_hash_release(*a, bind); in tcf_ife_init()
537 tcf_hash_release(*a, bind); in tcf_ife_init()
[all …]
Dact_police.c79 int ovr, int bind) in tcf_act_police_init() argument
104 exists = tcf_hash_check(tn, parm->index, a, bind); in tcf_act_police_init()
105 if (exists && bind) in tcf_act_police_init()
110 &act_police_ops, bind, false); in tcf_act_police_init()
115 tcf_hash_release(*a, bind); in tcf_act_police_init()
267 int bind, int ref) in tcf_act_police_dump() argument
277 .bindcnt = police->tcf_bindcnt - bind, in tcf_act_police_dump()
Dact_csum.c50 int bind) in tcf_csum_init() argument
69 if (!tcf_hash_check(tn, parm->index, a, bind)) { in tcf_csum_init()
71 &act_csum_ops, bind, false); in tcf_csum_init()
76 if (bind)/* dont override defaults */ in tcf_csum_init()
78 tcf_hash_release(*a, bind); in tcf_csum_init()
546 static int tcf_csum_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_csum_dump() argument
556 .bindcnt = p->tcf_bindcnt - bind, in tcf_csum_dump()
/net/ieee802154/
Dsocket.c112 if (sk->sk_prot->bind) in ieee802154_sock_bind()
113 return sk->sk_prot->bind(sk, uaddr, addr_len); in ieee802154_sock_bind()
407 .bind = raw_bind,
422 .bind = ieee802154_sock_bind,
953 .bind = dgram_bind,
969 .bind = ieee802154_sock_bind,
/net/rds/
DMakefile2 rds-y := af_rds.o bind.o cong.o connection.o info.o message.o \
Dtcp_connect.c107 ret = sock->ops->bind(sock, (struct sockaddr *)&src, sizeof(src)); in rds_tcp_conn_path_connect()
/net/netlink/
Daf_netlink.h54 int (*bind)(struct net *net, int group); member
Daf_netlink.c646 int (*bind)(struct net *net, int group); in netlink_create() local
672 bind = nl_table[protocol].bind; in netlink_create()
689 nlk->netlink_bind = bind; in netlink_create()
774 nl_table[sk->sk_protocol].bind = NULL; in netlink_release()
2007 nl_table[unit].bind = cfg->bind; in __netlink_kernel_create()
2579 .bind = netlink_bind,
/net/phonet/
Dsocket.c176 if (sk->sk_prot->bind) in pn_socket_bind()
177 return sk->sk_prot->bind(sk, addr, len); in pn_socket_bind()
445 .bind = pn_socket_bind,
470 .bind = pn_socket_bind,
/net/ipv6/
Daf_inet6.c298 if (sk->sk_prot->bind) in inet6_bind()
299 return sk->sk_prot->bind(sk, uaddr, addr_len); in inet6_bind()
550 .bind = inet6_bind,
578 .bind = inet6_bind,
/net/nfc/
Drawsock.c282 .bind = sock_no_bind,
302 .bind = sock_no_bind,
/net/atm/
Dpvc.c111 .bind = pvc_bind,

1234