freebsd-src/sys/kern
Andrew Turner f461b95561 Fix a sign mismatch warning in the physmem code
Make sure both sides of a comparison are unsigned. As the values being
compared are size_t make the the value in the for loop size_t too.

Sponsored by:	The FreeBSD Foundation
2022-03-28 11:51:09 +01:00
..
bus_if.m Extend device_get_property API 2022-03-10 12:11:32 +01:00
clock_if.m
cpufreq_if.m
device_if.m
firmw.S
genassym.sh
genoffset.c
genoffset.sh
imgact_aout.c exec: Reimplement stack address randomization 2022-01-17 16:12:36 -05:00
imgact_binmisc.c
imgact_elf.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
imgact_elf32.c
imgact_elf64.c
imgact_shell.c
init_main.c boottrace: trace annotations for startup and shutdown 2022-02-21 20:15:57 -04:00
init_sysent.c Revert "syscallarg_t: Add a type for system call arguments" 2022-01-12 23:29:20 +00:00
kern_acct.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
kern_alq.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
kern_boottrace.c boottrace: a simple boot and shutdown-time tracing facility 2022-02-21 20:15:45 -04:00
kern_clock.c
kern_clocksource.c Reduce minimum idle hardclock rate from 2Hz to 1Hz. 2022-01-09 19:25:56 -05:00
kern_condvar.c
kern_conf.c
kern_cons.c cons: Use bool for boolean variables 2022-02-24 10:58:07 -07:00
kern_context.c
kern_cpu.c Fix "set but not used" in kern_cpu.c 2021-12-05 15:33:04 -07:00
kern_cpuset.c Make CPU_SET macros compliant with other implementations 2021-12-30 12:20:32 +01:00
kern_ctf.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
kern_descrip.c file: Move FILEDESC_FOREACH macros to kern_descrip.c 2022-03-17 15:39:00 -04:00
kern_dtrace.c
kern_dump.c
kern_environment.c
kern_et.c
kern_event.c
kern_exec.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
kern_exit.c setitimer: Fix exit race 2022-03-23 12:36:12 -04:00
kern_fail.c
kern_ffclock.c kern_fflock: Fix a typo in a source code comment 2022-02-06 17:29:43 +01:00
kern_fork.c fd: move fd table sizing out of fdinit 2022-02-13 13:07:08 +00:00
kern_hhook.c
kern_idle.c
kern_intr.c Simplify swi for bus_dma. 2021-12-28 13:51:25 -08:00
kern_jail.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
kern_kcov.c kcov: use __func__ in KASSERT instead of old function name 2022-03-07 10:47:27 -05:00
kern_khelp.c
kern_kthread.c
kern_ktr.c
kern_ktrace.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
kern_linker.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
kern_lock.c
kern_lockf.c
kern_lockstat.c
kern_loginclass.c
kern_malloc.c
kern_mbuf.c mbuf: do not restore dying interfaces 2022-01-28 23:09:08 +01:00
kern_mib.c
kern_module.c modules: increase MAXMODNAME and provide backward compat 2021-12-09 18:09:53 +00:00
kern_mtxpool.c
kern_mutex.c
kern_ntptime.c kern_ntptime.c: Remove ntp_init() 2022-02-07 14:16:16 -07:00
kern_osd.c
kern_physio.c
kern_pmc.c
kern_poll.c
kern_priv.c
kern_proc.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
kern_procctl.c
kern_prot.c Add security.bsd.allow_ptrace sysctl 2022-01-22 19:36:56 +02:00
kern_racct.c kern_racct: Fix a typo in a source code comment 2022-02-06 17:28:27 +01:00
kern_rangelock.c
kern_rctl.c
kern_resource.c Use vmspace->vm_stacktop in place of sv_usrstack in more places. 2022-02-14 10:57:30 -08:00
kern_rmlock.c rmlock: Temporarily revert commit c84bb8cd77 2022-03-07 10:43:19 -05:00
kern_rwlock.c
kern_sdt.c
kern_sema.c
kern_sendfile.c kern: Remove CTLFLAG_NEEDGIANT from some sysctls. 2021-12-26 12:03:33 -05:00
kern_sharedpage.c Fix assert check for SV_DSO_SIG in exec_sysvec_init_secondary() 2021-12-08 22:54:07 -06:00
kern_shutdown.c boottrace: trace annotations for startup and shutdown 2022-02-21 20:15:57 -04:00
kern_sig.c ksiginfo_alloc: pass M_WAITOK or M_NOWAIT to uma_zalloc 2022-03-25 20:10:37 -05:00
kern_switch.c kern: Remove CTLFLAG_NEEDGIANT from some more sysctls. 2021-12-26 23:07:33 -05:00
kern_sx.c
kern_synch.c
kern_syscalls.c sys/kern: Use C99 fixed-width integer types. 2021-12-28 09:41:08 -08:00
kern_sysctl.c
kern_tc.c kern_tc.c/cputick2usec() (which is used to calculate cputime from 2022-03-21 09:33:46 -04:00
kern_thr.c
kern_thread.c thread: remove dead store from thread_cow_update 2022-02-13 13:07:08 +00:00
kern_time.c setitimer: Fix exit race 2022-03-23 12:36:12 -04:00
kern_timeout.c callout: Remove the CS_EXECUTING flag 2022-03-23 12:37:02 -04:00
kern_tslog.c tslog: Add CTLFLAG_SKIP to sysctls 2022-03-20 11:31:16 -07:00
kern_ubsan.c
kern_umtx.c Fix umtxq_sleep() regression caused by 56070dd2e4. 2022-03-21 19:55:55 -04:00
kern_uuid.c
kern_xxx.c
ksched.c
link_elf.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
link_elf_obj.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
linker_if.m kernel linker: do not read debug symbol tables for non-debug symbols 2021-12-08 23:32:29 +02:00
Make.tags.inc
Makefile
md4c.c sys/kern: Use C99 fixed-width integer types. 2021-12-28 09:41:08 -08:00
md5c.c sys/kern: Use C99 fixed-width integer types. 2021-12-28 09:41:08 -08:00
msi_if.m
p1003_1b.c
pic_if.m
posix4_mib.c
sched_4bsd.c sys/kern/sched_4bsd.c: fix typo introduced in previous commit 2022-01-01 15:33:38 +01:00
sched_ule.c
serdev_if.m
stack_protector.c
subr_acl_nfs4.c
subr_acl_posix1e.c
subr_asan.c
subr_atomic64.c sys/kern: Use C99 fixed-width integer types. 2021-12-28 09:41:08 -08:00
subr_autoconf.c
subr_blist.c
subr_boot.c
subr_bufring.c
subr_bus.c Extend device_get_property API 2022-03-10 12:11:32 +01:00
subr_bus_dma.c bus_dma: Deduplicate locking helper functions. 2022-01-05 13:50:40 -08:00
subr_busdma_bounce.c Deduplicate bus_dma bounce code. 2022-01-05 13:50:40 -08:00
subr_busdma_bufalloc.c sys/kern: Use C99 fixed-width integer types. 2021-12-28 09:41:08 -08:00
subr_capability.c
subr_clock.c
subr_clockcalib.c clockcalib: Fix an overflow bug 2022-01-20 08:23:38 -05:00
subr_compressor.c Fix gzip compressed core dumps on big endian architectures 2022-02-10 09:34:37 -06:00
subr_counter.c
subr_coverage.c
subr_csan.c Built all KCSAN atomic interceptors on arm64 2022-02-23 14:45:47 +00:00
subr_devmap.c
subr_devstat.c
subr_disk.c
subr_dummy_vdso_tc.c
subr_early.c
subr_epoch.c stack_zero is not needed before stack_save 2022-03-25 20:10:38 -05:00
subr_eventhandler.c
subr_fattime.c
subr_filter.c
subr_firmware.c
subr_gtaskqueue.c
subr_hash.c
subr_hints.c
subr_intr.c intrng: Use less confusing return value for intr_pic_add_handler 2022-01-03 17:08:44 +00:00
subr_kdb.c stack_zero is not needed before stack_save 2022-03-25 20:10:38 -05:00
subr_kobj.c kobj: plug set-but-not-used vars 2021-12-14 14:52:25 +00:00
subr_lock.c
subr_log.c
subr_mchain.c
subr_module.c
subr_msan.c
subr_msgbuf.c Make msgbuf_peekbytes() not return leading zeroes. 2021-12-10 23:35:53 -05:00
subr_param.c
subr_pcpu.c
subr_pctrie.c
subr_physmem.c Fix a sign mismatch warning in the physmem code 2022-03-28 11:51:09 +01:00
subr_pidctrl.c
subr_power.c
subr_prf.c dmesg: detect wrapped msgbuf on the kernel side and if so, skip first line 2022-02-05 13:35:31 -08:00
subr_prng.c
subr_prof.c
subr_rangeset.c
subr_rman.c
subr_rtc.c
subr_sbuf.c
subr_scanf.c
subr_sfbuf.c
subr_sglist.c
subr_sleepqueue.c sleepqueue: Annotate sleepq_max_depth as static 2022-02-14 10:06:47 -05:00
subr_smp.c Make CPU_SET macros compliant with other implementations 2021-12-30 12:20:32 +01:00
subr_smr.c
subr_stack.c
subr_stats.c
subr_syscall.c proc: load/store p_cowgen using atomic primitives 2022-02-13 13:07:08 +00:00
subr_taskqueue.c
subr_terminal.c
subr_trap.c proc: load/store p_cowgen using atomic primitives 2022-02-13 13:07:08 +00:00
subr_turnstile.c
subr_uio.c
subr_unit.c
subr_vmem.c
subr_witness.c stack_zero is not needed before stack_save 2022-03-25 20:10:38 -05:00
sys_capability.c fd: rename fget*_locked to fget*_noref 2022-02-22 18:53:43 +00:00
sys_eventfd.c
sys_generic.c fd: rename fget*_locked to fget*_noref 2022-02-22 18:53:43 +00:00
sys_getrandom.c
sys_pipe.c
sys_procdesc.c
sys_process.c proc: Remove assertion that P_WEXIT is not set in proc_rwmem() 2022-03-01 15:09:45 -05:00
sys_socket.c socket: plug set-but-not-used vars 2021-12-14 17:12:53 +00:00
syscalls.c Regen 2021-12-09 02:49:10 +02:00
syscalls.master swapoff: add one more variant of the syscall 2021-12-09 02:48:46 +02:00
systrace_args.c Regen 2021-12-09 02:49:10 +02:00
sysv_ipc.c
sysv_msg.c
sysv_sem.c
sysv_shm.c Make SHMMAXPGS an unsigned long 2022-03-21 10:27:35 +00:00
tty.c fd: rename fget*_locked to fget*_noref 2022-02-22 18:53:43 +00:00
tty_compat.c
tty_info.c tty_info: Avoid warning by using logical instead of bitwise operators 2022-02-08 21:21:04 +01:00
tty_inq.c
tty_outq.c
tty_pts.c
tty_tty.c
tty_ttydisc.c
uipc_accf.c
uipc_debug.c domains: init with standard SYSINIT(9) or VNET_SYSINIT() 2022-01-03 10:15:22 -08:00
uipc_domain.c domains: make domain_init() initialize only global state 2022-01-03 10:15:22 -08:00
uipc_ktls.c ktls: Write-lock the INP when changing a transmit TLS session. 2022-02-11 15:16:25 -08:00
uipc_mbuf.c mbuf(9): Assert receive mbufs don't carry a send tag. 2022-01-26 12:55:00 +01:00
uipc_mbuf2.c mbuf_tags: use explicitly sized type for 'type' parameter 2021-12-29 09:23:52 +01:00
uipc_mbufhash.c
uipc_mqueue.c fd: rename fget*_locked to fget*_noref 2022-02-22 18:53:43 +00:00
uipc_sem.c
uipc_shm.c Eliminate curlen, it's set but never used 2022-02-27 09:02:45 -07:00
uipc_sockbuf.c mbuf(9): Assert receive mbufs don't carry a send tag. 2022-01-26 12:55:00 +01:00
uipc_socket.c Log euid, rgid and jail on listen queue overflow 2022-03-26 11:17:55 +01:00
uipc_syscalls.c sendto: don't clear transient errors for atomic protocols 2022-02-23 10:24:14 -08:00
uipc_usrreq.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
vfs_acl.c vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00
vfs_aio.c
vfs_bio.c buf_alloc(): Stop using LK_NOWAIT, use LK_NOWITNESS 2022-03-06 10:29:31 -05:00
vfs_cache.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
vfs_cluster.c
vfs_default.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
vfs_export.c
vfs_extattr.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
vfs_hash.c
vfs_init.c vfs_unregister: fix error handling 2022-02-25 12:19:14 -06:00
vfs_lookup.c vfs: assorted tidy ups to lookup 2022-03-26 17:06:09 +00:00
vfs_mount.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
vfs_mountroot.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
vfs_subr.c vfs: add missing bits to vdropl_impl 2022-03-27 14:35:37 +00:00
vfs_syscalls.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
vfs_vnops.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
vnode_if.src Change VOP_READDIR's cookies argument to a **uint64_t 2021-12-15 20:54:57 -07:00