Lines Matching refs:ofmt
683 ofmt_handle_t ofmt; in do_show_ifprop() local
742 oferr = ofmt_open(fields_str, intfprop_fields, ofmtflags, 0, &ofmt); in do_show_ifprop()
743 ipadm_ofmt_check(oferr, state.sps_parsable, ofmt); in do_show_ifprop()
744 state.sps_ofmt = ofmt; in do_show_ifprop()
763 ofmt_close(ofmt); in do_show_ifprop()
867 ofmt_handle_t ofmt; in do_show_prop() local
921 oferr = ofmt_open(fields_str, modprop_fields, ofmtflags, 0, &ofmt); in do_show_prop()
922 ipadm_ofmt_check(oferr, state.sps_parsable, ofmt); in do_show_prop()
923 state.sps_ofmt = ofmt; in do_show_prop()
929 ofmt_close(ofmt); in do_show_prop()
1795 ofmt_handle_t ofmt; in do_show_addr() local
1842 oferr = ofmt_open(fields_str, show_addr_fields, ofmtflags, 0, &ofmt); in do_show_addr()
1844 ipadm_ofmt_check(oferr, state.sa_parsable, ofmt); in do_show_addr()
1845 state.sa_ofmt = ofmt; in do_show_addr()
1855 ofmt_close(ofmt); in do_show_addr()
1950 ofmt_handle_t ofmt; in do_show_if() local
1978 oferr = ofmt_open(fields_str, show_if_fields, ofmtflags, 0, &ofmt); in do_show_if()
1979 ipadm_ofmt_check(oferr, state.si_parsable, ofmt); in do_show_if()
1980 state.si_ofmt = ofmt; in do_show_if()
2083 ofmt_handle_t ofmt; in do_show_addrprop() local
2134 oferr = ofmt_open(fields_str, addrprop_fields, ofmtflags, 0, &ofmt); in do_show_addrprop()
2135 ipadm_ofmt_check(oferr, state.sps_parsable, ofmt); in do_show_addrprop()
2136 state.sps_ofmt = ofmt; in do_show_addrprop()
2171 ofmt_close(ofmt); in do_show_addrprop()
2180 ofmt_handle_t ofmt) in ipadm_ofmt_check() argument
2186 (void) ofmt_strerror(ofmt, oferr, buf, sizeof (buf)); in ipadm_ofmt_check()
2194 ofmt_close(ofmt); in ipadm_ofmt_check()