Home
last modified time | relevance | path

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

12345678910>>...27

/linux/net/sched/
A Dact_vlan.c121 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_vlan_init() local
152 if (exists && bind) in tcf_vlan_init()
162 tcf_idr_release(*a, bind); in tcf_vlan_init()
170 tcf_idr_release(*a, bind); in tcf_vlan_init()
184 tcf_idr_release(*a, bind); in tcf_vlan_init()
202 tcf_idr_release(*a, bind); in tcf_vlan_init()
210 tcf_idr_release(*a, bind); in tcf_vlan_init()
219 &act_vlan_ops, bind, flags); in tcf_vlan_init()
227 tcf_idr_release(*a, bind); in tcf_vlan_init()
271 tcf_idr_release(*a, bind); in tcf_vlan_init()
[all …]
A Dact_connmark.c104 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_connmark_init() local
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()
A Dact_simple.c93 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_simp_init() local
115 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_simp_init()
119 if (exists && bind) in tcf_simp_init()
124 tcf_idr_release(*a, bind); in tcf_simp_init()
132 &act_simp_ops, bind, false, 0); 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()
A Dact_ipt.c101 bool bind = flags & TCA_ACT_FLAGS_BIND; in __tcf_ipt_init() local
122 err = tcf_idr_check_alloc(tn, &index, a, bind); in __tcf_ipt_init()
126 if (exists && bind) in __tcf_ipt_init()
131 tcf_idr_release(*a, bind); in __tcf_ipt_init()
140 tcf_idr_release(*a, bind); in __tcf_ipt_init()
147 ret = tcf_idr_create(tn, index, est, a, ops, bind, in __tcf_ipt_init()
155 if (bind)/* dont override defaults */ in __tcf_ipt_init()
159 tcf_idr_release(*a, bind); in __tcf_ipt_init()
200 tcf_idr_release(*a, bind); in __tcf_ipt_init()
274 static int tcf_ipt_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_ipt_dump() argument
[all …]
A Dact_skbmod.c108 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_skbmod_init() local
154 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbmod_init()
158 if (exists && bind) in tcf_skbmod_init()
163 tcf_idr_release(*a, bind); in tcf_skbmod_init()
171 &act_skbmod_ops, bind, true, 0); in tcf_skbmod_init()
179 tcf_idr_release(*a, bind); in tcf_skbmod_init()
223 tcf_idr_release(*a, bind); in tcf_skbmod_init()
238 int bind, int ref) in tcf_skbmod_dump() argument
246 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbmod_dump()
A Dact_gact.c59 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_gact_init() local
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()
A Dact_nat.c41 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_nat_init() local
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()
A Dact_sample.c42 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_sample_init() local
64 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_sample_init()
68 if (exists && bind) in tcf_sample_init()
73 &act_sample_ops, bind, true, 0); in tcf_sample_init()
80 tcf_idr_release(*a, bind); in tcf_sample_init()
125 tcf_idr_release(*a, bind); in tcf_sample_init()
205 int bind, int ref) in tcf_sample_dump() argument
212 .bindcnt = atomic_read(&s->tcf_bindcnt) - bind, in tcf_sample_dump()
A Dact_skbedit.c103 bool bind = act_flags & TCA_ACT_FLAGS_BIND; in tcf_skbedit_init() local
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()
A Dact_mirred.c98 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_mirred_init() local
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()
203 tcf_idr_release(*a, bind); in tcf_mirred_init()
338 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_mirred_dump() argument
346 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mirred_dump()
A Dact_ctinfo.c161 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_ctinfo_init() local
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()
A Dact_bpf.c136 int bind, int ref) in tcf_bpf_dump() argument
143 .bindcnt = atomic_read(&prog->tcf_bindcnt) - bind, in tcf_bpf_dump()
282 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_bpf_init() local
305 ret = tcf_idr_check_alloc(tn, &index, act, bind); in tcf_bpf_init()
308 &act_bpf_ops, bind, true, 0); in tcf_bpf_init()
317 if (bind) in tcf_bpf_init()
321 tcf_idr_release(*act, bind); in tcf_bpf_init()
379 tcf_idr_release(*act, bind); in tcf_bpf_init()
A Dact_mpls.c159 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_mpls_init() local
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()
A Dact_api.c146 if (bind) in __tcf_action_put()
155 if (bind) in __tcf_action_put()
181 if (__tcf_action_put(p, bind)) in __tcf_idr_release()
193 ret = __tcf_idr_release(a, bind, false); in tcf_idr_release()
470 int bind, bool cpustats, u32 flags) in tcf_idr_create() argument
479 if (bind) in tcf_idr_create()
557 struct tc_action **a, int bind) in tcf_idr_check_alloc() argument
577 if (bind) in tcf_idr_check_alloc()
815 return a->ops->dump(skb, a, bind, ref); in tcf_action_dump_old()
859 int bind, int ref, bool terse) in tcf_action_dump() argument
[all …]
A Dact_police.c55 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_police_init() local
84 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_police_init()
88 if (exists && bind) in tcf_police_init()
93 &act_police_ops, bind, true, 0); in tcf_police_init()
101 tcf_idr_release(*a, bind); in tcf_police_init()
238 tcf_idr_release(*a, bind); in tcf_police_init()
335 int bind, int ref) in tcf_police_dump() argument
343 .bindcnt = atomic_read(&police->tcf_bindcnt) - bind, in tcf_police_dump()
/linux/drivers/xen/
A Devtchn.c441 struct ioctl_evtchn_bind_virq bind; in evtchn_ioctl() local
449 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl()
452 bind_virq.virq = bind.virq; in evtchn_ioctl()
466 struct ioctl_evtchn_bind_interdomain bind; in evtchn_ioctl() local
470 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl()
475 u->restrict_domid != bind.remote_domain) in evtchn_ioctl()
478 bind_interdomain.remote_dom = bind.remote_domain; in evtchn_ioctl()
479 bind_interdomain.remote_port = bind.remote_port; in evtchn_ioctl()
492 struct ioctl_evtchn_bind_unbound_port bind; in evtchn_ioctl() local
500 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl()
[all …]
/linux/tools/testing/selftests/media_tests/
A Dmedia_dev_allocator.sh39 echo $MDEV > $MDRIVER/bind;
45 echo $ADEV > $ADRIVER/bind;
65 echo $MDEV > $MDRIVER/bind;
79 echo $ADEV > $ADRIVER/bind;
/linux/arch/x86/events/intel/
A Dp4.c713 return bind; in p4_config_get_bind()
718 struct p4_event_bind *bind; in p4_pmu_event_map() local
824 struct p4_event_bind *bind; in p4_hw_config() local
842 if (!bind) { in p4_hw_config()
935 struct p4_pebs_bind *bind; in p4_pmu_enable_pebs() local
944 bind = &p4_pebs_bind_map[idx]; in p4_pmu_enable_pebs()
956 struct p4_event_bind *bind; in __p4_pmu_enable_event() local
959 bind = &p4_event_bind_map[idx]; in __p4_pmu_enable_event()
1204 struct p4_event_bind *bind) in p4_next_cntr() argument
1209 j = bind->cntr[thread][i]; in p4_next_cntr()
[all …]
/linux/tools/testing/selftests/drivers/usb/usbip/
A 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/Documentation/scsi/
A 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/Documentation/driver-api/
A 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/include/net/
A Dact_api.h172 int bind, bool cpustats, u32 flags);
175 const struct tc_action_ops *ops, int bind,
180 struct tc_action **a, int bind);
181 int tcf_idr_release(struct tc_action *a, bool bind);
186 int tcf_action_destroy(struct tc_action *actions[], int bind);
200 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
/linux/Documentation/ABI/testing/
A 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/Documentation/networking/
A Dj1939.rst184 After the successful creation of the socket, you would normally use the ``bind(2)``
185 and/or ``connect(2)`` system call to bind the socket to a CAN interface. After
191 In order to send data, a ``bind(2)`` must have been successful. ``bind(2)`` assigns a
230 The ``bind(2)`` system call assigns the local address, i.e. the source address when
231 sending packages. If a PGN during ``bind(2)`` is set, it's used as a RX filter.
258 - ``SO_J1939_PROMISC`` - disable filters set by ``bind(2)`` and ``connect(2)``
286 | bind() + connect() + | |
363 .pgn = J1939_NO_PGN, /* to disable bind() rx filter for PGN */
368 bind(sock, (struct sockaddr *)&baddr, sizeof(baddr));
400 * NAME provided, does not match the j1939.name provided to bind(2), EPROTO
[all …]
/linux/Documentation/fb/
A 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
242 echo 0 > /sys/class/vtconsole/vtcon1/bind
249 echo 1 > /sys/class/vtconsole/vtcon1/bind
256 console to bind fbcon.
280 echo 1 > /sys/class/vtconsole/vtcon1/bind
286 echo <ID> > /sys/class/tty/console/bind
297 echo 1 > /sys/class/vtconsole/vtcon1/bind
302 Here are 2 sample bash scripts that you can use to bind or unbind the
324 echo 0 > /sys/class/vtconsole/vtcon$i/bind
[all …]

Completed in 30 milliseconds

12345678910>>...27