Lines Matching defs:host_path
366 char host_path[MAXPATHLEN];
382 if (get_host_path(asso_ctrl->host, host_path) < 0) {
397 if (wusbd_do_ca(host_path, asso_ctrl->path,
474 char host_path[MAXPATHLEN];
496 if (get_host_path(host_ctrl->host, host_path) < 0) {
508 if (stop_host(host_path) < 0) {
509 wusbd_warn("wusbd_do_remove_host: host_path = %s",
510 host_path);
567 char host_path[MAXPATHLEN];
581 if (get_host_path(host_ctrl->host, host_path) < 0) {
588 wusbd_info("wusbd_do_host: host = %s flag = %d", host_path, flag);
590 if (stop_host(host_path) < 0) {
591 wusbd_warn("wusbd_do_host: host_path = %s stop failed",
592 host_path);
597 (void) add_all_cc_to_host(host_path, host_ctrl->host);
599 if (start_host(host_path) < 0) {
601 host_path);
1011 wusbd_do_ca(const char *host_path, const char *ca_dev,
1108 if (ca_add_cc(&newinfo, host_path) < 0) {
1551 add_all_cc_to_host(const char *host_path, uint8_t hostid)
1556 wusbd_warn("add_all_cc_to_host: host = %s", host_path);
1558 if ((fd = open(host_path, O_RDONLY)) == -1) {
1560 host_path, strerror(errno));
1592 char host_path[MAXPATHLEN];
1594 if (get_host_path(hostid, host_path) < 0) {
1602 if ((fd = open(host_path, O_RDONLY)) == -1) {
1604 host_path, strerror(errno));
2076 char host_path[MAXPATHLEN];
2078 if (get_host_path(hostid, host_path) < 0) {
2085 if ((fd = open(host_path, O_RDWR)) == -1) {
2087 host_path, strerror(errno));