/external/libpcap/ |
pcap-bt-linux.c | 79 struct hci_dev_list_req *dev_list; local 95 dev_list = malloc(HCI_MAX_DEV * sizeof(*dev_req) + sizeof(*dev_list)); 96 if (!dev_list) 99 HCI_MAX_DEV * sizeof(*dev_req) + sizeof(*dev_list)); 104 dev_list->dev_num = HCI_MAX_DEV; 106 if (ioctl(sock, HCIGETDEVLIST, (void *) dev_list) < 0) 115 dev_req = dev_list->dev_req; 116 for (i = 0; i < dev_list->dev_num; i++, dev_req++) { 132 free(dev_list); [all...] |
/external/ltp/testcases/kernel/device-drivers/usb/tusb/ |
st_tusb.h | 54 struct list_head dev_list; /* devices on this bus */ member in struct:usb_hcd
|
/external/libusb-compat/libusb/ |
core.c | 173 libusb_device **dev_list = NULL; local 180 r = libusb_get_device_list(ctx, &dev_list); 187 libusb_free_device_list(dev_list, 1); 198 libusb_device *dev = dev_list[i]; 226 libusb_free_device_list(dev_list, 1); 308 static int find_devices(libusb_device **dev_list, int dev_list_len, 316 libusb_device *newlib_dev = dev_list[i]; 569 libusb_device **dev_list; local 580 dev_list_len = libusb_get_device_list(ctx, &dev_list); 588 r = find_devices(dev_list, dev_list_len, bus, &new_devices) [all...] |
/external/iputils/ |
arping.c | 723 struct dlist *dev_list; local 740 dev_list = sysfs_get_class_devices(cls_net); 741 if (!dev_list) { 748 dlist_for_each_data(dev_list, dev, struct sysfs_class_device) {
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
alsa_ucm.c | 960 card_mctrl_t *dev_list, *uc_list; local 1054 card_mctrl_t *dev_list; local 1114 card_mctrl_t *dev_list, *uc_list; local 1311 card_mctrl_t *dev_list; local [all...] |