Searched refs:SYSFS_BUS_ID_SIZE (Results 1 - 8 of 8) sorted by relevance

/linux-master/tools/usb/usbip/src/
H A Dutils.c18 char command[SYSFS_BUS_ID_SIZE + 4];
29 cmd_size = snprintf(command, SYSFS_BUS_ID_SIZE + 4, "add %s",
32 cmd_size = snprintf(command, SYSFS_BUS_ID_SIZE + 4, "del %s",
H A Dusbip_network.h48 char busid[SYSFS_BUS_ID_SIZE];
63 char busid[SYSFS_BUS_ID_SIZE];
H A Dusbip_attach.c138 strncpy(request.busid, busid, SYSFS_BUS_ID_SIZE-1);
165 if (strncmp(reply.udev.busid, busid, SYSFS_BUS_ID_SIZE)) {
H A Dusbipd.c112 if (!strncmp(req.busid, edev->udev.busid, SYSFS_BUS_ID_SIZE)) {
/linux-master/tools/usb/usbip/libsrc/
H A Dusbip_common.h44 #define SYSFS_BUS_ID_SIZE 32 macro
113 char busid[SYSFS_BUS_ID_SIZE];
H A Dusbip_device_driver.c116 strncpy(dev->busid, name, SYSFS_BUS_ID_SIZE - 1);
117 dev->busid[SYSFS_BUS_ID_SIZE - 1] = '\0';
H A Dvhci_driver.c54 char lbusid[SYSFS_BUS_ID_SIZE];
195 int max_len[] = {(int)host_len, (int)port_len, SYSFS_BUS_ID_SIZE};
196 size_t buffer_len = host_len + port_len + SYSFS_BUS_ID_SIZE + 4;
431 char remote_busid[SYSFS_BUS_ID_SIZE];
H A Dusbip_common.c231 strncpy(udev->busid, name, SYSFS_BUS_ID_SIZE - 1);
232 udev->busid[SYSFS_BUS_ID_SIZE - 1] = '\0';
243 char busid[SYSFS_BUS_ID_SIZE];

Completed in 150 milliseconds