Home
last modified time | relevance | path

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

12345678910>>...25

/Linux-v5.10/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()
199 tcf_idr_release(*a, bind); in __tcf_ipt_init()
205 int bind, bool rtnl_held, struct tcf_proto *tp, in tcf_ipt_init() argument
[all …]
Dact_vlan.c117 int ovr, int bind, bool rtnl_held, in tcf_vlan_init() argument
147 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_vlan_init()
151 if (exists && bind) in tcf_vlan_init()
161 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()
200 tcf_idr_release(*a, bind); in tcf_vlan_init()
208 tcf_idr_release(*a, bind); in tcf_vlan_init()
217 &act_vlan_ops, bind, flags); in tcf_vlan_init()
225 tcf_idr_release(*a, bind); in tcf_vlan_init()
[all …]
Dact_connmark.c99 int ovr, int bind, bool rtnl_held, in tcf_connmark_init() argument
124 ret = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_connmark_init()
127 &act_connmark_ops, bind, false, 0); in tcf_connmark_init()
145 if (bind) in tcf_connmark_init()
148 tcf_idr_release(*a, bind); in tcf_connmark_init()
167 tcf_idr_release(*a, bind); in tcf_connmark_init()
172 int bind, int ref) in tcf_connmark_dump() argument
179 .bindcnt = atomic_read(&ci->tcf_bindcnt) - bind, in tcf_connmark_dump()
Dact_simple.c88 int ovr, int bind, bool rtnl_held, in tcf_simp_init() argument
114 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_simp_init()
118 if (exists && bind) in tcf_simp_init()
123 tcf_idr_release(*a, bind); in tcf_simp_init()
131 &act_simp_ops, bind, false, 0); in tcf_simp_init()
165 tcf_idr_release(*a, bind); in tcf_simp_init()
170 int bind, int ref) in tcf_simp_dump() argument
177 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_simp_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, 0); in tcf_skbmod_init()
154 tcf_idr_release(*a, bind); in tcf_skbmod_init()
198 tcf_idr_release(*a, bind); in tcf_skbmod_init()
213 int bind, int ref) in tcf_skbmod_dump() argument
221 .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
100 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_gact_init()
103 &act_gact_ops, bind, flags); in tcf_gact_init()
110 if (bind)/* dont override defaults */ in tcf_gact_init()
113 tcf_idr_release(*a, bind); in tcf_gact_init()
145 tcf_idr_release(*a, bind); in tcf_gact_init()
185 int bind, int ref) in tcf_gact_dump() argument
192 .bindcnt = atomic_read(&gact->tcf_bindcnt) - bind, in tcf_gact_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, 0); in tcf_nat_init()
71 if (bind) in tcf_nat_init()
74 tcf_idr_release(*a, bind); in tcf_nat_init()
98 tcf_idr_release(*a, bind); in tcf_nat_init()
258 int bind, int ref) in tcf_nat_dump() argument
265 .bindcnt = atomic_read(&p->tcf_bindcnt) - bind, in tcf_nat_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, 0); in tcf_sample_init()
79 tcf_idr_release(*a, bind); in tcf_sample_init()
124 tcf_idr_release(*a, bind); in tcf_sample_init()
198 int bind, int ref) in tcf_sample_dump() argument
205 .bindcnt = atomic_read(&s->tcf_bindcnt) - bind, in tcf_sample_dump()
Dact_skbedit.c99 int ovr, int bind, bool rtnl_held, in tcf_skbedit_init() argument
162 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbedit_init()
166 if (exists && bind) in tcf_skbedit_init()
171 tcf_idr_release(*a, bind); in tcf_skbedit_init()
179 &act_skbedit_ops, bind, true, 0); in tcf_skbedit_init()
190 tcf_idr_release(*a, bind); in tcf_skbedit_init()
233 tcf_idr_release(*a, bind); in tcf_skbedit_init()
238 int bind, int ref) in tcf_skbedit_dump() argument
246 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbedit_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()
410 int bind, bool cpustats, u32 flags) in tcf_idr_create() argument
419 if (bind) in tcf_idr_create()
465 const struct tc_action_ops *ops, int bind, in tcf_idr_create_from_flags() argument
469 return tcf_idr_create(tn, index, est, a, ops, bind, in tcf_idr_create_from_flags()
[all …]
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, flags); in tcf_mirred_init()
159 tcf_idr_release(*a, bind); in tcf_mirred_init()
204 tcf_idr_release(*a, bind); in tcf_mirred_init()
323 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_mirred_dump() argument
331 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mirred_dump()
Dact_ctinfo.c157 int ovr, int bind, bool rtnl_held, in tcf_ctinfo_init() argument
212 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_ctinfo_init()
215 &act_ctinfo_ops, bind, false, 0); in tcf_ctinfo_init()
222 if (bind) /* don't override defaults */ in tcf_ctinfo_init()
225 tcf_idr_release(*a, bind); in tcf_ctinfo_init()
277 tcf_idr_release(*a, bind); in tcf_ctinfo_init()
282 int bind, int ref) in tcf_ctinfo_dump() argument
288 .bindcnt = atomic_read(&ci->tcf_bindcnt) - bind, in tcf_ctinfo_dump()
Dact_bpf.c138 int bind, int ref) in tcf_bpf_dump() argument
145 .bindcnt = atomic_read(&prog->tcf_bindcnt) - bind, in tcf_bpf_dump()
280 int replace, int bind, bool rtnl_held, in tcf_bpf_init() argument
307 ret = tcf_idr_check_alloc(tn, &index, act, bind); in tcf_bpf_init()
310 &act_bpf_ops, bind, true, 0); in tcf_bpf_init()
319 if (bind) in tcf_bpf_init()
323 tcf_idr_release(*act, bind); in tcf_bpf_init()
381 tcf_idr_release(*act, bind); in tcf_bpf_init()
Dact_mpls.c155 int ovr, int bind, bool rtnl_held, in tcf_mpls_init() argument
242 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mpls_init()
246 if (exists && bind) in tcf_mpls_init()
251 &act_mpls_ops, bind, true, 0); in tcf_mpls_init()
259 tcf_idr_release(*a, bind); in tcf_mpls_init()
302 tcf_idr_release(*a, bind); in tcf_mpls_init()
317 int bind, int ref) in tcf_mpls_dump() argument
325 .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, 0); in tcf_police_init()
98 tcf_idr_release(*a, bind); in tcf_police_init()
212 tcf_idr_release(*a, bind); in tcf_police_init()
300 int bind, int ref) in tcf_police_dump() argument
308 .bindcnt = atomic_read(&police->tcf_bindcnt) - bind, in tcf_police_dump()
/Linux-v5.10/include/net/
Dact_api.h103 int bind, bool rtnl_held, struct tcf_proto *tp,
164 int bind, bool cpustats, u32 flags);
167 const struct tc_action_ops *ops, int bind,
171 struct tc_action **a, int bind);
172 int __tcf_idr_release(struct tc_action *a, bool bind, bool strict);
174 static inline int tcf_idr_release(struct tc_action *a, bool bind) in tcf_idr_release() argument
176 return __tcf_idr_release(a, bind, false); in tcf_idr_release()
182 int tcf_action_destroy(struct tc_action *actions[], int bind);
186 struct nlattr *est, char *name, int ovr, int bind,
191 char *name, int ovr, int bind,
[all …]
/Linux-v5.10/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.10/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.10/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.10/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()
824 struct p4_event_bind *bind; in p4_hw_config() local
841 bind = p4_config_get_bind(event->attr.config); in p4_hw_config()
842 if (!bind) { in p4_hw_config()
846 esel = P4_OPCODE_ESEL(bind->opcode); in p4_hw_config()
[all …]
/Linux-v5.10/Documentation/scsi/
DNinjaSCSI.rst94 bind "nsp_cs"
98 bind "nsp_cs"
103 bind "nsp_cs"
108 bind "nsp_cs"
111 bind "nsp_cs"
114 bind "nsp_cs"
117 bind "nsp_cs"
/Linux-v5.10/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
12 # echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/bind
/Linux-v5.10/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.10/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 the
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 …]
/Linux-v5.10/Documentation/fb/
Dfbcon.rst160 This option causes fbcon to bind immediately to the fbdev device.
207 Echo a value to the bind file that represents the framebuffer console
210 echo 1 > sys/class/vtconsole/vtcon1/bind - attach framebuffer console to
212 echo 0 > sys/class/vtconsole/vtcon1/bind - detach framebuffer console from
242 echo 0 > /sys/class/vtconsole/vtcon1/bind
249 echo 1 > /sys/class/vtconsole/vtcon1/bind
254 automatically bind the console, fbcon and the drivers together. Unloading
256 console to bind fbcon.
280 echo 1 > /sys/class/vtconsole/vtcon1/bind
286 echo <ID> > /sys/class/tty/console/bind
[all …]

12345678910>>...25