View | Details | Raw Unified | Return to bug 168117
Collapse All | Expand All

(-)src/share/man/man9/BUF_ISLOCKED.9 (-1 / +1 lines)
Lines 52-58 Link Here
52
.It Dv LK_EXCLUSIVE
52
.It Dv LK_EXCLUSIVE
53
An exclusive lock is held by curthread.
53
An exclusive lock is held by curthread.
54
.It Dv LK_EXCLOTHER
54
.It Dv LK_EXCLOTHER
55
An exclusive lock is held by someone other than curthread
55
An exclusive lock is held by someone other than curthread.
56
.It Dv LK_SHARED
56
.It Dv LK_SHARED
57
A shared lock is held.
57
A shared lock is held.
58
.It Li 0
58
.It Li 0
(-)src/share/man/man9/DB_COMMAND.9 (-1 / +1 lines)
Lines 32-38 Link Here
32
.Nm DB_COMMAND ,
32
.Nm DB_COMMAND ,
33
.Nm DB_SHOW_COMMAND ,
33
.Nm DB_SHOW_COMMAND ,
34
.Nm DB_SHOW_ALL_COMMAND
34
.Nm DB_SHOW_ALL_COMMAND
35
.Nd Extends the ddb command set.
35
.Nd Extends the ddb command set
36
.Sh SYNOPSIS
36
.Sh SYNOPSIS
37
.In ddb/ddb.h
37
.In ddb/ddb.h
38
.Fo DB_COMMAND
38
.Fo DB_COMMAND
(-)src/share/man/man9/VOP_GETEXTATTR.9 (-2 / +2 lines)
Lines 71-77 Link Here
71
.Dv NULL
71
.Dv NULL
72
when
72
when
73
.Fa size
73
.Fa size
74
is not, and vise versa.
74
is not, and vice versa.
75
.It Fa cred
75
.It Fa cred
76
The user credentials to use in authorizing the request.
76
The user credentials to use in authorizing the request.
77
.It Fa td
77
.It Fa td
Lines 113-119 Link Here
113
.It Bq Er EINVAL
113
.It Bq Er EINVAL
114
The
114
The
115
.Fa name ,
115
.Fa name ,
116
.Fa namespace,
116
.Fa namespace ,
117
or
117
or
118
.Fa uio
118
.Fa uio
119
argument is invalid.
119
argument is invalid.
(-)src/share/man/man9/VOP_GETPAGES.9 (-1 / +1 lines)
Lines 115-121 Link Here
115
medium or protocol.
115
medium or protocol.
116
.It Dv VM_PAGER_FAIL
116
.It Dv VM_PAGER_FAIL
117
Treated identically to
117
Treated identically to
118
.Dv VM_PAGER_ERROR
118
.Dv VM_PAGER_ERROR .
119
.It Dv VM_PAGER_AGAIN
119
.It Dv VM_PAGER_AGAIN
120
The page was not handled by this request.
120
The page was not handled by this request.
121
.El
121
.El
(-)src/share/man/man9/VOP_GETVOBJECT.9 (-1 / +1 lines)
Lines 53-59 Link Here
53
The VM object being returned, or
53
The VM object being returned, or
54
.Dv NULL
54
.Dv NULL
55
if the caller wants to test for the existence
55
if the caller wants to test for the existence
56
of the VM object).
56
of the VM object.
57
.El
57
.El
58
.Pp
58
.Pp
59
.Xr VFS 9
59
.Xr VFS 9
(-)src/share/man/man9/VOP_SETEXTATTR.9 (-1 / +1 lines)
Lines 96-102 Link Here
96
The request was not valid in this file system for the specified vnode and
96
The request was not valid in this file system for the specified vnode and
97
attribute name.
97
attribute name.
98
.It Bq Er ENOMEM
98
.It Bq Er ENOMEM
99
Insufficient memory available to fulfill request
99
Insufficient memory available to fulfill request.
100
.It Bq Er EFAULT
100
.It Bq Er EFAULT
101
The uio structure refers to an invalid userspace address.
101
The uio structure refers to an invalid userspace address.
102
.It Bq Er EINVAL
102
.It Bq Er EINVAL
(-)src/share/man/man9/acl.9 (-1 / +1 lines)
Lines 210-216 Link Here
210
.Xr vaccess_acl_nfs4 9 ,
210
.Xr vaccess_acl_nfs4 9 ,
211
.Xr vaccess_acl_posix1e 9 ,
211
.Xr vaccess_acl_posix1e 9 ,
212
.Xr VFS 9 ,
212
.Xr VFS 9 ,
213
.Xr vnaccess 9 ,
213
.Xr vaccess 9 ,
214
.Xr VOP_ACLCHECK 9 ,
214
.Xr VOP_ACLCHECK 9 ,
215
.Xr VOP_GETACL 9 ,
215
.Xr VOP_GETACL 9 ,
216
.Xr VOP_SETACL 9
216
.Xr VOP_SETACL 9
(-)src/share/man/man9/bus_generic_print_child.9 (-1 / +1 lines)
Lines 51-57 Link Here
51
bus_generic_print_child itself calls two functions
51
bus_generic_print_child itself calls two functions
52
.Fn bus_print_child_header
52
.Fn bus_print_child_header
53
and
53
and
54
.Fn bus_print_child_footer
54
.Fn bus_print_child_footer .
55
The former prints "foo0: <FooCard 1234>" and the latter "on bar0".
55
The former prints "foo0: <FooCard 1234>" and the latter "on bar0".
56
These routines should be used if possible in your own code if
56
These routines should be used if possible in your own code if
57
.Fn bus_generic_print_child
57
.Fn bus_generic_print_child
(-)src/share/man/man9/bus_release_resource.9 (-1 / +1 lines)
Lines 71-77 Link Here
71
.It
71
.It
72
.Fa r
72
.Fa r
73
is the pointer to
73
is the pointer to
74
.Va struct res ,
74
.Va struct resource ,
75
i.e., the resource itself,
75
i.e., the resource itself,
76
returned by
76
returned by
77
.Xr bus_alloc_resource 9 .
77
.Xr bus_alloc_resource 9 .
(-)src/share/man/man9/bus_space.9 (-1 / +2 lines)
Lines 1380-1386 Link Here
1380
They may also be executed out
1380
They may also be executed out
1381
of order with respect to other pending read and write operations unless
1381
of order with respect to other pending read and write operations unless
1382
order is enforced by use of the
1382
order is enforced by use of the
1383
.Fn bus_space_barrier function .
1383
.Fn bus_space_barrier
1384
function.
1384
There is no way to insert barriers between reads or writes of
1385
There is no way to insert barriers between reads or writes of
1385
individual bus space locations executed by the
1386
individual bus space locations executed by the
1386
.Fn bus_space_copy_region_N
1387
.Fn bus_space_copy_region_N
(-)src/share/man/man9/byteorder.9 (-1 / +1 lines)
Lines 158-164 Link Here
158
The
158
The
159
.Fn hto*
159
.Fn hto*
160
and
160
and
161
.Fn toh*
161
.Fn *toh
162
functions first appeared in
162
functions first appeared in
163
.Fx 5.0 ,
163
.Fx 5.0 ,
164
and were originally developed by the
164
and were originally developed by the
(-)src/share/man/man9/dclass_get_maxunit.9,v (-1 / +1 lines)
Lines 49-55 Link Here
49
function returns -1 if
49
function returns -1 if
50
.Fa dc
50
.Fa dc
51
is
51
is
52
.Dv NULL;
52
.Dv NULL ;
53
otherwise it returns the next unit
53
otherwise it returns the next unit
54
number in
54
number in
55
.Fa dc's
55
.Fa dc's
(-)src/share/man/man9/dice_find_child.9,v (-1 / +1 lines)
Lines 41-47 Link Here
41
.Fn device_find_child "device_t dev" "const char *classname" "int unit"
41
.Fn device_find_child "device_t dev" "const char *classname" "int unit"
42
.Sh DESCRIPTION
42
.Sh DESCRIPTION
43
This function looks for a specific child of
43
This function looks for a specific child of
44
.Dv dev .
44
.Dv dev
45
with the given
45
with the given
46
.Fa classname
46
.Fa classname
47
and
47
and
(-)src/share/man/man9/firmware.9 (-3 / +5 lines)
Lines 101-111 Link Here
101
the firmware subsystem will try to load it using the
101
the firmware subsystem will try to load it using the
102
mechanisms specified below (typically, a kernel module
102
mechanisms specified below (typically, a kernel module
103
with
103
with
104
.Nm the same name
104
.Nm
105
the same name
105
as the image).
106
as the image).
106
.Sh API DESCRIPTION
107
.Sh API DESCRIPTION
107
The kernel
108
The kernel
108
.Nm firmware API
109
.Nm
110
firmware API
109
is made of the following functions:
111
is made of the following functions:
110
.Pp
112
.Pp
111
.Fn firmware_register
113
.Fn firmware_register
Lines 225-231 Link Here
225
If you need to embed firmware images into a system, you should write
227
If you need to embed firmware images into a system, you should write
226
appropriate entries in the <files.arch> file, e.g. this example is
228
appropriate entries in the <files.arch> file, e.g. this example is
227
from
229
from
228
.Nm sys/arm/xscale/ixp425/files.ixp425:
230
.Nm sys/arm/xscale/ixp425/files.ixp425 :
229
.Bd -literal
231
.Bd -literal
230
ixp425_npe_fw.c                         optional npe_fw                 \\
232
ixp425_npe_fw.c                         optional npe_fw                 \\
231
        compile-with    "${AWK} -f $S/tools/fw_stub.awk			\\
233
        compile-with    "${AWK} -f $S/tools/fw_stub.awk			\\
(-)src/share/man/man9/hashinit.9 (-1 / +1 lines)
Lines 29-35 Link Here
29
.Dt HASHINIT 9
29
.Dt HASHINIT 9
30
.Os
30
.Os
31
.Sh NAME
31
.Sh NAME
32
.Nm hashinit , hashinit_flags, hashdestroy , phashinit
32
.Nm hashinit , hashinit_flags , hashdestroy , phashinit
33
.Nd manage kernel hash tables
33
.Nd manage kernel hash tables
34
.Sh SYNOPSIS
34
.Sh SYNOPSIS
35
.In sys/malloc.h
35
.In sys/malloc.h
(-)src/share/man/man9/ieee80211_proto.9 (-2 / +2 lines)
Lines 72-78 Link Here
72
Default/initial state.
72
Default/initial state.
73
A vap in this state should not hold any dynamic state (e.g. entries
73
A vap in this state should not hold any dynamic state (e.g. entries
74
for associated stations in the node table).
74
for associated stations in the node table).
75
The driver must quiesce the hardware; e.g. there should be no
75
The driver must quiescence the hardware; e.g. there should be no
76
interrupts firing.
76
interrupts firing.
77
.It Dv IEEE80211_S_SCAN
77
.It Dv IEEE80211_S_SCAN
78
Scanning for a BSS or choosing a channel to operate on.
78
Scanning for a BSS or choosing a channel to operate on.
Lines 238-241 Link Here
238
The state machine concept was part of the original
238
The state machine concept was part of the original
239
.Nm ieee80211
239
.Nm ieee80211
240
code base that first appeared in
240
code base that first appeared in
241
.Nx 1.5 ,
241
.Nx 1.5 .
(-)src/share/man/man9/ieee80211ap.9,v (-1 / +1 lines)
Lines 111-117 Link Here
111
Delete requests cause the
111
Delete requests cause the
112
.Vt ic_vap_delete
112
.Vt ic_vap_delete
113
method to be called.
113
method to be called.
114
Drivers must quiesce the device before calling
114
Drivers must quiescence the device before calling
115
.Fn ieee80211_vap_detach
115
.Fn ieee80211_vap_detach
116
to deactivate the vap and isolate it from activities such as requests
116
to deactivate the vap and isolate it from activities such as requests
117
from user applications.
117
from user applications.
(-)src/share/man/man9/ifnet.9 (-1 / +1 lines)
Lines 637-643 Link Here
637
.Aq D
637
.Aq D
638
This interface blocks transmission of packets and discards incoming
638
This interface blocks transmission of packets and discards incoming
639
packets after BPF processing.
639
packets after BPF processing.
640
Used to monitor network trafic but not interact
640
Used to monitor network traffic but not interact
641
with the network in question.
641
with the network in question.
642
.It Dv IFF_STATICARP
642
.It Dv IFF_STATICARP
643
.Aq D
643
.Aq D
(-)src/share/man/man9/kqueue.9 (-2 / +1 lines)
Lines 260-267 Link Here
260
If used, the
260
If used, the
261
.Vt knlist
261
.Vt knlist
262
must be initialized with either
262
must be initialized with either
263
.Fn knlist_init
263
.Fn knlist_init ,
264
,
265
.Fn knlist_init_mtx
264
.Fn knlist_init_mtx
266
or
265
or
267
.Fn knlist_init_rw_reader .
266
.Fn knlist_init_rw_reader .
(-)src/share/man/man9/lock.9 (-1 / +1 lines)
Lines 230-236 Link Here
230
The
230
The
231
.Fn lockmgr_disown
231
.Fn lockmgr_disown
232
function switches the owner from the current thread to be
232
function switches the owner from the current thread to be
233
.Dv LK_KERNPROC,
233
.Dv LK_KERNPROC ,
234
if the lock is already held.
234
if the lock is already held.
235
.Pp
235
.Pp
236
The
236
The
(-)src/share/man/man9/locking.9 (-3 / +2 lines)
Lines 315-322 Link Here
315
.Fn mtx_sleep ,
315
.Fn mtx_sleep ,
316
.Fn rw_sleep
316
.Fn rw_sleep
317
and
317
and
318
.Fn msleep_spin
318
.Fn msleep_spin ) .
319
).
320
.Pp
319
.Pp
321
.Em *4
320
.Em *4
322
Though one can sleep holding an sx lock, one can also use
321
Though one can sleep holding an sx lock, one can also use
Lines 358-363 Link Here
358
functions appeared in
357
functions appeared in
359
.Bsx 4.1
358
.Bsx 4.1
360
through
359
through
361
.Fx 7.0
360
.Fx 7.0 .
362
.Sh BUGS
361
.Sh BUGS
363
There are too many locking primitives to choose from.
362
There are too many locking primitives to choose from.
(-)src/share/man/man9/mbuf.9 (-2 / +4 lines)
Lines 403-409 Link Here
403
Associate externally managed data with
403
Associate externally managed data with
404
.Fa mbuf .
404
.Fa mbuf .
405
Any internal data contained in the mbuf will be discarded, and the
405
Any internal data contained in the mbuf will be discarded, and the
406
.Dv M_EXT flag will be set.
406
.Dv M_EXT
407
flag will be set.
407
The
408
The
408
.Fa buf
409
.Fa buf
409
and
410
and
Lines 722-728 Link Here
722
.Fa mbuf ,
723
.Fa mbuf ,
723
so they are accessible with
724
so they are accessible with
724
.Fn mtod mbuf type .
725
.Fn mtod mbuf type .
725
.Fa len must be smaller than, or equal to, the size of an
726
.Fa len
727
must be smaller than, or equal to, the size of an
726
.Vt mbuf cluster .
728
.Vt mbuf cluster .
727
Return a pointer to an intermediate
729
Return a pointer to an intermediate
728
.Vt mbuf
730
.Vt mbuf
(-)src/share/man/man9/mod_cc.9 (-1 / +1 lines)
Lines 287-293 Link Here
287
.Va ack_received
287
.Va ack_received
288
and is set when the connection's ability to send data is currently constrained
288
and is set when the connection's ability to send data is currently constrained
289
by the value of the congestion window.
289
by the value of the congestion window.
290
Algorithms should use the abscence of this flag being set to avoid accumulating
290
Algorithms should use the absence of this flag being set to avoid accumulating
291
a large difference between the congestion window and send window.
291
a large difference between the congestion window and send window.
292
.Sh SEE ALSO
292
.Sh SEE ALSO
293
.Xr cc_chd 4 ,
293
.Xr cc_chd 4 ,
(-)src/share/man/man9/netisr.9 (-1 / +1 lines)
Lines 78-84 Link Here
78
.Fn netisr_getqdrops ,
78
.Fn netisr_getqdrops ,
79
.Fn netisr_getqlimit ,
79
.Fn netisr_getqlimit ,
80
and
80
and
81
.Fn netisr_setqlimit.
81
.Fn netisr_setqlimit .
82
.Pp
82
.Pp
83
.Nm
83
.Nm
84
supports multi-processor execution of handlers, and relies on a combination
84
supports multi-processor execution of handlers, and relies on a combination
(-)src/share/man/man9/pci.9 (-4 / +6 lines)
Lines 488-494 Link Here
488
.Fn pci_count_msi
488
.Fn pci_count_msi
489
function returns the maximum number of MSI messages supported by the
489
function returns the maximum number of MSI messages supported by the
490
device
490
device
491
.Fa dev.
491
.Fa dev .
492
If the device does not support MSI,
492
If the device does not support MSI,
493
then
493
then
494
.Fn pci_count_msi
494
.Fn pci_count_msi
Lines 567-573 Link Here
567
returns zero.
567
returns zero.
568
For MSI-X messages,
568
For MSI-X messages,
569
the resource ID for each
569
the resource ID for each
570
.Dv SYS_RES_IRQ resource identifies the index in the MSI-X table of the
570
.Dv SYS_RES_IRQ
571
resource identifies the index in the MSI-X table of the
571
corresponding message.
572
corresponding message.
572
A resource ID of one maps to the first index of the MSI-X table;
573
A resource ID of one maps to the first index of the MSI-X table;
573
a resource ID two identifies the second index in the table, etc.
574
a resource ID two identifies the second index in the table, etc.
Lines 608-614 Link Here
608
table entries via the
609
table entries via the
609
.Fn pci_remap_msix
610
.Fn pci_remap_msix
610
function.
611
function.
611
Note that this function must be called after a succesful call to
612
Note that this function must be called after a successful call to
612
.Fn pci_alloc_msix
613
.Fn pci_alloc_msix
613
but before any of the
614
but before any of the
614
.Dv SYS_RES_IRQ
615
.Dv SYS_RES_IRQ
Lines 649-655 Link Here
649
.Fn pci_alloc_msix .
650
.Fn pci_alloc_msix .
650
MSI-X table entries that with a vector of zero will not have an
651
MSI-X table entries that with a vector of zero will not have an
651
associated
652
associated
652
.Dv SYS_RES_IRQ resource.
653
.Dv SYS_RES_IRQ
654
resource.
653
Additionally,
655
Additionally,
654
if any of the original messages allocated by
656
if any of the original messages allocated by
655
.Fn pci_alloc_msix
657
.Fn pci_alloc_msix
(-)src/share/man/man9/spl.9 (-1 / +2 lines)
Lines 220-226 Link Here
220
The historical number scheme can be considered as a
220
The historical number scheme can be considered as a
221
simple linearly ordered set of interrupt priority groups.
221
simple linearly ordered set of interrupt priority groups.
222
.Pp
222
.Pp
223
.Fx 5.0 eliminated spl entirely in favor of locking primitives which scale
223
.Fx 5.0
224
eliminated spl entirely in favor of locking primitives which scale
224
to more than one processor.
225
to more than one processor.
225
.Sh AUTHORS
226
.Sh AUTHORS
226
This manual page was written by
227
This manual page was written by
(-)src/share/man/man9/sysctl.9 (-1 / +1 lines)
Lines 107-113 Link Here
107
This is an opaque data structure.
107
This is an opaque data structure.
108
.It Dv CTLTYPE_STRUCT
108
.It Dv CTLTYPE_STRUCT
109
Alias for
109
Alias for
110
.Dv CTLTYPE_OPAQUE.
110
.Dv CTLTYPE_OPAQUE .
111
.It Dv CTLTYPE_UINT
111
.It Dv CTLTYPE_UINT
112
This is an unsigned integer.
112
This is an unsigned integer.
113
.It Dv CTLTYPE_LONG
113
.It Dv CTLTYPE_LONG
(-)src/share/man/man9/taskqueue.9 (-2 / +2 lines)
Lines 189-196 Link Here
189
count is cleared, and the old value returned in the reference
189
count is cleared, and the old value returned in the reference
190
parameter
190
parameter
191
.Fa pendp ,
191
.Fa pendp ,
192
if it is non-
192
if it is
193
.Dv NULL .
193
.Pf non- Dv NULL .
194
If the task is currently running,
194
If the task is currently running,
195
.Dv EBUSY
195
.Dv EBUSY
196
is returned, otherwise 0.
196
is returned, otherwise 0.
(-)src/share/man/man9/usbdi.9 (-1 / +1 lines)
Lines 524-530 Link Here
524
.
524
.
525
This flag can be changed during operation.
525
This flag can be changed during operation.
526
.Pp
526
.Pp
527
"BOF" is short for "Block On Failure"
527
"BOF" is short for "Block On Failure".
528
.Pp
528
.Pp
529
NOTE: This flag should be set on all BULK and INTERRUPT USB transfers
529
NOTE: This flag should be set on all BULK and INTERRUPT USB transfers
530
which use an endpoint that can be shared between userland and kernel.
530
which use an endpoint that can be shared between userland and kernel.
(-)src/share/man/man9m_page_aflag.9,v (-1 / +1 lines)
Lines 27-33 Link Here
27
.\" $FreeBSD: src/share/man/man9/src/share/man/man9m_page_aflag.9,v,v 1.1 2011/09/06 10:40:21 kib Exp $
27
.\" $FreeBSD: src/share/man/man9/src/share/man/man9m_page_aflag.9,v,v 1.1 2011/09/06 10:40:21 kib Exp $
28
.\"
28
.\"
29
.Dd August 31, 2011
29
.Dd August 31, 2011
30
.Dt VM_PAGE_FLAG 9
30
.Dt VM_PAGE_AFLAG 9
31
.Os
31
.Os
32
.Sh NAME
32
.Sh NAME
33
.Nm vm_page_aflag_clear , vm_page_aflag_set , vm_page_reference
33
.Nm vm_page_aflag_clear , vm_page_aflag_set , vm_page_reference

Return to bug 168117