freebsd-src/lib/libprocstat
Dag-Erling Smørgrav 567e6250c0 vfs: Introduce VN_ISDEV() macro
We frequently need to check if a vnode refers to either a character or
block special, so we might as well have a macro for it.

We somewhat less frequently need to perform similar checks on things
that aren't vnodes (usually a struct vattr *), so add VATTR_ISDEV()
and a generic VTYPE_ISDEV() as well.

Sponsored by:	Klara, Inc.
Sponsored by:	NetApp, Inc.
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D51947
2025-08-17 19:29:27 +02:00
..
cd9660.c libprocstat: Drop all _KERNEL defines outside of zfs_defs.c 2025-06-16 22:33:54 +01:00
common_kvm.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
common_kvm.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
core.c libprocstat: add knowledge about NT_PROCSTAT_KQUEUES core file section 2025-03-24 04:24:14 +02:00
core.h libprocstat: add knowledge about NT_PROCSTAT_KQUEUES core file section 2025-03-24 04:24:14 +02:00
libprocstat.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
libprocstat.c vfs: Introduce VN_ISDEV() macro 2025-08-17 19:29:27 +02:00
libprocstat.h libprocstat: Add handling for inotify descriptors 2025-07-04 14:42:34 +00:00
libprocstat_compat.c inpcb: fully retire inp_ppcb pointer 2024-03-29 12:18:32 -07:00
libprocstat_internal.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile libprocstat: Drop zfs_defs.c hack, including its _KERNEL define 2025-06-16 22:34:34 +01:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
msdosfs.c libprocstat: Drop all _KERNEL defines outside of zfs_defs.c 2025-06-16 22:33:54 +01:00
smbfs.c libprocstat: Drop all _KERNEL defines outside of zfs_defs.c 2025-06-16 22:33:54 +01:00
Symbol.map libprocstat: add helper to query knotes for specific kqueue 2025-03-13 18:09:35 +02:00
udf.c libprocstat: Drop all _KERNEL defines outside of zfs_defs.c 2025-06-16 22:33:54 +01:00
zfs.c libprocstat: Drop zfs_defs.c hack, including its _KERNEL define 2025-06-16 22:34:34 +01:00