Home
last modified time | relevance | path

Searched refs:dev_list (Results 1 – 12 of 12) sorted by relevance

/external/adhd/cras/src/tests/
Ddev_io_unittest.cc68 struct open_dev* dev_list = NULL; in TEST_F() local
71 DL_APPEND(dev_list, dev->odev.get()); in TEST_F()
77 EXPECT_EQ(-3, dev_io_send_captured_samples(dev_list)); in TEST_F()
81 struct open_dev* dev_list = NULL; in TEST_F() local
89 DL_APPEND(dev_list, dev->odev.get()); in TEST_F()
95 dev_io_capture(&dev_list, &odev_list); in TEST_F()
99 dev_io_capture(&dev_list, &odev_list); in TEST_F()
104 dev_io_capture(&dev_list, &odev_list); in TEST_F()
175 struct open_dev* dev_list = NULL; in TEST_F() local
185 DL_APPEND(dev_list, dev1->odev.get()); in TEST_F()
[all …]
/external/mesa3d/src/egl/main/
Degldevice.c56 _EGLDevice *dev_list, *dev; in _eglFiniDevice() local
60 dev_list = _eglGlobal.DeviceList; in _eglFiniDevice()
63 assert(dev_list); in _eglFiniDevice()
64 assert(_eglDeviceSupports(dev_list, _EGL_DEVICE_SOFTWARE)); in _eglFiniDevice()
65 dev_list = dev_list->Next; in _eglFiniDevice()
67 while (dev_list) { in _eglFiniDevice()
69 dev = dev_list; in _eglFiniDevice()
70 dev_list = dev_list->Next; in _eglFiniDevice()
/external/libpcap/
Dpcap-rdmasniff.c360 struct ibv_device **dev_list; in rdmasniff_create() local
370 dev_list = ibv_get_device_list(&numdev); in rdmasniff_create()
371 if (!dev_list) { in rdmasniff_create()
375 ibv_free_device_list(dev_list); in rdmasniff_create()
394 if (strlen(dev_list[i]->name) == namelen && in rdmasniff_create()
395 !strncmp(device, dev_list[i]->name, namelen)) { in rdmasniff_create()
402 priv->rdma_device = dev_list[i]; in rdmasniff_create()
409 ibv_free_device_list(dev_list); in rdmasniff_create()
416 struct ibv_device **dev_list; in rdmasniff_findalldevs() local
421 dev_list = ibv_get_device_list(&numdev); in rdmasniff_findalldevs()
[all …]
Dpcap-bt-linux.c75 struct hci_dev_list_req *dev_list; in bt_findalldevs() local
92 dev_list = malloc(HCI_MAX_DEV * sizeof(*dev_req) + sizeof(*dev_list)); in bt_findalldevs()
93 if (!dev_list) in bt_findalldevs()
96 HCI_MAX_DEV * sizeof(*dev_req) + sizeof(*dev_list)); in bt_findalldevs()
101 dev_list->dev_num = HCI_MAX_DEV; in bt_findalldevs()
103 if (ioctl(sock, HCIGETDEVLIST, (void *) dev_list) < 0) in bt_findalldevs()
111 dev_req = dev_list->dev_req; in bt_findalldevs()
112 for (i = 0; i < dev_list->dev_num; i++, dev_req++) { in bt_findalldevs()
134 free(dev_list); in bt_findalldevs()
/external/libdrm/amdgpu/
Damdgpu_device.c47 static amdgpu_device_handle dev_list; variable
98 amdgpu_device_handle *node = &dev_list; in amdgpu_device_free_internal()
167 for (dev = dev_list; dev; dev = dev->next) in amdgpu_device_initialize()
268 dev->next = dev_list; in amdgpu_device_initialize()
269 dev_list = dev; in amdgpu_device_initialize()
/external/tensorflow/tensorflow/python/distribute/v1/
Dall_reduce_test.py127 def _buildInitialVars(self, shape, dev_list): argument
129 num_devices = len(dev_list)
132 with ops.device(dev_list[d]):
152 dev_list = ["/replica:0/task:0/device:CPU:0"
155 input_tensors = self._buildInitialVars(shape, dev_list)
/external/adhd/cras/src/server/
Ddev_io.c1152 static void update_longest_wake(struct open_dev *dev_list, in update_longest_wake() argument
1158 DL_FOREACH (dev_list, adev) { in update_longest_wake()
1389 struct open_dev **dev_list; in dev_io_append_stream() local
1403 dev_list = odevs; in dev_io_append_stream()
1405 dev_list = idevs; in dev_io_append_stream()
1408 DL_SEARCH_SCALAR(*dev_list, open_dev, dev, iodevs[i]); in dev_io_append_stream()
1553 DL_FOREACH (*dev_list, open_dev) { in dev_io_append_stream()
1567 int dev_io_remove_stream(struct open_dev **dev_list, in dev_io_remove_stream() argument
1575 DL_FOREACH (*dev_list, open_dev) { in dev_io_remove_stream()
Ddev_io.h110 int dev_io_remove_stream(struct open_dev **dev_list,
/external/ltp/testcases/kernel/device-drivers/usb/tusb/
Dst_tusb.h54 struct list_head dev_list; /* devices on this bus */ member
/external/iputils/
Darping.c723 struct dlist *dev_list; in find_device_by_sysfs() local
740 dev_list = sysfs_get_class_devices(cls_net); in find_device_by_sysfs()
741 if (!dev_list) { in find_device_by_sysfs()
748 dlist_for_each_data(dev_list, dev, struct sysfs_class_device) { in find_device_by_sysfs()
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi13529 …<var-decl name="dev_list" type-id="72f469ec" visibility="default" filepath="include/linux/netdevic…
24619 …<var-decl name="dev_list" type-id="72f469ec" visibility="default" filepath="include/linux/netdevic…
Dtest-PR27569-v0.abi13529 …<var-decl name="dev_list" type-id="72f469ec" visibility="default" filepath="include/linux/netdevic…
24591 …<var-decl name="dev_list" type-id="72f469ec" visibility="default" filepath="include/linux/netdevic…