be_fmt
init_hdr_cols(enum be_fmt be_fmt, struct hdr_info *hdr)
switch (be_fmt) {
count_widths(enum be_fmt be_fmt, struct hdr_info *hdr, be_node_list_t *be_nodes)
if (be_fmt == BE_FMT_DEFAULT) {
if (be_fmt == BE_FMT_DEFAULT)
else if (be_fmt & BE_FMT_SNAPSHOT) {
if (be_fmt == BE_FMT_SNAPSHOT)
if (be_fmt == BE_FMT_DEFAULT) {
print_fmt_nodes(const char *be_name, enum be_fmt be_fmt, boolean_t parsable,
if (be_fmt & BE_FMT_DATASET)
if (be_fmt & BE_FMT_SNAPSHOT)
enum be_fmt be_fmt = BE_FMT_DEFAULT;
be_fmt |= BE_FMT_DATASET;
be_fmt |= BE_FMT_SNAPSHOT;
init_hdr_cols(be_fmt, &hdr);
count_widths(be_fmt, &hdr, be_nodes);
if (be_fmt == BE_FMT_DEFAULT)
print_fmt_nodes(be_name, be_fmt, parsable, &hdr, be_nodes);