Home
last modified time | relevance | path

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

12345678910>>...27

/linux-6.1.9/net/sched/
Dact_vlan.c120 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_vlan_init() local
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()
201 tcf_idr_release(*a, bind); in tcf_vlan_init()
209 tcf_idr_release(*a, bind); in tcf_vlan_init()
218 &act_vlan_ops, bind, flags); in tcf_vlan_init()
226 tcf_idr_release(*a, bind); in tcf_vlan_init()
[all …]
Dact_connmark.c103 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_connmark_init() local
123 ret = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_connmark_init()
126 &act_connmark_ops, bind, false, flags); in tcf_connmark_init()
144 if (bind) in tcf_connmark_init()
147 tcf_idr_release(*a, bind); in tcf_connmark_init()
166 tcf_idr_release(*a, bind); in tcf_connmark_init()
171 int bind, int ref) in tcf_connmark_dump() argument
178 .bindcnt = atomic_read(&ci->tcf_bindcnt) - bind, in tcf_connmark_dump()
Dact_gact.c58 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_gact_init() local
99 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_gact_init()
102 &act_gact_ops, bind, flags); in tcf_gact_init()
109 if (bind)/* dont override defaults */ in tcf_gact_init()
112 tcf_idr_release(*a, bind); in tcf_gact_init()
144 tcf_idr_release(*a, bind); in tcf_gact_init()
184 int bind, int ref) in tcf_gact_dump() argument
191 .bindcnt = atomic_read(&gact->tcf_bindcnt) - bind, in tcf_gact_dump()
238 u32 *index_inc, bool bind, in tcf_gact_offload_act_setup() argument
241 if (bind) { in tcf_gact_offload_act_setup()
Dact_simple.c92 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_simp_init() local
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, flags); 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_sample.c41 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_sample_init() local
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, flags); in tcf_sample_init()
79 tcf_idr_release(*a, bind); in tcf_sample_init()
124 tcf_idr_release(*a, bind); in tcf_sample_init()
204 int bind, int ref) in tcf_sample_dump() argument
211 .bindcnt = atomic_read(&s->tcf_bindcnt) - bind, in tcf_sample_dump()
276 u32 *index_inc, bool bind, in tcf_sample_offload_act_setup() argument
279 if (bind) { in tcf_sample_offload_act_setup()
Dact_skbmod.c107 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_skbmod_init() local
153 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbmod_init()
157 if (exists && bind) in tcf_skbmod_init()
162 tcf_idr_release(*a, bind); in tcf_skbmod_init()
170 &act_skbmod_ops, bind, true, flags); in tcf_skbmod_init()
178 tcf_idr_release(*a, bind); in tcf_skbmod_init()
222 tcf_idr_release(*a, bind); in tcf_skbmod_init()
237 int bind, int ref) in tcf_skbmod_dump() argument
245 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbmod_dump()
Dact_ipt.c98 bool bind = flags & TCA_ACT_FLAGS_BIND; in __tcf_ipt_init() local
119 err = tcf_idr_check_alloc(tn, &index, a, bind); in __tcf_ipt_init()
123 if (exists && bind) in __tcf_ipt_init()
128 tcf_idr_release(*a, bind); in __tcf_ipt_init()
137 tcf_idr_release(*a, bind); in __tcf_ipt_init()
144 ret = tcf_idr_create(tn, index, est, a, ops, bind, in __tcf_ipt_init()
152 if (bind)/* dont override defaults */ in __tcf_ipt_init()
156 tcf_idr_release(*a, bind); in __tcf_ipt_init()
197 tcf_idr_release(*a, bind); in __tcf_ipt_init()
271 static int tcf_ipt_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_ipt_dump() argument
[all …]
Dact_mirred.c97 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_mirred_init() local
121 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mirred_init()
125 if (exists && bind) in tcf_mirred_init()
136 tcf_idr_release(*a, bind); in tcf_mirred_init()
150 &act_mirred_ops, bind, flags); in tcf_mirred_init()
157 tcf_idr_release(*a, bind); in tcf_mirred_init()
204 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()
444 u32 *index_inc, bool bind, in tcf_mirred_offload_act_setup() argument
[all …]
Dact_skbedit.c121 bool bind = act_flags & TCA_ACT_FLAGS_BIND; in tcf_skbedit_init() local
200 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbedit_init()
204 if (exists && bind) in tcf_skbedit_init()
209 tcf_idr_release(*a, bind); in tcf_skbedit_init()
217 &act_skbedit_ops, bind, true, act_flags); in tcf_skbedit_init()
228 tcf_idr_release(*a, bind); in tcf_skbedit_init()
273 tcf_idr_release(*a, bind); in tcf_skbedit_init()
278 int bind, int ref) in tcf_skbedit_dump() argument
286 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbedit_dump()
362 u32 *index_inc, bool bind, in tcf_skbedit_offload_act_setup() argument
[all …]
Dact_nat.c40 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_nat_init() local
60 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_nat_init()
63 &act_nat_ops, bind, false, flags); in tcf_nat_init()
70 if (bind) in tcf_nat_init()
73 tcf_idr_release(*a, bind); in tcf_nat_init()
97 tcf_idr_release(*a, bind); in tcf_nat_init()
257 int bind, int ref) in tcf_nat_dump() argument
264 .bindcnt = atomic_read(&p->tcf_bindcnt) - bind, in tcf_nat_dump()
Dact_mpls.c164 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_mpls_init() local
247 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mpls_init()
251 if (exists && bind) in tcf_mpls_init()
256 &act_mpls_ops, bind, true, flags); in tcf_mpls_init()
264 tcf_idr_release(*a, bind); in tcf_mpls_init()
307 tcf_idr_release(*a, bind); in tcf_mpls_init()
322 int bind, int ref) in tcf_mpls_dump() argument
330 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mpls_dump()
376 u32 *index_inc, bool bind, in tcf_mpls_offload_act_setup() argument
379 if (bind) { in tcf_mpls_offload_act_setup()
Dact_bpf.c137 int bind, int ref) in tcf_bpf_dump() argument
144 .bindcnt = atomic_read(&prog->tcf_bindcnt) - bind, in tcf_bpf_dump()
283 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_bpf_init() local
306 ret = tcf_idr_check_alloc(tn, &index, act, bind); in tcf_bpf_init()
309 &act_bpf_ops, bind, true, flags); in tcf_bpf_init()
318 if (bind) in tcf_bpf_init()
322 tcf_idr_release(*act, bind); in tcf_bpf_init()
380 tcf_idr_release(*act, bind); in tcf_bpf_init()
Dact_ctinfo.c160 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_ctinfo_init() local
211 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_ctinfo_init()
214 &act_ctinfo_ops, bind, false, flags); in tcf_ctinfo_init()
221 if (bind) /* don't override defaults */ in tcf_ctinfo_init()
224 tcf_idr_release(*a, bind); in tcf_ctinfo_init()
276 tcf_idr_release(*a, bind); in tcf_ctinfo_init()
281 int bind, int ref) in tcf_ctinfo_dump() argument
287 .bindcnt = atomic_read(&ci->tcf_bindcnt) - bind, in tcf_ctinfo_dump()
Dact_pedit.c142 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_pedit_init() local
188 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_pedit_init()
191 &act_pedit_ops, bind, false, flags); in tcf_pedit_init()
198 if (bind) in tcf_pedit_init()
262 tcf_idr_release(*a, bind); in tcf_pedit_init()
442 int bind, int ref) in tcf_pedit_dump() argument
464 opt->bindcnt = atomic_read(&p->tcf_bindcnt) - bind; in tcf_pedit_dump()
495 u32 *index_inc, bool bind, in tcf_pedit_offload_act_setup() argument
498 if (bind) { in tcf_pedit_offload_act_setup()
Dact_police.c44 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_police_init() local
73 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_police_init()
77 if (exists && bind) in tcf_police_init()
82 &act_police_ops, bind, true, flags); in tcf_police_init()
90 tcf_idr_release(*a, bind); in tcf_police_init()
227 tcf_idr_release(*a, bind); in tcf_police_init()
338 int bind, int ref) in tcf_police_dump() argument
346 .bindcnt = atomic_read(&police->tcf_bindcnt) - bind, in tcf_police_dump()
436 u32 *index_inc, bool bind, in tcf_police_offload_act_setup() argument
439 if (bind) { in tcf_police_offload_act_setup()
Dact_csum.c48 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_csum_init() local
69 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_csum_init()
72 &act_csum_ops, bind, flags); in tcf_csum_init()
79 if (bind)/* dont override defaults */ in tcf_csum_init()
82 tcf_idr_release(*a, bind); in tcf_csum_init()
118 tcf_idr_release(*a, bind); in tcf_csum_init()
630 static int tcf_csum_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_csum_dump() argument
639 .bindcnt = atomic_read(&p->tcf_bindcnt) - bind, in tcf_csum_dump()
681 u32 *index_inc, bool bind, in tcf_csum_offload_act_setup() argument
684 if (bind) { in tcf_csum_offload_act_setup()
Dact_gate.c302 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_gate_init() local
350 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_gate_init()
354 if (err && bind) in tcf_gate_init()
359 &act_gate_ops, bind, false, flags); in tcf_gate_init()
367 tcf_idr_release(*a, bind); in tcf_gate_init()
454 tcf_idr_release(*a, bind); in tcf_gate_init()
500 int bind, int ref) in tcf_gate_dump() argument
507 .bindcnt = atomic_read(&gact->tcf_bindcnt) - bind, in tcf_gate_dump()
604 u32 *index_inc, bool bind, in tcf_gate_offload_act_setup() argument
609 if (bind) { in tcf_gate_offload_act_setup()
/linux-6.1.9/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-6.1.9/drivers/xen/
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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/include/net/
Dact_api.h138 u32 *index_inc, bool bind,
188 int bind, bool cpustats, u32 flags);
191 const struct tc_action_ops *ops, int bind,
196 struct tc_action **a, int bind);
197 int tcf_idr_release(struct tc_action *a, bool bind);
202 int tcf_action_destroy(struct tc_action *actions[], int bind);
216 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
/linux-6.1.9/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-6.1.9/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.

12345678910>>...27