Home
last modified time | relevance | path

Searched refs:DLMGMT_ACTIVE (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_door.c161 flags = DLMGMT_ACTIVE | (create->ld_persist ? DLMGMT_PERSIST : 0); in dlmgmt_upcall_create()
204 if ((linkp->ll_flags & DLMGMT_ACTIVE) == 0) in dlmgmt_upcall_create()
369 flags = DLMGMT_ACTIVE | (destroy->ld_persist ? DLMGMT_PERSIST : 0); in dlmgmt_upcall_destroy()
384 if (((linkp->ll_flags & flags) & DLMGMT_ACTIVE) != 0) { in dlmgmt_upcall_destroy()
385 if ((err = dlmgmt_delete_db_entry(linkp, DLMGMT_ACTIVE)) != 0) in dlmgmt_upcall_destroy()
387 dflags |= DLMGMT_ACTIVE; in dlmgmt_upcall_destroy()
574 if (createid->ld_flags & DLMGMT_ACTIVE) { in dlmgmt_createid()
576 DLMGMT_ACTIVE); in dlmgmt_createid()
613 if (flags & DLMGMT_ACTIVE) in dlmgmt_destroyid()
614 err = dlmgmt_delete_db_entry(linkp, DLMGMT_ACTIVE); in dlmgmt_destroyid()
[all …]
H A Ddlmgmt_db.c550 assert((flags == DLMGMT_PERSIST) || (flags == DLMGMT_ACTIVE)); in dlmgmt_db_update()
565 if (flags == DLMGMT_ACTIVE && linkp->ll_transient) in dlmgmt_db_update()
585 (((flag) == DLMGMT_ACTIVE) ? "active" : \
1166 if ((req->ls_flags & DLMGMT_ACTIVE) && in process_db_read()
1237 if ((req->ls_flags & DLMGMT_ACTIVE) && in process_db_read()
1341 if (flags & DLMGMT_ACTIVE) { in dlmgmt_write_db_entry()
1343 linkp, DLMGMT_ACTIVE)) != 0) && (flags & DLMGMT_PERSIST)) { in dlmgmt_write_db_entry()
1436 linkp->ll_flags |= DLMGMT_ACTIVE; in dlmgmt_db_phys_activate()
1437 (void) dlmgmt_write_db_entry(linkp->ll_link, linkp, DLMGMT_ACTIVE); in dlmgmt_db_phys_activate()
1502 DATALINK_INVALID_LINKID, zoneid, DLMGMT_ACTIVE, &err)) == NULL) in dlmgmt_db_init()
[all …]
H A Ddlmgmt_util.c443 linkp->ll_flags |= DLMGMT_ACTIVE; in link_activate()
499 if (flags & ~(DLMGMT_ACTIVE | DLMGMT_PERSIST | DLMGMT_TRANSIENT) || in dlmgmt_create_common()
535 if ((flags & DLMGMT_ACTIVE) && (err = link_activate(linkp)) != 0) { in dlmgmt_create_common()
558 assert((linkp->ll_flags & ~(DLMGMT_ACTIVE | DLMGMT_PERSIST)) == 0); in dlmgmt_destroy_common()
579 if ((flags & DLMGMT_ACTIVE) && linkp->ll_zoneid != GLOBAL_ZONEID) { in dlmgmt_destroy_common()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlmgmt.c139 dlmgmt_flags = (flags & DLADM_OPT_ACTIVE) ? DLMGMT_ACTIVE : 0; in dladm_create_datalink_id()
169 dlmgmt_flags = (flags & DLADM_OPT_ACTIVE) ? DLMGMT_ACTIVE : 0; in dladm_destroy_datalink_id()
257 assert((*flagsp) & DLMGMT_ACTIVE); in i_dladm_phys_status()
276 (*flagsp) &= ~DLMGMT_ACTIVE; in i_dladm_phys_status()
301 dlmgmt_flags = (flags & DLADM_OPT_ACTIVE) ? DLMGMT_ACTIVE : 0; in dladm_walk_datalink_id()
325 (retval.lr_flags & DLMGMT_ACTIVE)) { in dladm_walk_datalink_id()
568 retval.lr_flags & DLMGMT_ACTIVE) { in dladm_name2info()
581 *flagp = (retval.lr_flags & DLMGMT_ACTIVE) ? in dladm_name2info()
625 retval.lr_flags & DLMGMT_ACTIVE) { in dladm_datalink_id2info()
642 *flagp = (retval.lr_flags & DLMGMT_ACTIVE) ? in dladm_datalink_id2info()
/illumos-gate/usr/src/uts/common/sys/
H A Ddls_mgmt.h124 #define DLMGMT_ACTIVE 0x01 macro
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_netops.c293 DATALINK_ANY_MEDIATYPE, DLMGMT_ACTIVE); in devnet_filldir()
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetifaddrs.c436 DATALINK_ANY_MEDIATYPE, DLMGMT_ACTIVE, in getallifaddrs()