Home
last modified time | relevance | path

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

1234567891011

/linux-3.4.99/net/sched/
Dact_simple.c58 static int tcf_simp_release(struct tcf_defact *d, int bind) in tcf_simp_release() argument
62 if (bind) in tcf_simp_release()
99 struct tc_action *a, int ovr, int bind) in tcf_simp_init() argument
124 pc = tcf_hash_check(parm->index, a, bind, &simp_hash_info); in tcf_simp_init()
126 pc = tcf_hash_create(parm->index, est, a, sizeof(*d), bind, in tcf_simp_init()
142 tcf_simp_release(d, bind); in tcf_simp_init()
153 static int tcf_simp_cleanup(struct tc_action *a, int bind) in tcf_simp_cleanup() argument
158 return tcf_simp_release(d, bind); in tcf_simp_cleanup()
163 int bind, int ref) in tcf_simp_dump() argument
170 .bindcnt = d->tcf_bindcnt - bind, in tcf_simp_dump()
Dact_mirred.c44 static int tcf_mirred_release(struct tcf_mirred *m, int bind) in tcf_mirred_release() argument
47 if (bind) in tcf_mirred_release()
66 struct tc_action *a, int ovr, int bind) in tcf_mirred_init() argument
111 pc = tcf_hash_check(parm->index, a, bind, &mirred_hash_info); in tcf_mirred_init()
115 pc = tcf_hash_create(parm->index, est, a, sizeof(*m), bind, in tcf_mirred_init()
122 tcf_mirred_release(to_mirred(pc), bind); in tcf_mirred_init()
148 static int tcf_mirred_cleanup(struct tc_action *a, int bind) in tcf_mirred_cleanup() argument
153 return tcf_mirred_release(m, bind); in tcf_mirred_cleanup()
215 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_mirred_dump() argument
223 .bindcnt = m->tcf_bindcnt - bind, in tcf_mirred_dump()
Dact_gact.c62 struct tc_action *a, int ovr, int bind) in tcf_gact_init() argument
96 pc = tcf_hash_check(parm->index, a, bind, &gact_hash_info); in tcf_gact_init()
99 bind, &gact_idx_gen, &gact_hash_info); in tcf_gact_init()
105 tcf_hash_release(pc, bind, &gact_hash_info); in tcf_gact_init()
127 static int tcf_gact_cleanup(struct tc_action *a, int bind) in tcf_gact_cleanup() argument
132 return tcf_hash_release(&gact->common, bind, &gact_hash_info); in tcf_gact_cleanup()
161 static int tcf_gact_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_gact_dump() argument
168 .bindcnt = gact->tcf_bindcnt - bind, in tcf_gact_dump()
Dact_skbedit.c71 struct tc_action *a, int ovr, int bind) in tcf_skbedit_init() argument
111 pc = tcf_hash_check(parm->index, a, bind, &skbedit_hash_info); in tcf_skbedit_init()
113 pc = tcf_hash_create(parm->index, est, a, sizeof(*d), bind, in tcf_skbedit_init()
123 tcf_hash_release(pc, bind, &skbedit_hash_info); in tcf_skbedit_init()
147 static int tcf_skbedit_cleanup(struct tc_action *a, int bind) in tcf_skbedit_cleanup() argument
152 return tcf_hash_release(&d->common, bind, &skbedit_hash_info); in tcf_skbedit_cleanup()
157 int bind, int ref) in tcf_skbedit_dump() argument
164 .bindcnt = d->tcf_bindcnt - bind, in tcf_skbedit_dump()
Dact_pedit.c42 struct tc_action *a, int ovr, int bind) in tcf_pedit_init() argument
66 pc = tcf_hash_check(parm->index, a, bind, &pedit_hash_info); in tcf_pedit_init()
70 pc = tcf_hash_create(parm->index, est, a, sizeof(*p), bind, in tcf_pedit_init()
84 tcf_hash_release(pc, bind, &pedit_hash_info); in tcf_pedit_init()
109 static int tcf_pedit_cleanup(struct tc_action *a, int bind) in tcf_pedit_cleanup() argument
115 if (tcf_hash_release(&p->common, bind, &pedit_hash_info)) { in tcf_pedit_cleanup()
194 int bind, int ref) in tcf_pedit_dump() argument
216 opt->bindcnt = p->tcf_bindcnt - bind; in tcf_pedit_dump()
Dact_ipt.c80 static int tcf_ipt_release(struct tcf_ipt *ipt, int bind) in tcf_ipt_release() argument
84 if (bind) in tcf_ipt_release()
106 struct tc_action *a, int ovr, int bind) in tcf_ipt_init() argument
136 pc = tcf_hash_check(index, a, bind, &ipt_hash_info); in tcf_ipt_init()
138 pc = tcf_hash_create(index, est, a, sizeof(*ipt), bind, in tcf_ipt_init()
145 tcf_ipt_release(to_ipt(pc), bind); in tcf_ipt_init()
192 static int tcf_ipt_cleanup(struct tc_action *a, int bind) in tcf_ipt_cleanup() argument
195 return tcf_ipt_release(ipt, bind); in tcf_ipt_cleanup()
249 static int tcf_ipt_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_ipt_dump() argument
266 c.bindcnt = ipt->tcf_bindcnt - bind; in tcf_ipt_dump()
Dact_nat.c48 struct tc_action *a, int ovr, int bind) in tcf_nat_init() argument
67 pc = tcf_hash_check(parm->index, a, bind, &nat_hash_info); in tcf_nat_init()
69 pc = tcf_hash_create(parm->index, est, a, sizeof(*p), bind, in tcf_nat_init()
78 tcf_hash_release(pc, bind, &nat_hash_info); in tcf_nat_init()
98 static int tcf_nat_cleanup(struct tc_action *a, int bind) in tcf_nat_cleanup() argument
102 return tcf_hash_release(&p->common, bind, &nat_hash_info); in tcf_nat_cleanup()
270 int bind, int ref) in tcf_nat_dump() argument
283 .bindcnt = p->tcf_bindcnt - bind, in tcf_nat_dump()
Dact_api.c54 int tcf_hash_release(struct tcf_common *p, int bind, in tcf_hash_release() argument
60 if (bind) in tcf_hash_release()
209 struct tcf_common *tcf_hash_check(u32 index, struct tc_action *a, int bind, in tcf_hash_check() argument
214 if (bind) in tcf_hash_check()
224 struct tc_action *a, int size, int bind, in tcf_hash_create() argument
232 if (bind) in tcf_hash_create()
401 void tcf_action_destroy(struct tc_action *act, int bind) in tcf_action_destroy() argument
407 if (a->ops->cleanup(a, bind) == ACT_P_DELETED) in tcf_action_destroy()
421 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_old() argument
427 return a->ops->dump(skb, a, bind, ref); in tcf_action_dump_old()
[all …]
Dact_police.c134 struct tc_action *a, int ovr, int bind) in tcf_act_police_locate() argument
165 if (bind) { in tcf_act_police_locate()
181 if (bind) in tcf_act_police_locate()
267 static int tcf_act_police_cleanup(struct tc_action *a, int bind) in tcf_act_police_cleanup() argument
273 if (bind) in tcf_act_police_cleanup()
342 tcf_act_police_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_act_police_dump() argument
352 .bindcnt = police->tcf_bindcnt - bind, in tcf_act_police_dump()
Dact_csum.c55 struct tc_action *a, int ovr, int bind) in tcf_csum_init() argument
74 pc = tcf_hash_check(parm->index, a, bind, &csum_hash_info); in tcf_csum_init()
76 pc = tcf_hash_create(parm->index, est, a, sizeof(*p), bind, in tcf_csum_init()
85 tcf_hash_release(pc, bind, &csum_hash_info); in tcf_csum_init()
101 static int tcf_csum_cleanup(struct tc_action *a, int bind) in tcf_csum_cleanup() argument
104 return tcf_hash_release(&p->common, bind, &csum_hash_info); in tcf_csum_cleanup()
540 struct tc_action *a, int bind, int ref) in tcf_csum_dump() argument
549 .bindcnt = p->tcf_bindcnt - bind, in tcf_csum_dump()
/linux-3.4.99/include/net/
Dact_api.h92 int (*cleanup)(struct tc_action *, int bind);
101 extern int tcf_hash_release(struct tcf_common *p, int bind,
108 int bind, struct tcf_hashinfo *hinfo);
111 int bind, u32 *idx_gen,
117 extern void tcf_action_destroy(struct tc_action *a, int bind);
119 …uct tc_action *tcf_action_init(struct nlattr *nla, struct nlattr *est, char *n, int ovr, int bind);
120 …t tc_action *tcf_action_init_1(struct nlattr *nla, struct nlattr *est, char *n, int ovr, int bind);
/linux-3.4.99/drivers/xen/
Devtchn.c307 struct ioctl_evtchn_bind_virq bind; in evtchn_ioctl() local
311 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl()
314 bind_virq.virq = bind.virq; in evtchn_ioctl()
328 struct ioctl_evtchn_bind_interdomain bind; in evtchn_ioctl() local
332 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl()
335 bind_interdomain.remote_dom = bind.remote_domain; in evtchn_ioctl()
336 bind_interdomain.remote_port = bind.remote_port; in evtchn_ioctl()
349 struct ioctl_evtchn_bind_unbound_port bind; in evtchn_ioctl() local
353 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl()
357 alloc_unbound.remote_dom = bind.remote_domain; in evtchn_ioctl()
/linux-3.4.99/arch/x86/kernel/cpu/
Dperf_event_p4.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-3.4.99/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-3.4.99/drivers/acpi/
Dpci_bind.c54 device->ops.bind = NULL; in acpi_pci_unbind()
86 device->ops.bind = acpi_pci_bind; in acpi_pci_bind()
116 device->ops.bind = acpi_pci_bind; in acpi_pci_bind_root()
/linux-3.4.99/Documentation/console/
Dconsole.txt22 take_over_console() - load and bind driver to console layer
40 . .. bind name uevent
44 1. bind - this is a read/write file. It shows the status of the driver if
45 read, or acts to bind or unbind the driver to the virtual consoles
52 bind
60 commanded to bind or unbind
68 directly commanded to bind or unbind.
74 hand, will bind the driver to the consoles that are currently occupied by a
116 bind to) the console.
/linux-3.4.99/drivers/net/usb/
Dqmi_wwan.c419 .bind = qmi_wwan_bind,
426 .bind = qmi_wwan_bind_shared,
435 .bind = qmi_wwan_bind_shared,
444 .bind = qmi_wwan_bind_shared,
453 .bind = qmi_wwan_bind_shared,
462 .bind = qmi_wwan_bind_shared,
471 .bind = qmi_wwan_bind_shared,
493 .bind = qmi_wwan_bind_shared,
Dzaurus.c107 .bind = zaurus_bind,
117 .bind = zaurus_bind,
127 .bind = zaurus_bind,
264 .bind = blan_mdlm_bind,
/linux-3.4.99/Documentation/fb/
Dfbcon.txt183 Echo a value to the bind file that represents the framebuffer console
186 echo 1 > sys/class/vtconsole/vtcon1/bind - attach framebuffer console to
188 echo 0 > sys/class/vtconsole/vtcon1/bind - detach framebuffer console from
218 echo 0 > /sys/class/vtconsole/vtcon1/bind
225 echo 1 > /sys/class/vtconsole/vtcon1/bind
230 automatically bind the console, fbcon and the drivers together. Unloading
232 console to bind fbcon.
256 echo 1 > /sys/class/vtconsole/vtcon1/bind
261 echo <ID> > /sys/class/tty/console/bind
273 echo 1 > /sys/class/vtconsole/vtcon1/bind
[all …]
/linux-3.4.99/drivers/usb/gadget/
Dudc-core.c121 int (*bind)(struct usb_gadget *)) in usb_gadget_start()
123 return gadget->ops->start(driver, bind); in usb_gadget_start()
315 int (*bind)(struct usb_gadget *)) in usb_gadget_probe_driver()
320 if (!driver || !bind || !driver->setup) in usb_gadget_probe_driver()
342 ret = bind(udc->gadget); in usb_gadget_probe_driver()
353 ret = usb_gadget_start(udc->gadget, driver, bind); in usb_gadget_probe_driver()
/linux-3.4.99/Documentation/filesystems/
Ddevpts.txt35 bind-mount.
65 /dev/pts/ptmx using either a bind mount or symlink.
75 $ mount -o bind /dev/pts/ptmx /dev/ptmx
90 should bind mount /dev/ptmx to /dev/pts/ptmx to avoid breaking single-
97 mount -o bind /dev/pts/ptmx /dev/ptmx
101 a symlink to pts/ptmx and the bind mount can be ignored.
Dsharedsubtree.txt51 # mount --bind /mnt /tmp
86 Let's bind mount /mnt to /tmp
87 # mount --bind /mnt /tmp
130 Let's try to bind mount this mount somewhere else.
131 # mount --bind /mnt /tmp
158 mount --bind /cdrom /cdrom
230 bind, rbind, move, mount, umount and clone-namespace operations.
257 mount --bind /mnt /tmp
306 be bind mounted.
343 mount --bind A/a B/b
[all …]
/linux-3.4.99/net/ieee802154/
Daf_ieee802154.c119 if (sk->sk_prot->bind) in ieee802154_sock_bind()
120 return sk->sk_prot->bind(sk, uaddr, addr_len); in ieee802154_sock_bind()
192 .bind = ieee802154_sock_bind,
217 .bind = ieee802154_sock_bind,
/linux-3.4.99/include/linux/usb/
Dcomposite.h128 int (*bind)(struct usb_configuration *, member
298 int (*bind)(struct usb_composite_dev *cdev));
/linux-3.4.99/fs/cachefiles/
DMakefile6 bind.o \

1234567891011