/illumos-gate/usr/src/lib/libofmt/common/ |
H A D | ofmt.c | 58 static split_t *split_fields(const ofmt_field_t *, uint_t, uint_t); 67 ofmt_field_t *os_fields; 96 static void ofmt_print_field(ofmt_state_t *, ofmt_field_t *, const char *, 141 split_fields(const ofmt_field_t *template, uint_t maxfields, uint_t maxcols) in split_fields() 188 ofmt_open(const char *str, const ofmt_field_t *template, uint_t flags, in ofmt_open() 193 const ofmt_field_t *ofp; in ofmt_open() 194 ofmt_field_t *of; in ofmt_open() 237 sp->s_nfields * sizeof (ofmt_field_t), 1); in ofmt_open() 241 os->os_fields = (ofmt_field_t *)&os[1]; in ofmt_open() 331 ofmt_print_field(ofmt_state_t *os, ofmt_field_t *ofp, const char *value, in ofmt_print_field() [all …]
|
H A D | ofmt.h | 177 } ofmt_field_t; typedef 184 extern ofmt_status_t ofmt_open(const char *, const ofmt_field_t *, uint_t,
|
/illumos-gate/usr/src/cmd/nvmeadm/ |
H A D | nvmeadm.h | 179 extern const ofmt_field_t nvmeadm_list_ctrl_ofmt[]; 180 extern const ofmt_field_t nvmeadm_list_nsid_ofmt[]; 189 extern const ofmt_field_t nvmeadm_list_logs_ofmt[]; 197 extern const ofmt_field_t nvmeadm_list_features_ofmt[];
|
H A D | nvmeadm_ofmt.c | 202 const ofmt_field_t nvmeadm_list_ctrl_ofmt[] = { 213 const ofmt_field_t nvmeadm_list_nsid_ofmt[] = { 362 const ofmt_field_t nvmeadm_list_logs_ofmt[] = { 535 const ofmt_field_t nvmeadm_list_features_ofmt[] = {
|
/illumos-gate/usr/src/cmd/smbsrv/smbadm/ |
H A D | smbinfo.c | 96 ofmt_field_t *); 109 static ofmt_field_t smb_user_fields[] = { 135 static ofmt_field_t smb_tree_fields[] = { 149 static ofmt_field_t smb_netfileinfo_fields[] = { 184 static void ofmt_fatal(ofmt_handle_t, ofmt_field_t *, ofmt_status_t) 247 cmd_create_handle(int argc, char **argv, const char *def, ofmt_field_t *templ) in cmd_create_handle() 675 ofmt_fatal(ofmt_handle_t hdl, ofmt_field_t *templ, ofmt_status_t status) in ofmt_fatal() 684 ofmt_field_t *f = templ; in ofmt_fatal()
|
/illumos-gate/usr/src/cmd/pcidb/ |
H A D | pcidb.c | 243 static const ofmt_field_t pcidb_vendor_ofmt[] = { 250 static const ofmt_field_t pcidb_device_ofmt[] = { 259 static const ofmt_field_t pcidb_subsystem_ofmt[] = { 272 static const ofmt_field_t pcidb_class_ofmt[] = { 279 static const ofmt_field_t pcidb_subclass_ofmt[] = { 288 static const ofmt_field_t pcidb_progif_ofmt[] = { 948 const ofmt_field_t *ofmt_fields = NULL; in main()
|
/illumos-gate/usr/src/cmd/dlstat/ |
H A D | dlstat.c | 152 static ofmt_field_t total_s_fields[] = { 177 static ofmt_field_t ring_s_fields[] = { 204 static ofmt_field_t rx_ring_s_fields[] = { 231 static ofmt_field_t tx_ring_s_fields[] = { 258 static ofmt_field_t lane_s_fields[] = { 291 static ofmt_field_t rx_lane_s_fields[] = { 331 static ofmt_field_t rx_fanout_lane_s_fields[] = { 363 static ofmt_field_t tx_lane_s_fields[] = { 396 static ofmt_field_t aggr_port_s_fields[] = { 424 static ofmt_field_t history_fields[] = { [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipmpstat/ |
H A D | ipmpstat.c | 165 static ofmt_field_t addr_fields[], group_fields[], if_fields[]; 166 static ofmt_field_t probe_fields[], targ_fields[]; 190 ofmt_field_t *fields = NULL; in main() 1217 static ofmt_field_t addr_fields[] = { 1226 static ofmt_field_t group_fields[] = { 1235 static ofmt_field_t if_fields[] = { 1246 static ofmt_field_t probe_fields[] = { 1258 static ofmt_field_t targ_fields[] = {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_rules.c | 113 ofmt_field_t *o_fields; 132 ofmt_field_t *o_fields; 150 static ofmt_field_t rfields_v4[] = { 170 static ofmt_field_t rfields_v6[] = { 190 static ofmt_field_t ssfields_v4[] = { 201 static ofmt_field_t ssfields_v6[] = { 574 ofmt_field_t *fields; in ilbadm_show_onerule() 799 ofmt_field_t *fields; in ilbadm_show_rl_servers()
|
H A D | ilbadm_sg.c | 63 ofmt_field_t *o_fields; 77 static ofmt_field_t sgfields_v4[] = { 85 static ofmt_field_t sgfields_v6[] = { 178 ofmt_field_t *ofp; in ilbadm_list_sg_srv()
|
H A D | ilbadm_hc.c | 64 static ofmt_field_t hc_results[] = { 82 static ofmt_field_t hc_fields[] = {
|
H A D | ilbadm_stats.c | 128 static ofmt_field_t stat_itemize_fields[] = { 136 static ofmt_field_t stat_stdfields[] = { 985 ofmt_field_t *fields = stat_stdfields; in ilbadm_show_stats()
|
/illumos-gate/usr/src/cmd/connstat/ |
H A D | connstat.h | 56 typedef ofmt_field_t *connstat_getfieldsfunc_t(void);
|
H A D | connstat_tcp.c | 84 static ofmt_field_t tcp_fields[] = { 159 ofmt_field_t *
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_loader.c | 134 init_hdr_cols(ofmt_field_t *hdr) in init_hdr_cols() 181 menu_update_widths(ofmt_field_t *hdr, struct menu_lst *menu) in menu_update_widths() 210 static ofmt_field_t * 213 ofmt_field_t *temp; in init_menu_template() 215 if ((temp = calloc(NUM_COLS + 1, sizeof (ofmt_field_t))) == NULL) in init_menu_template() 229 ofmt_field_t *menu_template; in print_nodes()
|
/illumos-gate/usr/src/cmd/dladm/ |
H A D | dladm.c | 637 static const ofmt_field_t ether_fields[] = { 679 static const ofmt_field_t link_s_fields[] = { 717 static const ofmt_field_t link_fields[] = { 756 static const ofmt_field_t laggr_fields[] = { 786 static const ofmt_field_t aggr_x_fields[] = { 812 static const ofmt_field_t aggr_s_fields[] = { 838 static const ofmt_field_t aggr_l_fields[] = { 855 static const ofmt_field_t phys_fields[] = { 886 static const ofmt_field_t phys_m_fields[] = { 909 static const ofmt_field_t phys_h_fields[] = { [all …]
|
/illumos-gate/usr/src/cmd/pptadm/ |
H A D | pptadm.c | 47 static ofmt_field_t fields[] = {
|
/illumos-gate/usr/src/cmd/flowstat/ |
H A D | flowstat.c | 117 static ofmt_field_t flow_s_fields[] = { 149 static ofmt_field_t history_fields[] = { 177 static ofmt_field_t history_l_fields[] = {
|
/illumos-gate/usr/src/cmd/ktest/ |
H A D | ktest.c | 111 static const ofmt_field_t ktest_list_ofmt[] = { 185 static const ofmt_field_t ktest_run_ofmt[] = { 340 static const ofmt_field_t ktest_stats_ofmt[] = {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipadm/ |
H A D | ipadm.c | 236 static ofmt_field_t intfprop_fields[] = { 250 static ofmt_field_t modprop_fields[] = { 262 static ofmt_field_t addrprop_fields[] = { 328 static ofmt_field_t show_addr_fields[] = { 339 static ofmt_field_t show_if_fields[] = {
|
/illumos-gate/usr/src/cmd/flowadm/ |
H A D | flowadm.c | 147 static ofmt_field_t flow_fields[] = { 177 static ofmt_field_t flowprop_fields[] = {
|
/illumos-gate/usr/src/cmd/vrrpadm/ |
H A D | vrrpadm.c | 112 static const ofmt_field_t show_print_fields[] = {
|
/illumos-gate/usr/src/cmd/ccidadm/ |
H A D | ccidadm.c | 286 static ofmt_field_t ccidadm_list_fields[] = {
|
/illumos-gate/usr/src/cmd/pcieadm/ |
H A D | pcieadm_devs.c | 315 static const ofmt_field_t pcieadm_show_dev_ofmt[] = {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/ |
H A D | nwamadm.c | 138 static const ofmt_field_t list_fields[] = {
|