Lines Matching defs:ofmt

78 #include <ofmt.h>
1681 ofmt_handle_t ofmt;
1749 &ofmt);
1754 &ofmt);
1757 dladm_ofmt_check(oferr, state.us_parsable, ofmt);
1758 state.us_ofmt = ofmt;
1781 ofmt_close(ofmt);
3408 ofmt_handle_t ofmt;
3509 oferr = ofmt_open(fields_str, link_fields, ofmtflags, 0, &ofmt);
3510 dladm_ofmt_check(oferr, state.ls_parsable, ofmt);
3511 state.ls_ofmt = ofmt;
3523 ofmt_close(ofmt);
3552 ofmt_handle_t ofmt;
3675 oferr = ofmt_open(fields_str, pf, ofmtflags, 0, &ofmt);
3676 dladm_ofmt_check(oferr, state.gs_parsable, ofmt);
3677 state.gs_ofmt = ofmt;
3681 ofmt_close(ofmt);
3695 ofmt_close(ofmt);
4110 ofmt_handle_t ofmt;
4145 DLADM_DEFAULT_COL, &ofmt);
4146 dladm_ofmt_check(oferr, state.ls_parsable, ofmt);
4148 state.ls_ofmt = ofmt;
4418 ofmt_handle_t ofmt;
4510 oferr = ofmt_open(fields_str, pf, ofmtflags, 0, &ofmt);
4511 dladm_ofmt_check(oferr, state.ls_parsable, ofmt);
4512 state.ls_ofmt = ofmt;
4524 ofmt_close(ofmt);
4538 ofmt_handle_t ofmt;
4589 oferr = ofmt_open(fields_str, vlan_fields, ofmtflags, 0, &ofmt);
4590 dladm_ofmt_check(oferr, state.ls_parsable, ofmt);
4591 state.ls_ofmt = ofmt;
4603 ofmt_close(ofmt);
5117 ofmt_handle_t ofmt;
5206 oferr = ofmt_open(fields_str, pf, ofmtflags, 0, &ofmt);
5207 dladm_ofmt_check(oferr, state.vs_parsable, ofmt);
5208 state.vs_ofmt = ofmt;
5213 ofmt_close(ofmt);
5227 ofmt_close(ofmt);
5232 ofmt_close(ofmt);
5533 ofmt_handle_t ofmt;
5591 oferr = ofmt_open(fields_str, simnet_fields, ofmtflags, 0, &ofmt);
5592 dladm_ofmt_check(oferr, state.ls_parsable, ofmt);
5593 state.ls_ofmt = ofmt;
5601 ofmt_close(ofmt);
5606 ofmt_close(ofmt);
5613 ofmt_handle_t ofmt;
5619 oferr = ofmt_open(fields_str, link_s_fields, ofmtflags, 0, &ofmt);
5620 dladm_ofmt_check(oferr, state->ls_parsable, ofmt);
5621 state->ls_ofmt = ofmt;
5645 ofmt_close(ofmt);
5897 parse_wifi_fields(char *str, ofmt_handle_t *ofmt, uint_t cmdtype,
5930 0, ofmt);
5931 dladm_ofmt_check(oferr, parsable, *ofmt);
6682 ofmt_handle_t ofmt;
6740 oferr = ofmt_open(fields_str, linkprop_fields, ofmtflags, 0, &ofmt);
6741 dladm_ofmt_check(oferr, state.ls_parsable, ofmt);
6742 state.ls_ofmt = ofmt;
6750 ofmt_close(ofmt);
7470 ofmt_handle_t ofmt;
7511 oferr = ofmt_open(fields_str, secobj_fields, ofmtflags, 0, &ofmt);
7512 dladm_ofmt_check(oferr, state.ss_parsable, ofmt);
7513 state.ss_ofmt = ofmt;
7537 ofmt_close(ofmt);
7546 ofmt_close(ofmt);
7611 ofmt_handle_t ofmt;
7643 DLADM_DEFAULT_COL, &ofmt);
7644 dladm_ofmt_check(oferr, state.es_parsable, ofmt);
7645 state.es_ofmt = ofmt;
7655 ofmt_close(ofmt);
8586 ofmt_handle_t ofmt;
8717 oferr = ofmt_open(fields_str, field_arr, ofmtflags, 0, &ofmt);
8718 dladm_ofmt_check(oferr, brstate.state.ls_parsable, ofmt);
8719 brstate.state.ls_ofmt = ofmt;
9048 ofmt_handle_t ofmt)
9054 (void) ofmt_strerror(ofmt, oferr, buf, sizeof (buf));
9062 ofmt_close(ofmt);
9193 ofmt_handle_t ofmt;
9265 oferr = ofmt_open(fields_str, part_fields, ofmtflags, 0, &ofmt);
9266 dladm_ofmt_check(oferr, state.ps_parsable, ofmt);
9267 state.ps_ofmt = ofmt;
9281 ofmt_close(ofmt);
9286 ofmt_close(ofmt);
9391 ofmt_handle_t ofmt;
9437 oferr = ofmt_open(fields_str, ib_fields, ofmtflags, 0, &ofmt);
9438 dladm_ofmt_check(oferr, state.is_parsable, ofmt);
9439 state.is_ofmt = ofmt;
9456 ofmt_close(ofmt);
9461 ofmt_close(ofmt);