Lines Matching refs:da_defs
478 _def2str(da_defs_t *da_defs, char *buf, int size, const char *sep) in _def2str() argument
482 length = snprintf(buf, size, "%s%s", da_defs->devtype, sep); in _def2str()
485 if (da_defs->devopts) { in _def2str()
486 if (_kva2str(da_defs->devopts, buf + length, size - length, in _def2str()
503 _def2strentry(da_defs_t *da_defs) in _def2strentry() argument
509 if (_def2str(da_defs, sep->se_str, sizeof (sep->se_str), in _def2strentry()
529 da_defs_t *da_defs; in _build_defattrs() local
533 while ((da_defs = getdadefent()) != NULL) { in _build_defattrs()
534 rc = !(strcmp(da_defs->devtype, dargs->devinfo->devtype)); in _build_defattrs()
545 tmp_str = _def2strentry(da_defs); in _build_defattrs()
547 freedadefent(da_defs); in _build_defattrs()
560 freedadefent(da_defs); in _build_defattrs()
1749 da_defs_t *da_defs; in da_add_list() local
1825 if (da_defs = getdadeftype(nentry->devinfo.devtype)) { in da_add_list()
1826 kva = da_defs->devopts; in da_add_list()
1835 freedadefent(da_defs); in da_add_list()