Lines Matching defs:link
72 * check if the link should be included in device_maps
76 da_check_link(const char *link)
78 if (strchr(link, ':') != NULL)
1792 * adds new /dev link name to the linked list of devices.
1793 * returns 0 if link added successfully, -1 on error.
1796 da_add_list(da_devlist_t *dlist, char *link, int new_instance, int flag)
1809 if (dlist == NULL || link == NULL)
1847 * Add the new link name to the list of links
1919 nlen = strlen(link) + 1; /* +1 terminator */
1939 (void) snprintf(nentry->devinfo.devlist, nlen, "%s", link);
1942 " %s", link);
1965 * removes a /dev link name from the linked list of devices.
1966 * returns type of device if link for that device removed
1972 da_remove_list(da_devlist_t *dlist, char *link, int type, char *devname,
1984 else if (link == NULL)
1986 else if (strstr(link, DA_AUDIO_NAME) || strstr(link, DA_SOUND_NAME))
1988 else if (strstr(link, "dsk") || strstr(link, "rdsk") ||
1989 strstr(link, "sr") || strstr(link, "rsr"))
1991 else if (strstr(link, "fd") || strstr(link, "rfd") ||
1992 strstr(link, "diskette") || strstr(link, "rdiskette"))
1994 else if (strstr(link, DA_TAPE_NAME))
2019 if ((type != NULL) && (link == NULL)) {
2039 nlen = strlen(link);
2041 if (strcmp(current->devinfo.devlist, link) == 0) {
2047 if (strstr(current->devinfo.devlist, link)) {
2061 if (strcmp(lname, link) == 0)
2129 * The link argument is present if available to make debugging
2139 da_rm_list_entry(da_devlist_t *dlist, char *link, int type, char *devname)