Lines Matching defs:l_path
245 char *l_path, *p_path, *buf, *devfspath;
267 l_path = (char *)malloc(PATH_MAX);
268 if (l_path == NULL) {
278 free(l_path);
299 free(l_path);
327 free(l_path);
369 free(l_path);
385 free(l_path);
396 free(l_path);
401 (void) snprintf(l_path, PATH_MAX, "usb/%s%s", name, buf);
408 devfsadm_print(debug_mid, "mklink %s -> %s\n", l_path, p_path);
410 (void) devfsadm_mklink(l_path, node, minor, flags);
418 (void) devfsadm_secondary_link("audio", l_path, 0);
420 (void) devfsadm_secondary_link("audioctl", l_path, 0);
422 (void) devfsadm_secondary_link(l_path + 4, l_path, 0);
427 free(l_path);
442 char l_path[PATH_MAX];
481 (void) snprintf(l_path, sizeof (l_path), "usb/%s.%s/%s/%s",
484 devfsadm_print(debug_mid, "mklink %s -> %s\n", l_path, p_path);
486 (void) devfsadm_mklink(l_path, node, minor, flags);