freebsd-dev/sys/kern
Dimitry Andric a387bd1b6a Adjust function definition in vfs_bio.c to avoid clang 15 warnings
With clang 15, the following -Werror warning is produced:

    sys/kern/vfs_bio.c:3430:11: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
    buf_daemon()
              ^
               void

This is because buf_daemon() is declared with a (void) argument list,
but defined with an empty argument list. Make the definition match the
declaration.

MFC after:	3 days
2022-07-26 19:59:57 +02:00
..
bus_if.m subr_bus: restore bus_null_rescan() 2022-06-23 16:07:00 -03:00
clock_if.m
cpufreq_if.m
device_if.m
firmw.S
genassym.sh
genoffset.c
genoffset.sh
imgact_aout.c Retire sv_transtrap 2022-05-20 14:54:03 +03:00
imgact_binmisc.c
imgact_elf32.c
imgact_elf64.c
imgact_elf.c Implement shared page address randomization 2022-07-18 16:27:37 +02:00
imgact_shell.c
init_main.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
init_sysent.c sysent: regen after 52a1d90c8b, posix_fadvise in capmode 2022-04-14 15:17:36 -04:00
kern_acct.c sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03: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 clock: Group the "clocks" SYSINIT with the function definition 2021-11-15 16:13:24 -05:00
kern_clocksource.c eventtimer: Simplify KTR traces 2022-07-11 15:58:43 -04:00
kern_condvar.c
kern_conf.c Drop d_dump from struct cdevsw 2022-05-13 10:42:17 -03:00
kern_cons.c Adjust function definitions in kern_cons.c to avoid clang 15 warnings 2022-07-26 19:59:56 +02:00
kern_context.c sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
kern_cpu.c cpufreq: Remove unused devclass argument to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
kern_cpuset.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
kern_ctf.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
kern_descrip.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
kern_dtrace.c Adjust function definitions in kern_dtrace.c to avoid clang 15 warnings 2022-07-26 19:59:57 +02:00
kern_dump.c kerneldump: remove physical from dump routines 2022-05-13 10:43:19 -03:00
kern_environment.c sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
kern_et.c
kern_event.c struct kinfo_file changes needed for lsof to work using only usermode APIs` 2022-06-18 12:34:25 +03:00
kern_exec.c Implement shared page address randomization 2022-07-18 16:27:37 +02:00
kern_exit.c Do not single-thread itself when the process single-threaded some another process 2022-06-13 22:30:03 +03:00
kern_fail.c
kern_ffclock.c sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
kern_fork.c Do not single-thread itself when the process single-threaded some another process 2022-06-13 22:30:03 +03:00
kern_hhook.c
kern_idle.c
kern_intr.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
kern_jail.c jail: Remove a prison's shared memory when it dies 2022-06-29 10:47:39 -07: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 ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
kern_ktrace.c ktrace: Increase precision of timestamps. 2022-07-16 12:46:12 +03:00
kern_linker.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
kern_lock.c
kern_lockf.c KERN_LOCKF: report kl_file_fsid consistently with stat(2) 2022-06-18 12:34:17 +03:00
kern_lockstat.c
kern_loginclass.c
kern_malloc.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
kern_mbuf.c mbuf(9): Implement a leaf network interface field in the mbuf packet header. 2022-06-07 12:54:42 +02: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 ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
kern_procctl.c reap_kill_proc(): avoid singlethreading any other process if we are exiting 2022-06-13 22:30:03 +03:00
kern_prot.c sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
kern_racct.c sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
kern_rangelock.c
kern_rctl.c sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
kern_resource.c Adjust function definitions in kern_resource.c to avoid clang 15 warnings 2022-07-26 19:59:57 +02: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 sockets: use socket buffer mutexes in struct socket directly 2022-05-12 13:22:12 -07:00
kern_sharedpage.c Rework how shared page related data is stored 2022-07-18 16:27:32 +02:00
kern_shutdown.c Add kern.reboot_wait_time sysctl 2022-07-18 17:23:25 -07:00
kern_sig.c Do not single-thread itself when the process single-threaded some another process 2022-06-13 22:30:03 +03: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 Correctly measure system load averages > 1024 2022-05-06 17:25:43 -06:00
kern_syscalls.c sys/kern: Use C99 fixed-width integer types. 2021-12-28 09:41:08 -08:00
kern_sysctl.c ddb: use _FLAGS command macros where appropriate 2022-07-05 11:56:55 -03:00
kern_tc.c set_cputicker: use a bool 2022-06-23 15:15:11 -03:00
kern_thr.c
kern_thread.c kern_thread.c: Fix i386 build 2022-06-13 19:35:33 -07:00
kern_time.c time: Make realitexpire() local to kern_time.c 2022-07-13 09:57:28 -04:00
kern_timeout.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
kern_tslog.c tslog: Add CTLFLAG_SKIP to sysctls 2022-03-20 11:31:16 -07:00
kern_ubsan.c
kern_umtx.c vm_object: Use the vm_object_(set|clear)_flag() helpers 2022-06-14 12:00:59 -04:00
kern_uuid.c
kern_vnodedumper.c kerneldump: remove physical argument from d_dumper 2022-05-13 10:42:48 -03:00
kern_xxx.c
ksched.c
link_elf_obj.c vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
link_elf.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 sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
pic_if.m
posix4_mib.c
sched_4bsd.c 4bsd: Simplistic time-sharing for interrupt threads. 2022-07-14 13:14:17 -07:00
sched_ule.c sched_ule: Ensure we hold the thread lock when modifying td_flags 2022-07-18 15:52:27 -04:00
serdev_if.m
stack_protector.c
subr_acl_nfs4.c
subr_acl_posix1e.c
subr_asan.c kasan: Create a shadow for the bootstack prior to hammer_time() 2022-06-15 11:39:10 -04:00
subr_atomic64.c sys/kern: Use C99 fixed-width integer types. 2021-12-28 09:41:08 -08:00
subr_autoconf.c Adjust function definition in subr_autoconf.c to avoid clang 15 warnings 2022-07-26 19:59:57 +02:00
subr_blist.c
subr_boot.c
subr_bufring.c
subr_bus_dma.c bus_dma: Deduplicate locking helper functions. 2022-01-05 13:50:40 -08:00
subr_bus.c Adjust function definition in subr_bus.c to avoid clang 15 warnings 2022-07-26 19:59:57 +02:00
subr_busdma_bounce.c Add sched_ithread_prio to set the base priority of an interrupt thread. 2022-07-14 13:13:10 -07: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 ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
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 kern: Fix two typos in source code comments 2022-04-02 14:15:27 +02:00
subr_firmware.c subr_firmware.c::unloadentry(): remote write-only variable 2021-10-21 21:40:46 +03:00
subr_gtaskqueue.c
subr_hash.c
subr_hints.c
subr_intr.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
subr_kdb.c mac: kdb/ddb framework hooks 2022-07-18 22:06:13 +00: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 Use KERNEL_PANICKED() in more places 2022-06-02 10:15:43 -03:00
subr_msgbuf.c msgbuf: Allow microsecond granularity timestamps 2022-05-07 09:32:22 -06:00
subr_param.c
subr_pcpu.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
subr_pctrie.c
subr_physmem.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
subr_pidctrl.c
subr_power.c
subr_prf.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
subr_prng.c
subr_prof.c
subr_rangeset.c
subr_rman.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
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 smp: Use local copies of the setup function pointer and argument 2022-06-06 11:29:51 -04: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 LinuxKPI: Implement kthread_worker related functions 2022-05-17 15:10:20 +03:00
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 ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
subr_uio.c
subr_unit.c subr_unit.c: make userspace tests buildable 2022-04-28 03:00:14 +03:00
subr_vmem.c
subr_witness.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
sys_capability.c fd: rename fget*_locked to fget*_noref 2022-02-22 18:53:43 +00:00
sys_eventfd.c struct kinfo_file changes needed for lsof to work using only usermode APIs` 2022-06-18 12:34:25 +03:00
sys_generic.c Add timespecvalid_interval macro and use it. 2022-04-25 10:20:54 +03:00
sys_getrandom.c
sys_pipe.c struct kinfo_file changes needed for lsof to work using only usermode APIs` 2022-06-18 12:34:25 +03:00
sys_procdesc.c vfs: remove thread argument from VOP_STAT 2021-10-11 13:22:32 +00:00
sys_process.c syscallarg_t: Add a type for system call arguments 2022-03-28 19:43:03 +01:00
sys_socket.c struct kinfo_file changes needed for lsof to work using only usermode APIs` 2022-06-18 12:34:25 +03:00
syscalls.c Regen 2021-12-09 02:49:10 +02:00
syscalls.master Allow posix_fadvise in capability mode 2022-04-14 15:11:21 -04:00
systrace_args.c Regen 2021-12-09 02:49:10 +02:00
sysv_ipc.c freebsd32: rename old SysV IPC types 2021-11-17 20:12:23 +00:00
sysv_msg.c Adjust function definitions in sysv_msg.c to avoid clang 15 warnings 2022-07-26 19:59:57 +02:00
sysv_sem.c sysvsem: Fix a typo 2022-05-14 14:07:20 +03:00
sysv_shm.c Make SHMMAXPGS an unsigned long 2022-03-21 10:27:35 +00:00
tty_compat.c
tty_info.c tty: Default to printing kernel stack traceback only on INVARIANT kernels 2022-07-02 08:02:12 -06:00
tty_inq.c tty: Remove an incorrect assertion from ttyinq_line_iterate() 2022-04-12 17:30:04 -04:00
tty_outq.c
tty_pts.c sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
tty_tty.c
tty_ttydisc.c
tty.c fd: rename fget*_locked to fget*_noref 2022-02-22 18:53:43 +00:00
uipc_accf.c
uipc_debug.c sockets: use only soref()/sorele() as socket reference count 2022-07-04 12:40:51 -07:00
uipc_domain.c domains: make domain_init() initialize only global state 2022-01-03 10:15:22 -08:00
uipc_ktls.c ktls: Add full support for TLS RX offloading via network interface. 2022-06-07 12:58:09 +02:00
uipc_mbuf2.c mbuf_tags: use explicitly sized type for 'type' parameter 2021-12-29 09:23:52 +01:00
uipc_mbuf.c m_uiotombuf: write total memory length of the allocated chain in pkthdr 2022-06-24 09:09:11 -07: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 freebsd32: semid_t -> int32_t 2021-11-17 20:12:26 +00:00
uipc_shm.c Convert runtime param checks to KASSERTs for fo_fspacectl 2022-07-23 15:16:23 -04:00
uipc_sockbuf.c ktls: Add full support for TLS RX offloading via network interface. 2022-06-07 12:58:09 +02:00
uipc_socket.c sockets: fix setsockopt(SO_RCVTIMEO) on a listening socket 2022-07-08 11:33:24 -07:00
uipc_syscalls.c sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
uipc_usrreq.c unix: change error code for recvmsg() failed due to RLIMIT_NOFILE 2022-06-29 09:42:58 -07:00
vfs_acl.c sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
vfs_aio.c aio: Improve UMA usage 2022-06-20 12:48:13 -04:00
vfs_bio.c Adjust function definition in vfs_bio.c to avoid clang 15 warnings 2022-07-26 19:59:57 +02:00
vfs_cache.c cache: drop the vfs.cache_rename_add tunable 2022-06-27 09:56:20 +02: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 Add sysctl KERN_LOCKF 2022-04-10 00:43:53 +03:00
vfs_lookup.c Add a __witness_used for variables only used under #ifdef WITNESS. 2022-04-27 11:46:16 -07:00
vfs_mount.c vfs_mount.c: convert explicit panics and KASSERTs to MPASSERT/MPPASS 2022-06-29 21:31:47 +03:00
vfs_mountroot.c sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
vfs_subr.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
vfs_syscalls.c sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
vfs_vnops.c Convert runtime param checks to KASSERTs for fo_fspacectl 2022-07-23 15:16:23 -04:00
vnode_if.src Change VOP_READDIR's cookies argument to a **uint64_t 2021-12-15 20:54:57 -07:00