Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_door.c738 dlmgmt_dlconf_t *dlconfp; in dlmgmt_createconf() local
750 createconf->ld_class, createconf->ld_media, zoneid, &dlconfp); in dlmgmt_createconf()
752 avl_add(&dlmgmt_dlconf_avl, dlconfp); in dlmgmt_createconf()
753 dlmgmt_advance_dlconfid(dlconfp); in dlmgmt_createconf()
754 retvalp->lr_confid = dlconfp->ld_id; in dlmgmt_createconf()
768 dlmgmt_dlconf_t dlconf, *dlconfp; in dlmgmt_setattr() local
777 dlconfp = avl_find(&dlmgmt_dlconf_avl, &dlconf, NULL); in dlmgmt_setattr()
778 if (dlconfp == NULL || zoneid != dlconfp->ld_zoneid) { in dlmgmt_setattr()
783 if ((err = dlmgmt_checkprivs(dlconfp->ld_class, cred)) != 0) in dlmgmt_setattr()
786 err = linkattr_set(&(dlconfp->ld_head), setattr->ld_attr, in dlmgmt_setattr()
[all …]
H A Ddlmgmt_util.c636 dlmgmt_dlconf_t *dlconfp = NULL; in dlconf_create() local
644 if ((dlconfp = calloc(1, sizeof (dlmgmt_dlconf_t))) == NULL) { in dlconf_create()
649 (void) strlcpy(dlconfp->ld_link, name, MAXLINKNAMELEN); in dlconf_create()
650 dlconfp->ld_linkid = linkid; in dlconf_create()
651 dlconfp->ld_class = class; in dlconf_create()
652 dlconfp->ld_media = media; in dlconf_create()
653 dlconfp->ld_id = dlmgmt_nextconfid; in dlconf_create()
654 dlconfp->ld_zoneid = zoneid; in dlconf_create()
657 *dlconfpp = dlconfp; in dlconf_create()
662 dlconf_destroy(dlmgmt_dlconf_t *dlconfp) in dlconf_destroy() argument
[all …]