Home
last modified time | relevance | path

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

/linux-6.1.9/tools/usb/usbip/libsrc/
Dusbip_host_common.c215 char sockfd_attr_path[SYSFS_PATH_MAX]; in usbip_export_device() local
239 size = snprintf(sockfd_attr_path, sizeof(sockfd_attr_path), "%s/%s", in usbip_export_device()
241 if (size < 0 || (unsigned int)size >= sizeof(sockfd_attr_path)) { in usbip_export_device()
243 (long unsigned)sizeof(sockfd_attr_path)); in usbip_export_device()
254 ret = write_sysfs_attribute(sockfd_attr_path, sockfd_buff, in usbip_export_device()
258 sockfd_buff, sockfd_attr_path); in usbip_export_device()