Home
last modified time | relevance | path

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

12345678910>>...28

/linux-6.6.21/net/sched/
Dact_vlan.c122 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_vlan_init() local
149 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_vlan_init()
153 if (exists && bind) in tcf_vlan_init()
163 tcf_idr_release(*a, bind); in tcf_vlan_init()
171 tcf_idr_release(*a, bind); in tcf_vlan_init()
185 tcf_idr_release(*a, bind); in tcf_vlan_init()
203 tcf_idr_release(*a, bind); in tcf_vlan_init()
211 tcf_idr_release(*a, bind); in tcf_vlan_init()
220 &act_vlan_ops, bind, flags); in tcf_vlan_init()
228 tcf_idr_release(*a, bind); in tcf_vlan_init()
[all …]
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()
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()
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()
213 int bind, int ref) in tcf_sample_dump() argument
220 .bindcnt = atomic_read(&s->tcf_bindcnt) - bind, in tcf_sample_dump()
285 u32 *index_inc, bool bind, in tcf_sample_offload_act_setup() argument
288 if (bind) { in tcf_sample_offload_act_setup()
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
247 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbmod_dump()
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()
212 tcf_idr_release(*a, bind); in __tcf_ipt_init()
329 static int tcf_ipt_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_ipt_dump() argument
[all …]
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()
Dact_mirred.c98 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_mirred_init() local
122 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mirred_init()
126 if (exists && bind) in tcf_mirred_init()
137 tcf_idr_release(*a, bind); in tcf_mirred_init()
151 &act_mirred_ops, bind, flags); in tcf_mirred_init()
158 tcf_idr_release(*a, bind); in tcf_mirred_init()
205 tcf_idr_release(*a, bind); in tcf_mirred_init()
356 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_mirred_dump() argument
364 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mirred_dump()
462 u32 *index_inc, bool bind, in tcf_mirred_offload_act_setup() argument
[all …]
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 …]
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()
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()
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()
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()
Dact_csum.c49 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_csum_init() local
70 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_csum_init()
73 &act_csum_ops, bind, flags); in tcf_csum_init()
80 if (bind)/* dont override defaults */ in tcf_csum_init()
83 tcf_idr_release(*a, bind); in tcf_csum_init()
119 tcf_idr_release(*a, bind); in tcf_csum_init()
631 static int tcf_csum_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_csum_dump() argument
640 .bindcnt = atomic_read(&p->tcf_bindcnt) - bind, in tcf_csum_dump()
682 u32 *index_inc, bool bind, in tcf_csum_offload_act_setup() argument
685 if (bind) { in tcf_csum_offload_act_setup()
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()
/linux-6.6.21/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.6.21/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.6.21/drivers/vfio/
Ddevice_cdev.c60 struct vfio_device_bind_iommufd bind; in vfio_df_ioctl_bind_iommufd() local
68 if (copy_from_user(&bind, arg, minsz)) in vfio_df_ioctl_bind_iommufd()
71 if (bind.argsz < minsz || bind.flags || bind.iommufd < 0) in vfio_df_ioctl_bind_iommufd()
89 df->iommufd = iommufd_ctx_from_fd(bind.iommufd); in vfio_df_ioctl_bind_iommufd()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/tools/lib/bpf/
Delf.c273 int bind; member
330 int bind = GELF_ST_BIND(sym->sym.st_info); in elf_resolve_syms_offsets() local
346 if (found->bind != STB_WEAK && bind != STB_WEAK) { in elf_resolve_syms_offsets()
352 } else if (bind == STB_WEAK) { in elf_resolve_syms_offsets()
362 found->bind = bind; in elf_resolve_syms_offsets()
/linux-6.6.21/include/net/
Dact_api.h134 u32 *index_inc, bool bind,
189 int bind, bool cpustats, u32 flags);
192 const struct tc_action_ops *ops, int bind,
197 struct tc_action **a, int bind);
198 int tcf_idr_release(struct tc_action *a, bool bind);
203 int tcf_action_destroy(struct tc_action *actions[], int bind);
217 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
/linux-6.6.21/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-6.6.21/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

12345678910>>...28