Lines Matching refs:rc
42 int rc = -1; in bind_usbip() local
48 rc = write_sysfs_attribute(bind_attr_path, busid, strlen(busid)); in bind_usbip()
49 if (rc < 0) { in bind_usbip()
65 int rc = -1; in unbind_other() local
113 rc = write_sysfs_attribute(unbind_attr_path, busid, strlen(busid)); in unbind_other()
114 if (rc < 0) { in unbind_other()
132 int rc; in bind_device() local
154 rc = unbind_other(busid); in bind_device()
155 if (rc == UNBIND_ST_FAILED) { in bind_device()
158 } else if (rc == UNBIND_ST_USBIP_HOST) { in bind_device()
164 rc = modify_match_busid(busid, 1); in bind_device()
165 if (rc < 0) { in bind_device()
170 rc = bind_usbip(busid); in bind_device()
171 if (rc < 0) { in bind_device()