Lines Matching refs:oferr
1680 ofmt_status_t oferr; in do_show_usage() local
1746 oferr = ofmt_open(fields_str, usage_fields, ofmtflags, 0, in do_show_usage()
1751 oferr = ofmt_open(fields_str, usage_l_fields, ofmtflags, 0, in do_show_usage()
1755 dladm_ofmt_check(oferr, state.us_parsable, ofmt); in do_show_usage()
3407 ofmt_status_t oferr; in do_show_link() local
3504 oferr = ofmt_open(fields_str, link_fields, ofmtflags, 0, &ofmt); in do_show_link()
3505 dladm_ofmt_check(oferr, state.ls_parsable, ofmt); in do_show_link()
3548 ofmt_status_t oferr; in do_show_aggr() local
3670 oferr = ofmt_open(fields_str, pf, ofmtflags, 0, &ofmt); in do_show_aggr()
3671 dladm_ofmt_check(oferr, state.gs_parsable, ofmt); in do_show_aggr()
4106 ofmt_status_t oferr; in do_show_iptun() local
4139 oferr = ofmt_open(fields_str, iptun_fields, ofmtflags, in do_show_iptun()
4141 dladm_ofmt_check(oferr, state.ls_parsable, ofmt); in do_show_iptun()
4414 ofmt_status_t oferr; in do_show_phys() local
4505 oferr = ofmt_open(fields_str, pf, ofmtflags, 0, &ofmt); in do_show_phys()
4506 dladm_ofmt_check(oferr, state.ls_parsable, ofmt); in do_show_phys()
4534 ofmt_status_t oferr; in do_show_vlan() local
4584 oferr = ofmt_open(fields_str, vlan_fields, ofmtflags, 0, &ofmt); in do_show_vlan()
4585 dladm_ofmt_check(oferr, state.ls_parsable, ofmt); in do_show_vlan()
5113 ofmt_status_t oferr; in do_show_vnic_common() local
5201 oferr = ofmt_open(fields_str, pf, ofmtflags, 0, &ofmt); in do_show_vnic_common()
5202 dladm_ofmt_check(oferr, state.vs_parsable, ofmt); in do_show_vnic_common()
5529 ofmt_status_t oferr; in do_show_simnet() local
5586 oferr = ofmt_open(fields_str, simnet_fields, ofmtflags, 0, &ofmt); in do_show_simnet()
5587 dladm_ofmt_check(oferr, state.ls_parsable, ofmt); in do_show_simnet()
5609 ofmt_status_t oferr; in link_stats() local
5614 oferr = ofmt_open(fields_str, link_s_fields, ofmtflags, 0, &ofmt); in link_stats()
5615 dladm_ofmt_check(oferr, state->ls_parsable, ofmt); in link_stats()
5897 ofmt_status_t oferr; in parse_wifi_fields() local
5924 oferr = ofmt_open(str, template, (parsable ? OFMT_PARSABLE : 0), in parse_wifi_fields()
5926 dladm_ofmt_check(oferr, parsable, *ofmt); in parse_wifi_fields()
6678 ofmt_status_t oferr; in do_show_linkprop() local
6735 oferr = ofmt_open(fields_str, linkprop_fields, ofmtflags, 0, &ofmt); in do_show_linkprop()
6736 dladm_ofmt_check(oferr, state.ls_parsable, ofmt); in do_show_linkprop()
7466 ofmt_status_t oferr; in do_show_secobj() local
7506 oferr = ofmt_open(fields_str, secobj_fields, ofmtflags, 0, &ofmt); in do_show_secobj()
7507 dladm_ofmt_check(oferr, state.ss_parsable, ofmt); in do_show_secobj()
7607 ofmt_status_t oferr; in do_show_ether() local
7637 oferr = ofmt_open(fields_str, ether_fields, ofmtflags, in do_show_ether()
7639 dladm_ofmt_check(oferr, state.es_parsable, ofmt); in do_show_ether()
8582 ofmt_status_t oferr; in do_show_bridge() local
8712 oferr = ofmt_open(fields_str, field_arr, ofmtflags, 0, &ofmt); in do_show_bridge()
8713 dladm_ofmt_check(oferr, brstate.state.ls_parsable, ofmt); in do_show_bridge()
9042 dladm_ofmt_check(ofmt_status_t oferr, boolean_t parsable, in dladm_ofmt_check() argument
9047 if (oferr == OFMT_SUCCESS) in dladm_ofmt_check()
9049 (void) ofmt_strerror(ofmt, oferr, buf, sizeof (buf)); in dladm_ofmt_check()
9056 if (parsable || oferr == OFMT_ENOFIELDS) { in dladm_ofmt_check()
9189 ofmt_status_t oferr; in do_show_part() local
9260 oferr = ofmt_open(fields_str, part_fields, ofmtflags, 0, &ofmt); in do_show_part()
9261 dladm_ofmt_check(oferr, state.ps_parsable, ofmt); in do_show_part()
9387 ofmt_status_t oferr; in do_show_ib() local
9432 oferr = ofmt_open(fields_str, ib_fields, ofmtflags, 0, &ofmt); in do_show_ib()
9433 dladm_ofmt_check(oferr, state.is_parsable, ofmt); in do_show_ib()