/linux-master/tools/testing/selftests/media_tests/ |
H A D | media_dev_allocator.sh | 6 echo "Media Device Allocator testing: unbind and bind" 37 echo "Test bind both devices - start" 38 echo "Running bind of $MDEV from $MDRIVER" 39 echo $MDEV > $MDRIVER/bind; 44 echo "Running bind of $ADEV from $ADRIVER" 45 echo $ADEV > $ADRIVER/bind; 50 echo "Test bind both devices - end" 54 echo "Test unbind $MDEV - bind $MDEV - unbind $ADEV - bind $ADEV start" 64 echo "Running bind o [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/dma/ |
H A D | priv.h | 8 int (*bind)(struct nvkm_dmaobj *, struct nvkm_gpuobj *, int align, member in struct:nvkm_dmaobj_func
|
H A D | user.c | 51 return dmaobj->func->bind(dmaobj, gpuobj, align, pgpuobj); 63 .bind = nvkm_dmaobj_bind,
|
/linux-master/tools/testing/selftests/drivers/usb/usbip/ |
H A D | usbip_test.sh | 88 echo "bind devices"; 89 src/usbip bind -b $busid; 96 echo "bind devices - expect already bound messages" 97 src/usbip bind -b $busid; 128 echo "bind devices"; 129 src/usbip bind -b $busid; 185 echo "Run bind without usbip_host - expect fail" 186 src/usbip bind -b $busid; 189 echo "Run lsusb - devices that failed to bind aren't bound to any driver"
|
/linux-master/net/sched/ |
H A D | act_vlan.c | 122 bool bind = flags & TCA_ACT_FLAGS_BIND; local 149 err = tcf_idr_check_alloc(tn, &index, a, bind); 153 if (exists && bind) 163 tcf_idr_release(*a, bind); 171 tcf_idr_release(*a, bind); 185 tcf_idr_release(*a, bind); 203 tcf_idr_release(*a, bind); 211 tcf_idr_release(*a, bind); 220 &act_vlan_ops, bind, flags); 228 tcf_idr_release(*a, bind); 286 tcf_vlan_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument 355 tcf_vlan_offload_act_setup(struct tc_action *act, void *entry_data, u32 *index_inc, bool bind, struct netlink_ext_ack *extack) argument [all...] |
H A D | act_simple.c | 94 bool bind = flags & TCA_ACT_FLAGS_BIND; local 116 err = tcf_idr_check_alloc(tn, &index, a, bind); 120 if (exists && bind) 125 tcf_idr_release(*a, bind); 133 &act_simp_ops, bind, false, flags); 167 tcf_idr_release(*a, bind); 172 int bind, int ref) 179 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, 171 tcf_simp_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument
|
H A D | act_gact.c | 59 bool bind = flags & TCA_ACT_FLAGS_BIND; local 100 err = tcf_idr_check_alloc(tn, &index, a, bind); 103 &act_gact_ops, bind, flags); 110 if (bind)/* dont override defaults */ 113 tcf_idr_release(*a, bind); 145 tcf_idr_release(*a, bind); 186 int bind, int ref) 193 .bindcnt = atomic_read(&gact->tcf_bindcnt) - bind, 240 u32 *index_inc, bool bind, 243 if (bind) { 185 tcf_gact_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument 239 tcf_gact_offload_act_setup(struct tc_action *act, void *entry_data, u32 *index_inc, bool bind, struct netlink_ext_ack *extack) argument [all...] |
H A D | act_skbmod.c | 109 bool bind = flags & TCA_ACT_FLAGS_BIND; local 155 err = tcf_idr_check_alloc(tn, &index, a, bind); 159 if (exists && bind) 164 tcf_idr_release(*a, bind); 172 &act_skbmod_ops, bind, true, flags); 180 tcf_idr_release(*a, bind); 224 tcf_idr_release(*a, bind); 239 int bind, int ref) 250 opt.bindcnt = atomic_read(&d->tcf_bindcnt) - bind; 238 tcf_skbmod_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument
|
H A D | act_skbedit.c | 123 bool bind = act_flags & TCA_ACT_FLAGS_BIND; local 207 err = tcf_idr_check_alloc(tn, &index, a, bind); 211 if (exists && bind) 216 tcf_idr_release(*a, bind); 224 &act_skbedit_ops, bind, true, act_flags); 235 tcf_idr_release(*a, bind); 280 tcf_idr_release(*a, bind); 285 int bind, int ref) 293 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, 369 u32 *index_inc, bool bind, 284 tcf_skbedit_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument 368 tcf_skbedit_offload_act_setup(struct tc_action *act, void *entry_data, u32 *index_inc, bool bind, struct netlink_ext_ack *extack) argument [all...] |
H A D | act_sample.c | 42 bool bind = flags & TCA_ACT_FLAGS_BIND; local 64 err = tcf_idr_check_alloc(tn, &index, a, bind); 68 if (exists && bind) 73 &act_sample_ops, bind, true, flags); 80 tcf_idr_release(*a, bind); 132 tcf_idr_release(*a, bind); 213 int bind, int ref) 220 .bindcnt = atomic_read(&s->tcf_bindcnt) - bind, 285 u32 *index_inc, bool bind, 288 if (bind) { 212 tcf_sample_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument 284 tcf_sample_offload_act_setup(struct tc_action *act, void *entry_data, u32 *index_inc, bool bind, struct netlink_ext_ack *extack) argument [all...] |
H A D | act_connmark.c | 106 bool bind = flags & TCA_ACT_FLAGS_BIND; local 130 ret = tcf_idr_check_alloc(tn, &index, a, bind); 133 &act_connmark_ops, bind, flags); 148 if (bind) { 184 tcf_idr_release(*a, bind); 191 int bind, int ref) 198 .bindcnt = atomic_read(&ci->tcf_bindcnt) - bind, 190 tcf_connmark_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) argument
|
H A D | act_mirred.c | 109 bool bind = flags & TCA_ACT_FLAGS_BIND; local 133 err = tcf_idr_check_alloc(tn, &index, a, bind); 137 if (exists && bind) 144 tcf_idr_release(*a, bind); 159 tcf_idr_release(*a, bind); 174 &act_mirred_ops, bind, flags); 181 tcf_idr_release(*a, bind); 231 tcf_idr_release(*a, bind); 472 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, argument 480 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, 582 tcf_mirred_offload_act_setup(struct tc_action *act, void *entry_data, u32 *index_inc, bool bind, struct netlink_ext_ack *extack) argument [all...] |
/linux-master/include/linux/ |
H A D | component.h | 18 * @bind: 21 * ready to bind the overall driver. 23 int (*bind)(struct device *comp, struct device *master, member in struct:component_ops 29 * ready to bind the overall driver, or when component_bind_all() fails 54 * @bind: 58 * ready. Usually there are 3 steps to bind an aggregate driver: 74 int (*bind)(struct device *master); member in struct:component_master_ops
|
/linux-master/tools/testing/selftests/net/ |
H A D | sk_bind_sendto_listen.c | 32 if (bind(fd1, (struct sockaddr *)&bind_addr, sizeof(bind_addr))) { 33 error(1, errno, "bind fd1"); 54 if (bind(fd2, (struct sockaddr *)&bind_addr, sizeof(bind_addr))) { 55 error(1, errno, "bind fd2");
|
H A D | bind_timewait.c | 52 ret = bind(server_fd, (struct sockaddr *)&self->addr, self->addrlen); 85 ret = bind(fd, (struct sockaddr *)&self->addr, self->addrlen);
|
/linux-master/drivers/xen/ |
H A D | evtchn.c | 62 struct mutex bind_mutex; /* serialize bind/unbind operations */ 386 * serialized bind operations.) 414 /* bind failed, should close the port now */ 442 /* Prevent bind from racing with unbind */ 447 struct ioctl_evtchn_bind_virq bind; local 455 if (copy_from_user(&bind, uarg, sizeof(bind))) 458 bind_virq.virq = bind.virq; 472 struct ioctl_evtchn_bind_interdomain bind; local 476 if (copy_from_user(&bind, uar 498 struct ioctl_evtchn_bind_unbound_port bind; local 546 struct ioctl_evtchn_bind bind; local [all...] |
/linux-master/arch/alpha/include/asm/ |
H A D | agp_backend.h | 37 int (*bind)(alpha_agp_info *, off_t, struct agp_memory *); member in struct:alpha_agp_ops
|
/linux-master/samples/bpf/ |
H A D | sock_example.h | 28 if (bind(sock, (struct sockaddr *)&sll, sizeof(sll)) < 0) { 29 printf("bind to %s: %s\n", name, strerror(errno));
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | skc_to_unix_sock.c | 40 err = bind(sockfd, (struct sockaddr *)&sockaddr, sizeof(sockaddr)); 41 if (!ASSERT_OK(err, "bind failed"))
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
H A D | gv100.c | 46 .bind = gv100_ce_cclass_bind,
|
/linux-master/include/xen/interface/io/ |
H A D | pvcalls.h | 10 /* "1" means socket, connect, release, bind, listen, accept and poll */ 65 } bind; member in union:xen_pvcalls_request::__anon189 104 } bind; member in union:xen_pvcalls_response::__anon190
|
/linux-master/drivers/vfio/ |
H A D | device_cdev.c | 60 struct vfio_device_bind_iommufd bind; local 68 if (copy_from_user(&bind, arg, minsz)) 71 if (bind.argsz < minsz || bind.flags || bind.iommufd < 0) 89 df->iommufd = iommufd_ctx_from_fd(bind.iommufd);
|
/linux-master/include/net/ |
H A D | act_api.h | 134 u32 *index_inc, bool bind, 190 int bind, bool cpustats, u32 flags); 193 const struct tc_action_ops *ops, int bind, 198 struct tc_action **a, int bind); 199 int tcf_idr_release(struct tc_action *a, bool bind); 206 int tcf_action_destroy(struct tc_action *actions[], int bind); 219 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
|
/linux-master/arch/x86/events/intel/ |
H A D | p4.c | 708 struct p4_event_bind *bind = NULL; local 711 bind = &p4_event_bind_map[evnt]; 713 return bind; 718 struct p4_event_bind *bind; local 723 bind = p4_config_get_bind(config); 724 esel = P4_OPCODE_ESEL(bind->opcode); 824 struct p4_event_bind *bind; local 841 bind = p4_config_get_bind(event->attr.config); 842 if (!bind) { 846 esel = P4_OPCODE_ESEL(bind 935 struct p4_pebs_bind *bind; local 956 struct p4_event_bind *bind; local 1226 p4_next_cntr(int thread, unsigned long *used_mask, struct p4_event_bind *bind) argument 1246 struct p4_event_bind *bind; local [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/cipher/ |
H A D | g84.c | 52 .bind = g84_cipher_oclass_bind, 66 .bind = g84_cipher_cclass_bind,
|