Home
last modified time | relevance | path

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

12345678910>>...27

/linux/net/sched/
H A Dact_vlan.c123 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_vlan_init() local
150 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_vlan_init()
154 if (exists && bind) in tcf_vlan_init()
164 tcf_idr_release(*a, bind); in tcf_vlan_init()
172 tcf_idr_release(*a, bind); in tcf_vlan_init()
186 tcf_idr_release(*a, bind); in tcf_vlan_init()
204 tcf_idr_release(*a, bind); in tcf_vlan_init()
212 tcf_idr_release(*a, bind); in tcf_vlan_init()
221 &act_vlan_ops, bind, flags); in tcf_vlan_init()
229 tcf_idr_release(*a, bind); in tcf_vlan_init()
[all …]
H 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()
186 int bind, int ref) in tcf_gact_dump() argument
193 .bindcnt = atomic_read(&gact->tcf_bindcnt) - bind, in tcf_gact_dump()
240 u32 *index_inc, bool bind, in tcf_gact_offload_act_setup() argument
243 if (bind) { in tcf_gact_offload_act_setup()
H A Dact_simple.c94 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_simp_init() local
116 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_simp_init()
120 if (exists && bind) in tcf_simp_init()
125 tcf_idr_release(*a, bind); in tcf_simp_init()
133 &act_simp_ops, bind, false, flags); in tcf_simp_init()
167 tcf_idr_release(*a, bind); in tcf_simp_init()
172 int bind, int ref) in tcf_simp_dump() argument
179 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_simp_dump()
H 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, flags); in tcf_sample_init()
80 tcf_idr_release(*a, bind); in tcf_sample_init()
132 tcf_idr_release(*a, bind); in tcf_sample_init()
225 int bind, int ref) in tcf_sample_dump() argument
232 .bindcnt = atomic_read(&s->tcf_bindcnt) - bind, in tcf_sample_dump()
297 u32 *index_inc, bool bind, in tcf_sample_offload_act_setup() argument
300 if (bind) { in tcf_sample_offload_act_setup()
H A Dact_skbmod.c109 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_skbmod_init() local
155 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbmod_init()
159 if (exists && bind) in tcf_skbmod_init()
164 tcf_idr_release(*a, bind); in tcf_skbmod_init()
172 &act_skbmod_ops, bind, true, flags); in tcf_skbmod_init()
180 tcf_idr_release(*a, bind); in tcf_skbmod_init()
224 tcf_idr_release(*a, bind); in tcf_skbmod_init()
239 int bind, int ref) in tcf_skbmod_dump() argument
250 opt.bindcnt = atomic_read(&d->tcf_bindcnt) - bind; in tcf_skbmod_dump()
H A Dact_connmark.c106 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_connmark_init() local
130 ret = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_connmark_init()
133 &act_connmark_ops, bind, flags); in tcf_connmark_init()
148 if (bind) { in tcf_connmark_init()
184 tcf_idr_release(*a, bind); in tcf_connmark_init()
191 int bind, int ref) in tcf_connmark_dump() argument
198 .bindcnt = atomic_read(&ci->tcf_bindcnt) - bind, in tcf_connmark_dump()
H A Dact_skbedit.c123 bool bind = act_flags & TCA_ACT_FLAGS_BIND; in tcf_skbedit_init() local
207 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbedit_init()
211 if (exists && bind) in tcf_skbedit_init()
216 tcf_idr_release(*a, bind); in tcf_skbedit_init()
224 &act_skbedit_ops, bind, true, act_flags); in tcf_skbedit_init()
235 tcf_idr_release(*a, bind); in tcf_skbedit_init()
280 tcf_idr_release(*a, bind); in tcf_skbedit_init()
285 int bind, int ref) in tcf_skbedit_dump() argument
293 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbedit_dump()
369 u32 *index_inc, bool bind, in tcf_skbedit_offload_act_setup() argument
[all …]
H A Dact_nat.c40 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 bind, flags); in tcf_nat_init()
71 if (bind) in tcf_nat_init()
74 tcf_idr_release(*a, bind); in tcf_nat_init()
110 tcf_idr_release(*a, bind); in tcf_nat_init()
268 int bind, int ref) in tcf_nat_dump() argument
275 .bindcnt = atomic_read(&p->tcf_bindcnt) - bind, in tcf_nat_dump()
H A Dact_mirred.c109 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_mirred_init() local
133 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mirred_init()
137 if (exists && bind) in tcf_mirred_init()
144 tcf_idr_release(*a, bind); in tcf_mirred_init()
159 tcf_idr_release(*a, bind); in tcf_mirred_init()
174 &act_mirred_ops, bind, flags); in tcf_mirred_init()
181 tcf_idr_release(*a, bind); in tcf_mirred_init()
231 tcf_idr_release(*a, bind); in tcf_mirred_init()
472 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_mirred_dump() argument
480 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mirred_dump()
[all …]
H A Dact_mpls.c166 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_mpls_init() local
193 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mpls_init()
197 if (exists && bind) in tcf_mpls_init()
201 ret = tcf_idr_create(tn, index, est, a, &act_mpls_ops, bind, in tcf_mpls_init()
210 tcf_idr_release(*a, bind); in tcf_mpls_init()
317 tcf_idr_release(*a, bind); in tcf_mpls_init()
332 int bind, int ref) in tcf_mpls_dump() argument
340 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mpls_dump()
386 u32 *index_inc, bool bind, in tcf_mpls_offload_act_setup() argument
389 if (bind) { in tcf_mpls_offload_act_setup()
H A Dact_ctinfo.c162 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_ctinfo_init() local
213 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_ctinfo_init()
216 &act_ctinfo_ops, bind, flags); in tcf_ctinfo_init()
223 if (bind) /* don't override defaults */ in tcf_ctinfo_init()
226 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()
H A Dact_bpf.c139 int bind, int ref) in tcf_bpf_dump() argument
146 .bindcnt = atomic_read(&prog->tcf_bindcnt) - bind, in tcf_bpf_dump()
285 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_bpf_init() local
308 ret = tcf_idr_check_alloc(tn, &index, act, bind); in tcf_bpf_init()
311 &act_bpf_ops, bind, true, flags); in tcf_bpf_init()
320 if (bind) in tcf_bpf_init()
324 tcf_idr_release(*act, bind); in tcf_bpf_init()
382 tcf_idr_release(*act, bind); in tcf_bpf_init()
H A Dact_police.c46 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_police_init() local
75 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_police_init()
79 if (exists && bind) in tcf_police_init()
84 &act_police_ops, bind, true, flags); in tcf_police_init()
92 tcf_idr_release(*a, bind); in tcf_police_init()
229 tcf_idr_release(*a, bind); in tcf_police_init()
341 int bind, int ref) in tcf_police_dump() argument
349 .bindcnt = atomic_read(&police->tcf_bindcnt) - bind, in tcf_police_dump()
439 u32 *index_inc, bool bind, in tcf_police_offload_act_setup() argument
442 if (bind) { in tcf_police_offload_act_setup()
H A Dact_gate.c306 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_gate_init() local
354 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_gate_init()
358 if (err && bind) in tcf_gate_init()
363 &act_gate_ops, bind, flags); in tcf_gate_init()
371 tcf_idr_release(*a, bind); in tcf_gate_init()
458 tcf_idr_release(*a, bind); in tcf_gate_init()
504 int bind, int ref) in tcf_gate_dump() argument
511 .bindcnt = atomic_read(&gact->tcf_bindcnt) - bind, in tcf_gate_dump()
608 u32 *index_inc, bool bind, in tcf_gate_offload_act_setup() argument
613 if (bind) { in tcf_gate_offload_act_setup()
/linux/tools/testing/selftests/media_tests/
H 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/
H A 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/tools/testing/selftests/drivers/usb/usbip/
H 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/
H 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/include/net/
H A Dact_api.h134 u32 *index_inc, bool bind,
190 int bind, bool cpustats, u32 flags);
193 const struct tc_action_ops *ops, int bind,
198 struct tc_action **a, int bind);
199 int tcf_idr_release(struct tc_action *a, bool bind);
206 int tcf_action_destroy(struct tc_action *actions[], int bind);
219 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
/linux/Documentation/driver-api/
H 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/Documentation/gpu/
H A Ddrm-vm-bind-async.rst28 signals these when the bind operation is complete.
56 * ``bind context``: A context identifier used for the VM_BIND
57 operation. VM_BIND operations that use the same bind context can be
59 assumptions can be made for VM_BIND operations using separate bind contexts.
95 out-syncobjs and internally in KMD to signal bind completion, any
103 exec functions. For long-running workloads, such pipelining of a bind
138 the kernel mode driver to inject other operations into the bind /
141 the bind completion using the memory out-fence as the signal condition
160 bind operation, due to an error return, no additional action is needed
166 In the case an unexpected error happens during the asynchronous bind
[all …]
H A Dimplementation_guidelines.rst9 drm-vm-bind-async
10 drm-vm-bind-locking
/linux/Documentation/ABI/testing/
H 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
H A Dsysfs-bus-vdpa23 What: /sys/bus/vdpa/drivers/.../bind
28 attempt to bind to the device. This is useful for overriding
45 written to driver_override will have an opportunity to bind to
54 not bind to any driver. This also allows devices to opt-out of
/linux/tools/lib/bpf/
H A Delf.c338 /* Only accept one non-weak bind. */ in elf_find_func_offset()
344 /* already have a non-weak bind, and in elf_find_func_offset()
345 * this is a weak bind, so ignore. in elf_find_func_offset()
393 int bind;
451 int bind = GELF_ST_BIND(sym->sym.st_info); in elf_resolve_syms_offsets()
467 if (found->bind != STB_WEAK && bind != STB_WEAK) { in elf_resolve_syms_offsets()
468 /* Only accept one non-weak bind. */ in elf_resolve_syms_offsets()
473 } else if (bind == STB_WEAK) { in elf_resolve_syms_offsets()
474 /* already have a non-weak bind, an in elf_resolve_syms_offsets()
390 int bind; global() member
448 int bind = GELF_ST_BIND(sym->sym.st_info); elf_resolve_syms_offsets() local
[all...]

12345678910>>...27