CFGA_DEV_DIR
(void) snprintf(path, sizeof (path), "%s/%s", CFGA_DEV_DIR, apbuf);
ret = physpath_to_devlink(CFGA_DEV_DIR, (char *)xport_phys,
len = strlen(CFGA_DEV_DIR SLASH);
CFGA_DEV_DIR,
strlen(CFGA_DEV_DIR)) != 0) {
(strlen(CFGA_DEV_DIR) + 1 + 1))
strlen(CFGA_DEV_DIR) + 1;
CFGA_DEV_DIR,
if (strstr(ap_id_log, CFGA_DEV_DIR) == NULL) {
/* Strip off /dev/cfg/ */ ap_id_log + strlen(CFGA_DEV_DIR) + 1);
rv = physpath_to_devlink(CFGA_DEV_DIR, (char *)ap_id,
if (ap_id_log == NULL || strstr(ap_id_log, CFGA_DEV_DIR) == NULL) {
/* Strip off /dev/cfg/ */ ap_id_log + strlen(CFGA_DEV_DIR)+ 1,
len = strlen(CFGA_DEV_DIR SLASH);
rv = (cfga_usb_ret_t)physpath_to_devlink(CFGA_DEV_DIR, (char *)ap_id,
if (strstr(ap_id_log, CFGA_DEV_DIR) == NULL) {
/* Strip off /dev/cfg/ */ ap_id_log + strlen(CFGA_DEV_DIR)+ 1,
"%s%s", CFGA_DEV_DIR SLASH, apdup);
CFGA_DEV_DIR SLASH, ap_base);