Lines Matching defs:status

257 	dladm_status_t status;
277 if ((status = dladm_open(&handle)) != DLADM_STATUS_OK) {
278 die_dlerr(status,
314 dladm_status_t status;
316 status = dladm_flow_init(handle);
317 if (status != DLADM_STATUS_OK)
318 die_dlerr(status, "flows initialization failed");
335 dladm_status_t status;
398 status = dladm_flow_add(handle, linkid, attrlist, proplist, name,
400 if (status != DLADM_STATUS_OK)
401 die_dlerr(status, "add flow failed");
416 dladm_status_t status;
456 status = dladm_flow_remove(handle, flowname, t_arg, altroot);
465 status = dladm_walk_flow(remove_flow, handle, linkid, &state,
469 * walker function as any status for us
471 if (status == DLADM_STATUS_OK)
472 status = state.fs_status;
475 if (status != DLADM_STATUS_OK)
476 die_dlerr(status, "remove flow failed");
503 dladm_status_t status;
505 if ((status = dladm_datalink_id2info(handle, attr->fa_linkid, NULL,
507 return (status);
541 dladm_status_t status;
548 status = print_flow(statep, attr, &fbuf);
550 if (status != DLADM_STATUS_OK)
556 statep->fs_status = status;
669 dladm_status_t status;
672 status = dladm_set_flowprop(handle, flow, prop_name, prop_val, val_cnt,
675 if (status != DLADM_STATUS_OK) {
676 warn_dlerr(status, "cannot persistently %s flow "
680 return (status);
692 dladm_status_t status = DLADM_STATUS_OK;
710 status = dladm_set_rootdir(optarg);
711 if (status != DLADM_STATUS_OK) {
712 die_dlerr(status, "invalid directory "
742 status = dladm_set_flowprop(handle, flow, NULL, NULL, 0,
744 if (status != DLADM_STATUS_OK) {
745 warn_dlerr(status, "cannot reset flow property '%s' "
753 status = s;
773 status = DLADM_STATUS_BADARG;
784 status = s;
788 status = s;
837 warn_dlerr(status, "cannot reset flow property "
840 warn_dlerr(status, "cannot set flow property "
848 if (status != DLADM_STATUS_OK) {
972 dladm_status_t status;
974 status = dladm_get_flowprop(handle, flowname, type, propname, propvals,
976 if (status != DLADM_STATUS_OK) {
977 if (status == DLADM_STATUS_TEMPONLY) {
983 statep->fs_status = status;
984 statep->fs_retstatus = status;
987 } else if (status == DLADM_STATUS_NOTSUP ||
999 statep->fs_status = status;
1000 statep->fs_retstatus = status;
1216 dladm_status_t status;
1225 if ((status = dladm_flow_info(handle, flow, &attr)) !=
1259 status = dladm_walk_flowprop(show_one_flowprop, flow, statep);
1260 if (status != DLADM_STATUS_OK)
1261 die_dlerr(status, "show-flowprop");