Searched refs:link_len (Results 1 – 2 of 2) sorted by relevance
188 ssize_t link_len; in filter_usb_device() local191 link_len = readlink(cdev, link, sizeof(link) - 1); in filter_usb_device()192 if (link_len > 0) { in filter_usb_device()193 link[link_len] = '\0'; in filter_usb_device()
275 ssize_t link_len; in find_usb_device() local278 link_len = readlink(pathbuf, link, sizeof(link) - 1); in find_usb_device()279 if (link_len > 0) { in find_usb_device()280 link[link_len] = '\0'; in find_usb_device()