Lines Matching defs:status

59 	dladm_status_t	status;
71 if ((status = dladm_door_fd(handle, &door_fd)) != DLADM_STATUS_OK)
72 return (status);
84 status = dladm_errno2status(errno);
86 if (status != DLADM_STATUS_OK)
87 return (status);
116 dladm_status_t status;
135 if ((status = dladm_door_call(handle, &createid, sizeof (createid),
139 return (status);
209 dladm_status_t status;
222 if ((status = dladm_door_call(handle, &createconf, sizeof (createconf),
227 return (status);
233 * real status by calling dladm_phys_info().
240 dladm_status_t status;
244 status = dladm_phys_info(handle, linkid, &dpa, DLADM_OPT_ACTIVE);
245 if (status == DLADM_STATUS_NOTFOUND) {
247 * No active status, this link was removed. Update its status
254 if ((status = dladm_destroy_datalink_id(handle, linkid,
256 return (status);
262 status = DLADM_STATUS_OK;
264 return (status);
280 dladm_status_t status = DLADM_STATUS_OK;
296 if ((status = dladm_door_call(handle, &getnext,
302 if (status == DLADM_STATUS_NOTFOUND)
303 status = DLADM_STATUS_OK;
313 * real status.
328 return (status);
341 dladm_status_t status;
351 if ((status = dladm_door_call(handle, &openconf,
357 return (status);
372 dladm_status_t status;
386 if ((status = dladm_door_call(handle, &snapshot, sizeof (snapshot),
392 if (status != DLADM_STATUS_OK) {
394 return (status);
401 status = dladm_errno2status(err);
404 return (status);
442 dladm_status_t status = DLADM_STATUS_OK;
472 if ((status = dladm_door_call(handle, &getattr,
474 return (status);
482 return (status);
540 dladm_status_t status;
546 if ((status = dladm_door_call(handle, &getlinkid, sizeof (getlinkid),
548 return (status);
556 * might not be active anymore. Check and set its real status.
558 status = i_dladm_phys_status(handle, linkid, &retval.lr_flags);
559 if (status != DLADM_STATUS_OK)
560 return (status);
588 dladm_status_t status;
598 if ((status = dladm_door_call(handle, &getname, sizeof (getname),
600 return (status);
610 * might not be active anymore. Check and set its real status.
612 status = i_dladm_phys_status(handle, linkid, &retval.lr_flags);
613 if (status != DLADM_STATUS_OK)
614 return (status);