freebsd-dev/sys/sys
Mitchell Horne 39f92a76a9 hwpmc: pass pmc pointer to more class methods
In many cases this avoids an extra lookup, since the callers always have
pm at hand. We can also eliminate several assertions, mostly for pm !=
NULL. The class methods are an internal interface, and the callers
already handle such a scenario. No functional change intended.

Reviewed by:	jkoshy
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D39915
2023-05-06 14:49:19 -03:00
..
disk geom: Add HiFive boot partitions 2022-01-26 10:54:45 -05:00
_atomic64e.h
_atomic_subword.h
_bitset.h sys/_bitset.h: Fix fall-out from commit 5e04571cf3 2021-12-08 08:52:56 +01:00
_blockcount.h
_bus_dma.h
_callout.h sys: make callout.h self-contained 2021-12-17 12:38:34 +01:00
_clock_id.h
_cpuset.h sys/sys/cpuset.h 2021-12-30 13:14:43 +01:00
_domainset.h sys/bitset.h: reduce visibility of BIT_* macros 2021-12-05 23:00:25 +01:00
_endian.h sys/sys/_endian.h: typo (Compatiblity) 2023-05-05 01:23:09 +01:00
_eventhandler.h eventhandler: Remove a double world in two comments 2022-04-09 09:13:38 +02:00
_ffcounter.h
_iovec.h
_lock.h
_lockmgr.h
_mutex.h
_null.h
_pctrie.h
_pthreadtypes.h
_pv_entry.h sys/_pv_entry.h: Include sys/param.h 2022-10-11 12:51:55 -06:00
_rangeset.h
_rmlock.h
_rwlock.h
_semaphore.h
_seqc.h
_sigset.h
_smr.h
_sockaddr_storage.h
_stack.h
_stdarg.h <sys/_stdarg.h>: Fix indentation after removing __GNUCLIKE checks. 2022-04-12 10:12:13 -07:00
_stdint.h
_sx.h
_task.h
_termios.h
_timespec.h
_timeval.h
_tls_variant_i.h Add <machine/tls.h> header to hold MD constants and helpers for TLS. 2021-12-09 13:17:13 -08:00
_types.h Remove checks for __GNUCLIKE macros for varargs. 2022-04-12 10:06:00 -07:00
_ucontext.h
_uio.h
_umtx.h
_unrhdr.h
_winsize.h
aac_ioctl.h
abi_compat.h
acct.h
acl.h
agpio.h
aio.h aio: Fix more synchronization issues in aio_biowakeup. 2023-02-15 13:32:52 -08:00
alq.h
apm.h
arb.h
asan.h kasan: Create a shadow for the bootstack prior to hammer_time() 2022-06-15 11:39:10 -04:00
assym.h
ata.h add and use defintions for ATA power modes 2022-01-11 15:41:38 +02:00
atomic_common.h atomic: Remove cdefs.h includes from atomic_*.h 2023-01-16 08:03:20 -05:00
atomic_san.h atomic: Fix the atomic_load_ptr() *SAN interceptor 2023-02-09 10:16:34 -05:00
auxv.h
backlight.h
bio.h bio: Add the speedup flags to PRINT_BIO_FLAGS 2022-04-24 14:01:08 -06:00
bitcount.h sys: Extract __bitcount* from sys/types.h to new sys/bitcount.h 2022-08-18 02:46:27 +01:00
bitset.h Make CPU_SET macros compliant with other implementations 2021-12-30 12:20:32 +01:00
bitstring.h bitstring: fix ff_area() when start!=0 2022-05-10 11:53:52 -05:00
blist.h
blockcount.h
boot.h boot: pass in args as const 2022-12-07 11:00:54 -07:00
boottrace.h boottrace: annotate init and shutdown utilities 2022-02-21 20:16:07 -04:00
buf_ring.h
buf.h buf.h: Fix declaration of unmapped_buf 2022-08-16 15:39:03 -04:00
bufobj.h
bus_dma_internal.h
bus_dma.h bus_dma: Deduplicate locking helper functions. 2022-01-05 13:50:40 -08:00
bus_san.h
bus.h ofw: add BUS_GET_DEVICE_PATH interface to openfirm/fdt, somewhat incomplete. 2022-10-18 16:55:47 +09:00
busdma_bufalloc.h
callout.h callout: Remove the CS_EXECUTING flag 2022-03-23 12:37:02 -04:00
caprights.h
capsicum.h
cdefs.h <sys/cdefs.h>: Decay expression passed to fallback version of __generic() 2023-01-26 16:28:22 -08:00
cdio.h
cdrio.h
cfictl.h
chio.h
ck.h Add ck.h userspace shims for CK_SLIST_ 2023-02-09 16:30:17 -07:00
clock.h
cnv.h namespace nv names, version libnv and libnvpair library symbols 2022-07-21 18:35:23 +02:00
compressor.h
condvar.h
conf.h kerneldump: Inline dump_savectx() into its callers 2023-03-20 14:16:28 -04:00
cons.h Revert "Fill in cn_name in struct consdev." 2022-07-23 22:44:19 +01:00
consio.h
copyright.h Update the SPDX header to preferred BSD-2-Clause 2023-01-01 18:33:40 +08:00
counter.h
coverage.h
cpu.h
cpuctl.h
cpuset.h cpuset: Fix sched_[g|s]etaffinity() for better compatibility with Linux. 2023-01-29 16:17:33 +03:00
crc16.h ext2fs: extract crc16 into sys/crc16.h 2023-04-24 12:41:52 +03:00
csan.h
ctf.h ctf: Add v3 support to CTF tools, ctf{convert,dump,merge} 2022-03-07 10:43:19 -05:00
ctype.h
devctl.h
devicestat.h
devmap.h
dirent.h vfs: vn_dir_next_dirent(): Simplify interface and harden 2023-04-28 04:27:54 +03:00
disk_zone.h
disk.h sys/disk.h: Transition period for sys/conf.h over 2022-11-04 15:40:12 -06:00
disklabel.h
diskmbr.h
dkstat.h
dnv.h namespace nv names, version libnv and libnvpair library symbols 2022-07-21 18:35:23 +02:00
domain.h domains: merge domain_init() into domain_add() 2022-08-29 19:15:01 -07:00
domainset.h sys/bitset.h: reduce visibility of BIT_* macros 2021-12-05 23:00:25 +01:00
dtrace_bsd.h
dvdio.h
efi.h Expose EFI wake time API 2023-04-28 04:27:55 +03:00
efiio.h Expose EFI wake time API 2023-04-28 04:27:55 +03:00
elf32.h
elf64.h
elf_common.h elf_common.h: remove obsolete riscv relocations 2023-01-31 14:31:48 -04:00
elf_generic.h
elf.h
endian.h linux: For better compatibility, provide compatible endian.h 2023-01-20 16:32:45 -07:00
epoch.h Introduce and use the NET_EPOCH_DRAIN_CALLBACKS() macro 2022-07-29 21:21:10 +02:00
errno.h
eui64.h
event.h Change kqueue1() to be compatible with NetBSD 2023-04-05 06:29:49 +03:00
eventfd.h copyright: chase my name and email change 2023-01-06 15:28:42 -05:00
eventhandler.h kern_reboot(9): describe event handlers 2023-03-20 17:12:12 -03:00
eventvar.h
exec.h Rework how shared page related data is stored 2022-07-18 16:27:32 +02:00
extattr.h
fail.h
fbio.h fb: Add new FBTYPE_EFIFB 2021-12-06 11:28:03 +01:00
fcntl.h fcntl(2): add F_KINFO operation 2021-12-06 22:18:09 +02:00
fdcio.h
file.h vfs: Add spare fileops function pointer slots 2022-12-08 20:45:47 -05:00
filedesc.h Quiet compiler warnings for fget_noref and fdget_noref 2023-04-15 23:50:54 -04:00
filio.h
firmware.h
fnv_hash.h
font.h
gmon.h
gpio.h
gpt.h
gsb_crc32.h
gtaskqueue.h
hash.h
hhook.h
iconv.h
imgact_aout.h
imgact_binmisc.h imgact_binmisc: Optionally pre-open the interpreter vnode 2022-12-08 14:32:03 +00:00
imgact_elf.h imgact_elf: Change header_supported to return bool instead of boolean_t. 2023-05-04 12:29:29 -07:00
imgact.h imgact_binmisc: Optionally pre-open the interpreter vnode 2022-12-08 14:32:03 +00:00
interrupt.h Downgrade tty_intr_event from a global 2022-10-12 13:46:12 -03:00
intr.h intrng: Use less confusing return value for intr_pic_add_handler 2022-01-03 17:08:44 +00:00
ioccom.h stand: Make ioctl declaration consistent 2022-12-12 21:46:34 -07:00
ioctl_compat.h
ioctl.h
iov_schema.h
iov.h
ipc.h
ipmi.h ipmi: correctly handle ipmb requests 2022-07-04 13:00:42 +08:00
jail.h jail: convert several functions from int to bool 2023-03-14 21:05:33 -06:00
joystick.h
kassert.h Add MPASSERT() and MPPASS() macros 2022-06-29 21:31:47 +03:00
kbio.h sys/kbio.h: make pre-unicode keymap support optional 2023-02-14 14:03:28 +01:00
kcov.h
kdb.h kdb: set kdb_why when entered via reboot and panic 2022-04-12 10:34:40 +01:00
kenv.h
kern_prefetch.h
kernel.h
kerneldump.h livedump: add event handler hooks 2022-04-05 15:35:05 -03:00
khelp.h
kobj.h
kpilite.h
ksem.h
kthread.h kthread(9): Add a missing space 2022-06-04 20:15:07 +02:00
ktls.h ktls: Fix comments & whitespace issues with c0e4090e3d 2023-02-09 14:11:24 -05:00
ktr_class.h
ktr.h KTR: Add CTR() and TR() macros which accept a variable number of arguments. 2022-04-12 14:52:25 -07:00
ktrace.h ktrace: make ktr_tid a long not intptr_t (NFC) 2022-09-17 09:21:59 +01:00
libkern.h Alter the prototype of qsort_r(3) to match POSIX, which adopted the 2022-09-30 15:26:30 -07:00
limits.h
link_aout.h
link_elf.h link_elf.h: cleanup struct link_map definition, remove mips-specific field 2022-01-06 06:14:17 +02:00
linker_set.h Remove checks for <sys/cdefs.h> being included. 2022-04-12 10:06:18 -07:00
linker.h
lock_profile.h
lock.h Add witness_is_owned(9) 2023-04-11 15:59:49 +03:00
lockf.h lockf: remove lf_inode from struct lockf_entry 2022-04-10 00:43:53 +03:00
lockmgr.h
lockstat.h
loginclass.h
mac.h
malloc.h
mbuf.h Fixes in the tcp infrastructure with respect to stack changes as well as other infrastructure updates for incoming rack features. 2023-04-01 01:46:38 -04:00
mchain.h
md4.h
md5.h
mdioctl.h
memdesc.h
memrange.h Add new vnode dumper to support live minidumps 2022-04-05 15:35:05 -03:00
mman.h shmfd: account for the actually allocated pages 2022-12-09 14:17:12 +02:00
module_khelp.h
module.h modules: increase MAXMODNAME and provide backward compat 2021-12-09 18:09:53 +00:00
mount.h vfs_export: Add mnt_exjail to control exports done in prisons 2023-02-21 13:00:42 -08:00
mouse.h
mpt_ioctl.h
mqueue.h
msan.h
msg.h
msgbuf.h Make msgbuf_peekbytes() not return leading zeroes. 2021-12-10 23:35:53 -05:00
mtio.h
mutex.h mtx: retire PARTIAL_PICKUP_GIANT 2022-12-11 03:26:23 +00:00
namei.h vfs: whack leftover cn_origflags 2023-03-12 19:06:46 +00:00
nlist_aout.h
nv_namespace.h libnv: bump library version 2022-07-22 00:23:08 +02:00
nv.h namespace nv names, version libnv and libnvpair library symbols 2022-07-21 18:35:23 +02:00
osd.h
param.h linuxkpi: Migrate to IfAPI 2023-04-24 09:54:22 -04:00
pciio.h
pcpu.h vfs: decouple freevnodes from vnode batching 2023-03-22 23:57:25 +00:00
pctrie.h
physmem.h subr_physmem: Fix userspace build 2022-10-25 10:57:29 -06:00
pidctrl.h
pipe.h pipe: change pipemapping cnt/pos to u_int 2022-08-17 14:20:09 +00:00
pmc.h hwpmc: pass pmc pointer to more class methods 2023-05-06 14:49:19 -03:00
pmckern.h
pmclog.h
poll.h
posix4.h
power.h
priority.h Reclaim unused ithread priorities for user time-sharing threads. 2022-07-14 13:14:58 -07:00
priv.h veriexec: Additional functionality for MAC/veriexec 2023-04-17 11:47:32 -04:00
prng.h
proc.h umtx: allow to configure minimal timeout (in nanoseconds) 2023-04-19 02:22:28 +03:00
procctl.h procctl: add state flags to PROC_REAP_GETPIDS reports 2023-04-16 13:48:20 +03:00
procdesc.h
procfs.h
protosw.h netinet*: remove PRC_ constants and streamline ICMP processing 2022-10-03 20:53:04 -07:00
ptio.h
ptrace.h ptrace(2): add PT_SC_REMOTE remote syscall request 2022-12-22 23:11:35 +02:00
qmath.h
queue.h sys/queue.h: move trashing from SLIST_REMOVE to REMOVE_AFTER, REMOVE_HEAD 2021-12-15 13:28:33 +02:00
racct.h AST: rework 2022-08-02 21:11:09 +03:00
random.h Add support for getting early entropy from UEFI 2022-02-17 13:01:11 -08:00
rangelock.h
rangeset.h
rctl.h
reboot.h
refcount.h
reg.h <sys/reg.h>: Add ELF32_REGSET. 2022-03-23 13:33:06 -07:00
regression.h
resource.h
resourcevar.h Add lim_cowsync, similar to crcowsync 2022-02-11 11:44:07 +00:00
rman.h
rmlock.h rms: add rms_assert_rlock_ok 2022-08-23 19:15:48 +00:00
rtprio.h
runq.h
rwlock.h
sbuf.h
sched.h Add sched_ithread_prio to set the base priority of an interrupt thread. 2022-07-14 13:13:10 -07:00
sdt.h sdt: add __sdt_used 2023-02-21 13:43:00 +00:00
select.h
selinfo.h
sem.h
sema.h
seqc.h seqc: rename seqc_consistent_nomb to seqc_consistent_no_fence 2022-02-15 17:51:07 +00:00
serial.h
sf_buf.h
sglist.h
shm.h
sigio.h
signal.h arm64: Enable the floating-point exception traps 2022-05-19 19:53:56 +03:00
signalvar.h ksiginfo_alloc(): change to directly take M_WAITOK/NOWAIT flags 2022-08-20 20:33:17 +03:00
sleepqueue.h
slicer.h
smp.h smp.h: make sign conversion explicit 2022-01-02 08:59:21 +01:00
smr_types.h
smr.h smr: Remove the return value from smr_wait() 2023-03-13 10:45:35 -04:00
sndstat.h
snoop.h
sockbuf.h ktls: Accurately track if ifnet ktls is enabled 2023-02-09 12:44:44 -05:00
socket.h inpcb: garbage collect so_sototcpcb() 2022-10-19 15:15:53 -07:00
socketvar.h sockets: provide sousrsend() that does socket specific error handling 2022-12-14 10:02:44 -08:00
sockio.h Kernel-side infrastructure to implement nvlist-based set/get ifcaps 2022-05-24 23:59:32 +03:00
sockopt.h
soundcard.h sound(4): Fix a typo in a source code comment 2022-09-04 11:23:34 +02:00
specialfd.h copyright: chase my name and email change 2023-01-06 15:28:42 -05:00
spigenio.h
stack.h
stat.h
stats.h
statvfs.h
stdatomic.h sys/stdatomic.h: be nicer to c++ 2022-03-28 03:16:02 +03:00
stddef.h
stdint.h
sx.h
syscall.h syscalls: regenerate 2023-04-20 23:39:23 -06:00
syscall.mk Regen 2023-04-04 16:19:08 +03:00
syscallsubr.h linux(4): Add a dedicated statat() implementation 2023-04-28 11:55:04 +03:00
sysctl.h vfs: retire KERN_VNODE 2023-03-17 16:21:45 +00:00
sysent.h Rework how shared page related data is stored 2022-07-18 16:27:32 +02:00
syslimits.h Remove checks for __CC_SUPPORTS_WARNING assuming it is always true. 2022-04-12 10:06:13 -07:00
syslog.h libc/syslog: fully deprecate and don't try to open "/dev/log" 2022-06-24 09:09:11 -07:00
sysproto.h Regen 2023-04-04 16:19:08 +03:00
systm.h Make <sys/systm.h> more self-contained. 2023-03-08 15:05:10 -08:00
taskqueue.h LinuxKPI: Implement kthread_worker related functions 2022-05-17 15:10:20 +03:00
terminal.h teken: color #3 is yellow not brown - use TC_YELLOW as the name 2022-03-12 09:17:29 -05:00
termios.h
thr.h
tiio.h
tim_filter.h
time.h time: s/ppsratecheck/eventratecheck 2023-02-24 19:26:36 +00:00
timeb.h
timeet.h
timeffc.h
timepps.h
timers.h itimers: strip unused bits from struct itimer and struct itimers 2021-12-28 03:02:53 +02:00
times.h
timespec.h
timetc.h x86: Speed up clock calibration 2022-01-12 12:34:07 -08:00
timex.h
tree.h tree.h: Fix SP/TAB white-space issues, add () for clarity. 2022-12-05 14:28:56 +00:00
tslog.h
tty.h tty(4): Fix a typo in a source code comment 2023-01-11 12:12:48 +01:00
ttycom.h
ttydefaults.h
ttydevsw.h
ttydisc.h
ttyhook.h
ttyqueue.h
turnstile.h
types.h boolean_t: change to unsigned int to avoid signed bitfield warnings 2023-04-25 19:58:18 +02:00
ucontext.h Move struct freebsd4_ucontext to sys/i386/include/ucontext.h. 2022-01-13 17:17:43 -08:00
ucred.h cred: convert the refcount from int to long 2023-03-29 05:02:32 +00:00
uio.h
umtx.h umtx: allow to configure minimal timeout (in nanoseconds) 2023-04-19 02:22:28 +03:00
umtxvar.h
un.h
unistd.h fd: add close_range(..., CLOSE_RANGE_CLOEXEC) 2022-03-03 17:21:58 +00:00
unpcb.h sys: Nuke double-semicolons 2022-11-02 09:34:20 -06:00
user.h Add kf_file_nlink field to kf_file and populate it 2023-01-23 17:09:52 +00:00
utsname.h
uuid.h
vdso.h
vmem.h
vmmeter.h
vnode.h vfs: Rename vfs_emptydir() to vn_dir_check_empty() 2023-04-28 22:37:35 +03:00
vtoc.h
wait.h
watchdog.h