Lines Matching refs:dlconfp
569 dlmgmt_dlconf_t *dlconfp = NULL;
577 if ((dlconfp = calloc(1, sizeof (dlmgmt_dlconf_t))) == NULL) {
582 (void) strlcpy(dlconfp->ld_link, name, MAXLINKNAMELEN);
583 dlconfp->ld_linkid = linkid;
584 dlconfp->ld_class = class;
585 dlconfp->ld_media = media;
586 dlconfp->ld_id = dlmgmt_nextconfid;
587 dlconfp->ld_zoneid = zoneid;
590 *dlconfpp = dlconfp;
595 dlconf_destroy(dlmgmt_dlconf_t *dlconfp)
599 for (attrp = dlconfp->ld_head; attrp != NULL; attrp = next) {
604 free(dlconfp);
768 dlmgmt_advance_dlconfid(dlmgmt_dlconf_t *dlconfp)
773 dlconfp = AVL_NEXT(&dlmgmt_dlconf_avl, dlconfp);
782 dlconfp = avl_find(&dlmgmt_dlconf_avl, &dlconf, NULL);
783 if (dlconfp == NULL)
786 if ((dlconfp == NULL) ||
787 (dlconfp->ld_id != dlmgmt_nextconfid)) {
791 dlconfp = AVL_NEXT(&dlmgmt_dlconf_avl, dlconfp);