Home
last modified time | relevance | path

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

12345678910>>...22

/Linux-v4.19/net/sched/
Dact_vlan.c107 int ovr, int bind, bool rtnl_held, in tcf_vlan_init() argument
132 err = tcf_idr_check_alloc(tn, &parm->index, a, bind); in tcf_vlan_init()
136 if (exists && bind) in tcf_vlan_init()
146 tcf_idr_release(*a, bind); in tcf_vlan_init()
154 tcf_idr_release(*a, bind); in tcf_vlan_init()
168 tcf_idr_release(*a, bind); in tcf_vlan_init()
182 tcf_idr_release(*a, bind); in tcf_vlan_init()
191 &act_vlan_ops, bind, true); in tcf_vlan_init()
199 tcf_idr_release(*a, bind); in tcf_vlan_init()
207 tcf_idr_release(*a, bind); in tcf_vlan_init()
[all …]
Dact_ipt.c100 const struct tc_action_ops *ops, int ovr, int bind) in __tcf_ipt_init() argument
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()
203 tcf_idr_release(*a, bind); in __tcf_ipt_init()
209 int bind, bool rtnl_held, in tcf_ipt_init() argument
[all …]
Dact_simple.c82 int ovr, int bind, bool rtnl_held, in tcf_simp_init() argument
103 err = tcf_idr_check_alloc(tn, &parm->index, a, bind); in tcf_simp_init()
107 if (exists && bind) in tcf_simp_init()
112 tcf_idr_release(*a, bind); in tcf_simp_init()
120 &act_simp_ops, bind, false); in tcf_simp_init()
129 tcf_idr_release(*a, bind); in tcf_simp_init()
138 tcf_idr_release(*a, bind); in tcf_simp_init()
151 int bind, int ref) in tcf_simp_dump() argument
158 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_simp_dump()
Dact_skbmod.c84 int ovr, int bind, bool rtnl_held, in tcf_skbmod_init() argument
128 err = tcf_idr_check_alloc(tn, &parm->index, a, bind); in tcf_skbmod_init()
132 if (exists && bind) in tcf_skbmod_init()
137 tcf_idr_release(*a, bind); in tcf_skbmod_init()
145 &act_skbmod_ops, bind, true); in tcf_skbmod_init()
153 tcf_idr_release(*a, bind); in tcf_skbmod_init()
161 tcf_idr_release(*a, bind); in tcf_skbmod_init()
203 int bind, int ref) in tcf_skbmod_dump() argument
211 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbmod_dump()
Dact_connmark.c99 int ovr, int bind, bool rtnl_held, in tcf_connmark_init() argument
121 ret = tcf_idr_check_alloc(tn, &parm->index, a, bind); in tcf_connmark_init()
124 &act_connmark_ops, bind, false); in tcf_connmark_init()
139 if (bind) in tcf_connmark_init()
142 tcf_idr_release(*a, bind); in tcf_connmark_init()
155 int bind, int ref) in tcf_connmark_dump() argument
163 .bindcnt = atomic_read(&ci->tcf_bindcnt) - bind, in tcf_connmark_dump()
Dact_sample.c40 int bind, bool rtnl_held, in tcf_sample_init() argument
63 err = tcf_idr_check_alloc(tn, &parm->index, a, bind); in tcf_sample_init()
67 if (exists && bind) in tcf_sample_init()
72 &act_sample_ops, bind, true); in tcf_sample_init()
79 tcf_idr_release(*a, bind); in tcf_sample_init()
86 tcf_idr_release(*a, bind); in tcf_sample_init()
178 int bind, int ref) in tcf_sample_dump() argument
185 .bindcnt = atomic_read(&s->tcf_bindcnt) - bind, in tcf_sample_dump()
Dact_skbedit.c98 int ovr, int bind, bool rtnl_held, in tcf_skbedit_init() argument
157 err = tcf_idr_check_alloc(tn, &parm->index, a, bind); in tcf_skbedit_init()
161 if (exists && bind) in tcf_skbedit_init()
166 tcf_idr_release(*a, bind); in tcf_skbedit_init()
174 &act_skbedit_ops, bind, true); in tcf_skbedit_init()
185 tcf_idr_release(*a, bind); in tcf_skbedit_init()
195 tcf_idr_release(*a, bind); in tcf_skbedit_init()
225 int bind, int ref) in tcf_skbedit_dump() argument
233 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbedit_dump()
Dact_mirred.c96 int ovr, int bind, bool rtnl_held, in tcf_mirred_init() argument
121 err = tcf_idr_check_alloc(tn, &parm->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, true); in tcf_mirred_init()
157 tcf_idr_release(*a, bind); in tcf_mirred_init()
170 tcf_idr_release(*a, bind); in tcf_mirred_init()
295 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_mirred_dump() argument
303 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mirred_dump()
Dact_gact.c59 int ovr, int bind, bool rtnl_held, in tcf_gact_init() argument
94 err = tcf_idr_check_alloc(tn, &parm->index, a, bind); in tcf_gact_init()
97 &act_gact_ops, bind, true); in tcf_gact_init()
104 if (bind)/* dont override defaults */ in tcf_gact_init()
107 tcf_idr_release(*a, bind); in tcf_gact_init()
175 int bind, int ref) in tcf_gact_dump() argument
182 .bindcnt = atomic_read(&gact->tcf_bindcnt) - bind, in tcf_gact_dump()
Dact_api.c102 static int __tcf_action_put(struct tc_action *p, bool bind) in __tcf_action_put() argument
107 if (bind) in __tcf_action_put()
116 if (bind) in __tcf_action_put()
122 int __tcf_idr_release(struct tc_action *p, bool bind, bool strict) in __tcf_idr_release() argument
139 if (!bind && strict && atomic_read(&p->tcfa_bindcnt) > 0) in __tcf_idr_release()
142 if (__tcf_action_put(p, bind)) in __tcf_idr_release()
359 int bind, bool cpustats) in tcf_idr_create() argument
368 if (bind) in tcf_idr_create()
437 struct tc_action **a, int bind) in tcf_idr_check_alloc() argument
457 if (bind) in tcf_idr_check_alloc()
[all …]
Dact_nat.c40 struct tc_action **a, int ovr, int bind, in tcf_nat_init() argument
60 err = tcf_idr_check_alloc(tn, &parm->index, a, bind); in tcf_nat_init()
63 &act_nat_ops, bind, false); in tcf_nat_init()
70 if (bind) in tcf_nat_init()
73 tcf_idr_release(*a, bind); in tcf_nat_init()
254 int bind, int ref) in tcf_nat_dump() argument
267 .bindcnt = atomic_read(&p->tcf_bindcnt) - bind, in tcf_nat_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
303 ret = tcf_idr_check_alloc(tn, &parm->index, act, bind); in tcf_bpf_init()
306 &act_bpf_ops, bind, true); in tcf_bpf_init()
315 if (bind) in tcf_bpf_init()
319 tcf_idr_release(*act, bind); in tcf_bpf_init()
367 tcf_idr_release(*act, bind); in tcf_bpf_init()
Dact_police.c78 int ovr, int bind, bool rtnl_held, in tcf_police_init() argument
104 err = tcf_idr_check_alloc(tn, &parm->index, a, bind); in tcf_police_init()
108 if (exists && bind) in tcf_police_init()
113 &act_police_ops, bind, false); in tcf_police_init()
120 tcf_idr_release(*a, bind); in tcf_police_init()
202 tcf_idr_release(*a, bind); in tcf_police_init()
271 int bind, int ref) in tcf_police_dump() argument
278 .bindcnt = atomic_read(&police->tcf_bindcnt) - bind, in tcf_police_dump()
Dact_pedit.c140 int ovr, int bind, bool rtnl_held, in tcf_pedit_init() argument
181 err = tcf_idr_check_alloc(tn, &parm->index, a, bind); in tcf_pedit_init()
190 &act_pedit_ops, bind, false); in tcf_pedit_init()
197 if (bind) in tcf_pedit_init()
236 tcf_idr_release(*a, bind); in tcf_pedit_init()
400 int bind, int ref) in tcf_pedit_dump() argument
423 opt->bindcnt = atomic_read(&p->tcf_bindcnt) - bind; in tcf_pedit_dump()
/Linux-v4.19/include/net/
Dact_api.h92 int bind, bool rtnl_held,
149 int bind, bool cpustats);
154 struct tc_action **a, int bind);
155 int __tcf_idr_release(struct tc_action *a, bool bind, bool strict);
157 static inline int tcf_idr_release(struct tc_action *a, bool bind) in tcf_idr_release() argument
159 return __tcf_idr_release(a, bind, false); in tcf_idr_release()
165 int tcf_action_destroy(struct tc_action *actions[], int bind);
169 struct nlattr *est, char *name, int ovr, int bind,
174 char *name, int ovr, int bind,
177 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
/Linux-v4.19/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-v4.19/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-v4.19/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()
823 struct p4_event_bind *bind; in p4_hw_config() local
840 bind = p4_config_get_bind(event->attr.config); in p4_hw_config()
841 if (!bind) { in p4_hw_config()
845 esel = P4_OPCODE_ESEL(bind->opcode); in p4_hw_config()
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c759 bool bind) in mlxsw_sp_span_entry_bound_port_find() argument
766 bind == p->bound) in mlxsw_sp_span_entry_bound_port_find()
775 bool bind) in mlxsw_sp_span_inspected_port_bind() argument
783 (enum mlxsw_reg_mpar_i_e)type, bind, pa_id); in mlxsw_sp_span_inspected_port_bind()
791 bool bind) in mlxsw_sp_span_inspected_port_add() argument
802 if (bind) in mlxsw_sp_span_inspected_port_add()
808 port, bind)) in mlxsw_sp_span_inspected_port_add()
825 if (bind) { in mlxsw_sp_span_inspected_port_add()
839 inspected_port->bound = bind; in mlxsw_sp_span_inspected_port_add()
845 if (bind) in mlxsw_sp_span_inspected_port_add()
[all …]
/Linux-v4.19/Documentation/scsi/
DNinjaSCSI.txt72 bind "nsp_cs"
76 bind "nsp_cs"
81 bind "nsp_cs"
86 bind "nsp_cs"
89 bind "nsp_cs"
92 bind "nsp_cs"
95 bind "nsp_cs"
/Linux-v4.19/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
10 # echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/bind
/Linux-v4.19/Documentation/console/
Dconsole.txt22 do_take_over_console() - load and bind driver to console layer
41 . .. bind name uevent
45 1. bind - this is a read/write file. It shows the status of the driver if
46 read, or acts to bind or unbind the driver to the virtual consoles
53 bind
61 commanded to bind or unbind
69 directly commanded to bind or unbind.
75 hand, will bind the driver to the consoles that are currently occupied by a
117 bind to) the console.
/Linux-v4.19/include/linux/
Dcomponent.h10 int (*bind)(struct device *comp, struct device *master, member
25 int (*bind)(struct device *master); member
/Linux-v4.19/Documentation/fb/
Dfbcon.txt164 This option causes fbcon to bind immediately to the fbdev device.
198 Echo a value to the bind file that represents the framebuffer console
201 echo 1 > sys/class/vtconsole/vtcon1/bind - attach framebuffer console to
203 echo 0 > sys/class/vtconsole/vtcon1/bind - detach framebuffer console from
233 echo 0 > /sys/class/vtconsole/vtcon1/bind
240 echo 1 > /sys/class/vtconsole/vtcon1/bind
245 automatically bind the console, fbcon and the drivers together. Unloading
247 console to bind fbcon.
271 echo 1 > /sys/class/vtconsole/vtcon1/bind
276 echo <ID> > /sys/class/tty/console/bind
[all …]
/Linux-v4.19/drivers/net/usb/
Dzaurus.c105 .bind = zaurus_bind,
115 .bind = zaurus_bind,
125 .bind = zaurus_bind,
262 .bind = blan_mdlm_bind,

12345678910>>...22