Lines Matching defs:nentry
1806 da_deventry_t *dentry = NULL, *nentry = NULL, *pentry = NULL;
1842 for (nentry = dentry; nentry != NULL; nentry = nentry->next) {
1843 pentry = nentry;
1844 (void) sscanf(nentry->devinfo.devname, "%*[a-z]%d", &instance);
1845 if (nentry->devinfo.instance == new_instance)
1853 if (nentry == NULL) {
1863 if ((nentry = (da_deventry_t *)malloc(sizeof (da_deventry_t)))
1867 pentry->next = nentry;
1869 nentry->devinfo.devname = strdup(dname);
1870 nentry->devinfo.devtype = dtype;
1871 nentry->devinfo.devauths = DEFAULT_DEV_ALLOC_AUTH;
1872 nentry->devinfo.devexec = dexec;
1873 nentry->devinfo.instance = new_instance;
1883 if (da_defs = getdadeftype(nentry->devinfo.devtype)) {
1894 nentry->devinfo.devauths = strdup(kval);
1896 nentry->devinfo.devexec = strdup(kval);
1909 nentry->devinfo.devopts = kval;
1911 nentry->devinfo.devlist = NULL;
1912 nentry->next = NULL;
1920 if (nentry->devinfo.devlist) {
1921 plen = strlen(nentry->devinfo.devlist);
1927 if ((nentry->devinfo.devlist =
1928 (char *)realloc(nentry->devinfo.devlist, nlen)) == NULL) {
1930 free(nentry->devinfo.devname);
1931 free(nentry);
1939 (void) snprintf(nentry->devinfo.devlist, nlen, "%s", link);
1941 (void) snprintf(nentry->devinfo.devlist + plen, nlen - plen,
1949 dlist->audio = nentry;
1951 dlist->cd = nentry;
1953 dlist->floppy = nentry;
1955 dlist->tape = nentry;
1957 dlist->rmdisk = nentry;