summaryrefslogtreecommitdiff
path: root/share/man/man9
Commit message (Collapse)AuthorAgeFilesLines
* sysctl(9): Fix a few mandoc related issuesGordon Bergling2020-12-191-2/+2
| | | | | | | | | | - missing comma before name: Nm SYSCTL_UQUAD - bad NAME section content: text MFC after: 1 week Notes: svn path=/head/; revision=368798
* ofw_bus_status_okay(9): Fix a few mandoc related issuesGordon Bergling2020-12-191-3/+2
| | | | | | | | | | | - missing comma before name: Nm ofw_bus_status_okay - missing comma before name: Nm ofw_bus_node_status_okay - skipping paragraph macro: Pp after Sh MFC after: 1 week Notes: svn path=/head/; revision=368797
* ofw_bus_is_compatible(9): Fix a few mandoc related issuesGordon Bergling2020-12-191-4/+3
| | | | | | | | | | | | - missing comma before name: Nm ofw_bus_is_compatible_strict - missing comma before name: Nm ofw_bus_node_is_compatible - missing comma before name: Nm ofw_bus_search_compatible - skipping paragraph macro: Pp after Sh MFC after: 1 week Notes: svn path=/head/; revision=368796
* fail(9): Fix a few mandoc related issuesGordon Bergling2020-12-191-3/+9
| | | | | | | | | | - function name without markup: return() - function name without markup: print() MFC after: 1 week Notes: svn path=/head/; revision=368795
* driver(9): Fix a mandoc related issueGordon Bergling2020-12-191-5/+5
| | | | | | | | | - sections out of conventional order: Sh SEE ALSO MFC after: 1 week Notes: svn path=/head/; revision=368794
* bhnd_erom(9): Fix a few mandoc related issuesGordon Bergling2020-12-191-5/+2
| | | | | | | | | | | | | - skipping paragraph macro: Pp before Bl - skipping paragraph macro: Pp after Ss - skipping paragraph macro: Pp at the end of Ss - unusual Xr punctuation: none before bhnd_driver_get_erom_class(9) - unusual Xr punctuation: none before bus_space(9) MFC after: 1 week Notes: svn path=/head/; revision=368793
* bhnd(9): Fix a few mandoc related issuesGordon Bergling2020-12-191-18/+3
| | | | | | | | | | | | - skipping paragraph macro: Pp before Bl - skipping paragraph macro: Pp at the end of Ss - missing section argument: Xr device_set_desc - unusual Xr punctuation: none before bhnd_erom(9) MFC after: 1 week Notes: svn path=/head/; revision=368792
* disk(9): Fix a few mandoc related errorsGordon Bergling2020-12-191-6/+7
| | | | | | | | | | | | | | - function name without markup: g_io_deliver() - function name without markup: disk_gone() - sections out of conventional order: Sh SEE ALSO - referenced manual not found: Xr MAKE_DEV 9 Actually the man page of MAKE_DEV has never existed. MFC after: 3 days Notes: svn path=/head/; revision=368791
* accept_filter(9): Fix a mandoc related errorGordon Bergling2020-12-191-1/+1
| | | | | | | - no blank before trailing delimiter Notes: svn path=/head/; revision=368790
* VFS_QUOTACTL: Remove needless casts of argBrooks Davis2020-12-171-2/+2
| | | | | | | | | | | | | | | The argument is a void * so there's no need to cast it to caddr_t. Update documentation to match function decleration. Reviewed by: freqlabs Obtained from: CheriBSD MFC after: 1 week Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D27093 Notes: svn path=/head/; revision=368744
* Fix f_pkt_into_t typo.Alexander Motin2020-12-171-2/+2
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=368742
* vnet.9: Use correct location of vnet.h.Navdeep Parhar2020-12-111-2/+2
| | | | | | | | | MFC after: 1 week Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D27557 Notes: svn path=/head/; revision=368557
* Add missing refcount.9 MLINKSMark Johnston2020-12-071-1/+6
| | | | Notes: svn path=/head/; revision=368413
* epoch(9): Fix a few mandoc related issuesGordon Bergling2020-12-051-20/+19
| | | | | | | | | - sections out of conventional order: Sh EXAMPLES - sections out of conventional order: Sh SEE ALSO - skipping end of block that is not open: El Notes: svn path=/head/; revision=368368
* Fix typo in kern_testfrwk.9.Navdeep Parhar2020-12-031-1/+1
| | | | Notes: svn path=/head/; revision=368310
* Add a missing period and remove a macro from Bl's width argumentMateusz Piotrowski2020-11-121-2/+2
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=367619
* refcount(9): Add refcount_release_if_last() and refcount_load()Mark Johnston2020-11-041-5/+36
| | | | | | | | | | | | | | | | | The former is intended for use in vmspace_exit(). The latter is to encourage use of explicit loads rather than relying on the volatile qualifier. This works better with kernel sanitizers, which can intercept atomic(9) calls, and makes tricky lockless code easier to read by not forcing the reader to remember which variables are declared volatile. Reviewed by: kib, mjg, mmel MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D27056 Notes: svn path=/head/; revision=367333
* malloc: export kernel zones instead of relying on them being power-of-2Mateusz Guzik2020-11-021-6/+12
| | | | | | | | Reviewed by: markj (previous version) Differential Revision: https://reviews.freebsd.org/D27026 Notes: svn path=/head/; revision=367274
* Note that sys/systm.h is special tooWarner Losh2020-10-281-1/+5
| | | | | | | | | | | | If you need / want to includerd sys/systm.h, it has to be just after param.h/types.h. Document this existing practice. Not all kernel files include systm.h, but when you do, it should be done out of order. Reviewed by: vangyzen, kib, emaste Differential Review: https://reviews.freebsd.org/D26981 Notes: svn path=/head/; revision=367118
* Add some missing nv(9) MLINKSMark Johnston2020-10-231-0/+5
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=366970
* socket(9): Remove duplicate word 'is is'Gordon Bergling2020-10-221-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=366946
* Fix typoGleb Smirnoff2020-10-221-1/+1
| | | | Notes: svn path=/head/; revision=366945
* Make g_attach() return ENXIO for orphaned providers; update variousEdward Tomasz Napierala2020-10-181-1/+3
| | | | | | | | | | | | | classes to add missing error checking. Reviewed by: imp MFC after: 2 weeks Sponsored by: NetApp, Inc. Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D26658 Notes: svn path=/head/; revision=366811
* Prepare crypto framework for IPsec ESN supportMarcin Wojtas2020-10-162-0/+27
| | | | | | | | | | | | | | | | | | | This permits requests (netipsec ESP and AH protocol) to provide the IPsec ESN (Extended Sequence Numbers) in a separate buffer. As with separate output buffer and separate AAD buffer not all drivers support this feature. Consumer must request use of this feature via new session flag. Submitted by: Grzegorz Jaszczyk <jaz@semihalf.com> Patryk Duda <pdk@semihalf.com> Reviewed by: jhb Differential revision: https://reviews.freebsd.org/D24838 Obtained from: Semihalf Sponsored by: Stormshield Notes: svn path=/head/; revision=366752
* Add a <machine/fpu.h> for i386 that includes <machine/npx.h>.John Baldwin2020-10-131-1/+2
| | | | | | | | | | | | arm64 has a similar wrapper. This permits defining <machine/fpu.h> as the standard header for fpu_kern_*. Reviewed by: kib Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D26753 Notes: svn path=/head/; revision=366672
* Fix a few mandoc issuesGordon Bergling2020-10-093-15/+13
| | | | | | | | | | - skipping paragraph macro: Pp after Sh - sections out of conventional order: Sh EXAMPLES - whitespace at end of input line - normalizing date format Notes: svn path=/head/; revision=366583
* Add backlight subsystemEmmanuel Vadot2020-10-022-0/+78
| | | | | | | | | | | | | This is a simple subsystem that allow drivers to register as a backlight. Each backlight creates a device node under /dev/backlight/backlightX and an alias based on the name provided. Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26250 Notes: svn path=/head/; revision=366369
* add SIOCGIFDATA ioctlEd Maste2020-09-281-2/+3
| | | | | | | | | | | | | | | | | | | For interfaces that do not support SIOCGIFMEDIA (for which there are quite a few) the only fallback is to query the interface for if_data->ifi_link_state. While it's possible to get at if_data for an interface via getifaddrs(3) or sysctl, both are heavy weight mechanisms. SIOCGIFDATA is a simple ioctl to retrieve this fast with very little resource use in comparison. This implementation mirrors that of other similar ioctls in FreeBSD. Submitted by: Roy Marples <roy@marples.name> Reviewed by: markj MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D26538 Notes: svn path=/head/; revision=366230
* crypto_buffer(9): Add a HISTORY and a AUTHORS sectionGordon Bergling2020-09-241-1/+11
| | | | | | | | | Reviewed by: jhb Approved by: jhb Differential Revision: https://reviews.freebsd.org/D26487 Notes: svn path=/head/; revision=366123
* Remove stray linesWarner Losh2020-09-233-9/+3
| | | | | | | | | | I snagged the license boiler plate. Fix that. also, it's spelled .Va not .Vn. Plus " quoting issues. Noticed by: rgrimes, xtouqh at hotmail dot com Notes: svn path=/head/; revision=366096
* Remove stray lineKonstantin Belousov2020-09-221-1/+0
| | | | Notes: svn path=/head/; revision=366031
* Add devctl_notify(9) man pageWarner Losh2020-09-222-0/+79
| | | | | | | | | | | | Document the calls to send messages to userland via devctl. devctl_notify will create a message for the specified system, subsystem and type, optionally adding additional information. Reviewed by: bcr Differential Revision: https://reviews.freebsd.org/D26520 Notes: svn path=/head/; revision=366027
* Document devctl_safe_quote_sbWarner Losh2020-09-222-0/+59
| | | | | | | | | | | This routine centralizes the knowledge needed for properly quoting 'value' in all key="value" items that appear in devctl messages. Reviewed by: bcr Differential Revision: https://reviews.freebsd.org/D26520 Notes: svn path=/head/; revision=366025
* Add a devctl_process_running man page.Warner Losh2020-09-222-0/+61
| | | | | | | | Reviewed by: bcr Differential Revision: https://reviews.freebsd.org/D26520 Notes: svn path=/head/; revision=366024
* bitset: expand bit index type to `long`D Scott Phillips2020-09-211-5/+5
| | | | | | | | | | | | | | | | | | | An upcoming patch to use the bitset macros for tracking vm page dump information could conceivably need more than INT_MAX bits. Expand the bit type to long so that the extra range is available on 64-bit platforms where it would most likely be needed. CPUSET_COUNT and DOMAINSET_COUNT are also modified to remain of type `int`. Reviewed by: kib, markj Approved by: scottl (implicit) MFC after: 1 week Sponsored by: Ampere Computing, Inc. Differential Revision: https://reviews.freebsd.org/D26190 Notes: svn path=/head/; revision=365975
* Add getenv(9) boolean parsing functionsMitchell Horne2020-09-212-2/+49
| | | | | | | | | | | | | | | | | | | | This adds the getenv_bool() function, to parse a boolean value from a kernel environment variable or tunable. This works for traditional boolean values like "0" and "1", and also "true" and "false" (case-insensitive). These semantics do not yet apply to sysctls declared using SYSCTL_BOOL with CTLFLAG_TUN (they still only parse 1 and 0). Also added are two wrapper functions, getenv_is_true() and getenv_is_false(). These are slightly simpler for callers wishing to perform a single check of a configuration variable. Reviewed by: jhb (slightly earlier version) Sponsored by: NetApp, Inc. Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D26270 Notes: svn path=/head/; revision=365945
* Add NetBSD compatible bus_space_peek_N() and bus_space_poke_N() functions.Michal Meloun2020-09-191-1/+148
| | | | | | | | | | | | | | | | | | | | | | | | | One problem with the bus_space_read_N() and bus_space_write_N() family of functions is that they provide no protection against exceptions which can occur when no physical hardware or device responds to the read or write cycles. In such a situation, the system typically would panic due to a kernel-mode bus error. The bus_space_peek_N() and bus_space_poke_N() family of functions provide a mechanism to handle these exceptions gracefully without the risk of crashing the system. Typical example is access to PCI(e) configuration space in bus enumeration function on badly implemented PCI(e) root complexes (RK3399 or Neoverse N1 N1SDP and/or access to PCI(e) register when device is in deep sleep state. This commit adds a real implementation for arm64 only. The remaining architectures have bus_space_peek()/bus_space_poke() emulated by using bus_space_read()/bus_space_write() (without exception handling). MFC after: 1 month Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D25371 Notes: svn path=/head/; revision=365899
* crypto_buffer(9): Bring back the reference for bus_dma(9)Gordon Bergling2020-09-181-0/+1
| | | | | | | | | | The reference was accidentally deleted in r365855. Reported by: jhb Pointy hat to: gbe Notes: svn path=/head/; revision=365875
* if_vxlan(4): add support for hardware assisted checksumming, TSO, and RSS.Navdeep Parhar2020-09-181-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets a VXLAN pseudo-interface take advantage of hardware checksumming (tx and rx), TSO, and RSS if the NIC is capable of performing these operations on inner VXLAN traffic. A VXLAN interface inherits the capabilities of its vxlandev interface if one is specified or of the interface that hosts the vxlanlocal address. If other interfaces will carry traffic for that VXLAN then they must have the same hardware capabilities. On transmit, if_vxlan verifies that the outbound interface has the required capabilities and then translates the CSUM_ flags to their inner equivalents. This tells the hardware ifnet that it needs to operate on the inner frame and not the outer VXLAN headers. An event is generated when a VXLAN ifnet starts. This allows hardware drivers to configure their devices to expect VXLAN traffic on the specified incoming port. On receive, the hardware does RSS and checksum verification on the inner frame. if_vxlan now does a direct netisr dispatch to take full advantage of RSS. It is not very clear why it didn't do this already. Future work: Rx: it should be possible to avoid the first trip up the protocol stack to get the frame to if_vxlan just so it can decapsulate and requeue for a second trip up the stack. The hardware NIC driver could directly call an if_vxlan receive routine for VXLAN traffic instead. Rx: LRO. depends on what happens with the previous item. There will have to to be a mechanism to indicate that it's time for if_vxlan to flush its LRO state. Reviewed by: kib@ Relnotes: Yes Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D25873 Notes: svn path=/head/; revision=365870
* man(9): Some markup fixesGordon Bergling2020-09-176-7/+7
| | | | | | | | | | - whitespace at end of input line - skipping paragraph macro: Pp after Sh MFC after: 3 days Notes: svn path=/head/; revision=365858
* pwmbus(9): some markup fixesGordon Bergling2020-09-171-3/+3
| | | | | | | | | - whitespace at end of input line MFC after: 3 days Notes: svn path=/head/; revision=365857
* mbuf(9): Some markup fixesGordon Bergling2020-09-171-2/+2
| | | | | | | | | | - whitespace at end of input line - no blank before trailing delimiter: Dv MJUM16BYTES MFC after: 3 days Notes: svn path=/head/; revision=365856
* crypto_buffer(9): Sort the SEE ALSO sectionGordon Bergling2020-09-171-4/+3
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=365855
* VOP_INACTIVE(9): Remove trailing whitespaceGordon Bergling2020-09-171-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=365854
* domainset(9): Some markup fixesGordon Bergling2020-09-171-6/+5
| | | | | | | | | | - new sentence, new line - whitespace at end of input line MFC after: 3 days Notes: svn path=/head/; revision=365853
* rmlock(9): Some markup fixesGordon Bergling2020-09-171-5/+5
| | | | | | | | | - new sentence, new line MFC after: 3 days Notes: svn path=/head/; revision=365851
* bus_dma(9): Some markup fixesGordon Bergling2020-09-171-13/+17
| | | | | | | | | | | - new sentence, new line - no blank before trailing delimiter - whitespace at end of input line MFC after: 3 days Notes: svn path=/head/; revision=365850
* Update bus_dma.9 for the expanded template API. Add someScott Long2020-09-141-5/+46
| | | | | | | clarifying language about the operation of parent tags in templates. Notes: svn path=/head/; revision=365707
* Improve the documenation for bus_dma templates. Also add notes toScott Long2020-09-111-12/+17
| | | | | | | | | | make it clear that filters may not work correctly and that their use is deprecated. MFC after: 3 days Notes: svn path=/head/; revision=365641
* Remove vm_map_create(9) KPI's manpage according to r364302Li-Wen Hsu2020-09-103-68/+0
| | | | | | | | | | Submitted by: Ka Ho Ng <khng300@gmail.com> Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26372 Notes: svn path=/head/; revision=365553