freebsd-src/usr.bin/systat
Brooks Davis 660331da7a Centralize and simpify implemention of some VM macros
These macros have substantially identical implementations on each
platform.  Use roundup2/rounddown2 for round_page/trunc_page.

This version standardizes on not using explicit casts and instead
preserving the original type.  A couple of tweaks were required to
make this work.

Reviewed by:	brooks, kib, markj
Obtained from:	CheriBSD
Differential Revision:	https://reviews.freebsd.org/D48450
2025-01-14 10:48:07 -05:00
..
cmds.c usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
cmdtab.c usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
convtbl.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
convtbl.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
devs.c usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
devs.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
extern.h usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
fetch.c usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
icmp.c usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
icmp6.c usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ifcmds.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ifstat.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
iolat.c Report I/O stats from the CAM_IOSCHED_DYNAMIC extension 2022-02-28 10:44:47 -07:00
iostat.c usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ip.c usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ip6.c usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
keyboard.c usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
main.c usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
mode.c Remove $FreeBSD$: two-line .c pattern 2023-08-16 11:54:34 -06:00
mode.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
netcmds.c systat: fix build with newer ncurses 2024-06-20 15:10:38 +02:00
netstat.c inpcb: fully retire inp_ppcb pointer 2024-03-29 12:18:32 -07:00
pigs.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
proc.c systat(1): Plug memory leak 2024-02-08 15:45:04 +09:00
sctp.c systat: fix build with newer ncurses 2024-06-20 15:10:38 +02:00
swap.c usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
sysput.c Centralize and simpify implemention of some VM macros 2025-01-14 10:48:07 -05:00
systat.1 usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
systat.h usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
tcp.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
vmstat.c usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
zarc.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00