Searched refs:bind (Results 1 - 200 of 569) sorted by relevance

123

/linux-4.1.27/fs/cachefiles/
H A DMakefile6 bind.o \
H A Dbind.c28 * bind a directory as a cache
53 pr_err("'bind' command doesn't take an argument\n"); cachefiles_daemon_bind()
/linux-4.1.27/include/net/
H A Dact_api.h92 void (*cleanup)(struct tc_action *, int bind);
96 int bind);
103 int tcf_hash_check(u32 index, struct tc_action *a, int bind);
105 int size, int bind);
109 int __tcf_hash_release(struct tc_action *a, bool bind, bool strict);
111 static inline int tcf_hash_release(struct tc_action *a, bool bind) tcf_hash_release() argument
113 return __tcf_hash_release(a, bind, false); tcf_hash_release()
118 int tcf_action_destroy(struct list_head *actions, int bind);
123 int bind, struct list_head *);
126 int bind);
H A Dinet_hashtables.h62 * below. As we add sockets to a bind bucket list, we perform a
64 * As long as all sockets added to a bind bucket pass this test,
67 * for this flag bit, if it is set and the socket trying to bind has
69 * we return that it is ok to bind this socket to the requested local port.
130 * TCP hash as well as the others for fast bind/connect.
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/engine/
H A Ddmaobj.h18 int (*bind)(struct nvkm_dmaobj *dmaobj, struct nvkm_object *parent, member in struct:nvkm_dmaeng
/linux-4.1.27/net/rds/
H A DMakefile2 rds-y := af_rds.o bind.o cong.o connection.o info.o message.o \
H A Dtcp_connect.c92 ret = sock->ops->bind(sock, (struct sockaddr *)&src, sizeof(src)); rds_tcp_conn_connect()
94 rdsdebug("bind failed with %d at address %pI4\n", rds_tcp_conn_connect()
H A Diw.c212 * Early RDS/IB was built to only bind to an address if there is an IPoIB
227 /* Create a CMA ID and try to bind it. This catches both rds_iw_laddr_check()
H A Dib.c311 * Early RDS/IB was built to only bind to an address if there is an IPoIB
326 /* Create a CMA ID and try to bind it. This catches both rds_ib_laddr_check()
/linux-4.1.27/net/sched/
H A Dact_pedit.c34 int ovr, int bind) tcf_pedit_init()
57 if (!tcf_hash_check(parm->index, a, bind)) { tcf_pedit_init()
60 ret = tcf_hash_create(parm->index, est, a, sizeof(*p), bind); tcf_pedit_init()
72 tcf_hash_release(a, bind); tcf_pedit_init()
73 if (bind) tcf_pedit_init()
100 static void tcf_pedit_cleanup(struct tc_action *a, int bind) tcf_pedit_cleanup() argument
177 int bind, int ref) tcf_pedit_dump()
199 opt->bindcnt = p->tcf_bindcnt - bind; tcf_pedit_dump()
32 tcf_pedit_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) tcf_pedit_init() argument
176 tcf_pedit_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_pedit_dump() argument
H A Dact_simple.c49 static void tcf_simp_release(struct tc_action *a, int bind) tcf_simp_release() argument
81 int ovr, int bind) tcf_simp_init()
105 if (!tcf_hash_check(parm->index, a, bind)) { tcf_simp_init()
106 ret = tcf_hash_create(parm->index, est, a, sizeof(*d), bind); tcf_simp_init()
121 if (bind) tcf_simp_init()
123 tcf_hash_release(a, bind); tcf_simp_init()
136 int bind, int ref) tcf_simp_dump()
143 .bindcnt = d->tcf_bindcnt - bind, tcf_simp_dump()
79 tcf_simp_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) tcf_simp_init() argument
135 tcf_simp_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_simp_dump() argument
H A Dact_connmark.c94 int ovr, int bind) tcf_connmark_init()
110 if (!tcf_hash_check(parm->index, a, bind)) { tcf_connmark_init()
111 ret = tcf_hash_create(parm->index, est, a, sizeof(*ci), bind); tcf_connmark_init()
123 if (bind) tcf_connmark_init()
125 tcf_hash_release(a, bind); tcf_connmark_init()
137 int bind, int ref) tcf_connmark_dump()
145 .bindcnt = ci->tcf_bindcnt - bind, tcf_connmark_dump()
92 tcf_connmark_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) tcf_connmark_init() argument
136 tcf_connmark_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_connmark_dump() argument
H A Dact_gact.c54 int ovr, int bind) tcf_gact_init()
87 if (!tcf_hash_check(parm->index, a, bind)) { tcf_gact_init()
88 ret = tcf_hash_create(parm->index, est, a, sizeof(*gact), bind); tcf_gact_init()
93 if (bind)/* dont override defaults */ tcf_gact_init()
95 tcf_hash_release(a, bind); tcf_gact_init()
142 static int tcf_gact_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_gact_dump() argument
149 .bindcnt = gact->tcf_bindcnt - bind, tcf_gact_dump()
52 tcf_gact_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) tcf_gact_init() argument
H A Dact_mirred.c35 static void tcf_mirred_release(struct tc_action *a, int bind) tcf_mirred_release() argument
49 int bind) tcf_mirred_init()
93 if (!tcf_hash_check(parm->index, a, bind)) { tcf_mirred_init()
96 ret = tcf_hash_create(parm->index, est, a, sizeof(*m), bind); tcf_mirred_init()
102 tcf_hash_release(a, bind); tcf_mirred_init()
186 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_mirred_dump() argument
194 .bindcnt = m->tcf_bindcnt - bind, tcf_mirred_dump()
47 tcf_mirred_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) tcf_mirred_init() argument
H A Dact_skbedit.c62 int ovr, int bind) tcf_skbedit_init()
101 if (!tcf_hash_check(parm->index, a, bind)) { tcf_skbedit_init()
102 ret = tcf_hash_create(parm->index, est, a, sizeof(*d), bind); tcf_skbedit_init()
110 if (bind) tcf_skbedit_init()
112 tcf_hash_release(a, bind); tcf_skbedit_init()
137 int bind, int ref) tcf_skbedit_dump()
144 .bindcnt = d->tcf_bindcnt - bind, tcf_skbedit_dump()
60 tcf_skbedit_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) tcf_skbedit_init() argument
136 tcf_skbedit_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_skbedit_dump() argument
H A Dact_vlan.c69 int ovr, int bind) tcf_vlan_init()
118 if (!tcf_hash_check(parm->index, a, bind)) { tcf_vlan_init()
119 ret = tcf_hash_create(parm->index, est, a, sizeof(*v), bind); tcf_vlan_init()
125 if (bind) tcf_vlan_init()
127 tcf_hash_release(a, bind); tcf_vlan_init()
150 int bind, int ref) tcf_vlan_dump()
157 .bindcnt = v->tcf_bindcnt - bind, tcf_vlan_dump()
67 tcf_vlan_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) tcf_vlan_init() argument
149 tcf_vlan_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_vlan_dump() argument
H A Dact_api.c48 int __tcf_hash_release(struct tc_action *a, bool bind, bool strict) __tcf_hash_release() argument
54 if (bind) __tcf_hash_release()
62 a->ops->cleanup(a, bind); __tcf_hash_release()
213 int tcf_hash_check(u32 index, struct tc_action *a, int bind) tcf_hash_check() argument
218 if (bind) tcf_hash_check()
239 int size, int bind) tcf_hash_create()
247 if (bind) tcf_hash_create()
411 int tcf_action_destroy(struct list_head *actions, int bind) tcf_action_destroy() argument
417 ret = __tcf_hash_release(a, bind, true); list_for_each_entry_safe()
429 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_action_dump_old() argument
431 return a->ops->dump(skb, a, bind, ref); tcf_action_dump_old()
435 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_action_dump_1() argument
448 err = tcf_action_dump_old(skb, a, bind, ref); tcf_action_dump_1()
461 tcf_action_dump(struct sk_buff *skb, struct list_head *actions, int bind, int ref) tcf_action_dump() argument
471 err = tcf_action_dump_1(skb, a, bind, ref); list_for_each_entry()
488 int bind) tcf_action_init_1()
546 err = a_o->init(net, tb[TCA_ACT_OPTIONS], est, a, ovr, bind); tcf_action_init_1()
548 err = a_o->init(net, nla, est, a, ovr, bind); tcf_action_init_1()
571 int bind, struct list_head *actions) tcf_action_init()
583 act = tcf_action_init_1(net, tb[i], est, name, ovr, bind); tcf_action_init()
594 tcf_action_destroy(actions, bind); tcf_action_init()
643 u16 flags, int event, int bind, int ref) tca_get_fill()
662 if (tcf_action_dump(skb, actions, bind, ref) < 0) tca_get_fill()
238 tcf_hash_create(u32 index, struct nlattr *est, struct tc_action *a, int size, int bind) tcf_hash_create() argument
486 tcf_action_init_1(struct net *net, struct nlattr *nla, struct nlattr *est, char *name, int ovr, int bind) tcf_action_init_1() argument
569 tcf_action_init(struct net *net, struct nlattr *nla, struct nlattr *est, char *name, int ovr, int bind, struct list_head *actions) tcf_action_init() argument
642 tca_get_fill(struct sk_buff *skb, struct list_head *actions, u32 portid, u32 seq, u16 flags, int event, int bind, int ref) tca_get_fill() argument
H A Dact_bpf.c124 int bind, int ref) tcf_bpf_dump()
131 .bindcnt = prog->tcf_bindcnt - bind, tcf_bpf_dump()
267 int replace, int bind) tcf_bpf_init()
299 if (!tcf_hash_check(parm->index, act, bind)) { tcf_bpf_init()
301 sizeof(*prog), bind); tcf_bpf_init()
308 if (bind) tcf_bpf_init()
311 tcf_hash_release(act, bind); tcf_bpf_init()
349 static void tcf_bpf_cleanup(struct tc_action *act, int bind) tcf_bpf_cleanup() argument
123 tcf_bpf_dump(struct sk_buff *skb, struct tc_action *act, int bind, int ref) tcf_bpf_dump() argument
265 tcf_bpf_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *act, int replace, int bind) tcf_bpf_init() argument
H A Dact_ipt.c71 static void tcf_ipt_release(struct tc_action *a, int bind) tcf_ipt_release() argument
87 struct tc_action *a, int ovr, int bind) tcf_ipt_init()
116 if (!tcf_hash_check(index, a, bind) ) { tcf_ipt_init()
117 ret = tcf_hash_create(index, est, a, sizeof(*ipt), bind); tcf_ipt_init()
122 if (bind)/* dont override defaults */ tcf_ipt_init()
124 tcf_hash_release(a, bind); tcf_ipt_init()
221 static int tcf_ipt_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_ipt_dump() argument
238 c.bindcnt = ipt->tcf_bindcnt - bind; tcf_ipt_dump()
86 tcf_ipt_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) tcf_ipt_init() argument
H A Dact_nat.c39 struct tc_action *a, int ovr, int bind) tcf_nat_init()
57 if (!tcf_hash_check(parm->index, a, bind)) { tcf_nat_init()
58 ret = tcf_hash_create(parm->index, est, a, sizeof(*p), bind); tcf_nat_init()
63 if (bind) tcf_nat_init()
65 tcf_hash_release(a, bind); tcf_nat_init()
251 int bind, int ref) tcf_nat_dump()
264 .bindcnt = p->tcf_bindcnt - bind, tcf_nat_dump()
38 tcf_nat_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) tcf_nat_init() argument
250 tcf_nat_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_nat_dump() argument
H A Dact_police.c116 int ovr, int bind) tcf_act_police_locate()
144 if (bind) { tcf_act_police_locate()
162 if (bind) tcf_act_police_locate()
313 tcf_act_police_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_act_police_dump() argument
323 .bindcnt = police->tcf_bindcnt - bind, tcf_act_police_dump()
114 tcf_act_police_locate(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) tcf_act_police_locate() argument
H A Dact_csum.c46 struct tc_action *a, int ovr, int bind) tcf_csum_init()
64 if (!tcf_hash_check(parm->index, a, bind)) { tcf_csum_init()
65 ret = tcf_hash_create(parm->index, est, a, sizeof(*p), bind); tcf_csum_init()
70 if (bind)/* dont override defaults */ tcf_csum_init()
72 tcf_hash_release(a, bind); tcf_csum_init()
533 struct tc_action *a, int bind, int ref) tcf_csum_dump()
542 .bindcnt = p->tcf_bindcnt - bind, tcf_csum_dump()
45 tcf_csum_init(struct net *n, struct nlattr *nla, struct nlattr *est, struct tc_action *a, int ovr, int bind) tcf_csum_init() argument
532 tcf_csum_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) tcf_csum_dump() argument
/linux-4.1.27/include/linux/
H A Dcomponent.h7 int (*bind)(struct device *, struct device *, void *); member in struct:component_ops
21 int (*bind)(struct device *); member in struct:component_master_ops
H A Dmount.h40 * mount cannot be bind mounted, since this is how we create a mount
H A Damd-iommu.h71 * @pdev: The PCI device to bind the task to
73 * @task: the task to bind
H A Dshdma-base.h86 * set_slave: bind channel to a slave
H A Diommu.h181 #define IOMMU_GROUP_NOTIFY_BIND_DRIVER 3 /* Pre Driver bind */
182 #define IOMMU_GROUP_NOTIFY_BOUND_DRIVER 4 /* Post Driver bind */
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/dmaobj/
H A Dpriv.h25 int (*bind)(struct nvkm_dmaobj *, struct nvkm_object *, member in struct:nvkm_dmaeng_impl
H A Dbase.c42 if (nv_object(dmaobj) == parent) { /* ctor bind */ nvkm_dmaobj_bind()
47 ret = impl->bind(dmaobj, parent, pgpuobj); nvkm_dmaobj_bind()
53 return impl->bind(dmaobj, parent, pgpuobj); nvkm_dmaobj_bind()
162 dmaeng->bind = nvkm_dmaobj_bind; _nvkm_dmaeng_ctor()
H A Dgf100.c146 return dmaeng->bind(&priv->base, nv_object(priv), (void *)pobject); gf100_dmaobj_ctor()
175 .bind = gf100_dmaobj_bind,
H A Dgf110.c135 return dmaeng->bind(&priv->base, nv_object(priv), (void *)pobject); gf110_dmaobj_ctor()
164 .bind = gf110_dmaobj_bind,
H A Dnv04.c133 return dmaeng->bind(&priv->base, nv_object(priv), (void *)pobject); nv04_dmaobj_ctor()
162 .bind = nv04_dmaobj_bind,
H A Dnv50.c165 return dmaeng->bind(&priv->base, nv_object(priv), (void *)pobject); nv50_dmaobj_ctor()
194 .bind = nv50_dmaobj_bind,
/linux-4.1.27/drivers/staging/ozwpan/
H A Dozmain.c24 * bind to nothing. '*' means bind to all netcards - this includes non-802.11
29 MODULE_PARM_DESC(g_net_dev, "The device(s) to bind to; "
/linux-4.1.27/tools/testing/selftests/net/
H A Dpsock_lib.h84 /* must bind both to get consistent hash result */ pair_udp_open()
85 if (bind(fds[1], (void *) &daddr, sizeof(daddr))) { pair_udp_open()
86 perror("bind"); pair_udp_open()
89 if (bind(fds[0], (void *) &saddr, sizeof(saddr))) { pair_udp_open()
90 perror("bind"); pair_udp_open()
H A Dpsock_tpacket.c376 ret = bind(rcv_sock, (struct sockaddr *) &ll, sizeof(ll)); walk_v1_v2_tx()
378 perror("bind"); walk_v1_v2_tx()
695 ret = bind(sock, (struct sockaddr *) &ring->ll, sizeof(ring->ll)); bind_ring()
697 perror("bind"); bind_ring()
/linux-4.1.27/drivers/xen/
H A Devtchn.c59 struct mutex bind_mutex; /* serialize bind/unbind operations */
293 * serialized bind operations.) evtchn_bind_to_user()
317 /* bind failed, should close the port now */ evtchn_bind_to_user()
344 /* Prevent bind from racing with unbind */ evtchn_ioctl()
349 struct ioctl_evtchn_bind_virq bind; evtchn_ioctl() local
353 if (copy_from_user(&bind, uarg, sizeof(bind))) evtchn_ioctl()
356 bind_virq.virq = bind.virq; evtchn_ioctl()
370 struct ioctl_evtchn_bind_interdomain bind; evtchn_ioctl() local
374 if (copy_from_user(&bind, uarg, sizeof(bind))) evtchn_ioctl()
377 bind_interdomain.remote_dom = bind.remote_domain; evtchn_ioctl()
378 bind_interdomain.remote_port = bind.remote_port; evtchn_ioctl()
391 struct ioctl_evtchn_bind_unbound_port bind; evtchn_ioctl() local
395 if (copy_from_user(&bind, uarg, sizeof(bind))) evtchn_ioctl()
399 alloc_unbound.remote_dom = bind.remote_domain; evtchn_ioctl()
/linux-4.1.27/arch/alpha/include/asm/
H A Dagp_backend.h36 int (*bind)(alpha_agp_info *, off_t, struct agp_memory *); member in struct:alpha_agp_ops
/linux-4.1.27/tools/usb/usbip/src/
H A Dusbip_bind.c40 "usbip bind <args>\n"
52 char attr_name[] = "bind"; bind_usbip()
169 err("unable to bind device on %s", busid); bind_device()
175 err("could not bind device to %s", USBIP_HOST_DRV_NAME); bind_device()
180 info("bind device on busid %s: complete", busid); bind_device()
H A Dusbip.c85 .name = "bind",
H A Dusbipd.c396 ret = bind(sock, ai->ai_addr, ai->ai_addrlen); listen_all_addrinfo()
398 err("bind: %s: %d (%s)", listen_all_addrinfo()
/linux-4.1.27/include/linux/usb/
H A Dcomposite.h117 * @strings: tables of strings, keyed by identifiers assigned during bind()
120 * string identifiers assigned during @bind(). If this pointer is null,
123 * string identifiers assigned during @bind(). If this pointer is null,
126 * string identifiers assigned during @bind(). If this
135 * @bind: Before the gadget can register, all of its functions bind() to the
138 * @unbind: Reverses @bind; called as a side effect of unregistering the
162 * causes @bind() to be called so resources can be allocated as part of
195 /* REVISIT: bind() functions can be marked __init, which
198 * Related: unbind() may kfree() but bind() won't...
201 /* configuration management: bind/unbind */
202 int (*bind)(struct usb_configuration *, member in struct:usb_function
248 * @strings: Tables of strings, keyed by identifiers assigned during @bind()
252 * @unbind: Reverses @bind; called as a side effect of unregistering the
261 * @cdev: assigned by @usb_add_config() before calling @bind(); this is
276 * internal data and bind it to a specific device. The configuration's
277 * @bind() method is then used to initialize all the functions and then
285 * its bind() routine.
292 /* REVISIT: bind() functions can be marked __init, which
341 * @strings: tables of strings, keyed by identifiers assigned during @bind
348 * @bind: (REQUIRED) Used to allocate resources that are shared across the
352 * @unbind: Reverses @bind; called as a side effect of unregistering
362 * on bus powered operation should report this in their @bind method.
364 * Before returning from @bind, various fields in the template descriptor
366 * normally to bind the appropriate host side driver, and the three strings
379 int (*bind)(struct usb_composite_dev *cdev); member in struct:usb_composite_driver
437 * associated device driver's bind() is called.
H A Dotg.h26 /* bind/unbind the host controller */
29 /* bind/unbind the peripheral controller */
H A Dgadget.h787 * This routine may be used during the gadget driver bind() call to prevent
818 * @bind: the driver's bind callback
828 * Devices are disabled till a gadget driver successfully bind()s, which
833 * descriptor during enumeration, or else fail the bind() call. In such
834 * cases, no USB traffic may flow until both bind() returns without
875 int (*bind)(struct usb_gadget *gadget, member in struct:usb_gadget_driver
907 * The @bind() function will be called to bind it to a gadget before this
908 * registration call returns. It's expected that the @bind() function will
/linux-4.1.27/drivers/uio/
H A Duio_pci_generic.c9 * id and bind the device to the driver yourself. For example:
13 * # echo -n 0000:00:19.0 > /sys/bus/pci/drivers/uio_pci_generic/bind
17 * Driver won't bind to devices which do not support the Interrupt Disable Bit
/linux-4.1.27/drivers/pps/
H A Dkc.c36 /* state variables to bind kernel consumer */
44 * @bind_args: kernel consumer bind parameters
46 * This function is used to bind or unbind PPS kernel consumer according to
/linux-4.1.27/drivers/pci/hotplug/
H A DMakefile10 # native driver to attempt to bind first. We can then fall back to
/linux-4.1.27/drivers/usb/atm/
H A Dusbatm.h70 /* flags, set by mini-driver in bind() */
84 * bind, heavy_init, atm_start, ..., atm_stop, unbind
91 int (*bind) (struct usbatm_data *, struct usb_interface *, member in struct:usbatm_driver
142 unsigned int flags; /* set by mini-driver in bind() */
H A Dusbatm.c1051 goto bind; usbatm_usb_probe()
1061 goto bind; usbatm_usb_probe()
1068 bind: usbatm_usb_probe()
1069 if (driver->bind && (error = driver->bind(instance, intf, id)) < 0) { usbatm_usb_probe()
1070 dev_err(dev, "%s: bind failed: %d!\n", __func__, error); usbatm_usb_probe()
H A Dxusbatm.c207 xusbatm_drivers[i].bind = xusbatm_bind; xusbatm_init()
/linux-4.1.27/include/linux/lockd/
H A Dbind.h2 * linux/include/linux/lockd/bind.h
/linux-4.1.27/drivers/pci/
H A Dpci-stub.c9 * Usage is simple, allocate a new id to the stub driver and bind the
14 * # echo -n 0000:00:19.0 > /sys/bus/pci/drivers/pci-stub/bind
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_sgdma.c55 .bind = nv04_sgdma_bind,
86 .bind = nv50_sgdma_bind,
/linux-4.1.27/drivers/usb/gadget/function/
H A Du_uvc.h35 * override them in their gadget bind callback.
44 * their gadget bind callback.
H A Df_serial.c259 ERROR(cdev, "%s: can't bind, err %d\n", f->name, status); gser_bind()
376 gser->port.func.bind = gser_bind; gser_alloc()
H A Df_obex.c406 ERROR(cdev, "%s/%p: can't bind, err %d\n", f->name, f, status); obex_bind()
526 obex->port.func.bind = obex_bind; obex_alloc()
H A Df_eem.c333 ERROR(cdev, "%s: can't bind, err %d\n", f->name, status); eem_bind()
644 eem->port.func.bind = eem_bind; eem_alloc()
H A Df_phonet.c544 /* Do not try to bind Phonet twice... */ pn_bind()
710 fp->function.bind = pn_bind; phonet_alloc()
H A Df_subset.c389 ERROR(cdev, "%s: can't bind, err %d\n", f->name, status); geth_bind()
507 geth->port.func.bind = geth_bind; geth_alloc()
/linux-4.1.27/samples/bpf/
H A Dlibbpf.c121 if (bind(sock, (struct sockaddr *)&sll, sizeof(sll)) < 0) { open_raw_sock()
122 printf("bind to %s: %s\n", name, strerror(errno)); open_raw_sock()
H A Dlibbpf.h184 /* create RAW socket and bind to interface 'name' */
/linux-4.1.27/arch/x86/kernel/cpu/
H A Dperf_event_p4.c708 struct p4_event_bind *bind = NULL; p4_config_get_bind() local
711 bind = &p4_event_bind_map[evnt]; p4_config_get_bind()
713 return bind; p4_config_get_bind()
718 struct p4_event_bind *bind; p4_pmu_event_map() local
723 bind = p4_config_get_bind(config); p4_pmu_event_map()
724 esel = P4_OPCODE_ESEL(bind->opcode); p4_pmu_event_map()
823 struct p4_event_bind *bind; p4_hw_config() local
840 bind = p4_config_get_bind(event->attr.config); p4_hw_config()
841 if (!bind) { p4_hw_config()
845 esel = P4_OPCODE_ESEL(bind->opcode); p4_hw_config()
934 struct p4_pebs_bind *bind; p4_pmu_enable_pebs() local
943 bind = &p4_pebs_bind_map[idx]; p4_pmu_enable_pebs()
945 (void)wrmsrl_safe(MSR_IA32_PEBS_ENABLE, (u64)bind->metric_pebs); p4_pmu_enable_pebs()
946 (void)wrmsrl_safe(MSR_P4_PEBS_MATRIX_VERT, (u64)bind->metric_vert); p4_pmu_enable_pebs()
955 struct p4_event_bind *bind; p4_pmu_enable_event() local
958 bind = &p4_event_bind_map[idx]; p4_pmu_enable_event()
959 escr_addr = bind->escr_msr[thread]; p4_pmu_enable_event()
970 escr_conf |= P4_ESCR_EVENT(P4_OPCODE_EVNT(bind->opcode)); p4_pmu_enable_event()
1193 struct p4_event_bind *bind) p4_next_cntr()
1198 j = bind->cntr[thread][i]; p4_next_cntr()
1212 struct p4_event_bind *bind; p4_pmu_schedule_events() local
1236 bind = p4_config_get_bind(hwc->config); p4_pmu_schedule_events()
1237 escr_idx = p4_get_escr_idx(bind->escr_msr[thread]); p4_pmu_schedule_events()
1248 cntr_idx = p4_next_cntr(thread, used_mask, bind); p4_pmu_schedule_events()
1192 p4_next_cntr(int thread, unsigned long *used_mask, struct p4_event_bind *bind) p4_next_cntr() argument
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dnv04.c360 struct nvkm_handle *bind; nv04_fifo_swmthd() local
375 bind = nvkm_namedb_get(nv_namedb(chan), data); nv04_fifo_swmthd()
376 if (unlikely(!bind)) nv04_fifo_swmthd()
379 if (nv_engidx(bind->object->engine) == NVDEV_ENGINE_SW) { nv04_fifo_swmthd()
387 nvkm_namedb_put(bind); nv04_fifo_swmthd()
394 bind = nvkm_namedb_get(nv_namedb(chan), chan->subc[subc]); nv04_fifo_swmthd()
395 if (likely(bind)) { nv04_fifo_swmthd()
396 if (!nv_call(bind->object, mthd, data)) nv04_fifo_swmthd()
398 nvkm_namedb_put(bind); nv04_fifo_swmthd()
H A Dgf100.c460 struct nvkm_handle *bind; gf100_fifo_swmthd() local
470 bind = nvkm_namedb_get_class(nv_namedb(chan), 0x906e); gf100_fifo_swmthd()
471 if (likely(bind)) { gf100_fifo_swmthd()
472 if (!mthd || !nv_call(bind->object, mthd, data)) gf100_fifo_swmthd()
474 nvkm_namedb_put(bind); gf100_fifo_swmthd()
H A Dgk104.c485 struct nvkm_handle *bind; gk104_fifo_swmthd() local
495 bind = nvkm_namedb_get_class(nv_namedb(chan), 0x906e); gk104_fifo_swmthd()
496 if (likely(bind)) { gk104_fifo_swmthd()
497 if (!mthd || !nv_call(bind->object, mthd, data)) gk104_fifo_swmthd()
499 nvkm_namedb_put(bind); gk104_fifo_swmthd()
H A Dbase.c89 ret = dmaeng->bind(chan->pushdma, parent, &chan->pushgpu); nvkm_fifo_channel_create_()
/linux-4.1.27/arch/um/drivers/
H A Dumcast_user.c114 /* bind socket to the address */ umcast_open()
115 if (bind(fd, (struct sockaddr *) lsin, sizeof(*lsin)) < 0) { umcast_open()
117 printk(UM_KERN_ERR "umcast_open : data bind failed, " umcast_open()
H A Ddaemon_user.c78 if (bind(fd, (struct sockaddr *) local_addr, sizeof(*local_addr)) < 0) { connect_to_switch()
80 printk(UM_KERN_ERR "daemon_open : data bind failed, " connect_to_switch()
H A Dport_user.c129 if (bind(fd, (struct sockaddr *) &addr, sizeof(addr)) < 0) { port_listen_fd()
/linux-4.1.27/tools/thermal/tmon/
H A Dtmon.h28 #define MAX_NR_CDEV_TRIP 12 /* number of cooling devices that can bind
90 /* cdev bind trip points, allow one cdev bind to multiple trips */
/linux-4.1.27/drivers/media/usb/cx231xx/
H A Dcx231xx-input.c98 /* Load and bind ir-kbd-i2c */ cx231xx_ir_init()
100 dev_dbg(dev->dev, "Trying to bind ir at bus %d, addr 0x%02x\n", cx231xx_ir_init()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_resource_priv.h55 * @bind: Bind a hardware resource to persistent buffer storage.
69 int (*bind) (struct vmw_resource *res, member in struct:vmw_res_func
H A Dvmwgfx_context.c80 .bind = NULL,
92 .bind = vmw_gb_context_bind,
545 * @rebind: Whether to issue a bind instead of scrub command.
577 * @rebind: Whether to issue a bind instead of scrub command.
611 * @rebind: Whether to issue a bind instead of scrub command.
H A Dvmwgfx_surface.c102 .bind = &vmw_legacy_srf_bind,
114 .bind = vmw_gb_surface_bind,
426 * @bind: Boolean wether to DMA to the surface.
433 * will also be returned reserved iff @bind is true.
437 bool bind) vmw_legacy_srf_dma()
456 vmw_surface_dma_encode(srf, cmd, &ptr, bind); vmw_legacy_srf_dma()
476 * vmw_legacy_srf_bind - Perform a legacy surface bind as part of the
435 vmw_legacy_srf_dma(struct vmw_resource *res, struct ttm_validate_buffer *val_buf, bool bind) vmw_legacy_srf_dma() argument
/linux-4.1.27/fs/nfsd/
H A Dlockd.c10 #include <linux/lockd/bind.h>
/linux-4.1.27/net/netlink/
H A Daf_netlink.h80 int (*bind)(struct net *net, int group); member in struct:netlink_table
/linux-4.1.27/drivers/base/
H A Dcomponent.c9 * and bind them when instructed. At the moment, we're specific to the DRM
186 ret = master->ops->bind(master->dev); try_to_bring_up_master()
189 dev_info(master->dev, "master bind failed: %d\n", ret); try_to_bring_up_master()
407 ret = component->ops->bind(component->dev, master->dev, data); component_bind()
426 dev_err(master->dev, "failed to bind %s (ops %ps): %d\n", component_bind()
H A Ddd.c251 * device_bind_driver - bind a driver to one device.
290 /* If using pinctrl, bind pins now before probing */ really_probe()
393 * driver_probe_device - attempt to bind device & driver together
394 * @drv: driver to bind a device to
395 * @dev: device to try to bind to the driver
476 * Lock device and try to bind to it. We drop the error __driver_attach()
478 * to bind to devices and some drivers will return an error __driver_attach()
501 * driver_attach - try to bind driver to devices.
/linux-4.1.27/net/ipv4/
H A Dinet_timewait_sock.c43 * inet_twsk_bind_unhash - unhash a timewait socket from bind hash
47 * unhash a timewait socket from bind hash, if hashed.
48 * bind hash lock must be held by caller.
82 /* Disassociate with bind bucket. */ inet_twsk_kill()
139 /* Step 1: Put TW into bind hash. Original socket stays there too. __inet_twsk_hashdance()
H A Daf_inet.c32 * Alan Cox : bind() shouldn't abort existing but dead
34 * Alan Cox : bind() works correctly for RAW sockets.
53 * Alan Cox : Locked down bind (see security list).
54 * Alan Cox : Loosened bind a little.
169 * Automatically bind an unbound socket.
175 /* We may need to bind the socket. */ inet_autobind()
434 /* If the socket has its own bind function then use it. (RAW) */ inet_bind()
435 if (sk->sk_prot->bind) { inet_bind()
436 err = sk->sk_prot->bind(sk, uaddr, addr_len); inet_bind()
457 * allowing applications to make a non-local bind solves inet_bind()
486 /* Check these errors (active socket, double bind). */ inet_bind()
495 /* Make sure we are allowed to bind here. */ inet_bind()
730 /* We may need to bind the socket. */ inet_sendmsg()
746 /* We may need to bind the socket. */ inet_sendpage()
903 .bind = inet_bind,
931 .bind = inet_bind,
962 .bind = inet_bind,
H A Dinet_hashtables.c57 * Allocate and initialize a new local port bind bucket.
150 * create a new bind bucket for the child here. */ __inet_inherit_port()
/linux-4.1.27/net/llc/
H A Daf_llc.c242 * llc_ui_autobind - automatically bind a socket to a sap
243 * @sock: socket to bind
247 * specifically used llc_ui_bind to bind to an specific address/sap
290 * llc_ui_bind - bind a socket to a specific address.
291 * @sock: Socket to bind an address to.
295 * Bind a socket to a specific address. For llc a user is able to bind to
297 * If the user desires to bind to a specific mac + sap, it is possible to
427 * called bind(2) with a smac the address of the first interface of the
429 * This function will autobind if user did not previously call bind.
451 /* bind connection to sap if user hasn't done it. */ llc_ui_connect()
453 /* bind to sap with null dev, exclusive */ llc_ui_connect()
903 /* must bind connection to sap if user hasn't done it. */ llc_ui_sendmsg()
905 /* bind to sap with null dev, exclusive. */ llc_ui_sendmsg()
1170 .bind = llc_ui_bind,
H A Dllc_core.c39 /* sap->laddr.mac - leave as a null, it's filled by bind */ llc_sap_alloc()
/linux-4.1.27/net/sctp/
H A Dbind_addr.c136 /* Empty the bind address list. */ sctp_bind_addr_clean()
147 /* Empty the bind address list. */ sctp_bind_addr_free()
151 /* Add an address to the bind address list in the SCTP_bind_addr structure. */ sctp_add_bind_addr()
157 /* Add the address to the bind address list. */ sctp_add_bind_addr()
184 /* Delete an address from the bind address list in the SCTP_bind_addr
398 /* Find the first address in the bind address list that is not present in
H A Dprotocol.c421 * source address that matches an address in the bind address list.
465 /* Walk through the bind address list and look for a bind sctp_v4_get_dst()
487 /* Walk through the bind address list and try to get a dst that sctp_v4_get_dst()
488 * matches a bind address as the source address. sctp_v4_get_dst()
997 .bind = inet_bind,
1453 pr_err("Failed bind hash alloc\n"); sctp_init()
1476 pr_info("Hash tables configured (established %d bind %d/%d)\n", sctp_init()
H A Dipv6.c276 /* Walk through the bind address list and look for a bind sctp_v6_get_dst()
302 /* Walk through the bind address list and try to get the sctp_v6_get_dst()
354 * and asoc's bind address list.
937 .bind = inet6_bind,
/linux-4.1.27/drivers/gpu/drm/msm/edp/
H A Dedp.c40 /* construct eDP at bind/probe time, grab all the resources. */ edp_init()
103 .bind = edp_bind,
/linux-4.1.27/Documentation/connector/
H A Ducon.c165 if (bind(s, (struct sockaddr *)&l_local, sizeof(struct sockaddr_nl)) == -1) { main()
166 perror("bind"); main()
/linux-4.1.27/net/ipv6/
H A Daf_inet6.c254 /* bind for INET6 API */ inet6_bind()
267 /* If the socket has its own bind function then use it. */ inet6_bind()
268 if (sk->sk_prot->bind) inet6_bind()
269 return sk->sk_prot->bind(sk, uaddr, addr_len); inet6_bind()
287 /* Check these errors (active socket, double bind). */ inet6_bind()
367 /* Make sure we are allowed to bind here. */ inet6_bind()
516 .bind = inet6_bind,
542 .bind = inet6_bind,
/linux-4.1.27/drivers/usb/gadget/
H A Dcomposite.c190 * functions added to it. Adding a function involves calling its @bind()
194 * This function returns the value of the function's bind(), which is
212 /* REVISIT *require* function->bind? */ usb_add_function()
213 if (function->bind) { usb_add_function()
214 value = function->bind(config, function); usb_add_function()
260 * normally called during @bind() processing to change from the
328 * usb_interface_id() is called from usb_function.bind() callbacks to
767 * @bind: the configuration's bind function
770 * One of the main tasks of a composite @bind() routine is to
773 * This function returns the value of the configuration's @bind(), which
780 int (*bind)(struct usb_configuration *)) usb_add_config()
784 if (!bind) usb_add_config()
795 status = bind(config); usb_add_config()
835 /* set_alt(), or next bind(), sets up usb_add_config()
1049 * @usb_string_id() is called from bind() callbacks to allocate
1077 * @usb_string_ids() is called from bind() callbacks to allocate
1226 * @usb_string_ids_n() is called from bind() callbacks to allocate
2055 status = composite->bind(cdev); composite_bind()
2134 .bind = composite_bind,
2157 * Those values normally come from the driver's @bind method, which does
2169 if (!driver || !driver->dev || !driver->bind) usb_composite_probe()
H A Dconfigfs.c413 /* stash the function until we bind it to the gadget */ config_usb_cfg_link()
1323 /* and now the gadget bind */ configfs_composite_bind()
1448 .bind = configfs_composite_bind,
1490 gi->composite.bind = configfs_do_nothing; gadgets_make()
/linux-4.1.27/drivers/net/usb/
H A Dzaurus.c105 .bind = zaurus_bind,
115 .bind = zaurus_bind,
125 .bind = zaurus_bind,
262 .bind = blan_mdlm_bind,
H A Dasix_devices.c836 .bind = ax88172_bind,
846 .bind = ax88172_bind,
856 .bind = ax88172_bind,
866 .bind = ax88172_bind,
876 .bind = ax88772_bind,
888 .bind = ax88772_bind,
902 .bind = ax88178_bind,
924 .bind = ax88772_bind,
H A Dcdc_mbim.c554 .bind = cdc_mbim_bind,
578 .bind = cdc_mbim_bind,
588 * allow us to bind the correct driver_info to such devices.
590 * bind() will sort out this for us, selecting the correct
H A Dhuawei_cdc_ncm.c179 .bind = huawei_cdc_ncm_bind,
H A Dint51x1.c168 .bind = int51x1_bind,
H A Dkalmia.c140 /* Don't bind to AT command interface */ kalmia_bind()
336 .bind = kalmia_bind,
H A Dax88179_178a.c1635 .bind = ax88179_bind,
1648 .bind = ax88179_bind,
1661 .bind = ax88179_bind,
1674 .bind = ax88179_bind,
1687 .bind = ax88179_bind,
1700 .bind = ax88179_bind,
H A Dmcs7830.c576 .bind = mcs7830_bind,
586 .bind = mcs7830_bind,
H A Dgl620a.c203 .bind = genelink_bind,
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_gart.c270 * radeon_gart_bind - bind pages into the gart page table
274 * @pages: number of pages to bind
275 * @pagelist: pages to bind
293 WARN(1, "trying to bind memory to uninitialized GART !\n"); radeon_gart_bind()
H A Dradeon_ttm.c414 /* bind is enough */ radeon_bo_move()
636 WARN(1, "nothing to bind %lu pages for mreg %p back %p!\n", radeon_ttm_backend_bind()
644 DRM_ERROR("failed to bind %lu pages at 0x%08X\n", radeon_ttm_backend_bind()
672 .bind = &radeon_ttm_backend_bind,
/linux-4.1.27/drivers/gpu/drm/rockchip/
H A Drockchip_drm_drv.c170 /* Try to bind all sub drivers. */ rockchip_drm_load()
477 .bind = rockchip_drm_bind,
493 * drm_of_find_possible_crtcs called from encoder .bind callbacks rockchip_drm_platform_probe()
520 * For each bound crtc, bind the encoders attached to its rockchip_drm_platform_probe()
H A Ddw_hdmi-rockchip.c310 .bind = dw_hdmi_rockchip_bind,
/linux-4.1.27/include/crypto/
H A Dif_alg.h52 void *(*bind)(const char *name, u32 type, u32 mask); member in struct:af_alg_type
/linux-4.1.27/drivers/usb/gadget/legacy/
H A Ddbgp.c332 dev_dbg(&dbgp.gadget->dev, "bind: success\n"); dbgp_bind()
336 dev_dbg(&gadget->dev, "bind: failure (%d:%d)\n", stp, err); dbgp_bind()
412 .bind = dbgp_bind,
H A Dnokia.c187 pr_debug("could not bind ecm config %d\n", status); nokia_bind_config()
346 .bind = nokia_bind,
H A Dacm_ms.c256 .bind = acm_ms_bind,
H A Dcdc2.c230 .bind = cdc_bind,
H A Dgmidi.c193 .bind = midi_bind,
H A Dhid.c260 .bind = hid_bind,
H A Dmass_storage.c247 .bind = msg_bind,
H A Dncm.c203 .bind = gncm_bind,
H A Dprinter.c207 .bind = printer_bind,
H A Dserial.c238 .bind = gs_bind,
H A Daudio.c300 .bind = audio_bind,
H A Dmulti.c487 .bind = multi_bind,
/linux-4.1.27/net/rxrpc/
H A Dar-local.c83 /* if a local address was supplied then bind it */ rxrpc_create_local()
85 _debug("bind"); rxrpc_create_local()
90 _debug("bind failed"); rxrpc_create_local()
/linux-4.1.27/drivers/thermal/
H A Dthermal_core.c265 if (!pos->tzp && !pos->ops->bind) bind_cdev()
268 if (pos->ops->bind) { bind_cdev()
269 ret = pos->ops->bind(pos, cdev); bind_cdev()
299 if (!tzp && !tz->ops->bind) bind_tz()
304 /* If there is ops->bind, try to use ops->bind */ bind_tz()
305 if (tz->ops->bind) { bind_tz()
307 ret = tz->ops->bind(tz, pos); bind_tz()
947 * thermal_zone_bind_cooling_device() - bind a cooling device to a thermal zone
959 * This interface function bind a thermal cooling device to the certain trip
961 * This function is usually called in the thermal zone device .bind callback.
1136 * to /sys/class/thermal/ folder as cooling_device[0-*]. It tries to bind itself
1211 * to /sys/class/thermal/ folder as cooling_device[0-*]. It tries to bind itself
1234 * to /sys/class/thermal/ folder as cooling_device[0-*]. It tries to bind itself
1477 * /sys/class/thermal folder as thermal_zone[0-*]. It tries to bind all the
H A Ddb8500_thermal.c61 /* Callback to bind cooling device to thermal zone */ db8500_cdev_bind()
81 dev_info(&cdev->device, "%s bind to %d: %d-%s\n", cdev->type, db8500_cdev_bind()
215 .bind = db8500_cdev_bind,
H A Dof-thermal.c63 * @num_tbps: number of thermal bind params
64 * @tbps: an array of thermal bind params (0..num_tbps - 1)
220 /* find where to bind */ of_thermal_bind()
388 .bind = of_thermal_bind,
/linux-4.1.27/net/ieee802154/
H A Dsocket.c114 if (sk->sk_prot->bind) ieee802154_sock_bind()
115 return sk->sk_prot->bind(sk, uaddr, addr_len); ieee802154_sock_bind()
413 .bind = raw_bind,
428 .bind = ieee802154_sock_bind,
957 .bind = dgram_bind,
973 .bind = ieee802154_sock_bind,
/linux-4.1.27/net/phonet/
H A Dsocket.c174 if (sk->sk_prot->bind) pn_socket_bind()
175 return sk->sk_prot->bind(sk, addr, len); pn_socket_bind()
198 /* get_port() sets the port, bind() sets the address if applicable */ pn_socket_bind()
332 if (!peer) /* Race with bind() here is userland's problem. */ pn_socket_getname()
443 .bind = pn_socket_bind,
468 .bind = pn_socket_bind,
/linux-4.1.27/crypto/
H A Dalgif_hash.c226 .bind = sock_no_bind,
334 .bind = sock_no_bind,
442 .bind = hash_bind,
H A Dalgif_rng.c106 .bind = sock_no_bind,
171 .bind = rng_bind,
H A Daf_alg.c177 private = type->bind(sa->salg_name, sa->salg_feat, sa->salg_mask); alg_bind()
345 .bind = alg_bind,
H A Dalgif_skcipher.c747 .bind = sock_no_bind,
843 .bind = sock_no_bind,
970 .bind = skcipher_bind,
H A Dalgif_aead.c553 .bind = sock_no_bind,
638 .bind = aead_bind,
/linux-4.1.27/drivers/i2c/
H A Di2c-boardinfo.c52 * are used to bind "new style" I2C drivers to the devices. The bus number
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
H A Diwch_qp.c573 wqe->bind.reserved = 0; iwch_bind_mw()
574 wqe->bind.type = TPT_VATO; iwch_bind_mw()
577 wqe->bind.perms = iwch_ib_to_tpt_bind_access( iwch_bind_mw()
579 wqe->bind.mr_stag = cpu_to_be32(mw_bind->bind_info.mr->lkey); iwch_bind_mw()
580 wqe->bind.mw_stag = cpu_to_be32(mw->rkey); iwch_bind_mw()
581 wqe->bind.mw_len = cpu_to_be32(mw_bind->bind_info.length); iwch_bind_mw()
582 wqe->bind.mw_va = cpu_to_be64(mw_bind->bind_info.addr); iwch_bind_mw()
595 wqe->bind.mr_pbl_addr = cpu_to_be32(pbl_addr); iwch_bind_mw()
596 wqe->bind.mr_pagesz = page_size; iwch_bind_mw()
/linux-4.1.27/drivers/gpu/drm/cirrus/
H A Dcirrus_drv.c34 /* only bind to the cirrus chip in qemu */
/linux-4.1.27/drivers/gpu/drm/imx/
H A Dimx-drm-core.c285 /* Now try and bind all our sub-components */ imx_drm_driver_load()
528 .bind = imx_drm_bind,
541 * imx_drm_encoder_parse_of called from encoder .bind callbacks imx_drm_platform_probe()
557 /* Then bind all encoders */ imx_drm_platform_probe()
H A Ddw_hdmi-imx.c253 .bind = dw_hdmi_imx_bind,
H A Dparallel-display.c267 .bind = imx_pd_bind,
/linux-4.1.27/fs/nfs/
H A Dgetroot.c26 #include <linux/lockd/bind.h>
/linux-4.1.27/include/uapi/linux/
H A Dx25.h58 * Linux X.25 Address structure, used for bind, and connect mostly.
/linux-4.1.27/net/atm/
H A Dpvc.c111 .bind = pvc_bind,
/linux-4.1.27/security/selinux/include/
H A Dclassmap.h8 #define COMMON_SOCK_PERMS COMMON_FILE_SOCK_PERMS, "bind", "connect", \
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvnv04.c102 static void nv04_tv_bind(struct drm_device *dev, int head, bool bind) nv04_tv_bind() argument
108 if (bind) nv04_tv_bind()
/linux-4.1.27/drivers/char/
H A Draw.c8 * device are used to bind the other minor numbers to block devices.
204 * Deal with ioctls against the raw-device control interface, to bind
/linux-4.1.27/drivers/acpi/
H A Dglue.c313 else if (adev->handler && adev->handler->bind) acpi_platform_notify()
314 adev->handler->bind(dev); acpi_platform_notify()
H A Dthermal.c275 * We need to re-bind the cooling devices of a thermal zone when this occurs.
773 bool bind) acpi_thermal_cooling_device_cb()
799 if (bind) acpi_thermal_cooling_device_cb()
824 if (bind) acpi_thermal_cooling_device_cb()
840 if (bind) acpi_thermal_cooling_device_cb()
873 .bind = acpi_thermal_bind_cooling_device,
771 acpi_thermal_cooling_device_cb(struct thermal_zone_device *thermal, struct thermal_cooling_device *cdev, bool bind) acpi_thermal_cooling_device_cb() argument
/linux-4.1.27/drivers/tty/serial/
H A Dkgdboc.c48 /* Return an error - we do not want to bind, just to reset */ kgdboc_reset_connect()
54 /* We do not expect anyone to actually bind to us */ kgdboc_reset_disconnect()
/linux-4.1.27/drivers/uwb/
H A Dwhci.c198 dev_err(&pci->dev, "cannot bind UWB radio controller:" whci_probe()
203 dev_warn(&pci->dev, "warning: cannot bind capability " whci_probe()
/linux-4.1.27/net/nfc/
H A Drawsock.c282 .bind = sock_no_bind,
302 .bind = sock_no_bind,
/linux-4.1.27/sound/pci/hda/
H A Dhda_bind.c162 /* try to auto-load and bind the codec module */ codec_bind_module()
257 codec_err(codec, "Unable to bind the codec\n"); snd_hda_codec_configure()
H A Dhda_i915.c144 .bind = hda_component_master_bind,
/linux-4.1.27/tools/hv/
H A Dhv_vss_daemon.c239 error = bind(fd, (struct sockaddr *)&addr, sizeof(addr)); main()
241 syslog(LOG_ERR, "bind failed; error:%d %s", errno, strerror(errno)); main()
/linux-4.1.27/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c296 ret = mount(orig_path, dest_path, "bind", MS_BIND | MS_REC, NULL); test_priv_mount_unpriv_remount()
298 die("recursive bind mount of %s onto %s failed: %s\n", test_priv_mount_unpriv_remount()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-tcpip.c379 /* All errors are fatal except bind failure if the port is in use */ libcfs_sock_create()
404 rc = sock->ops->bind(sock, (struct sockaddr *)&locaddr, libcfs_sock_create()
412 CERROR("Error trying to bind to port %d: %d\n", libcfs_sock_create()
/linux-4.1.27/drivers/gpu/drm/msm/hdmi/
H A Dhdmi.c72 /* construct hdmi at bind/probe time, grab all the resources. If
211 * driver (not hdmi sub-device's probe/bind!)
457 .bind = hdmi_bind,
/linux-4.1.27/Documentation/networking/timestamping/
H A Dtimestamping.c399 /* bind to PTP port */ main()
403 if (bind(sock, main()
406 bail("bind"); main()
/linux-4.1.27/net/l2tp/
H A Dl2tp_ip.c308 if (sock_flag(sk, SOCK_ZAPPED)) /* Must bind first - autobinding does not work */ l2tp_ip_connect()
560 .bind = l2tp_ip_bind,
583 .bind = inet_bind,
H A Dl2tp_ip6.c368 if (sock_flag(sk, SOCK_ZAPPED)) /* Must bind first - autobinding does not work */ l2tp_ip6_connect()
711 .bind = l2tp_ip6_bind,
734 .bind = inet6_bind,
/linux-4.1.27/drivers/macintosh/
H A Dmac_hid.c99 /* Don't bind to ourselves */ mac_hid_emumouse_connect()
/linux-4.1.27/drivers/net/ethernet/freescale/fs_enet/
H A Dmii-bitbang.c41 * bind the ports to a GPIO driver, and have this be a client of it.
/linux-4.1.27/drivers/misc/eeprom/
H A Dmax6875.c153 /* Only bind to even addresses */ max6875_probe()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dlustre_param.h99 #define PARAM_NETWORK "network=" /* bind on nid */
/linux-4.1.27/drivers/gpu/drm/ast/
H A Dast_drv.c57 /* AST_VGA_DEVICE(PCI_CHIP_AST1180, NULL), - don't bind to 1180 for now */
/linux-4.1.27/drivers/gpu/drm/msm/dsi/
H A Ddsi.c112 .bind = dsi_bind,
/linux-4.1.27/drivers/char/agp/
H A Dalpha-agp.c101 status = agp->ops->bind(agp, pg_start, mem); alpha_core_agp_insert_memory()
/linux-4.1.27/drivers/gpu/drm/ttm/
H A Dttm_agp_backend.c108 .bind = ttm_agp_bind,
H A Dttm_tt.c279 ret = ttm->func->bind(ttm, bo_mem); ttm_tt_bind()
/linux-4.1.27/drivers/platform/x86/
H A Dacerhdf.c370 /* if the cooling device is the one from acerhdf bind it */ acerhdf_bind()
485 /* bind callback functions to thermalzone */
487 .bind = acerhdf_bind,
559 /* bind fan callbacks to fan device */
/linux-4.1.27/arch/sh/drivers/pci/
H A Dops-sh7786.c46 * value, we cheat a bit here and bind the controller's config sh7786_pcie_config_access()
/linux-4.1.27/arch/powerpc/include/asm/
H A Dmpic_msgr.h110 * @cpu_num: the Linux CPU number to bind the message register to
/linux-4.1.27/security/apparmor/
H A Daudit.c49 "bind",
/linux-4.1.27/security/tomoyo/
H A Dmount.c12 [TOMOYO_MOUNT_BIND] = "--bind",
/linux-4.1.27/tools/virtio/virtio-trace/
H A Dtrace-agent-rw.c101 /* bind my thread to cpu_num by assigning zero to the first argument */ bind_cpu()
/linux-4.1.27/include/linux/ceph/
H A Dmsgr.h11 * client-side processes will try to bind to ports in this
/linux-4.1.27/drivers/gpu/drm/qxl/
H A Dqxl_ttm.c270 WARN(1, "nothing to bind %lu pages for mreg %p back %p!\n", qxl_ttm_backend_bind()
292 .bind = &qxl_ttm_backend_bind,
/linux-4.1.27/drivers/thermal/ti-soc-thermal/
H A Dti-thermal-common.c147 /* bind with min and max states defined by cpu_cooling */ ti_thermal_bind()
296 .bind = ti_thermal_bind,
/linux-4.1.27/arch/mips/kernel/
H A Dvpe-mt.c104 * bind the TC to VPE 1 as late as possible so we only have the final vpe_run()
459 * doesn't appear to let me bind a TC to a non-existent vpe_module_init()
/linux-4.1.27/net/netfilter/ipvs/
H A Dip_vs_proto_udp.c393 /* Default binding: bind app only for NAT */ udp_app_conn_bind()
397 /* Lookup application incarnations and bind the right one */ udp_app_conn_bind()
/linux-4.1.27/drivers/rpmsg/
H A Dvirtio_rpmsg_bus.c246 /* bind the endpoint to an rpmsg address (and allocate one if needed) */ __rpmsg_create_ept()
269 * @addr: local rpmsg address to bind with @cb
276 * bind a callback, and possibly some private data too, to an rpmsg address
291 * additional rpmsg addresses, and bind them to different rx callbacks.
297 * rx callback is invoked), and an address they want to bind with the
/linux-4.1.27/net/sunrpc/
H A Drpcb_clnt.c270 dprintk("RPC: failed to bind second program to " rpcb_create_local_unix()
322 dprintk("RPC: failed to bind second program to " rpcb_create_local_net()
415 * @prog: RPC program number to bind
416 * @vers: RPC version number to bind
697 * some other task is already attempting to bind the port */ rpcb_getport_async()
/linux-4.1.27/drivers/usb/gadget/udc/
H A Dudc-core.c202 * calling gadget driver's bind() method.
409 ret = driver->bind(udc->gadget, driver); udc_bind_to_driver()
462 if (!driver || !driver->bind || !driver->setup) usb_gadget_probe_driver()
/linux-4.1.27/fs/afs/
H A Drxrpc.c69 * open an RxRPC socket and bind it to be a server for callback notifications
97 /* bind the callback manager's address to make this a server socket */ afs_open_socket()
111 _leave(" = %d [bind]", ret); afs_open_socket()
/linux-4.1.27/fs/dlm/
H A Dlowcomms.c1197 result = sock->ops->bind(sock, (struct sockaddr *) &src_addr, tcp_connect_to_sock()
1200 log_print("could not bind for connect: %d", result); tcp_connect_to_sock()
1283 result = sock->ops->bind(sock, (struct sockaddr *) saddr, addr_len); tcp_create_listen_sock()
1285 log_print("Can't bind to port %d", dlm_config.ci_tcp_port); tcp_create_listen_sock()
1346 log_print("Can't bind to port %d addr number %d", add_sctp_bind_addr()
1352 /* Initialise SCTP socket and bind to all interfaces */ sctp_listen_for_all()
/linux-4.1.27/drivers/scsi/bnx2i/
H A Dbnx2i_init.c243 * progress at the earliest, either in bind(), send_pdu(LOGIN), bnx2i_stop()
430 /* bind thread to the cpu */ bnx2i_percpu_thread_create()
/linux-4.1.27/drivers/gpu/drm/exynos/
H A Dexynos_drm_drv.c87 /* Try to bind all sub drivers. */ exynos_drm_load()
524 .bind = exynos_drm_bind,
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_audio.c525 .bind = i915_audio_component_bind,
534 * will bind dynamically to the snd_hda_intel driver's corresponding master
/linux-4.1.27/drivers/usb/core/
H A Ddriver.c482 * usb_driver_claim_interface - bind a driver to an interface
494 * way to bind to an interface is to return the private data from
548 /* if interface was already added, bind now; else let usb_driver_claim_interface()
549 * the future device_add() bind it, bypassing probe() usb_driver_claim_interface()
724 * decide whether to bind to the specified interface.
749 * most general; they let drivers bind to any interface on a
1281 * method calls do not arrive during bind, unbind, or reset operations.
1364 * method calls do not arrive during bind, unbind, or reset operations.
H A Dgeneric.c165 * with the driver core and lets interface drivers bind to them. generic_probe()
/linux-4.1.27/drivers/usb/phy/
H A Dphy.c425 * usb_bind_phy - bind the phy and the controller that uses the phy
426 * @dev_name: the device name of the device that will bind to the phy
/linux-4.1.27/drivers/uwb/i1480/dfu/
H A Dusb.c68 i1480_usb->usb_dev = usb_get_dev(usb_dev); /* bind the USB device */ i1480_usb_create()
404 result = -ENODEV; /* we don't want to bind to the iface */ i1480_usb_probe()
/linux-4.1.27/arch/powerpc/kernel/
H A Dpci_dn.c169 * bind them. add_one_dev_pci_data()
222 * bind/unbind them. Otherwise the VF and VF PE would be mismatched remove_dev_pci_data()
/linux-4.1.27/Documentation/accounting/
H A Dgetdelays.c86 * Create a raw netlink socket and bind
108 if (bind(fd, (struct sockaddr *) &local, sizeof(local)) < 0) create_nl_socket()
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_mdio.c197 /* If we're going to bind the MAC to this PHY bus, sxgbe_mdio_register()
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_mdio.c256 * If we're going to bind the MAC to this PHY bus, stmmac_mdio_register()
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs_cpu.h151 * bind current thread on a CPU-partition \a cpt of \a cptab
/linux-4.1.27/drivers/rapidio/
H A Drio-driver.c54 * their probe() methods, when they bind to a device, and release
/linux-4.1.27/drivers/gpio/
H A Dgpio-amd8111.c191 * driver and have to find & bind to the device this way. amd_gpio_init()
/linux-4.1.27/drivers/infiniband/hw/ehca/
H A Dehca_qes.h198 } bind; member in union:ehca_wqe::__anon4846
/linux-4.1.27/drivers/infiniband/ulp/iser/
H A Discsi_iser.c443 * iscsi_iser_conn_bind() - bind iscsi and iser connection structures
472 iser_err("can't bind eph %llx\n", iscsi_iser_conn_bind()
789 * Allocate an iscsi endpoint, an iser_conn structure and bind them.
878 * iscsi conn bind/start stage, thus it is safe.
/linux-4.1.27/arch/x86/kernel/
H A Dpmc_atom.c355 * and have to find & bind to the device this way. pmc_atom_init()
/linux-4.1.27/arch/x86/tools/
H A Drelocs.c157 static const char *sym_bind(unsigned bind) sym_bind() argument
166 const char *name = "unknown sym bind name"; sym_bind()
167 if (bind < ARRAY_SIZE(bind_name)) { sym_bind()
168 name = bind_name[bind]; sym_bind()
/linux-4.1.27/drivers/gpu/drm/msm/adreno/
H A Dadreno_device.c259 .bind = adreno_bind,
/linux-4.1.27/drivers/gpu/drm/sti/
H A Dsti_compositor.c158 .bind = sti_compositor_bind,
H A Dsti_drm_drv.c241 .bind = sti_drm_bind,

Completed in 5306 milliseconds

123