description of the lock
.It Fa flags
One of more of the following:
-.Bl -column F_UNLCK -offset indent
+.Bl -column ".Dv F_UNLCK" -offset indent
.It Dv F_RDLCK Ta "shared or read lock"
.It Dv F_UNLCK Ta "unlock"
.It Dv F_WRLCK Ta "exclusive or write lock"
the vnode being locked or unlocked
.It Fa flags
One of the lock request types:
-.Bl -column LK_EXCLUPGRADE -offset indent
+.Bl -column ".Dv LK_EXCLUPGRADE" -offset indent
.It Dv LK_SHARED Ta "Shared lock"
.It Dv LK_EXCLUSIVE Ta "Exclusive lock"
.It Dv LK_UPGRADE Ta "Shared-to-exclusive upgrade"
The lock type may be
.Em or Ns 'ed
with these lock flags:
-.Bl -column LK_CANRECURSE -offset indent
+.Bl -column ".Dv LK_CANRECURSE" -offset indent
.It Dv LK_NOWAIT Ta "Do not sleep to wait for lock"
.It Dv LK_SLEEPFAIL Ta "Sleep, then return failure"
.It Dv LK_CANRECURSE Ta "Allow recursive exclusive lock"
The lock type may be
.Em or Ns 'ed
with these control flags:
-.Bl -column LK_RETRY -offset indent
+.Bl -column ".Dv LK_RETRY" -offset indent
.It Dv LK_RETRY Ta "Retry until locked"
.It Dv LK_NOOBJ Ta "Don't create object"
.El
The value of
.Fa name
specifies what should be returned:
-.Bl -tag -width _PC_CHOWN_RESTRICTED
+.Bl -tag -width ".Dv _PC_CHOWN_RESTRICTED"
.It Dv _PC_LINK_MAX
The maximum number of links to a file.
.It Dv _PC_NAME_MAX
read-ahead hint (in units of filesystem blocks) that the filesystem
should attempt. The low 16 bits are a bit mask which can contain
the following flags:
-.Bl -tag -width IO_NODELOCKED
+.Bl -tag -width ".Dv IO_NODELOCKED"
.It Dv IO_UNIT
do I/O as atomic unit
.It Dv IO_APPEND
.Fa type
is the type of resource you want to allocate.
It is one of:
-.Bl -tag -width SYS_RES_MEMORY
+.Bl -tag -width ".Dv SYS_RES_MEMORY"
.It Dv SYS_RES_IRQ
for IRQs
.It Dv SYS_RES_DRQ
.Fa flags
sets the flags for the resource.
You can set one or more of these flags:
-.Bl -tag -width RF_SHAREABLE
+.Bl -tag -width ".Dv RF_SHAREABLE"
.It Dv RF_ALLOCATED
resource has been reserved.
The resource still needs to be activated with
.Fa dmat .
.It Fa flags
Are as follows:
-.Bl -tag -width "BUS_DMA_ALLOCNOW" -compact
+.Bl -tag -width ".Dv BUS_DMA_ALLOCNOW" -compact
.It Dv BUS_DMA_ALLOCNOW
Allocate the minimum resources necessary to guarantee that all map load
operations associated with this tag may not block.
DMA tag.
.It Fa flags
Are as follows:
-.Bl -tag -width "BUS_DMA_ONEBPAGE" -compact
+.Bl -tag -width ".Dv BUS_DMA_ONEBPAGE" -compact
.It Dv BUS_DMA_WAITOK
Indicates that it is OK to wait for resources.
However,
the allocated region.
.It Fa flags
Flags are defined as follows:
-.Bl -tag -width BUS_DMA_NOWAIT -compact
+.Bl -tag -width ".Dv BUS_DMA_NOWAIT" -compact
.It Dv BUS_DMA_WAITOK
The routine can safely wait (sleep) for resources.
.It Dv BUS_DMA_NOWAIT
.Fn bpfattach_dlt )
on behalf of the caller.
It also implements the
-.Vt ifmedia
+.Xr ifmedia 4
interface.
.Pp
.\"
.Fa flags
argument is a hint which specifies whether the frequency is in
the 2GHz ISM band
-.Pq Vt IEEE80211_CHAN_2GHZ
+.Pq Dv IEEE80211_CHAN_2GHZ
or the 5GHz band
-.Pq Vt IEEE80211_CHAN_5GHZ ;
+.Pq Dv IEEE80211_CHAN_5GHZ ;
appropriate clipping of the result is then performed.
.Pp
.\"
.Fa flags
argument is a hint which specifies whether the frequency is in
the 2GHz ISM band
-.Pq Vt IEEE80211_CHAN_2GHZ
+.Pq Dv IEEE80211_CHAN_2GHZ
or the 5GHz band
-.Pq Vt IEEE80211_CHAN_5GHZ ;
+.Pq Dv IEEE80211_CHAN_5GHZ ;
appropriate clipping of the result is then performed.
.Pp
.\"
The
.Fn ieee80211_media_init
function initializes media data structures used by the
-.Vt ifmedia
+.Xr ifmedia 4
interface, for the driver
.Fa ic .
It must be called by the driver after calling
and
.Fa media_stat
arguments specify helper functions which will be invoked by the
-.Vt ifmedia
+.Xr ifmedia 4
framework when the user changes or queries media options,
using a command such as
.Xr ifconfig 8 .
and
.Fn ieee80211_media_change
functions are device-independent handlers for
-.Vt ifmedia
+.Xr ifmedia 4
commands and are not intended to be called directly.
.Pp
.\"
function converts the bit rate
.Fa rate
(measured in units of 0.5Mbps) to an
-.Vt ifmedia
+.Xr ifmedia 4
sub-type, for the device
.Fa ic
running in PHY mode
.Fn ieee80211_media2rate
performs the reverse of this conversion, returning the bit rate (in 0.5Mbps
units) corresponding to an
-.Vt ifmedia
+.Xr ifmedia 4
sub-type.
.\"
.Sh SEE ALSO
.It Dv IFF_PPROMISC
.Aq D
This interface is in the permanently promiscuous mode (implies
-IFF_PROMISC).
+.Dv IFF_PROMISC ) .
.It Dv IFF_ALLMULTI
.Aq D*
This interface is in all-multicasts mode (used by multicast routers).
macro.
Each cluster is
.Dv MCLBYTES
-in size, where MCLBYTES is a machine-dependent constant.
+in size, where
+.Dv MCLBYTES
+is a machine-dependent constant.
The system defines an advisory macro
.Dv MINCLSIZE ,
which is the smallest amount of data to put into a cluster.
.Fn pfil_remove_hook
functions, indicates when the filter should be called.
The flags are:
-.Bl -tag -offset indent -width PFIL_MPSAFE -compact
-.It PFIL_IN
+.Bl -tag -offset indent -width ".Dv PFIL_MPSAFE" -compact
+.It Dv PFIL_IN
call me on incoming packets
-.It PFIL_OUT
+.It Dv PFIL_OUT
call me on outgoing packets
-.It PFIL_ALL
+.It Dv PFIL_ALL
call me on all of the above
-.It PFIL_MPSAFE
+.It Dv PFIL_MPSAFE
call me without BGL
.El
.Sh SEE ALSO
For most of the above macros, declaring a type as part of the access flags is
not necessary -- however, when declaring a sysctl implemented by a function,
including a type in the access mask is required:
-.Bl -tag -width CTLTYPE_STRING
+.Bl -tag -width ".Dv CTLTYPE_STRING"
.It Dv CTLTYPE_NODE
This is a node intended to be a parent for other nodes.
.It Dv CTLTYPE_INT
.Pp
All sysctl types except for new node declarations require one or more flags
to be set indicating the read and write disposition of the sysctl:
-.Bl -tag -width CTLFLAG_ANYBODY
+.Bl -tag -width ".Dv CTLFLAG_ANYBODY"
.It Dv CTLFLAG_RD
This is a read-only sysctl.
.It Dv CTLFLAG_WR
greater than 99.
If the first step of context deletion fails,
re-registration of the oid does not change the already assigned oid number
-(which is different from OID_AUTO).
+(which is different from
+.Dv OID_AUTO ) .
This ensures that re-registered entries
maintain their original positions in the tree.
.Pp