Home
last modified time | relevance | path

Searched refs:dlconfp (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_door.c733 dlmgmt_dlconf_t *dlconfp; in dlmgmt_createconf() local
745 createconf->ld_class, createconf->ld_media, zoneid, &dlconfp); in dlmgmt_createconf()
747 avl_add(&dlmgmt_dlconf_avl, dlconfp); in dlmgmt_createconf()
748 dlmgmt_advance_dlconfid(dlconfp); in dlmgmt_createconf()
749 retvalp->lr_confid = dlconfp->ld_id; in dlmgmt_createconf()
763 dlmgmt_dlconf_t dlconf, *dlconfp; in dlmgmt_setattr() local
772 dlconfp = avl_find(&dlmgmt_dlconf_avl, &dlconf, NULL); in dlmgmt_setattr()
773 if (dlconfp == NULL || zoneid != dlconfp->ld_zoneid) { in dlmgmt_setattr()
778 if ((err = dlmgmt_checkprivs(dlconfp->ld_class, cred)) != 0) in dlmgmt_setattr()
781 err = linkattr_set(&(dlconfp->ld_head), setattr->ld_attr, in dlmgmt_setattr()
[all …]
H A Ddlmgmt_util.c569 dlmgmt_dlconf_t *dlconfp = NULL; in dlconf_create() local
577 if ((dlconfp = calloc(1, sizeof (dlmgmt_dlconf_t))) == NULL) { in dlconf_create()
582 (void) strlcpy(dlconfp->ld_link, name, MAXLINKNAMELEN); in dlconf_create()
583 dlconfp->ld_linkid = linkid; in dlconf_create()
584 dlconfp->ld_class = class; in dlconf_create()
585 dlconfp->ld_media = media; in dlconf_create()
586 dlconfp->ld_id = dlmgmt_nextconfid; in dlconf_create()
587 dlconfp->ld_zoneid = zoneid; in dlconf_create()
590 *dlconfpp = dlconfp; in dlconf_create()
595 dlconf_destroy(dlmgmt_dlconf_t *dlconfp) in dlconf_destroy() argument
[all …]