Index: share/man/man9/BUS_SETUP_INTR.9 =================================================================== --- share/man/man9/BUS_SETUP_INTR.9 +++ share/man/man9/BUS_SETUP_INTR.9 @@ -205,10 +205,10 @@ .Sh AUTHORS .An -nosplit This manual page was written by -.An Jeroen Ruigrok van der Werven Aq Mt asmodai@FreeBSD.org -based on the manual pages for -.Fn BUS_CREATE_INTR +.An Jeroen Ruigrok van der Werven Aq Mt asmodai@FreeBSD.org . +It replaced the old API, and was based on the manual pages for +.Xr BUS_CREATE_INTR 9 and -.Fn BUS_CONNECT_INTR +.Xr BUS_CONNECT_INTR 9 written by .An Doug Rabson Aq Mt dfr@FreeBSD.org . Index: share/man/man9/CTASSERT.9 =================================================================== --- share/man/man9/CTASSERT.9 +++ share/man/man9/CTASSERT.9 @@ -65,6 +65,8 @@ .Dl "CTASSERT(sizeof(struct uuid) == 16);" .Sh SEE ALSO .Xr KASSERT 9 +.Sh STANDARDS +.St -isoC-2011 .Sh AUTHORS This manual page was written by .An Hiten M. Pandya Aq Mt hmp@FreeBSD.org . Index: share/man/man9/DEFINE_IFUNC.9 =================================================================== --- share/man/man9/DEFINE_IFUNC.9 +++ share/man/man9/DEFINE_IFUNC.9 @@ -131,7 +131,7 @@ .Ed .Pp This defines a -.Fn strlen +.Xr strlen 3 function with an optimized implementation for CPUs that advertise support. .Sh SEE ALSO .Xr elf 5 Index: share/man/man9/Makefile =================================================================== --- share/man/man9/Makefile +++ share/man/man9/Makefile @@ -461,7 +461,28 @@ alq.9 alq_post_flags.9 \ alq.9 alq_write.9 \ alq.9 alq_writen.9 -MLINKS+=altq.9 ALTQ.9 +MLINKS+=altq.9 ALTQ.9 \ + altq.9 IF_DROP.9 \ + altq.9 IF_PREPEND.9 \ + altq.9 IFQ_DEC_LEN.9 \ + altq.9 IFQ_DEQUEUE.9 \ + altq.9 IFQ_DEQUEUE_NOLOCK.9 \ + altq.9 IFQ_DRV_DEQUEUE.9 \ + altq.9 IFQ_DRV_IS_EMPTY.9 \ + altq.9 IFQ_DRV_PREPEND.9 \ + altq.9 IFQ_DRV_PURGE.9 \ + altq.9 IFQ_ENQUEUE.9 \ + altq.9 IFQ_HANDOFF.9 \ + altq.9 IFQ_HANDOFF_ADJ.9 \ + altq.9 IFQ_INC_DROPS.9 \ + altq.9 IFQ_INC_LEN.9 \ + altq.9 IFQ_IS_EMPTY.9 \ + altq.9 IFQ_LOCK.9 \ + altq.9 IFQ_POLL_NOLOCK.9 \ + altq.9 IFQ_PURGE.9 \ + altq.9 IFQ_SET_MAXLEN.9 \ + altq.9 IFQ_SET_READY.9 \ + altq.9 IFQ_UNLOCK.9 MLINKS+=atomic.9 atomic_add.9 \ atomic.9 atomic_clear.9 \ atomic.9 atomic_cmpset.9 \ @@ -476,7 +497,14 @@ atomic.9 atomic_testandclear.9 \ atomic.9 atomic_testandset.9 \ atomic.9 atomic_thread_fence.9 -MLINKS+=bhnd.9 BHND_MATCH_BOARD_TYPE.9 \ +MLINKS+=bhnd.9 BHND_BOARD_QUIRK.9 \ + bhnd.9 BHND_CHIP_QUIRK.9 \ + bhnd.9 BHND_CORE_QUIRK.9 \ + bhnd.9 BHND_DEVICE.9 \ + bhnd.9 BHND_DEVICE_IS_END.9 \ + bhnd.9 BHND_DEVICE_QUIRK_IS_END.9 \ + bhnd.9 BHND_PKG_QUIRK.9 \ + bhnd.9 BHND_MATCH_BOARD_TYPE.9 \ bhnd.9 BHND_MATCH_BOARD_VENDOR.9 \ bhnd.9 BHND_MATCH_CHIP_ID.9 \ bhnd.9 BHND_MATCH_CHIP_PKG.9 \ @@ -489,16 +517,47 @@ bhnd.9 bhnd_alloc_resource_any.9 \ bhnd.9 bhnd_alloc_resources.9 \ bhnd.9 bhnd_board_matches.9 \ + bhnd.9 bhnd_bus_barrier.9 \ bhnd.9 bhnd_bus_match_child.9 \ bhnd.9 bhnd_bus_read_1.9 \ bhnd.9 bhnd_bus_read_2.9 \ bhnd.9 bhnd_bus_read_4.9 \ + bhnd.9 bhnd_bus_read_multi_1.9 \ + bhnd.9 bhnd_bus_read_multi_2.9 \ + bhnd.9 bhnd_bus_read_multi_4.9 \ + bhnd.9 bhnd_bus_read_multi_stream_1.9 \ + bhnd.9 bhnd_bus_read_multi_stream_2.9 \ + bhnd.9 bhnd_bus_read_multi_stream_4.9 \ + bhnd.9 bhnd_bus_read_region_1.9 \ + bhnd.9 bhnd_bus_read_region_2.9 \ + bhnd.9 bhnd_bus_read_region_4.9 \ + bhnd.9 bhnd_bus_read_region_stream_1.9 \ + bhnd.9 bhnd_bus_read_region_stream_2.9 \ + bhnd.9 bhnd_bus_read_region_stream_4.9 \ bhnd.9 bhnd_bus_read_stream_1.9 \ bhnd.9 bhnd_bus_read_stream_2.9 \ bhnd.9 bhnd_bus_read_stream_4.9 \ + bhnd.9 bhnd_bus_set_multi_1.9 \ + bhnd.9 bhnd_bus_set_multi_2.9 \ + bhnd.9 bhnd_bus_set_multi_4.9 \ + bhnd.9 bhnd_bus_set_region_1.9 \ + bhnd.9 bhnd_bus_set_region_2.9 \ + bhnd.9 bhnd_bus_set_region_4.9 \ bhnd.9 bhnd_bus_write_1.9 \ bhnd.9 bhnd_bus_write_2.9 \ bhnd.9 bhnd_bus_write_4.9 \ + bhnd.9 bhnd_bus_write_multi_1.9 \ + bhnd.9 bhnd_bus_write_multi_2.9 \ + bhnd.9 bhnd_bus_write_multi_4.9 \ + bhnd.9 bhnd_bus_write_multi_stream_1.9 \ + bhnd.9 bhnd_bus_write_multi_stream_2.9 \ + bhnd.9 bhnd_bus_write_multi_stream_4.9 \ + bhnd.9 bhnd_bus_write_region_1.9 \ + bhnd.9 bhnd_bus_write_region_2.9 \ + bhnd.9 bhnd_bus_write_region_4.9 \ + bhnd.9 bhnd_bus_write_region_stream_1.9 \ + bhnd.9 bhnd_bus_write_region_stream_2.9 \ + bhnd.9 bhnd_bus_write_region_stream_4.9 \ bhnd.9 bhnd_bus_write_stream_1.9 \ bhnd.9 bhnd_bus_write_stream_2.9 \ bhnd.9 bhnd_bus_write_stream_4.9 \ @@ -1013,15 +1072,25 @@ epoch.9 epoch_enter.9 \ epoch.9 epoch_exit.9 \ epoch.9 epoch_wait.9 \ + epoch.9 epoch_enter_preempt.9 \ + epoch.9 epoch_exit_preempt.9 \ + epoch.9 epoch_wait_preempt.9 \ epoch.9 epoch_call.9 \ epoch.9 epoch_drain_callbacks.9 \ - epoch.9 in_epoch.9 + epoch.9 in_epoch.9 \ + epoch.9 in_epoch_verbose.9 MLINKS+=EVENTHANDLER.9 EVENTHANDLER_DECLARE.9 \ EVENTHANDLER.9 EVENTHANDLER_DEFINE.9 \ + EVENTHANDLER.9 eventhandler_deregister.9 \ + EVENTHANDLER.9 eventhandler_deregister_nowait.9 \ EVENTHANDLER.9 EVENTHANDLER_DEREGISTER.9 \ + EVENTHANDLER.9 EVENTHANDLER_DEREGISTER_NOWAIT.9 \ EVENTHANDLER.9 eventhandler_deregister.9 \ + EVENTHANDLER.9 EVENTHANDLER_DIRECT_INVOKE.9 \ EVENTHANDLER.9 eventhandler_find_list.9 \ EVENTHANDLER.9 EVENTHANDLER_INVOKE.9 \ + EVENTHANDLER.9 EVENTHANDLER_LIST_DECLARE.9 \ + EVENTHANDLER.9 EVENTHANDLER_LIST_DEFINE.9 \ EVENTHANDLER.9 eventhandler_prune_list.9 \ EVENTHANDLER.9 EVENTHANDLER_REGISTER.9 \ EVENTHANDLER.9 eventhandler_register.9 @@ -1114,7 +1183,8 @@ hhook.9 HHOOKS_RUN_IF.9 \ hhook.9 HHOOKS_RUN_LOOKUP_IF.9 MLINKS+=ieee80211.9 ieee80211_ifattach.9 \ - ieee80211.9 ieee80211_ifdetach.9 + ieee80211.9 ieee80211_ifdetach.9 \ + ieee80211.9 net80211.9 MLINKS+=ieee80211_amrr.9 ieee80211_amrr_choose.9 \ ieee80211_amrr.9 ieee80211_amrr_cleanup.9 \ ieee80211_amrr.9 ieee80211_amrr_init.9 \ @@ -1260,6 +1330,8 @@ ifnet.9 if_findmulti.9 \ ifnet.9 if_free.9 \ ifnet.9 if_free_type.9 \ + ifnet.9 if_output.9 \ + ifnet.9 if_start.9 \ ifnet.9 if_up.9 \ ifnet.9 ifa_free.9 \ ifnet.9 ifa_ifwithaddr.9 \ @@ -1637,6 +1709,7 @@ OF_getprop.9 OF_searchprop.9 \ OF_getprop.9 OF_setprop.9 MLINKS+=OF_node_from_xref.9 OF_xref_from_node.9 + OF_node_from_xref.9 OF_xref_from_xref.9 MLINKS+=ofw_bus_is_compatible.9 ofw_bus_is_compatible_strict.9 \ ofw_bus_is_compatible.9 ofw_bus_node_is_compatible.9 \ ofw_bus_is_compatible.9 ofw_bus_search_compatible.9 @@ -1880,6 +1953,7 @@ SDT.9 SDT_PROVIDER_DEFINE.9 \ SDT.9 SDT_PROBE_DECLARE.9 \ SDT.9 SDT_PROBE_DEFINE.9 \ + SDT.9 SDT_PROBE_DEFINE_XLATE.9 \ SDT.9 SDT_PROBE.9 MLINKS+=securelevel_gt.9 securelevel_ge.9 MLINKS+=selrecord.9 seldrain.9 \ @@ -1902,8 +1976,9 @@ MLINKS+=sglist.9 sglist_alloc.9 \ sglist.9 sglist_append.9 \ sglist.9 sglist_append_bio.9 \ + sglist.9 sglist_append_ext_pgs.9 \ + sglist.9 sglist_append_mb_ext_pgs.9 \ sglist.9 sglist_append_mbuf.9 \ - sglist.9 sglist_append_mbuf_epg.9 \ sglist.9 sglist_append_phys.9 \ sglist.9 sglist_append_sglist.9 \ sglist.9 sglist_append_uio.9 \ @@ -1913,7 +1988,8 @@ sglist.9 sglist_clone.9 \ sglist.9 sglist_consume_uio.9 \ sglist.9 sglist_count.9 \ - sglist.9 sglist_count_mbuf_epg.9 \ + sglist.9 sglist_count_ext_pgs.9 \ + sglist.9 sglist_count_mb_ext_pgs.9 \ sglist.9 sglist_count_vmpages.9 \ sglist.9 sglist_free.9 \ sglist.9 sglist_hold.9 \ @@ -2062,6 +2138,7 @@ syscall_helper_register.9 SYSCALL_INIT_HELPER_COMPAT.9 \ syscall_helper_register.9 SYSCALL_INIT_HELPER_COMPAT_F.9 \ syscall_helper_register.9 SYSCALL_INIT_HELPER_F.9 +MLINKS+=SYSCALL_MODULE.9 SYSCALL_MODULE_HELPER.9 \ MLINKS+=sysctl.9 SYSCTL_DECL.9 \ sysctl.9 SYSCTL_ADD_INT.9 \ sysctl.9 SYSCTL_ADD_LONG.9 \ @@ -2314,7 +2391,8 @@ MLINKS+=VOP_RDWR.9 VOP_READ.9 \ VOP_RDWR.9 VOP_WRITE.9 MLINKS+=VOP_REMOVE.9 VOP_RMDIR.9 -MLINKS+=vnet.9 vimage.9 +MLINKS+=vnet.9 vimage.9 \ + vnet.9 VNET.9 MLINKS+=vref.9 VREF.9 \ vref.9 vrefl.9 MLINKS+=vrele.9 vput.9 \ Index: share/man/man9/OF_node_from_xref.9 =================================================================== --- share/man/man9/OF_node_from_xref.9 +++ share/man/man9/OF_node_from_xref.9 @@ -66,15 +66,11 @@ are used to perform conversion between these two kinds of node identifiers. .Pp +The functions .Fn OF_node_from_xref +and +.Fn OF_xref_from_node returns the kernel phandle for the effective phandle -.Fa xref . -If one cannot be found or the OpenFirmware implementation -does not support effective phandles, the function returns -the input value. -.Pp -.Fn OF_xref_from_xref -returns the effective phandle for the kernel phandle .Fa xref . If one cannot be found or the OpenFirmware implementation does not support effective phandles, the function returns Index: share/man/man9/SYSCALL_MODULE.9 =================================================================== --- share/man/man9/SYSCALL_MODULE.9 +++ share/man/man9/SYSCALL_MODULE.9 @@ -41,6 +41,7 @@ .In sys/module.h .In sys/sysent.h .Fn SYSCALL_MODULE name "int *offset" "struct sysent *new_sysent" "modeventhand_t evh" "void *arg" +.Fn SYSCALL_MODULE_HELPER name .Sh DESCRIPTION The .Fn SYSCALL_MODULE Index: share/man/man9/VOP_ADVLOCK.9 =================================================================== --- share/man/man9/VOP_ADVLOCK.9 +++ share/man/man9/VOP_ADVLOCK.9 @@ -74,7 +74,7 @@ .Pp This entry point manipulates advisory record locks on the file. Most file systems delegate the work for this call to -.Fn lf_advlock . +.Xr lf_advlock 9 . .Sh RETURN VALUES Zero is returned on success, otherwise an error is returned. .Sh SEE ALSO Index: share/man/man9/VOP_ATTRIB.9 =================================================================== --- share/man/man9/VOP_ATTRIB.9 +++ share/man/man9/VOP_ATTRIB.9 @@ -61,7 +61,7 @@ .Fn VOP_SETATTR should be set to the value .Dv VNOVAL ; -.Fn VATTR_NULL +.Dv VATTR_NULL may be used to clear all the values, and should generally be used to reset the contents of .Fa *vap Index: share/man/man9/accf_data.9 =================================================================== --- share/man/man9/accf_data.9 +++ share/man/man9/accf_data.9 @@ -32,9 +32,10 @@ .Nm accf_data .Nd buffer incoming connections until data arrives .Sh SYNOPSIS -.Nm options INET -.Nm options ACCEPT_FILTER_DATA -.Nm kldload accf_data +.Cd options INET +.Cd options ACCEPT_FILTER_DATA +.Pp +.Ic kldload Cm accf_data .Sh DESCRIPTION This is a filter to be placed on a socket that will be using .Fn accept Index: share/man/man9/accf_dns.9 =================================================================== --- share/man/man9/accf_dns.9 +++ share/man/man9/accf_dns.9 @@ -32,9 +32,10 @@ .Nm accf_dns .Nd buffer incoming DNS requests until the whole first request is present .Sh SYNOPSIS -.Nm options INET -.Nm options ACCEPT_FILTER_DNS -.Nm kldload accf_dns +.Cd options INET +.Cd options ACCEPT_FILTER_DNS +.Pp +.Ic kldload Cm accf_dns .Sh DESCRIPTION This is a filter to be placed on a socket that will be using .Fn accept Index: share/man/man9/accf_http.9 =================================================================== --- share/man/man9/accf_http.9 +++ share/man/man9/accf_http.9 @@ -32,9 +32,10 @@ .Nm accf_http .Nd "buffer incoming connections until a certain complete HTTP requests arrive" .Sh SYNOPSIS -.Nm options INET -.Nm options ACCEPT_FILTER_HTTP -.Nm kldload accf_http +.Cd options INET +.Cd options ACCEPT_FILTER_HTTP +.Pp +.Ic kldload Cm accf_http .Sh DESCRIPTION This is a filter to be placed on a socket that will be using .Fn accept @@ -60,10 +61,10 @@ processes in preforking servers such as Apache low and reducing the size of the file descriptor set that needs to be managed by interfaces such as -.Fn select , -.Fn poll +.Xr select 2 , +.Xr poll 2 or -.Fn kevent +.Xr kevent 2 based servers. .Pp The Index: share/man/man9/alq.9 =================================================================== --- share/man/man9/alq.9 +++ share/man/man9/alq.9 @@ -142,7 +142,7 @@ The .Fa cmode argument will be passed to -.Fn vn_open +.Xr vn_open 9 as the requested creation mode, to be used if the file will be created by .Fn alq_open . Consumers of this API may wish to pass Index: share/man/man9/altq.9 =================================================================== --- share/man/man9/altq.9 +++ share/man/man9/altq.9 @@ -105,7 +105,7 @@ and .Fn IFQ_HANDOFF_ADJ combine the enqueue operation with statistic generation and call -.Fn if_start +.Xr if_start 9 upon successful enqueue to initiate the actual send. .Pp .Fn IFQ_DEQUEUE @@ -228,9 +228,7 @@ This is mostly for internal purposes. .Pp .Fn IFQ_INC_DROPS -increments the drop counter and is identical to -.Fn IF_DROP . -It is defined for naming consistency only. +increments the drop counter. .Pp .Fn IFQ_SET_READY sets a flag to indicate that a driver was converted to use the new macros. @@ -338,14 +336,14 @@ and .Fn IFQ_HANDOFF_ADJ can be used if only default interface statistics and an immediate call to -.Fn if_start +.Xr if_start 9 are desired. The caller should not use -.Fn senderr +.Xr senderr 9 since mbuf was already freed. .Pp The new style -.Fn if_output +.Xr if_output 9 looks as follows: .Bd -literal ##old-style## ##new-style## @@ -385,7 +383,7 @@ .Ed .Sh HOW TO CONVERT THE EXISTING DRIVERS First, make sure the corresponding -.Fn if_output +.Xr if_output 9 is already converted to the new style. .Pp Look for @@ -439,7 +437,7 @@ | .Ed A driver is supposed to call -.Fn if_start +.Xr if_start 9 from transmission complete interrupts in order to trigger the next dequeue. .Ss Poll-and-dequeue operation If the code polls the packet at the head of the queue and actually uses Index: share/man/man9/mbchain.9 =================================================================== --- share/man/man9/mbchain.9 +++ share/man/man9/mbchain.9 @@ -48,8 +48,9 @@ .Nd "set of functions to build an mbuf chain from various data types" .Sh SYNOPSIS .Cd options LIBMCHAIN -.Li kldload libmchain .Pp +.Ic kldload Cm libmchain +.Pp .In sys/param.h .In sys/uio.h .In sys/mchain.h @@ -215,6 +216,7 @@ mb_done(mbp); .Ed .Sh SEE ALSO +.Xr kldload 8 , .Xr mbuf 9 , .Xr mdchain 9 .Sh AUTHORS Index: share/man/man9/mdchain.9 =================================================================== --- share/man/man9/mdchain.9 +++ share/man/man9/mdchain.9 @@ -49,8 +49,9 @@ .Nd "set of functions to dissect an mbuf chain to various data types" .Sh SYNOPSIS .Cd options LIBMCHAIN -.Li kldload libmchain .Pp +.Ic kldload Cm libmchain +.Pp .In sys/param.h .In sys/uio.h .In sys/mchain.h @@ -204,6 +205,7 @@ mb_done(mdp); .Ed .Sh SEE ALSO +.Xr kldload 8 , .Xr mbchain 9 , .Xr mbuf 9 .Sh AUTHORS