mirror_zfs/module/os/freebsd/zfs
Ryan Moeller 7bb707ffaf FreeBSD: Organize sysctls
FreeBSD had a few platform-specific ARC tunables in the wrong place:

- Move FreeBSD-specifc ARC tunables into the same vfs.zfs.arc node as
  the rest of the ARC tunables.
- Move the handlers from arc_os.c to sysctl_os.c and add compat sysctls
  for the legacy names.

While here, some additional clean up:

- Most handlers are specific to a particular variable and don't need a
  pointer passed through the args.
- Group blocks of related variables, handlers, and sysctl declarations
  into logical sections.
- Match variable types for temporaries in handlers with the type of the
  global variable.
- Remove leftover comments.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #13756
2022-09-02 13:26:24 -07:00
..
abd_os.c FreeBSD: use zero_region instead of allocating a dedicated page 2022-05-04 11:46:37 -07:00
arc_os.c FreeBSD: Organize sysctls 2022-09-02 13:26:24 -07:00
crypto_os.c FreeBSD: Improve crypto_dispatch() handling 2022-06-17 15:38:51 -07:00
dmu_os.c Remove bcopy(), bzero(), bcmp() 2022-03-15 15:13:42 -07:00
hkdf.c Remove bcopy(), bzero(), bcmp() 2022-03-15 15:13:42 -07:00
kmod_core.c zfs: add missed dependency of zfs module on zlib 2021-08-13 13:42:45 -07:00
spa_os.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
sysctl_os.c FreeBSD: Organize sysctls 2022-09-02 13:26:24 -07:00
vdev_file.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
vdev_geom.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
vdev_label_os.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_acl.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_ctldir.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_debug.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_dir.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_file_os.c FreeBSD: Catch up with recent VFS changes 2021-10-25 09:46:28 -07:00
zfs_ioctl_compat.c FreeBSD compile fix 2022-07-28 14:19:41 -07:00
zfs_ioctl_os.c libzfs: On FreeBSD, use MNT_NOWAIT with getfsstat 2021-06-08 07:36:43 -06:00
zfs_racct.c module: zfs: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
zfs_vfsops.c FreeBSD: Cleanup dead code from VFS 2022-09-02 13:20:10 -07:00
zfs_vnops_os.c FreeBSD: Cleanup dead code from VFS 2022-09-02 13:20:10 -07:00
zfs_znode.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zio_crypt.c Remove bcopy(), bzero(), bcmp() 2022-03-15 15:13:42 -07:00
zvol_os.c Add support for per dataset zil stats and use wmsum counters 2022-07-20 17:14:06 -07:00