Lines Matching defs:ksw
509 print_swap(struct kvm_swap *ksw)
512 swtot.ksw_total += ksw->ksw_total;
513 swtot.ksw_used += ksw->ksw_used;
516 print_swap_line(ksw->ksw_devname, ksw->ksw_total,
517 ksw->ksw_used, ksw->ksw_total - ksw->ksw_used,
518 (ksw->ksw_used * 100.0) / ksw->ksw_total);
558 struct kvm_swap ksw;
575 snprintf(ksw.ksw_devname, sizeof ksw.ksw_devname,
578 snprintf(ksw.ksw_devname, sizeof ksw.ksw_devname,
580 ksw.ksw_used = xsw.xsw_used;
581 ksw.ksw_total = xsw.xsw_nblks;
582 ksw.ksw_flags = xsw.xsw_flags;
583 print_swap(&ksw);