/net/sched/ |
D | act_ipt.c | 97 const struct tc_action_ops *ops, int ovr, int bind, in __tcf_ipt_init() argument 121 err = tcf_idr_check_alloc(tn, &index, a, bind); in __tcf_ipt_init() 125 if (exists && bind) in __tcf_ipt_init() 130 tcf_idr_release(*a, bind); in __tcf_ipt_init() 139 tcf_idr_release(*a, bind); in __tcf_ipt_init() 146 ret = tcf_idr_create(tn, index, est, a, ops, bind, in __tcf_ipt_init() 154 if (bind)/* dont override defaults */ in __tcf_ipt_init() 158 tcf_idr_release(*a, bind); in __tcf_ipt_init() 201 tcf_idr_release(*a, bind); in __tcf_ipt_init() 207 int bind, bool rtnl_held, struct tcf_proto *tp, in tcf_ipt_init() argument [all …]
|
D | act_vlan.c | 104 int ovr, int bind, bool rtnl_held, in tcf_vlan_init() argument 133 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_vlan_init() 137 if (exists && bind) in tcf_vlan_init() 147 tcf_idr_release(*a, bind); in tcf_vlan_init() 155 tcf_idr_release(*a, bind); in tcf_vlan_init() 169 tcf_idr_release(*a, bind); in tcf_vlan_init() 183 tcf_idr_release(*a, bind); in tcf_vlan_init() 192 &act_vlan_ops, bind, true); in tcf_vlan_init() 200 tcf_idr_release(*a, bind); in tcf_vlan_init() 238 tcf_idr_release(*a, bind); in tcf_vlan_init() [all …]
|
D | act_simple.c | 88 int ovr, int bind, bool rtnl_held, in tcf_simp_init() argument 113 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_simp_init() 117 if (exists && bind) in tcf_simp_init() 122 tcf_idr_release(*a, bind); in tcf_simp_init() 130 &act_simp_ops, bind, false); in tcf_simp_init() 166 tcf_idr_release(*a, bind); in tcf_simp_init() 171 int bind, int ref) in tcf_simp_dump() argument 178 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_simp_dump()
|
D | act_connmark.c | 96 int ovr, int bind, bool rtnl_held, in tcf_connmark_init() argument 121 ret = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_connmark_init() 124 &act_connmark_ops, bind, false); in tcf_connmark_init() 143 if (bind) in tcf_connmark_init() 146 tcf_idr_release(*a, bind); in tcf_connmark_init() 165 tcf_idr_release(*a, bind); in tcf_connmark_init() 170 int bind, int ref) in tcf_connmark_dump() argument 177 .bindcnt = atomic_read(&ci->tcf_bindcnt) - bind, in tcf_connmark_dump()
|
D | act_skbmod.c | 81 int ovr, int bind, bool rtnl_held, in tcf_skbmod_init() argument 129 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbmod_init() 133 if (exists && bind) in tcf_skbmod_init() 138 tcf_idr_release(*a, bind); in tcf_skbmod_init() 146 &act_skbmod_ops, bind, true); in tcf_skbmod_init() 154 tcf_idr_release(*a, bind); in tcf_skbmod_init() 200 tcf_idr_release(*a, bind); in tcf_skbmod_init() 215 int bind, int ref) in tcf_skbmod_dump() argument 223 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbmod_dump()
|
D | act_api.c | 125 static int __tcf_action_put(struct tc_action *p, bool bind) in __tcf_action_put() argument 130 if (bind) in __tcf_action_put() 139 if (bind) in __tcf_action_put() 145 int __tcf_idr_release(struct tc_action *p, bool bind, bool strict) in __tcf_idr_release() argument 162 if (!bind && strict && atomic_read(&p->tcfa_bindcnt) > 0) in __tcf_idr_release() 165 if (__tcf_action_put(p, bind)) in __tcf_idr_release() 402 int bind, bool cpustats) in tcf_idr_create() argument 411 if (bind) in tcf_idr_create() 485 struct tc_action **a, int bind) in tcf_idr_check_alloc() argument 505 if (bind) in tcf_idr_check_alloc() [all …]
|
D | act_gact.c | 55 int ovr, int bind, bool rtnl_held, in tcf_gact_init() argument 99 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_gact_init() 102 &act_gact_ops, bind, true); in tcf_gact_init() 109 if (bind)/* dont override defaults */ in tcf_gact_init() 112 tcf_idr_release(*a, bind); in tcf_gact_init() 146 tcf_idr_release(*a, bind); in tcf_gact_init() 193 int bind, int ref) in tcf_gact_dump() argument 200 .bindcnt = atomic_read(&gact->tcf_bindcnt) - bind, in tcf_gact_dump()
|
D | act_sample.c | 38 int bind, bool rtnl_held, struct tcf_proto *tp, in tcf_sample_init() argument 63 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_sample_init() 67 if (exists && bind) in tcf_sample_init() 72 &act_sample_ops, bind, true); in tcf_sample_init() 79 tcf_idr_release(*a, bind); in tcf_sample_init() 126 tcf_idr_release(*a, bind); in tcf_sample_init() 200 int bind, int ref) in tcf_sample_dump() argument 207 .bindcnt = atomic_read(&s->tcf_bindcnt) - bind, in tcf_sample_dump()
|
D | act_skbedit.c | 88 int ovr, int bind, bool rtnl_held, in tcf_skbedit_init() argument 151 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbedit_init() 155 if (exists && bind) in tcf_skbedit_init() 160 tcf_idr_release(*a, bind); in tcf_skbedit_init() 168 &act_skbedit_ops, bind, true); in tcf_skbedit_init() 179 tcf_idr_release(*a, bind); in tcf_skbedit_init() 224 tcf_idr_release(*a, bind); in tcf_skbedit_init() 229 int bind, int ref) in tcf_skbedit_dump() argument 237 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbedit_dump()
|
D | act_nat.c | 37 struct tc_action **a, int ovr, int bind, in tcf_nat_init() argument 61 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_nat_init() 64 &act_nat_ops, bind, false); in tcf_nat_init() 71 if (bind) in tcf_nat_init() 74 tcf_idr_release(*a, bind); in tcf_nat_init() 101 tcf_idr_release(*a, bind); in tcf_nat_init() 263 int bind, int ref) in tcf_nat_dump() argument 270 .bindcnt = atomic_read(&p->tcf_bindcnt) - bind, in tcf_nat_dump()
|
D | act_mirred.c | 94 int ovr, int bind, bool rtnl_held, in tcf_mirred_init() argument 123 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mirred_init() 127 if (exists && bind) in tcf_mirred_init() 138 tcf_idr_release(*a, bind); in tcf_mirred_init() 152 &act_mirred_ops, bind, true); in tcf_mirred_init() 159 tcf_idr_release(*a, bind); in tcf_mirred_init() 206 tcf_idr_release(*a, bind); in tcf_mirred_init() 330 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_mirred_dump() argument 338 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mirred_dump()
|
D | act_bpf.c | 135 int bind, int ref) in tcf_bpf_dump() argument 142 .bindcnt = atomic_read(&prog->tcf_bindcnt) - bind, in tcf_bpf_dump() 277 int replace, int bind, bool rtnl_held, in tcf_bpf_init() argument 303 ret = tcf_idr_check_alloc(tn, &index, act, bind); in tcf_bpf_init() 306 &act_bpf_ops, bind, true); in tcf_bpf_init() 315 if (bind) in tcf_bpf_init() 319 tcf_idr_release(*act, bind); in tcf_bpf_init() 379 tcf_idr_release(*act, bind); in tcf_bpf_init()
|
D | act_ctinfo.c | 155 int ovr, int bind, bool rtnl_held, in tcf_ctinfo_init() argument 210 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_ctinfo_init() 213 &act_ctinfo_ops, bind, false); in tcf_ctinfo_init() 220 if (bind) /* don't override defaults */ in tcf_ctinfo_init() 223 tcf_idr_release(*a, bind); in tcf_ctinfo_init() 278 tcf_idr_release(*a, bind); in tcf_ctinfo_init() 283 int bind, int ref) in tcf_ctinfo_dump() argument 289 .bindcnt = atomic_read(&ci->tcf_bindcnt) - bind, in tcf_ctinfo_dump()
|
D | act_mpls.c | 136 int ovr, int bind, bool rtnl_held, in tcf_mpls_init() argument 221 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mpls_init() 225 if (exists && bind) in tcf_mpls_init() 230 &act_mpls_ops, bind, true); in tcf_mpls_init() 238 tcf_idr_release(*a, bind); in tcf_mpls_init() 283 tcf_idr_release(*a, bind); in tcf_mpls_init() 298 int bind, int ref) in tcf_mpls_dump() argument 306 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mpls_dump()
|
D | act_police.c | 49 int ovr, int bind, bool rtnl_held, in tcf_police_init() argument 81 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_police_init() 85 if (exists && bind) in tcf_police_init() 90 &act_police_ops, bind, true); in tcf_police_init() 98 tcf_idr_release(*a, bind); in tcf_police_init() 214 tcf_idr_release(*a, bind); in tcf_police_init() 305 int bind, int ref) in tcf_police_dump() argument 313 .bindcnt = atomic_read(&police->tcf_bindcnt) - bind, in tcf_police_dump()
|
D | act_pedit.c | 139 int ovr, int bind, bool rtnl_held, in tcf_pedit_init() argument 188 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_pedit_init() 191 &act_pedit_ops, bind, false); in tcf_pedit_init() 198 if (bind) in tcf_pedit_init() 248 tcf_idr_release(*a, bind); in tcf_pedit_init() 412 int bind, int ref) in tcf_pedit_dump() argument 435 opt->bindcnt = atomic_read(&p->tcf_bindcnt) - bind; in tcf_pedit_dump()
|
D | act_csum.c | 45 int bind, bool rtnl_held, struct tcf_proto *tp, in tcf_csum_init() argument 69 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_csum_init() 72 &act_csum_ops, bind, true); in tcf_csum_init() 79 if (bind)/* dont override defaults */ in tcf_csum_init() 82 tcf_idr_release(*a, bind); in tcf_csum_init() 121 tcf_idr_release(*a, bind); in tcf_csum_init() 632 static int tcf_csum_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_csum_dump() argument 641 .bindcnt = atomic_read(&p->tcf_bindcnt) - bind, in tcf_csum_dump()
|
D | act_tunnel_key.c | 214 int ovr, int bind, bool rtnl_held, in tunnel_key_init() argument 254 err = tcf_idr_check_alloc(tn, &index, a, bind); in tunnel_key_init() 258 if (exists && bind) in tunnel_key_init() 355 &act_tunnel_key_ops, bind, true); in tunnel_key_init() 410 tcf_idr_release(*a, bind); in tunnel_key_init() 513 int bind, int ref) in tunnel_key_dump() argument 521 .bindcnt = atomic_read(&t->tcf_bindcnt) - bind, in tunnel_key_dump()
|
D | act_ife.c | 467 int ovr, int bind, bool rtnl_held, in tcf_ife_init() argument 512 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_ife_init() 518 if (exists && bind) { in tcf_ife_init() 525 bind, true); in tcf_ife_init() 533 tcf_idr_release(*a, bind); in tcf_ife_init() 614 tcf_idr_release(*a, bind); in tcf_ife_init() 618 static int tcf_ife_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_ife_dump() argument 627 .bindcnt = atomic_read(&ife->tcf_bindcnt) - bind, in tcf_ife_dump()
|
D | act_ct.c | 669 int replace, int bind, bool rtnl_held, in tcf_ct_init() argument 697 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_ct_init() 703 &act_ct_ops, bind, true); in tcf_ct_init() 710 if (bind) in tcf_ct_init() 714 tcf_idr_release(*a, bind); in tcf_ct_init() 752 tcf_idr_release(*a, bind); in tcf_ct_init() 830 int bind, int ref) in tcf_ct_dump() argument 839 .bindcnt = atomic_read(&c->tcf_bindcnt) - bind, in tcf_ct_dump()
|
/net/ieee802154/ |
D | socket.c | 105 if (sk->sk_prot->bind) in ieee802154_sock_bind() 106 return sk->sk_prot->bind(sk, uaddr, addr_len); in ieee802154_sock_bind() 395 .bind = raw_bind, 410 .bind = ieee802154_sock_bind, 957 .bind = dgram_bind, 973 .bind = ieee802154_sock_bind,
|
/net/phonet/ |
D | socket.c | 165 if (sk->sk_prot->bind) in pn_socket_bind() 166 return sk->sk_prot->bind(sk, addr, len); in pn_socket_bind() 433 .bind = pn_socket_bind, 458 .bind = pn_socket_bind,
|
/net/rds/ |
D | Makefile | 3 rds-y := af_rds.o bind.o cong.o connection.o info.o message.o \
|
/net/netlink/ |
D | af_netlink.h | 65 int (*bind)(struct net *net, int group); member
|
/net/nfc/ |
D | rawsock.c | 270 .bind = sock_no_bind, 290 .bind = sock_no_bind,
|