Lines Matching refs:status
100 dladm_status_t status;
119 status = i_dladm_set_prop_temp(handle, fname, prop_name,
121 if (status == DLADM_STATUS_TEMPONLY &&
124 if (status != DLADM_STATUS_OK)
125 return (status);
131 status = i_dladm_set_flowprop_db(handle, fname, prop_name,
135 return (status);
159 dladm_status_t status;
172 status = i_dladm_get_prop_temp(handle, flow, type, prop_name,
174 if (status != DLADM_STATUS_NOTFOUND)
175 return (status);
185 dladm_status_t status;
188 status = dladm_read_flowconf(handle, flow, NULL);
189 if (status != DLADM_STATUS_OK)
190 return (status);
199 status = dladm_set_flowconf_field(handle, flow,
201 if (status != 0)
202 return (status);
214 status = dladm_set_flowconf_field(handle, flow, prop_name,
216 return (status == DLADM_STATUS_OK ?
217 dladm_write_flowconf(handle, flow, root) : status);
224 dladm_status_t status;
231 status = dladm_read_flowconf(handle, flow, NULL);
232 if (status != DLADM_STATUS_OK)
233 return (status);
239 status = dladm_get_flowconf_field(handle, flowname,
242 if (status != 0)
245 return (status);
248 status = dladm_get_flowconf_field(handle, flowname, prop_name, zoneid,
250 if (status != DLADM_STATUS_OK)
251 return (status);
256 return (status);
323 dladm_status_t status;
325 status = dladm_flow_info(handle, flow, &fa);
326 if (status != DLADM_STATUS_OK)
327 return (status);
379 dladm_status_t status = DLADM_STATUS_OK;
388 status = dladm_str2bw(*prop_val, maxbw);
389 if (status != DLADM_STATUS_OK) {
391 return (status);
433 dladm_status_t status;
435 status = dladm_parse_args(str, listp, novalues);
436 if (status != DLADM_STATUS_OK)
437 return (status);
439 if (*listp != NULL && (status = flow_proplist_check(*listp)
442 return (status);
456 dladm_status_t status;
487 status = pdp->pd_check(pdp, aip->ai_val,
490 status = DLADM_STATUS_BADARG;
493 if (status != DLADM_STATUS_OK)
494 return (status);
504 status = rpp->rp_extract(vdp,
507 status = DLADM_STATUS_BADARG;
512 if (status != DLADM_STATUS_OK)
513 return (status);
517 return (status);
527 dladm_status_t status = DLADM_STATUS_OK;
529 status = i_dladm_flow_proplist_extract_one(proplist, "maxbw", mrp);
530 if (status != DLADM_STATUS_OK)
531 return (status);
532 return (status);