Home
last modified time | relevance | path

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

12345678910>>...24

/Linux-v5.4/include/net/
Dact_api.h96 int bind, bool rtnl_held, struct tcf_proto *tp,
157 int bind, bool cpustats);
162 struct tc_action **a, int bind);
163 int __tcf_idr_release(struct tc_action *a, bool bind, bool strict);
165 static inline int tcf_idr_release(struct tc_action *a, bool bind) in tcf_idr_release() argument
167 return __tcf_idr_release(a, bind, false); in tcf_idr_release()
173 int tcf_action_destroy(struct tc_action *actions[], int bind);
177 struct nlattr *est, char *name, int ovr, int bind,
182 char *name, int ovr, int bind,
185 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
/Linux-v5.4/net/sched/
Dact_ipt.c97 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 …]
Dact_vlan.c104 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 …]
Dact_simple.c88 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()
Dact_connmark.c96 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()
Dact_skbmod.c81 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()
Dact_gact.c55 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()
Dact_sample.c38 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()
Dact_api.c125 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 …]
Dact_skbedit.c88 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()
Dact_nat.c37 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()
Dact_mirred.c94 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()
328 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_mirred_dump() argument
336 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mirred_dump()
Dact_bpf.c135 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()
Dact_ctinfo.c155 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()
Dact_mpls.c133 int ovr, int bind, bool rtnl_held, in tcf_mpls_init() argument
218 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mpls_init()
222 if (exists && bind) in tcf_mpls_init()
227 &act_mpls_ops, bind, true); in tcf_mpls_init()
235 tcf_idr_release(*a, bind); in tcf_mpls_init()
280 tcf_idr_release(*a, bind); in tcf_mpls_init()
295 int bind, int ref) in tcf_mpls_dump() argument
303 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mpls_dump()
Dact_police.c49 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()
/Linux-v5.4/tools/testing/selftests/media_tests/
Dmedia_dev_allocator.sh39 echo $MDEV > $MDRIVER/bind;
45 echo $ADEV > $ADRIVER/bind;
65 echo $MDEV > $MDRIVER/bind;
79 echo $ADEV > $ADRIVER/bind;
/Linux-v5.4/drivers/xen/
Devtchn.c466 struct ioctl_evtchn_bind_virq bind; in evtchn_ioctl() local
474 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl()
477 bind_virq.virq = bind.virq; in evtchn_ioctl()
491 struct ioctl_evtchn_bind_interdomain bind; in evtchn_ioctl() local
495 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl()
500 u->restrict_domid != bind.remote_domain) in evtchn_ioctl()
503 bind_interdomain.remote_dom = bind.remote_domain; in evtchn_ioctl()
504 bind_interdomain.remote_port = bind.remote_port; in evtchn_ioctl()
519 struct ioctl_evtchn_bind_unbound_port bind; in evtchn_ioctl() local
527 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl()
[all …]
/Linux-v5.4/tools/testing/selftests/drivers/usb/usbip/
Dusbip_test.sh89 src/usbip bind -b $busid;
97 src/usbip bind -b $busid;
129 src/usbip bind -b $busid;
186 src/usbip bind -b $busid;
/Linux-v5.4/arch/x86/events/intel/
Dp4.c708 struct p4_event_bind *bind = NULL; in p4_config_get_bind() local
711 bind = &p4_event_bind_map[evnt]; in p4_config_get_bind()
713 return bind; in p4_config_get_bind()
718 struct p4_event_bind *bind; in p4_pmu_event_map() local
723 bind = p4_config_get_bind(config); in p4_pmu_event_map()
724 esel = P4_OPCODE_ESEL(bind->opcode); in p4_pmu_event_map()
823 struct p4_event_bind *bind; in p4_hw_config() local
840 bind = p4_config_get_bind(event->attr.config); in p4_hw_config()
841 if (!bind) { in p4_hw_config()
845 esel = P4_OPCODE_ESEL(bind->opcode); in p4_hw_config()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c763 bool bind) in mlxsw_sp_span_entry_bound_port_find() argument
770 bind == p->bound) in mlxsw_sp_span_entry_bound_port_find()
779 bool bind) in mlxsw_sp_span_inspected_port_bind() argument
787 (enum mlxsw_reg_mpar_i_e)type, bind, pa_id); in mlxsw_sp_span_inspected_port_bind()
795 bool bind) in mlxsw_sp_span_inspected_port_add() argument
806 if (bind) in mlxsw_sp_span_inspected_port_add()
812 port, bind)) in mlxsw_sp_span_inspected_port_add()
829 if (bind) { in mlxsw_sp_span_inspected_port_add()
843 inspected_port->bound = bind; in mlxsw_sp_span_inspected_port_add()
849 if (bind) in mlxsw_sp_span_inspected_port_add()
[all …]
/Linux-v5.4/Documentation/scsi/
DNinjaSCSI.txt72 bind "nsp_cs"
76 bind "nsp_cs"
81 bind "nsp_cs"
86 bind "nsp_cs"
89 bind "nsp_cs"
92 bind "nsp_cs"
95 bind "nsp_cs"
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-bus-fsl-mc1 What: /sys/bus/fsl-mc/drivers/.../bind
6 the driver to attempt to bind to the device found at
10 # echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/bind
/Linux-v5.4/Documentation/driver-api/
Dconsole.rst25 do_take_over_console() - load and bind driver to console layer
45 . .. bind name uevent
49 1. bind - this is a read/write file. It shows the status of the driver if
50 read, or acts to bind or unbind the driver to the virtual consoles
59 bind
67 commanded to bind or unbind
75 directly commanded to bind or unbind.
81 hand, will bind the driver to the consoles that are currently occupied by a
126 bind to) the console.
/Linux-v5.4/Documentation/networking/
Dj1939.rst146 After the successful creation of the socket, you would normally use the bind(2)
147 and/or connect(2) system call to bind the socket to a CAN interface. After
153 In order to send data, a bind(2) must have been successful. bind(2) assigns a
158 to bind(2), connect(2), sendto(2) and recvfrom(2). A write(2) with size 4 will
192 The bind(2) system call assigns the local address, i.e. the source address when
193 sending packages. If a PGN during bind(2) is set, it's used as a RX filter.
206 Both write(2) and send(2) will send a packet with local address from bind(2) and
220 - SO_J1939_PROMISC - disable filters set by bind(2) and connect(2)
248 | bind() + connect() + | |
308 j1939.name member and provide it to bind(2). If the name had claimed an address
[all …]

12345678910>>...24