Lines Matching refs:history

539 show_history_date(dladm_usage_t *history, void *arg)  in show_history_date()  argument
552 if ((status = dladm_name2info(handle, history->du_name, in show_history_date()
560 stime = history->du_stime; in show_history_date()
569 show_history_time(dladm_usage_t *history, void *arg) in show_history_time() argument
584 if ((status = dladm_name2info(handle, history->du_name, in show_history_time()
598 (void) printf(" %s", history->du_name); in show_history_time()
599 if (history->du_last) { in show_history_time()
606 time = history->du_etime; in show_history_time()
612 bw = (double)history->du_bandwidth/1000; in show_history_time()
614 if (history->du_last) { in show_history_time()
625 history->du_name); in show_history_time()
626 time = history->du_stime; in show_history_time()
630 time = history->du_etime; in show_history_time()
635 "%llu", history->du_rbytes); in show_history_time()
637 "%llu", history->du_obytes); in show_history_time()
639 "%s Mbps", dladm_bw2str(history->du_bandwidth, buf)); in show_history_time()
646 show_history_res(dladm_usage_t *history, void *arg) in show_history_res() argument
659 if ((status = dladm_name2info(handle, history->du_name, in show_history_res()
670 history->du_name); in show_history_res()
672 "%llu", history->du_duration); in show_history_res()
674 "%llu", history->du_ipackets); in show_history_res()
676 "%llu", history->du_rbytes); in show_history_res()
678 "%llu", history->du_opackets); in show_history_res()
680 "%llu", history->du_obytes); in show_history_res()
682 "%s Mbps", dladm_bw2str(history->du_bandwidth, buf)); in show_history_res()