OpenBSD CVS

CVS log for src/share/man/man9/Makefile


[BACK] Up to [local] / src / share / man / man9

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.310 / (download) - annotate - [select for diffs], Sat Feb 24 16:21:32 2024 UTC (3 months ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.309: +2 -2 lines
Diff to previous 1.309 (colored)

clockintr_bind.9: document clockintr, clockrequest APIs

This manpage only covers the frontend APIs.  The backend API is still
moving around and will be documented separately.

Tons of input, editing, and suggestions from jmc@, schwarze@, mpi@,
claudio@, mlarkin@, and probably several others I'm forgetting.

ok jmc@ schwarze@ claudio@ mpi@

Revision 1.309 / (download) - annotate - [select for diffs], Thu Dec 21 02:57:14 2023 UTC (5 months, 1 week ago) by jsg
Branch: MAIN
Changes since 1.308: +3 -2 lines
Diff to previous 1.308 (colored)

add strnstr(9) string search within character limit

From Mike Barcroft in FreeBSD.  Added to FreeBSD in 2001, Linux in 2010.
Used in amdgpu.

ok deraadt@

Revision 1.308 / (download) - annotate - [select for diffs], Sat Nov 5 19:29:45 2022 UTC (18 months, 3 weeks ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.307: +2 -1 lines
Diff to previous 1.307 (colored)

clockintr(9): initial commit

clockintr(9) is a machine-independent clock interrupt scheduler.  It
emulates most of what the machine-dependent clock interrupt code is
doing on every platform.  Every CPU has a work schedule based on the
system uptime clock.  For now, every CPU has a hardclock(9) and a
statclock().  If schedhz is set, every CPU has a schedclock(), too.

This commit only contains the MI pieces.  All code is conditionally
compiled with __HAVE_CLOCKINTR.  This commit changes no behavior yet.

At a high level, clockintr(9) is configured and used as follows:

1. During boot, the primary CPU calls clockintr_init(9).  Global state
   is initialized.
2. Primary CPU calls clockintr_cpu_init(9).  Local, per-CPU state is
   initialized.  An "intrclock" struct may be installed, too.
3. Secondary CPUs call clockintr_cpu_init(9) to initialize their
   local state.
4. All CPUs repeatedly call clockintr_dispatch(9) from the MD clock
   interrupt handler.  The CPUs complete work and rearm their local
   interrupt clock, if any, during the dispatch.
5. Repeat step (4) until the system shuts down, suspends, or hibernates.
6. During resume, the primary CPU calls inittodr(9) and advances the
   system uptime.
7. Go to step (2).  This time around, clockintr_cpu_init(9) also
   advances the work schedule on the calling CPU to skip events that
   expired during suspend.  This prevents a "thundering herd" of
   useless work during the first clock interrupt.

In the long term, we need an MI clock interrupt scheduler in order to
(1) provide control over the clock interrupt to MI subsystems like
timeout(9) and dt(4) to improve their accuracy, (2) provide drivers
like acpicpu(4) a means for slowing or stopping the clock interrupt on
idle CPUs to conserve power, and (3) reduce the amount of duplicated
code in the MD clock interrupt code.

Before we can do any of that, though, we need to switch every platform
over to using clockintr(9) and do some cleanup.

Prompted by "the vmm(4) time bug," among other problems, and a
discussion at a2k19 on the subject.  Lots of design input from
kettenis@.  Early versions reviewed by kettenis@ and mlarkin@.
Platform-specific help and testing from kettenis@, gkoehler@,
mlarkin@, miod@, aoyama@, visa@, and dv@.  Babysitting and spiritual
guidance from mlarkin@ and kettenis@.

Link: https://marc.info/?l=openbsd-tech&m=166697497302283&w=2

ok kettenis@ mlarkin@

Revision 1.307 / (download) - annotate - [select for diffs], Thu Mar 10 15:19:01 2022 UTC (2 years, 2 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.306: +3 -3 lines
Diff to previous 1.306 (colored)

Forgot makefile for atomic_load_int.9 in previous commit.

Revision 1.306 / (download) - annotate - [select for diffs], Sat Aug 1 08:40:20 2020 UTC (3 years, 10 months ago) by anton
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.305: +3 -3 lines
Diff to previous 1.305 (colored)

Add support for remote coverage to kcov. Remote coverage is collected
from threads other than the one currently having kcov enabled. A thread
with kcov enabled occasionally delegates work to another thread,
collecting coverage from such threads improves the ability of syzkaller
to correlate side effects in the kernel caused by issuing a syscall.

Remote coverage is divided into subsystems. The only supported subsystem
right now collects coverage from scheduled tasks and timeouts on behalf
of a kcov enabled thread. In order to make this work `struct task' and
`struct timeout' must be extended with a new field keeping track of the
process that scheduled the task/timeout. Both aforementioned structures
have therefore increased with the size of a pointer on all
architectures.

The kernel API is documented in a new kcov_remote_register(9) manual.

Remote coverage is also supported by kcov on NetBSD and Linux.

ok mpi@

Revision 1.305 / (download) - annotate - [select for diffs], Mon Jul 6 11:48:03 2020 UTC (3 years, 10 months ago) by dlg
Branch: MAIN
Changes since 1.304: +3 -2 lines
Diff to previous 1.304 (colored)

make a very quick and dirty pass on a manpage for the kstat api.

Revision 1.304 / (download) - annotate - [select for diffs], Fri Jun 26 21:08:29 2020 UTC (3 years, 11 months ago) by sthen
Branch: MAIN
Changes since 1.303: +2 -2 lines
Diff to previous 1.303 (colored)

In earlier commit, time_second.9 was removed from this directory.
Remove it from the Makefile too, unbreaking the tree.

Revision 1.303 / (download) - annotate - [select for diffs], Thu Jun 18 07:06:23 2020 UTC (3 years, 11 months ago) by fcambus
Branch: MAIN
Changes since 1.302: +2 -2 lines
Diff to previous 1.302 (colored)

Add entry for wsfont_init.9 in man9 Makefile.

OK deraadt@, jmc@, mpi@

Revision 1.302 / (download) - annotate - [select for diffs], Wed Jun 17 00:28:28 2020 UTC (3 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.301: +3 -2 lines
Diff to previous 1.301 (colored)

manpage for the bits of intrmap we're using at the moment.

Revision 1.301 / (download) - annotate - [select for diffs], Tue Jun 16 05:17:09 2020 UTC (3 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.300: +3 -3 lines
Diff to previous 1.300 (colored)

how do you use the stoeplitz stuff?

Revision 1.300 / (download) - annotate - [select for diffs], Fri Jun 5 02:24:12 2020 UTC (3 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.299: +2 -2 lines
Diff to previous 1.299 (colored)

add a small manpage for ifiq functions that drivers care about.

Revision 1.299 / (download) - annotate - [select for diffs], Fri Dec 6 10:42:33 2019 UTC (4 years, 5 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.298: +2 -2 lines
Diff to previous 1.298 (colored)

Split uvm_vs{,un}lock(9) out of uvm_init(9).

Revision 1.298 / (download) - annotate - [select for diffs], Thu Dec 5 15:14:28 2019 UTC (4 years, 5 months ago) by mpi
Branch: MAIN
Changes since 1.297: +7 -3 lines
Diff to previous 1.297 (colored)

Split uvm(9) into smaller manuals.

ok jmc@, deraadt@, schwarze@

Revision 1.297 / (download) - annotate - [select for diffs], Fri Nov 8 07:36:52 2019 UTC (4 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.296: +3 -2 lines
Diff to previous 1.296 (colored)

document the new interface hooks stuff

Revision 1.296 / (download) - annotate - [select for diffs], Fri Jul 12 16:53:57 2019 UTC (4 years, 10 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.295: +3 -2 lines
Diff to previous 1.295 (colored)

Document & cross Xr rtable_walk(9).

With inputs from jmc@ and schwarze@

Revision 1.295 / (download) - annotate - [select for diffs], Fri Jun 21 09:39:48 2019 UTC (4 years, 11 months ago) by visa
Branch: MAIN
Changes since 1.294: +2 -2 lines
Diff to previous 1.294 (colored)

Make resource limit access MP-safe. So far, the copy-on-write sharing
of resource limit structs has been done between processes. By applying
copy-on-write also between threads, threads can read rlimits in
a nearly lock-free manner.

Inspired by code in DragonFly BSD and FreeBSD.

OK mpi@, agreement from jmatthew@ and anton@

Revision 1.294 / (download) - annotate - [select for diffs], Mon Jun 3 01:27:30 2019 UTC (5 years ago) by cheloha
Branch: MAIN
Changes since 1.293: +3 -3 lines
Diff to previous 1.293 (colored)

Switch from bintime_add() et al. to bintimeadd(9).

Basically just make all the bintime routines look and behave more like
the timeradd(3) macros.

Switch to three-argument forms for structure math, introduce and use
bintimecmp(9), and rename the structure conversion routines to resemble
e.g. TIMEVAL_TO_TIMESPEC(3).

Document all of this in a new bintimeadd.9 page.

Code input from mpi@, manpage input from schwarze@.

code ok mpi@, docs ok schwarze@, docs probably still ok jmc@

Revision 1.293 / (download) - annotate - [select for diffs], Tue Feb 26 14:28:20 2019 UTC (5 years, 3 months ago) by visa
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.292: +2 -1 lines
Diff to previous 1.292 (colored)

Add manual pages for SMR.

OK mpi@ sashan@

Revision 1.292 / (download) - annotate - [select for diffs], Sat Feb 23 04:54:25 2019 UTC (5 years, 3 months ago) by dlg
Branch: MAIN
Changes since 1.291: +3 -3 lines
Diff to previous 1.291 (colored)

document pci_mapreg_map and some related functions.

i couldn't figure out which argument becomes the flags for the
wrapped call to bus_space_map(9), so i wrote this page so i wouldnt
have to read the code for this one again.

ok jmc@ schwarze@ mpi@ deraadt@

Revision 1.291 / (download) - annotate - [select for diffs], Mon Nov 12 15:13:12 2018 UTC (5 years, 6 months ago) by visa
Branch: MAIN
Changes since 1.290: +2 -2 lines
Diff to previous 1.290 (colored)

Document sigio routines.

Revision 1.290 / (download) - annotate - [select for diffs], Mon Apr 23 10:30:39 2018 UTC (6 years, 1 month ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.289: +7 -7 lines
Diff to previous 1.289 (colored)

split the rest of kern.9 up into related groups of functions.

ok mpi@

Revision 1.289 / (download) - annotate - [select for diffs], Thu Apr 19 22:46:21 2018 UTC (6 years, 1 month ago) by dlg
Branch: MAIN
Changes since 1.288: +2 -2 lines
Diff to previous 1.288 (colored)

start splitting the kern manpage up starting with the KASSERT bits.

this started when looking for function prototypes not in the SYNOPSIS
section and fixing that, but ingo argues that it doesn't make sense
to document 30 unrelated functions in one manpage anyway.

ok deraadt@ mpi@ schwarze@

Revision 1.288 / (download) - annotate - [select for diffs], Thu Dec 14 00:41:58 2017 UTC (6 years, 5 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.287: +3 -3 lines
Diff to previous 1.287 (colored)

add code to provide simple wait condition handling.

this will be used to replace the bare sleep_state handling in a
bunch of places, starting with the barriers.

Revision 1.287 / (download) - annotate - [select for diffs], Mon Jun 19 23:44:11 2017 UTC (6 years, 11 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.286: +2 -2 lines
Diff to previous 1.286 (colored)

talk about the per cpu caches in pools by documenting pool_cache_init()

this describes what the per cpu caches do, and has some bonus doco about
what the sysctls provide thanks to a suggestion from mikeb@

some tweaks are coming, but this is mostly right.

ok jmc@ schwarze@

Revision 1.286 / (download) - annotate - [select for diffs], Sun Feb 12 04:55:08 2017 UTC (7 years, 3 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.285: +3 -2 lines
Diff to previous 1.285 (colored)

Split up fork1():
 - FORK_THREAD handling is a totally separate function, thread_fork(),
   that is only used by sys___tfork() and which loses the flags, func,
   arg, and newprocp parameters and gains tcb parameter to guarantee
   the new thread's TCB is set before the creating thread returns
 - fork1() loses its stack and tidptr parameters
Common bits factor out:
 - struct proc allocation and initialization moves to thread_new()
 - maxthread handling moves to fork_check_maxthread()
 - setting the new thread running moves to fork_thread_start()
The MD cpu_fork() function swaps its unused stacksize parameter for
a tcb parameter.

luna88k testing by aoyama@, alpha testing by dlg@
ok mpi@

Revision 1.285 / (download) - annotate - [select for diffs], Tue Jan 24 00:58:55 2017 UTC (7 years, 4 months ago) by mpi
Branch: MAIN
Changes since 1.284: +3 -3 lines
Diff to previous 1.284 (colored)

Rename pfind(9) into tfind(9) to reflect that it deals with threads.

While here document prfind(9.

with and ok guenther@

Revision 1.284 / (download) - annotate - [select for diffs], Sun Nov 20 12:05:25 2016 UTC (7 years, 6 months ago) by mpi
Branch: MAIN
Changes since 1.283: +3 -2 lines
Diff to previous 1.283 (colored)

Move LOCKED macros to teir own manual.

This will allow us to better document them and add examples.

Disccussed with dlg@

Revision 1.283 / (download) - annotate - [select for diffs], Fri Oct 21 10:15:40 2016 UTC (7 years, 7 months ago) by dlg
Branch: MAIN
Changes since 1.282: +4 -3 lines
Diff to previous 1.282 (colored)

first stab at describing the per cpu counters api

Revision 1.282 / (download) - annotate - [select for diffs], Fri Oct 21 07:57:29 2016 UTC (7 years, 7 months ago) by dlg
Branch: MAIN
Changes since 1.281: +2 -2 lines
Diff to previous 1.281 (colored)

first cut at a man page for cpumem

Revision 1.281 / (download) - annotate - [select for diffs], Thu Sep 15 17:53:38 2016 UTC (7 years, 8 months ago) by awolk
Branch: MAIN
Changes since 1.280: +3 -3 lines
Diff to previous 1.280 (colored)

Document the USB task API

OK mpi@

change post OK:
 - long lines in the source file wrapped
 - added note about USB_TASK_TYPE_ABORT from mpi@

Revision 1.280 / (download) - annotate - [select for diffs], Mon Sep 5 07:22:29 2016 UTC (7 years, 8 months ago) by dlg
Branch: MAIN
Changes since 1.279: +2 -1 lines
Diff to previous 1.279 (colored)

first cut at documenting new red-black tree code.

ok jmc@

Revision 1.279 / (download) - annotate - [select for diffs], Fri Sep 2 17:36:54 2016 UTC (7 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.278: +2 -2 lines
Diff to previous 1.278 (colored)

kettenis discovered a man page for a long deleted file. hash.h is gone.

Revision 1.278 / (download) - annotate - [select for diffs], Sun Jun 19 11:54:33 2016 UTC (7 years, 11 months ago) by natano
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.277: +2 -2 lines
Diff to previous 1.277 (colored)

Remove the lockmgr() API. It is only used by filesystems, where it is a
trivial change to use rrw locks instead. All it needs is LK_* defines
for the RW_* flags.

tested by naddy and sthen on package building infrastructure
input and ok jmc mpi tedu

Revision 1.277 / (download) - annotate - [select for diffs], Fri Jun 17 13:23:21 2016 UTC (7 years, 11 months ago) by mglocker
Branch: MAIN
Changes since 1.276: +3 -3 lines
Diff to previous 1.276 (colored)

Add man page for usbd_ref_incr(9), usbd_ref_decr(9), and usbd_ref_wait(9).

ok mpi

Revision 1.276 / (download) - annotate - [select for diffs], Mon Apr 25 19:24:42 2016 UTC (8 years, 1 month ago) by tedu
Branch: MAIN
Changes since 1.275: +2 -2 lines
Diff to previous 1.275 (colored)

remove systrace

Revision 1.275 / (download) - annotate - [select for diffs], Sun Apr 3 06:43:59 2016 UTC (8 years, 2 months ago) by jsg
Branch: MAIN
Changes since 1.274: +2 -2 lines
Diff to previous 1.274 (colored)

Long overdue updates for timecounter changes.
Feedback from jmc@, ok guenther@ for an earlier version.

Revision 1.274 / (download) - annotate - [select for diffs], Wed Mar 30 06:38:45 2016 UTC (8 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.273: +1 -436 lines
Diff to previous 1.273 (colored)

for some time now mandoc has not required MLINKS to function
correctly - logically complete that now by removing MLINKS from base;

authors need only to ensure there is an entry in NAME for any function/
util being added. MLINKS will still work, and remain for perl to ease
upgrades;

ok nicm (curses) bcook (ssl)
ok schwarze, who provided a lot of feedback and assistance
ok tb natano jung

Revision 1.273 / (download) - annotate - [select for diffs], Tue Mar 29 05:18:24 2016 UTC (8 years, 2 months ago) by dlg
Branch: MAIN
Changes since 1.272: +5 -3 lines
Diff to previous 1.272 (colored)

some basic doco for the bpf_mtap family of functions.

yes yes deraadt@

Revision 1.272 / (download) - annotate - [select for diffs], Tue Mar 15 04:19:26 2016 UTC (8 years, 2 months ago) by stefan
Branch: MAIN
Changes since 1.271: +2 -2 lines
Diff to previous 1.271 (colored)

Remove now unused legacy uiomovei() function.

All its callers got reviewed and converted to
use uiomove() properly.

ok deraadt@

Revision 1.271 / (download) - annotate - [select for diffs], Sun Dec 20 08:10:36 2015 UTC (8 years, 5 months ago) by sf
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.270: +2 -2 lines
Diff to previous 1.270 (colored)

improve CTASSERT man page

* add CTASSERT.9 link
* add "void" to prototype

Revision 1.270 / (download) - annotate - [select for diffs], Fri Dec 11 16:07:02 2015 UTC (8 years, 5 months ago) by mpi
Branch: MAIN
Changes since 1.269: +6 -7 lines
Diff to previous 1.269 (colored)

Replace mountroothook_establish(9) by config_mountroot(9) a narrower API
similar to config_defer(9).

ok mikeb@, deraadt@

Revision 1.269 / (download) - annotate - [select for diffs], Thu Dec 10 00:41:46 2015 UTC (8 years, 5 months ago) by dlg
Branch: MAIN
Changes since 1.268: +5 -3 lines
Diff to previous 1.268 (colored)

document ifq_barrier()

Revision 1.268 / (download) - annotate - [select for diffs], Wed Dec 9 06:29:02 2015 UTC (8 years, 5 months ago) by dlg
Branch: MAIN
Changes since 1.267: +2 -2 lines
Diff to previous 1.267 (colored)

document ifq_restart. or try to.

Revision 1.267 / (download) - annotate - [select for diffs], Tue Dec 8 10:06:40 2015 UTC (8 years, 5 months ago) by mpi
Branch: MAIN
Changes since 1.266: +4 -3 lines
Diff to previous 1.266 (colored)

Manual for if_get(9) and if_put(9).

ok dlg@

Revision 1.266 / (download) - annotate - [select for diffs], Thu Dec 3 16:27:32 2015 UTC (8 years, 6 months ago) by mpi
Branch: MAIN
Changes since 1.265: +2 -1 lines
Diff to previous 1.265 (colored)

Use SRPL_HEAD() and SRPL_ENTRY() to be consistent with and allow to
fallback to a SLIST.

ok dlg@, jasper@

Revision 1.265 / (download) - annotate - [select for diffs], Wed Dec 2 09:46:29 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.264: +3 -3 lines
Diff to previous 1.264 (colored)

merge important bits of GETATTR into VOP_LOOKUP.
provoked by jmc (and reminded that i failed to commit by ingo)

Revision 1.264 / (download) - annotate - [select for diffs], Thu Nov 26 13:08:18 2015 UTC (8 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.263: +2 -1 lines
Diff to previous 1.263 (colored)

mlink for SRPL_FOREACH_SAFE_LOCKED and tweak its description;

Revision 1.263 / (download) - annotate - [select for diffs], Wed Nov 25 16:20:36 2015 UTC (8 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.262: +3 -2 lines
Diff to previous 1.262 (colored)

add uvm_uarea_{alloc,free} to NAME and MLINKS;
found by schwarze;

ok schwarze guenther

Revision 1.262 / (download) - annotate - [select for diffs], Wed Nov 25 03:09:57 2015 UTC (8 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.261: +4 -2 lines
Diff to previous 1.261 (colored)

replace IFF_OACTIVE manipulation with mpsafe operations.

there are two things shared between the network stack and drivers
in the send path: the send queue and the IFF_OACTIVE flag. the send
queue is now protected by a mutex. this diff makes the oactive
functionality mpsafe too.

IFF_OACTIVE is part of if_flags. there are two problems with that.
firstly, if_flags is a short and we dont have any MI atomic operations
to manipulate a short. secondly, while we could make the IFF_OACTIVE
operates mpsafe, all changes to other flags would have to be made
safe at the same time, otherwise a read-modify-write cycle on their
updates could clobber the oactive change.

instead, this moves the oactive mark into struct ifqueue and provides
an API for changing it. there's ifq_set_oactive, ifq_clr_oactive,
and ifq_is_oactive. these are modelled on ifsq_set_oactive,
ifsq_clr_oactive, and ifsq_is_oactive in dragonflybsd.

this diff includes changes to all the drivers manipulating IFF_OACTIVE
to now use the ifsq_{set,clr_is}_oactive API too.

ok kettenis@ mpi@ jmatthew@ deraadt@

Revision 1.261 / (download) - annotate - [select for diffs], Tue Nov 24 19:37:30 2015 UTC (8 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.260: +2 -2 lines
Diff to previous 1.260 (colored)

no mlink for ctlname; ok schwarze

Revision 1.260 / (download) - annotate - [select for diffs], Mon Nov 23 10:45:26 2015 UTC (8 years, 6 months ago) by mpi
Branch: MAIN
Changes since 1.259: +6 -7 lines
Diff to previous 1.259 (colored)

Move ifq_deq_{begin,commit,rollback} appart to keep man pages short,
readable and to emphasis that they are not the prefered API for your
drivers.

ok dlg@

Revision 1.259 / (download) - annotate - [select for diffs], Sat Nov 21 11:46:24 2015 UTC (8 years, 6 months ago) by mpi
Branch: MAIN
Changes since 1.258: +3 -3 lines
Diff to previous 1.258 (colored)

Retire ml_requeue(9) and mq_requeue(9).

As Kenjiro Cho pointed out it is very hard to cancel a dequeue operation
for some queueing disciplines when such it keeps some internal states.

As you can see, APIs can also Live Fast & Die Young.

ok dlg@

Revision 1.258 / (download) - annotate - [select for diffs], Sat Nov 21 00:32:46 2015 UTC (8 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.257: +3 -2 lines
Diff to previous 1.257 (colored)

provide MBUF_LIST_FIRST and MBUF_LIST_NEXT for iterating over an mbuf_list.

MBUF_LIST_FOREACH is then rewritten on top of those.

this makes it easier to get at the head of a list too, which may make
the hfsc ifq backend nicer.

based on a discussion with kenjiro cho
ok mpi@

Revision 1.257 / (download) - annotate - [select for diffs], Fri Nov 20 19:05:02 2015 UTC (8 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.256: +1 -2 lines
Diff to previous 1.256 (colored)

cleanup powerhooks links too

Revision 1.256 / (download) - annotate - [select for diffs], Fri Nov 20 17:48:33 2015 UTC (8 years, 6 months ago) by mpi
Branch: MAIN
Changes since 1.255: +3 -3 lines
Diff to previous 1.255 (colored)

After being separated for more than 5 years, allow these poor manuals
to meet their code again... in the bit bucket!

Revision 1.255 / (download) - annotate - [select for diffs], Fri Nov 20 11:15:07 2015 UTC (8 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.254: +6 -5 lines
Diff to previous 1.254 (colored)

i made a mistake. rename ifq_enq and ifq_deq to ifq_enqueue and ifq_dequeue

fixing it now before i regret it more.

Revision 1.254 / (download) - annotate - [select for diffs], Fri Nov 20 03:35:22 2015 UTC (8 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.253: +5 -2 lines
Diff to previous 1.253 (colored)

shuffle struct ifqueue so in flight mbufs are protected by a mutex.

the code is refactored so the IFQ macros call newly implemented ifq
functions. the ifq code is split so each discipline (priq and hfsc
in our case) is an opaque set of operations that the common ifq
code can call. the common code does the locking, accounting (ifq_len
manipulation), and freeing of the mbuf if the disciplines enqueue
function rejects it. theyre kind of like bufqs in the block layer
with their fifo and nscan disciplines.

the new api also supports atomic switching of disciplines at runtime.
the hfsc setup in pf_ioctl.c has been tweaked to build a complete
hfsc_if structure which it attaches to the send queue in a single
operation, rather than attaching to the interface up front and
building up a list of queues.

the send queue is now mutexed, which raises the expectation that
packets can be enqueued or purged on one cpu while another cpu is
dequeueing them in a driver for transmission. a lot of drivers use
IFQ_POLL to peek at an mbuf and attempt to fit it on the ring before
committing to it with a later IFQ_DEQUEUE operation. if the mbuf
gets freed in between the POLL and DEQUEUE operations, fireworks
will ensue.

to avoid this, the ifq api introduces ifq_deq_begin, ifq_deq_rollback,
and ifq_deq_commit. ifq_deq_begin allows a driver to take the ifq
mutex and get a reference to the mbuf they wish to try and tx. if
there's space, they can ifq_deq_commit it to remove the mbuf and
release the mutex. if there's no space, ifq_deq_rollback simply
releases the mutex. this api was developed to make updating the
drivers using IFQ_POLL easy, instead of having to do significant
semantic changes to avoid POLL that we cannot test on all the
hardware.

the common code has been tested pretty hard, and all the driver
modifications are straightforward except for de(4). if that breaks
it can be dealt with later.

ok mpi@ jmatthew@

Revision 1.253 / (download) - annotate - [select for diffs], Sun Nov 15 19:35:05 2015 UTC (8 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.252: +1 -2 lines
Diff to previous 1.252 (colored)

remove mlink for non-existent ieee80211_compute_duration;

Revision 1.252 / (download) - annotate - [select for diffs], Sun Nov 15 15:10:55 2015 UTC (8 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.251: +2 -3 lines
Diff to previous 1.251 (colored)

remove entries for SRPL_HEAD_INIT (listed twice!) and SRPL_ENTRY_INIT,
neither of which appear to exist;

Revision 1.251 / (download) - annotate - [select for diffs], Mon Nov 2 09:21:48 2015 UTC (8 years, 7 months ago) by dlg
Branch: MAIN
Changes since 1.250: +3 -2 lines
Diff to previous 1.250 (colored)

provide ml_purge and mq_purge.

these are modelled on IF_PURGE or IFQ_PURGE. they m_freem all the
mbufs on an mbuf list or queue.

ok jmatthew@ mpi@

Revision 1.250 / (download) - annotate - [select for diffs], Fri Oct 30 21:21:19 2015 UTC (8 years, 7 months ago) by benno
Branch: MAIN
Changes since 1.249: +3 -3 lines
Diff to previous 1.249 (colored)

document m_resethdr
ok and feedback mikeb@, reminded by jmc@ about MLINKS

Revision 1.249 / (download) - annotate - [select for diffs], Fri Oct 30 09:48:03 2015 UTC (8 years, 7 months ago) by bluhm
Branch: MAIN
Changes since 1.248: +2 -2 lines
Diff to previous 1.248 (colored)

Rename rtrequest1() to rtrequest().
"make sure to update the manpage too" mpi@

Revision 1.248 / (download) - annotate - [select for diffs], Thu Oct 22 05:26:06 2015 UTC (8 years, 7 months ago) by dlg
Branch: MAIN
Changes since 1.247: +2 -2 lines
Diff to previous 1.247 (colored)

rename ml_join to ml_enlist and expose it to the rest of the kernel.

Revision 1.247 / (download) - annotate - [select for diffs], Wed Oct 21 08:48:12 2015 UTC (8 years, 7 months ago) by mpi
Branch: MAIN
Changes since 1.246: +3 -3 lines
Diff to previous 1.246 (colored)

No longer mention rtable_get(), it's a private function now.

While here use C99 types in function definitions.

Revision 1.246 / (download) - annotate - [select for diffs], Fri Sep 18 08:30:23 2015 UTC (8 years, 8 months ago) by dlg
Branch: MAIN
Changes since 1.245: +2 -1 lines
Diff to previous 1.245 (colored)

implement SRPL_INSERT_AFTER_LOCKED.

i thought id committed this at l2k15. sorry for the delay.

Revision 1.245 / (download) - annotate - [select for diffs], Sun Sep 13 12:13:34 2015 UTC (8 years, 8 months ago) by kettenis
Branch: MAIN
Changes since 1.244: +2 -2 lines
Diff to previous 1.244 (colored)

intr_barrier(9)

Revision 1.244 / (download) - annotate - [select for diffs], Sat Sep 12 15:02:28 2015 UTC (8 years, 8 months ago) by lteo
Branch: MAIN
Changes since 1.243: +2 -2 lines
Diff to previous 1.243 (colored)

ktrcsw(9) has been removed, so remove its man page too.

ok guenther@ miod@ sthen@

Revision 1.243 / (download) - annotate - [select for diffs], Fri Sep 11 19:27:05 2015 UTC (8 years, 8 months ago) by mpi
Branch: MAIN
Changes since 1.242: +3 -2 lines
Diff to previous 1.242 (colored)

Document rtref(9).

Revision 1.242 / (download) - annotate - [select for diffs], Fri Sep 11 19:13:22 2015 UTC (8 years, 8 months ago) by dlg
Branch: MAIN
Changes since 1.241: +6 -3 lines
Diff to previous 1.241 (colored)

introduce a wrapper around reference counts called refcnt.

its basically atomic inc/dec, but it includes magical sleep code
in refcnt_finalise that is better written once than many times.
refcnt_finalise sleeps until all references are released and does
so with sleep_setup and sleep_finalize, which is fairly subtle.

putting this in now so i we can get on with work in the stack, a
proper discussion about visibility and how available intrinsics
should be in the kernel can happen after next week.

with help from guenther@
ok guenther@ deraadt@ mpi@

Revision 1.241 / (download) - annotate - [select for diffs], Wed Sep 9 11:21:51 2015 UTC (8 years, 8 months ago) by dlg
Branch: MAIN
Changes since 1.240: +12 -2 lines
Diff to previous 1.240 (colored)

implement a singly linked list built with SRPs.

this allows us to build lists of things that can be followed by
multiple cpus.

ok mpi@ claudio@

Revision 1.240 / (download) - annotate - [select for diffs], Tue Sep 1 12:50:03 2015 UTC (8 years, 9 months ago) by mpi
Branch: MAIN
Changes since 1.239: +2 -2 lines
Diff to previous 1.239 (colored)

Introduce rtisvalid(9) a function to check if a (cached) route entry
can be used or should be released by rtfree(9).

It currently checks if the route is UP and is not attached to a stall
ifa.

ok bluhm@, claudio@

Revision 1.239 / (download) - annotate - [select for diffs], Tue Sep 1 03:47:58 2015 UTC (8 years, 9 months ago) by dlg
Branch: MAIN
Changes since 1.238: +3 -3 lines
Diff to previous 1.238 (colored)

mattieu baptiste reported a problem with bpf+srps where the per cpu
hazard pointers were becoming corrupt and therefore panics.

the problem turned out to be that bridge_input calls if_input on
behalf of a hardware interface which then calls bpf_mtap at splsoftnet,
while the actual hardware nic calls if_input and bpf_mtap at splnet.
the hardware interrupts ran in the middle of the bpf calls bridge
runs at softnet. this means the same srps are being entered and
left on the same cpu at different ipls, which led to races because
of the order of operations on the per cpu hazard pointers.

after a lot of experimentation, jmatthew@ figured out how to deal
with this problem without introducing per cpu critical sections
(ie, splhigh) calls in srp_enter and srp_leave, and without introducing
atomic operations.

the solution is to iterate forward through the array of hazard
pointers in srp_enter, and backward in srp_leave to clear. if you
guarantee that you leave srps in the reverse order to entering them,
then you can use the same set of SRPs at different IPLs on the same
CPU.

the ordering requirement is a problem if we want to build linked
data structures out of srps because you need to hold a ref to the
current element containing the next srp to use it, before giving
up the current ref. we're adding srp_follow() to support taking the
next ref and giving up the current one while preserving the structure
of the hazard pointer list. srp_follow() does this by reusing the
hazard pointer for the current reference for the next ref.

both mattieu baptiste and jmatthew@ have been hitting this pretty
hard with a tweaked version of srp+bpf that uses srp_follow instead
of interleaved srp_enter/srp_leave sequences. neither can reproduce
the panics anymore.

thanks to mattieu for the report and tests
ok jmatthew@

Revision 1.238 / (download) - annotate - [select for diffs], Fri Aug 14 05:25:29 2015 UTC (8 years, 9 months ago) by dlg
Branch: MAIN
Changes since 1.237: +6 -4 lines
Diff to previous 1.237 (colored)

provide ml_requeue and mq_requeue for prepending mbufs on lists/queues

ok mpi@ claudio@

Revision 1.237 / (download) - annotate - [select for diffs], Wed Jul 8 07:21:49 2015 UTC (8 years, 10 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.236: +2 -2 lines
Diff to previous 1.236 (colored)

MFREE(9) is dead, long live m_freem(9)!

ok bluhm@, claudio@, dlg@

Revision 1.236 / (download) - annotate - [select for diffs], Thu Jul 2 01:35:45 2015 UTC (8 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.235: +4 -4 lines
Diff to previous 1.235 (colored)

shuffle the list of files so tsleep.9 isnt in the middle of all the
mangpages starting with s.

Revision 1.235 / (download) - annotate - [select for diffs], Thu Jul 2 01:33:59 2015 UTC (8 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.234: +7 -2 lines
Diff to previous 1.234 (colored)

introduce srp, which according to the manpage i wrote is short for
"shared reference pointers".

srp allows concurrent access to a data structure by multiple cpus
while avoiding interlocking cpu opcodes. it manages its own reference
counts and the garbage collection of those data structure to avoid
use after frees.

internally srp is a twisted version of hazard pointers, which are
a relative of RCU.

jmatthew wrote the bulk of a hazard pointer implementation and
changed bpf to use it to allow mpsafe access to bpfilters. however,
at s2k15 we were trying to apply it to other data structures but
the memory overhead of every hazard pointer would have blown out
significantly in several uses cases. a bulk of our time at s2k15
was spent reworking hazard pointers into srp.

this diff adds the srp api and adds the necessary metadata to struct
cpuinfo on our MP architectures. srp on uniprocessor platforms has
alternate code that is optimised because it knows there'll be no
concurrent access to data by multiple cpus.

srp is made available to the system via param.h, so it should be
available everywhere in the kernel.

the docs likely need improvement cos im too close to the implementation.

ok mpi@

Revision 1.234 / (download) - annotate - [select for diffs], Wed Jun 17 06:24:46 2015 UTC (8 years, 11 months ago) by mpi
Branch: MAIN
Changes since 1.233: +11 -12 lines
Diff to previous 1.233 (colored)

Move mbuf_list and mbuf_queue documentation in their own manual.

ok jmc@, deraadt@, dlg@

Revision 1.233 / (download) - annotate - [select for diffs], Thu Jun 11 16:04:55 2015 UTC (8 years, 11 months ago) by mikeb
Branch: MAIN
Changes since 1.232: +2 -2 lines
Diff to previous 1.232 (colored)

Remove hzto(9) manual pages and references;  OK dlg

Revision 1.232 / (download) - annotate - [select for diffs], Tue May 5 16:38:20 2015 UTC (9 years ago) by mikeb
Branch: MAIN
Changes since 1.231: +1 -4 lines
Diff to previous 1.231 (colored)

Remove man page links for crypto(9) key operations; reminded by jmc@

Revision 1.231 / (download) - annotate - [select for diffs], Mon May 4 10:12:34 2015 UTC (9 years, 1 month ago) by mpi
Branch: MAIN
Changes since 1.230: +4 -2 lines
Diff to previous 1.230 (colored)

Document usbd_open_pipe(9) and friends, from Sean Levy with some tweaks.

Revision 1.230 / (download) - annotate - [select for diffs], Tue Feb 10 21:56:08 2015 UTC (9 years, 3 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.229: +2 -2 lines
Diff to previous 1.229 (colored)

First step towards making uiomove() take a size_t size argument:
- rename uiomove() to uiomovei() and update all its users.
- introduce uiomove(), which is similar to uiomovei() but with a size_t.
- rewrite uiomovei() as an uiomove() wrapper.
ok kettenis@

Revision 1.229 / (download) - annotate - [select for diffs], Sat Feb 7 23:54:24 2015 UTC (9 years, 3 months ago) by dlg
Branch: MAIN
Changes since 1.228: +4 -3 lines
Diff to previous 1.228 (colored)

jmc reminded me that if we document new functions we should link them up

Revision 1.228 / (download) - annotate - [select for diffs], Sat Jan 24 16:20:37 2015 UTC (9 years, 4 months ago) by kettenis
Branch: MAIN
Changes since 1.227: +3 -2 lines
Diff to previous 1.227 (colored)

Add bus_dmamem_alloc_range(9).

Revision 1.227 / (download) - annotate - [select for diffs], Sun Dec 28 21:32:44 2014 UTC (9 years, 5 months ago) by krw
Branch: MAIN
Changes since 1.226: +2 -5 lines
Diff to previous 1.226 (colored)

The greatest happiness is to scatter inferiour APIs, to drive them
before you, to see their files reduced to ashes, to see those who
love them shrouded in tears, and to gather into your API all their
invocations.

In other words, workq is no more. There is only taskq.

ok kettenis@ dlg@ (creator of taskq) jmc@

Revision 1.226 / (download) - annotate - [select for diffs], Mon Dec 22 04:43:38 2014 UTC (9 years, 5 months ago) by dlg
Branch: MAIN
Changes since 1.225: +3 -2 lines
Diff to previous 1.225 (colored)

add TIMEOUT_INITIALIZER for initting timeout declaractions.

similar to TASK_INITIALIZER and all the queue _INITIALIZER things.

ok deraadt@

Revision 1.225 / (download) - annotate - [select for diffs], Thu Dec 11 14:29:42 2014 UTC (9 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.224: +2 -2 lines
Diff to previous 1.224 (colored)

according to kaspars bankovskis, allocbuf was removed in -r1.88
of sys/kern/vfs_bio.c;

Revision 1.224 / (download) - annotate - [select for diffs], Wed Dec 10 15:29:52 2014 UTC (9 years, 5 months ago) by mikeb
Branch: MAIN
Changes since 1.223: +3 -4 lines
Diff to previous 1.223 (colored)

retire shutdown hooks; ok deraadt, krw

Revision 1.223 / (download) - annotate - [select for diffs], Mon Nov 24 12:43:54 2014 UTC (9 years, 6 months ago) by mpi
Branch: MAIN
Changes since 1.222: +3 -3 lines
Diff to previous 1.222 (colored)

Rename rt_ifa_addloop() into rt_ifa_addlocal() and make it return an
error code on failure (unchecked for the moment).

ok mikeb@, jmc@

Revision 1.222 / (download) - annotate - [select for diffs], Tue Nov 4 23:27:02 2014 UTC (9 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.221: +4 -2 lines
Diff to previous 1.221 (colored)

document the SipHash24 api. some more could be done for history and
where its appropriate to use it, but that can happen later.

discussed with djm@
tweaks from jmc@

Revision 1.221 / (download) - annotate - [select for diffs], Sat Nov 1 21:45:54 2014 UTC (9 years, 7 months ago) by mpi
Branch: MAIN
Changes since 1.220: +5 -4 lines
Diff to previous 1.220 (colored)

Document rtalloc(9).

Revision 1.220 / (download) - annotate - [select for diffs], Wed Oct 8 07:39:46 2014 UTC (9 years, 7 months ago) by mpi
Branch: MAIN
Changes since 1.219: +3 -4 lines
Diff to previous 1.219 (colored)

rtalloc(9) and rtalloc_noclone(9) are dead, long live rtalloc1(9)!

reminded by phessler@

Revision 1.219 / (download) - annotate - [select for diffs], Mon Aug 18 04:06:16 2014 UTC (9 years, 9 months ago) by dlg
Branch: MAIN
Changes since 1.218: +10 -2 lines
Diff to previous 1.218 (colored)

introduce mbuf list and queue apis. both manage fifo lists of mbufs
and a count of the mbufs.

struct mbuf_list and the ml_foo() apis can be used to build lists of
mbufs where you dont need locking (eg, on the stack).

struct mbuf_queue and mq_foo() wrap mbuf_lists with a mutex, and
limits the number of mbufs that can be queued. they can be useful
for moving mbufs between contexts/subsystems.

with help from jmc@ for the manpage bits
mpi@ is keen

Revision 1.218 / (download) - annotate - [select for diffs], Thu Jul 24 01:18:23 2014 UTC (9 years, 10 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.217: +7 -2 lines
Diff to previous 1.217 (colored)

this is start on documenting bufqs. it covers the bits disk drivers need
to know. the grubby bits the midlayer touches on them will get written up
soon.

ok deraadt@

Revision 1.217 / (download) - annotate - [select for diffs], Sun Jul 13 23:49:40 2014 UTC (9 years, 10 months ago) by uebayasi
Branch: MAIN
Changes since 1.216: +2 -1 lines
Diff to previous 1.216 (colored)

KASSERTMSG(9): New kernel assertion with message

KASSERT() is annoying as it only prints the expression as a string.  If you
(developers) want to know a little more information, you have to do:

	#ifdef DIAGNOSTIC
		if (bad)
			panic(...);
	#endif

KASSERTMSG() replaces it into a single line:

		KASSERTMSG(!bad, ...);

Taken from NetBSD.

(There is a concern that KASSERT() messages are too long; consume more memory,
and not friendly for small monitors.  This have to be considered & revisited
later.)

"Like" from henning@
Man page review & advices from jmc@ and schwarze@

Revision 1.216 / (download) - annotate - [select for diffs], Sun Jul 13 09:37:22 2014 UTC (9 years, 10 months ago) by mpi
Branch: MAIN
Changes since 1.215: +2 -2 lines
Diff to previous 1.215 (colored)

What would you use config_init() for?

Revision 1.215 / (download) - annotate - [select for diffs], Sun Jul 13 09:28:06 2014 UTC (9 years, 10 months ago) by mpi
Branch: MAIN
Changes since 1.214: +3 -4 lines
Diff to previous 1.214 (colored)

Split config_attach/detach(9) from autoconf(9).  Stop talking about
config_deactivate(9), it should die.  Mention config_detach_children(9).
Use CONTEXT and RETURN VALUES sections

Revision 1.214 / (download) - annotate - [select for diffs], Thu Jul 10 19:33:16 2014 UTC (9 years, 10 months ago) by matthew
Branch: MAIN
Changes since 1.213: +2 -2 lines
Diff to previous 1.213 (colored)

Add mallocarray(9)

While here, change malloc(9)'s size argument from "unsigned long" to
"size_t".

ok tedu

Revision 1.213 / (download) - annotate - [select for diffs], Wed Jul 9 18:00:09 2014 UTC (9 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.212: +5 -4 lines
Diff to previous 1.212 (colored)

sort out the MLINKS mess, and tweak previous a bit;

Revision 1.212 / (download) - annotate - [select for diffs], Wed Jul 9 13:47:41 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.211: +4 -3 lines
Diff to previous 1.211 (colored)

MLINKS for rw_{assert_{unlocked,wrlock,rdlock},status}

Revision 1.211 / (download) - annotate - [select for diffs], Tue Jul 8 04:02:14 2014 UTC (9 years, 10 months ago) by dlg
Branch: MAIN
Changes since 1.210: +5 -2 lines
Diff to previous 1.210 (colored)

introduce the if_rxr api. it is intended to pull the rx ring accounting
out of the mbuf layer, and break the assumption that an interface will
only have a single ring per mbuf cluster size.

mpi@ is ok with moving this forward

Revision 1.210 / (download) - annotate - [select for diffs], Mon Jun 30 21:48:09 2014 UTC (9 years, 11 months ago) by matthew
Branch: MAIN
Changes since 1.209: +3 -3 lines
Diff to previous 1.209 (colored)

Remove some dead functions from uvm.9:

uvm_fork() was removed by uvm_glue.c r1.65 (2014-05-15)

uvm_scheduler() was removed by uvm_glue.c r1.50 (2009-08-11)

uvm_swapin() was removed by uvm_glue.c r1.45 (2006-11-29)

RIP

Revision 1.209 / (download) - annotate - [select for diffs], Sat Apr 19 11:38:13 2014 UTC (10 years, 1 month ago) by henning
Branch: MAIN
Changes since 1.208: +1 -1 lines
Diff to previous 1.208 (colored)

bye bye

Revision 1.208 / (download) - annotate - [select for diffs], Thu Apr 10 13:47:21 2014 UTC (10 years, 1 month ago) by mpi
Branch: MAIN
Changes since 1.207: +7 -5 lines
Diff to previous 1.207 (colored)

Retire rtinit() an use rt_ifa_add(9) and rt_ifa_del(9) to manage
connected routes to prefixes/hosts.

Since the introduction of rt_ifa_addloop(9) and rt_ifa_delloop(9),
rtinit() was just a wrapper, so use the underlying functions
directly and document them.

Inputs from and ok mikeb@, manpage tweaks from jmc@

Revision 1.207 / (download) - annotate - [select for diffs], Thu Apr 3 03:57:42 2014 UTC (10 years, 2 months ago) by tedu
Branch: MAIN
Changes since 1.206: +2 -5 lines
Diff to previous 1.206 (colored)

lies lies lies lies lies

Revision 1.206 / (download) - annotate - [select for diffs], Wed Apr 2 13:10:48 2014 UTC (10 years, 2 months ago) by mpi
Branch: MAIN
Changes since 1.205: +6 -8 lines
Diff to previous 1.205 (colored)

Add a man page for rtrequest1(9) splitted from route(9) with some
improvements.

ok sthen@

Revision 1.205 / (download) - annotate - [select for diffs], Fri Mar 21 10:44:42 2014 UTC (10 years, 2 months ago) by mpi
Branch: MAIN
Changes since 1.204: +3 -2 lines
Diff to previous 1.204 (colored)

rt_timer* spring cleanup.

Rename and document rt_timer_count() into rt_timer_queue_count() to
be consistent with the other functions.  Remove unused argument from
rt_timer_queue_destroy(), clean the definitions and finally use the
same order in NAME and DESCRIPTION as requested by jmc@.

ok henning@

Revision 1.204 / (download) - annotate - [select for diffs], Tue Mar 18 10:47:34 2014 UTC (10 years, 2 months ago) by mpi
Branch: MAIN
Changes since 1.203: +3 -3 lines
Diff to previous 1.203 (colored)

Rename rt_gettable() into rtable_get(), swap its arguments to be
coherent with the existing rtable_* functions and document it.

While here fix some other manpage glitches pointed out by jmc@.

Revision 1.203 / (download) - annotate - [select for diffs], Tue Mar 18 09:01:11 2014 UTC (10 years, 2 months ago) by mpi
Branch: MAIN
Changes since 1.202: +12 -10 lines
Diff to previous 1.202 (colored)

Split route(9) into various manuals to make it easier to complete/improve
its content.

With inputs from jmc@ and schwarze@

Revision 1.202 / (download) - annotate - [select for diffs], Fri Mar 14 10:47:21 2014 UTC (10 years, 2 months ago) by dlg
Branch: MAIN
Changes since 1.201: +6 -2 lines
Diff to previous 1.201 (colored)

provide an MI api for doing byteswapping loads and stores. some
archs have instrutions that can do this, and the rest that dont get
to use wrappers around the byteswap(3) api.

this provides MI backends for sparc64 and powerpc which get a big
benefit from this because byteswapping in registers is really hard
for them.

the intended use case is for reading and writing bits of dma memory
handed to and from hardware.

discussed with miod@ guenther@ deraadt@
ok miod@ kettenis@

Revision 1.201 / (download) - annotate - [select for diffs], Sun Feb 9 15:40:24 2014 UTC (10 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.200: +3 -2 lines
Diff to previous 1.200 (colored)

MLINK extent_alloc_with_descr;

Revision 1.200 / (download) - annotate - [select for diffs], Tue Feb 4 20:55:22 2014 UTC (10 years, 3 months ago) by dlg
Branch: MAIN
Changes since 1.199: +5 -4 lines
Diff to previous 1.199 (colored)

rename atomic.9 to atomic_setbits_int.9 since the former isn't a function
you can call.

discussed briefly with jmc@ who i might have misinterpreted.

Revision 1.199 / (download) - annotate - [select for diffs], Mon Feb 3 07:03:04 2014 UTC (10 years, 3 months ago) by dlg
Branch: MAIN
Changes since 1.198: +20 -15 lines
Diff to previous 1.198 (colored)

rename the atomic_foo manpages to atomic_foo_int or _uint cos we name these
after functions. for reasons.

reminded by jmc@

Revision 1.198 / (download) - annotate - [select for diffs], Mon Feb 3 06:51:22 2014 UTC (10 years, 3 months ago) by dlg
Branch: MAIN
Changes since 1.197: +5 -6 lines
Diff to previous 1.197 (colored)

rename membar.9 to membar_sync.9 because manpages have to be named after
functions FOR REASONS.

reminded by jmc@

Revision 1.197 / (download) - annotate - [select for diffs], Thu Jan 30 09:45:36 2014 UTC (10 years, 4 months ago) by dlg
Branch: MAIN
Changes since 1.196: +2 -2 lines
Diff to previous 1.196 (colored)

markus hennecke points out i had a trailing slash on a line that
shouldnt have one

Revision 1.196 / (download) - annotate - [select for diffs], Thu Jan 30 00:44:20 2014 UTC (10 years, 4 months ago) by dlg
Branch: MAIN
Changes since 1.195: +21 -5 lines
Diff to previous 1.195 (colored)

add an MI api for atomic ops in the kernel. this api has its origins in
solaris, but we found it via netbsd.

this provides an MI implementation by using gccs atomic builtins. if an
arch wants to provide a better implementation it can simply provide the
specific bit of the api it wants to replace as a macro.

we're being conservative with this API and only providing it in the
kernel, and only for uints, ulongs, and pointers.

discussed at n2k14 and with hackers at length.
ok kettenis@

Revision 1.195 / (download) - annotate - [select for diffs], Wed Jan 22 00:09:02 2014 UTC (10 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.194: +3 -2 lines
Diff to previous 1.194 (colored)

wakeup_n and wakeup_one blurbs

Revision 1.194 / (download) - annotate - [select for diffs], Tue Jan 21 21:46:54 2014 UTC (10 years, 4 months ago) by kettenis
Branch: MAIN
Changes since 1.193: +2 -2 lines
Diff to previous 1.193 (colored)

Document extent_alloc_subregion_with_descr(9).

Revision 1.193 / (download) - annotate - [select for diffs], Sun Dec 29 03:16:42 2013 UTC (10 years, 5 months ago) by guenther
Branch: MAIN
Changes since 1.192: +3 -2 lines
Diff to previous 1.192 (colored)

Add MLINK for db_vprintf(9)

Revision 1.192 / (download) - annotate - [select for diffs], Mon Dec 23 04:25:42 2013 UTC (10 years, 5 months ago) by dlg
Branch: MAIN
Changes since 1.191: +3 -2 lines
Diff to previous 1.191 (colored)

mlink TASK_INITIALIZER

Revision 1.191 / (download) - annotate - [select for diffs], Mon Dec 9 12:06:13 2013 UTC (10 years, 5 months ago) by dlg
Branch: MAIN
Changes since 1.190: +3 -2 lines
Diff to previous 1.190 (colored)

jmc has high expectations.

Revision 1.190 / (download) - annotate - [select for diffs], Mon Dec 9 03:14:30 2013 UTC (10 years, 5 months ago) by dlg
Branch: MAIN
Changes since 1.189: +3 -2 lines
Diff to previous 1.189 (colored)

basic documentation for MUTEX_INITIALIZER.

Revision 1.189 / (download) - annotate - [select for diffs], Thu Nov 28 14:54:18 2013 UTC (10 years, 6 months ago) by syl
Branch: MAIN
Changes since 1.188: +2 -2 lines
Diff to previous 1.188 (colored)

update fb_setup(9) to follow changes that occurs in struct fusebuf few
month ago. Add also a few words about fb_delete(9).

ok jmc@

Revision 1.188 / (download) - annotate - [select for diffs], Thu Oct 31 04:36:21 2013 UTC (10 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.187: +2 -2 lines
Diff to previous 1.187 (colored)

oops, wrong MLINK

Revision 1.187 / (download) - annotate - [select for diffs], Wed Oct 30 19:31:30 2013 UTC (10 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.186: +2 -3 lines
Diff to previous 1.186 (colored)

task_systq got removed;

Revision 1.186 / (download) - annotate - [select for diffs], Tue Oct 29 07:57:57 2013 UTC (10 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.185: +5 -4 lines
Diff to previous 1.185 (colored)

task_add tweaks; ok dlg

Revision 1.185 / (download) - annotate - [select for diffs], Tue Oct 29 05:14:20 2013 UTC (10 years, 7 months ago) by dlg
Branch: MAIN
Changes since 1.184: +6 -2 lines
Diff to previous 1.184 (colored)

wire task_add.9 in

Revision 1.184 / (download) - annotate - [select for diffs], Fri Sep 20 15:34:52 2013 UTC (10 years, 8 months ago) by mpi
Branch: MAIN
Changes since 1.183: +5 -2 lines
Diff to previous 1.183 (colored)

Unify and document usbd_transfer(9).

Get rid of the badly named usbd_bulk_transfer() and usbd_intr_transfer()
they were two identical wrappers to submit a synchronous transfer.

Now all synchronous transfers are submited using usbd_setup_xfer(9) and
usbd_transfer(9) explicitly using the USBD_CATCH flag when signals must
be checked.

Previous version ok'd by mglocker@, with subtle inputs from miod@

Revision 1.183 / (download) - annotate - [select for diffs], Thu Aug 8 06:41:06 2013 UTC (10 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.182: +4 -3 lines
Diff to previous 1.182 (colored)

rename fuse docs after existent functions;

Revision 1.182 / (download) - annotate - [select for diffs], Thu Jul 11 01:24:12 2013 UTC (10 years, 10 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.181: +2 -2 lines
Diff to previous 1.181 (colored)

document fls/flsl

Revision 1.181 / (download) - annotate - [select for diffs], Wed Jun 5 03:28:43 2013 UTC (10 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.180: +3 -3 lines
Diff to previous 1.180 (colored)

m_defrag(9) wasnt documented.

Revision 1.180 / (download) - annotate - [select for diffs], Mon Jun 3 16:06:42 2013 UTC (11 years ago) by tedu
Branch: MAIN
Changes since 1.179: +3 -3 lines
Diff to previous 1.179 (colored)

userland fuse support, but not attaching libfuse yet. ok beck deraadt
from Sylvestre Gallon ccna.syl gmail.com

Revision 1.179 / (download) - annotate - [select for diffs], Fri May 31 20:06:22 2013 UTC (11 years ago) by guenther
Branch: MAIN
Changes since 1.178: +3 -2 lines
Diff to previous 1.178 (colored)

lookup() and relookup() have 'vfs_' prefix
Document NDINITAT(), STRIPSLASHES, and ni_dirfd
Tweak some other markup to appear more consistent

ok matthew@ schwarze@ jmc@

Revision 1.178 / (download) - annotate - [select for diffs], Fri May 17 14:54:04 2013 UTC (11 years ago) by mpi
Branch: MAIN
Changes since 1.177: +3 -2 lines
Diff to previous 1.177 (colored)

Link m_dup_pkthdr(9) to mbuf(9)

ok blambert@, jmc@

Revision 1.177 / (download) - annotate - [select for diffs], Wed Apr 24 17:29:02 2013 UTC (11 years, 1 month ago) by matthew
Branch: MAIN
Changes since 1.176: +2 -1 lines
Diff to previous 1.176 (colored)

Add tstohz(9) as the timespec analog to tvtohz(9).

ok miod

Revision 1.176 / (download) - annotate - [select for diffs], Tue Jan 29 01:19:27 2013 UTC (11 years, 4 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.175: +7 -1 lines
Diff to previous 1.175 (colored)

document bus_space_{read,write}_raw_N(). needs some polishing...

Revision 1.175 / (download) - annotate - [select for diffs], Mon Jan 28 09:46:25 2013 UTC (11 years, 4 months ago) by dlg
Branch: MAIN
Changes since 1.174: +2 -2 lines
Diff to previous 1.174 (colored)

there is no untimeout function in our kernel

Revision 1.174 / (download) - annotate - [select for diffs], Mon Dec 10 13:03:54 2012 UTC (11 years, 5 months ago) by mpi
Branch: MAIN
Changes since 1.173: +2 -1 lines
Diff to previous 1.173 (colored)

Document bus_space_mmap(9) from NetBSD with some tweaks by jmc@.

Revision 1.173 / (download) - annotate - [select for diffs], Thu Sep 27 16:15:00 2012 UTC (11 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.172: +2 -2 lines
Diff to previous 1.172 (colored)

replace m_zero(9) with M_ZEROIZE; original diff from markus
ok mikeb markus

Revision 1.172 / (download) - annotate - [select for diffs], Mon Sep 17 05:50:53 2012 UTC (11 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.171: +2 -1 lines
Diff to previous 1.171 (colored)

document vdrop; original diff from Michal Mazurek
text rewrite/ok guenther

Revision 1.171 / (download) - annotate - [select for diffs], Thu Jun 21 18:02:21 2012 UTC (11 years, 11 months ago) by matthew
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.170: +3 -2 lines
Diff to previous 1.170 (colored)

link copy.9 to kcopy.9

Revision 1.170 / (download) - annotate - [select for diffs], Thu Apr 26 01:22:31 2012 UTC (12 years, 1 month ago) by matthew
Branch: MAIN
Changes since 1.169: +2 -1 lines
Diff to previous 1.169 (colored)

Add strnlen() to libkern.

ok deraadt

Revision 1.169 / (download) - annotate - [select for diffs], Thu Dec 8 20:58:49 2011 UTC (12 years, 5 months ago) by blambert
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.168: +15 -3 lines
Diff to previous 1.168 (colored)

Begin documenting the soup sandwich that is the kernel routing code.

Much handholding jmc@

ok jmc@ sthen@ claudio@

Revision 1.168 / (download) - annotate - [select for diffs], Fri Jul 29 12:59:28 2011 UTC (12 years, 10 months ago) by blambert
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.167: +2 -2 lines
Diff to previous 1.167 (colored)

Remove references to a function that no longer exists, reminded by claudio@

ok jmc@, claudio@

Revision 1.167 / (download) - annotate - [select for diffs], Sun May 22 03:46:11 2011 UTC (13 years ago) by deraadt
Branch: MAIN
Changes since 1.166: +2 -2 lines
Diff to previous 1.166 (colored)

fix pathname

Revision 1.166 / (download) - annotate - [select for diffs], Sat May 21 21:29:20 2011 UTC (13 years ago) by kettenis
Branch: MAIN
Changes since 1.165: +3 -2 lines
Diff to previous 1.165 (colored)

Document pci_intr_map_msi(9).

Revision 1.165 / (download) - annotate - [select for diffs], Tue Apr 5 21:37:07 2011 UTC (13 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.164: +3 -2 lines
Diff to previous 1.164 (colored)

add a man page for dma_alloc(9)

Revision 1.164 / (download) - annotate - [select for diffs], Mon Apr 4 11:26:51 2011 UTC (13 years, 2 months ago) by art
Branch: MAIN
Changes since 1.163: +4 -2 lines
Diff to previous 1.163 (colored)

Documentation for km_alloc and km_free

Revision 1.163 / (download) - annotate - [select for diffs], Tue Mar 8 00:13:41 2011 UTC (13 years, 2 months ago) by bluhm
Branch: MAIN
Changes since 1.162: +3 -2 lines
Diff to previous 1.162 (colored)

Add a kernel man page sosplice(9) for the socket splicing implementation.
ok jmc@

Revision 1.162 / (download) - annotate - [select for diffs], Sun Jan 9 02:26:31 2011 UTC (13 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.161: +2 -3 lines
Diff to previous 1.161 (colored)

Upon consideration, random(9) should definately not be documented. It
is not for use by other things (and is not used that way, typically very
MD).  Perhaps we should rename it to something else...

Revision 1.161 / (download) - annotate - [select for diffs], Sun Jan 9 02:21:42 2011 UTC (13 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.160: +3 -2 lines
Diff to previous 1.160 (colored)

kern(9) documents the kernel API srandom/random, which should only
be used by the scheduler.  we should rethink this; perhaps delete
them.

Revision 1.160 / (download) - annotate - [select for diffs], Sun Jan 9 00:06:50 2011 UTC (13 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.159: +11 -13 lines
Diff to previous 1.159 (colored)

update random(4) and arc4random(9) manual pages

Revision 1.159 / (download) - annotate - [select for diffs], Fri Sep 24 13:33:00 2010 UTC (13 years, 8 months ago) by matthew
Branch: MAIN
Changes since 1.158: +2 -2 lines
Diff to previous 1.158 (colored)

Add timingsafe_bcmp(3) to libc, mention that it's already in the
kernel in kern(9), and remove it from OpenSSH.

ok deraadt@, djm@

Revision 1.158 / (download) - annotate - [select for diffs], Sat Aug 7 20:30:21 2010 UTC (13 years, 9 months ago) by oga
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.157: +3 -2 lines
Diff to previous 1.157 (colored)

Document the mutex locking assert macros.

Requested by marco.

ok marco@, schwarze@ (who insists that manpages are still unlocked).

Revision 1.157 / (download) - annotate - [select for diffs], Sun Aug 1 14:21:10 2010 UTC (13 years, 10 months ago) by blambert
Branch: MAIN
Changes since 1.156: +4 -2 lines
Diff to previous 1.156 (colored)

document the rw_assert_ functions

ok jmc@

Revision 1.156 / (download) - annotate - [select for diffs], Tue Sep 8 06:01:41 2009 UTC (14 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.155: +2 -1 lines
Diff to previous 1.155 (colored)

MLINK mtx_enter_try

Revision 1.155 / (download) - annotate - [select for diffs], Wed Sep 2 14:17:22 2009 UTC (14 years, 9 months ago) by dlg
Branch: MAIN
Changes since 1.154: +2 -1 lines
Diff to previous 1.154 (colored)

workq_add_task.9

Revision 1.154 / (download) - annotate - [select for diffs], Mon Jul 20 14:55:50 2009 UTC (14 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.153: +4 -3 lines
Diff to previous 1.153 (colored)

- add MLINK for crypto_get_driverid.9
- fix MLINK typo for disk_detach.9

from Alan R. S. Bueno

Revision 1.153 / (download) - annotate - [select for diffs], Mon May 11 19:49:25 2009 UTC (15 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.152: +2 -3 lines
Diff to previous 1.152 (colored)

remove the mtx_enter_try() bits until the code goes back in;
ok weingart

Revision 1.152 / (download) - annotate - [select for diffs], Sat Apr 25 20:14:42 2009 UTC (15 years, 1 month ago) by weingart
Branch: MAIN
Changes since 1.151: +3 -2 lines
Diff to previous 1.151 (colored)

Enter mtx_enter_try.  In part for completeness, things may start
using this soon(ish).  Ok oga@, sorta yes kettenis@.

Revision 1.151 / (download) - annotate - [select for diffs], Tue Apr 21 19:30:14 2009 UTC (15 years, 1 month ago) by mk
Branch: MAIN
Changes since 1.150: +4 -2 lines
Diff to previous 1.150 (colored)

Document timeout_add_msec().

oga pointed out that it was undocumented, which caused me to find out
that I had this diff in my tree.

`fine' deraadt

Revision 1.150 / (download) - annotate - [select for diffs], Mon Mar 2 23:37:08 2009 UTC (15 years, 3 months ago) by blambert
Branch: MAIN
Changes since 1.149: +3 -3 lines
Diff to previous 1.149 (colored)

Remove MEXTMALLOC and MCHTYPE from mbuf.9, as they have not existed
for some time.

ok jmc@

Revision 1.149 / (download) - annotate - [select for diffs], Thu Jan 29 16:47:25 2009 UTC (15 years, 4 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.148: +6 -3 lines
Diff to previous 1.148 (colored)

Add some kernel socket documentation. Originally from FreeBSD with some
tweaks by me to match the OpenBSD reality. Additional help from jmc@
ja ja ja dlg@ and OK blambert@

Revision 1.148 / (download) - annotate - [select for diffs], Thu Jan 15 17:35:48 2009 UTC (15 years, 4 months ago) by oga
Branch: MAIN
Changes since 1.147: +2 -5 lines
Diff to previous 1.147 (colored)

Remove the pool_cache documentation and MLINKs, tedu removed the code at h2k7.

pool_set_ctordtor() (which can emulate what pool_cache_* did) still needs
documenting though.

tedu@ and jmc@ seemed to agree. "Do it. I command you!" blambert@

Revision 1.147 / (download) - annotate - [select for diffs], Sat Nov 29 02:39:30 2008 UTC (15 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.146: +4 -3 lines
Diff to previous 1.146 (colored)

document MCLGETI

Revision 1.146 / (download) - annotate - [select for diffs], Tue Nov 4 21:37:07 2008 UTC (15 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.145: +2 -3 lines
Diff to previous 1.145 (colored)

uvmspace_unshare() is never used; ok miod

Revision 1.145 / (download) - annotate - [select for diffs], Mon Oct 27 08:56:49 2008 UTC (15 years, 7 months ago) by dlg
Branch: MAIN
Changes since 1.144: +2 -2 lines
Diff to previous 1.144 (colored)

document pool_setipl.

with help from jmc@, thank you.

Revision 1.144 / (download) - annotate - [select for diffs], Tue Sep 2 21:42:05 2008 UTC (15 years, 9 months ago) by chl
Branch: MAIN
Changes since 1.143: +2 -2 lines
Diff to previous 1.143 (colored)

remove last bits of MALLOC/FREE

spotted by and initial patch from espie@, with inputs from jmc@

ok espie@ jmc@

Revision 1.143 / (download) - annotate - [select for diffs], Wed Jul 23 11:45:21 2008 UTC (15 years, 10 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.142: +5 -2 lines
Diff to previous 1.142 (colored)

Document the new timeout_add_* functions.

Revision 1.142 / (download) - annotate - [select for diffs], Tue Jun 10 10:31:33 2008 UTC (15 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.141: +2 -2 lines
Diff to previous 1.141 (colored)

oops

Revision 1.141 / (download) - annotate - [select for diffs], Tue Jun 10 09:16:15 2008 UTC (15 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.140: +3 -5 lines
Diff to previous 1.140 (colored)

rename man page to a function name that actually exists; requested by jmc

Revision 1.140 / (download) - annotate - [select for diffs], Mon Jun 9 22:50:12 2008 UTC (15 years, 11 months ago) by djm
Branch: MAIN
Changes since 1.139: +4 -1 lines
Diff to previous 1.139 (colored)

man page for crypto/idgen.h functions: idgen32() and idgen32_init()
ok deraadt@

Revision 1.139 / (download) - annotate - [select for diffs], Mon Jun 9 16:00:53 2008 UTC (15 years, 11 months ago) by djm
Branch: MAIN
Changes since 1.138: +2 -2 lines
Diff to previous 1.138 (colored)

man bits for arc4random_bytes => arc4random_buf rename; ok deraadt@

Revision 1.138 / (download) - annotate - [select for diffs], Sun Mar 2 21:29:06 2008 UTC (16 years, 3 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.137: +3 -2 lines
Diff to previous 1.137 (colored)

Add a arc4random_uniform() that returns a uniformly distributed number
in the range 0 <= x < upper_bound

Please use this new API instead of "arc4random() % upper_bound", as it
avoids the "modulo bias" that favours small results when upper_bound is
not a power of two.

feedback deraadt@ mcbride@; ok deraadt@

Revision 1.137 / (download) - annotate - [select for diffs], Wed Nov 28 23:24:07 2007 UTC (16 years, 6 months ago) by art
Branch: MAIN
Changes since 1.136: +2 -2 lines
Diff to previous 1.136 (colored)

<oga> art write me a manpage
<art> What? Write it yourself.
<oga> sudo art write me a manpage.
<art> ok

Document msleep(9).

Revision 1.136 / (download) - annotate - [select for diffs], Wed Nov 14 11:16:27 2007 UTC (16 years, 6 months ago) by mglocker
Branch: MAIN
Changes since 1.135: +4 -2 lines
Diff to previous 1.135 (colored)

Add ieee80211_rate2plcp() and ieee80211_plcp2rate() functions, which
convert the PLCP header signal field to a rate value and vice versa.

This implementation has been discussed with Damien and doesn't change
any existing net80211 structures.

ok damien@

Revision 1.135 / (download) - annotate - [select for diffs], Sat Nov 3 14:59:55 2007 UTC (16 years, 7 months ago) by mglocker
Branch: MAIN
Changes since 1.134: +2 -4 lines
Diff to previous 1.134 (colored)

Revert last commit which added ieee80211_rate2plcp() and
ieee80211_plcp2rate() because I've got a late feedback from Damien that
he dislike the implementation method a lot.

Revision 1.134 / (download) - annotate - [select for diffs], Thu Nov 1 22:34:19 2007 UTC (16 years, 7 months ago) by mglocker
Branch: MAIN
Changes since 1.133: +4 -2 lines
Diff to previous 1.133 (colored)

Add ieee80211_rate2plcp() and ieee80211_plcp2rate() functions.

Help and OK reyk@

Revision 1.133 / (download) - annotate - [select for diffs], Wed Oct 10 16:26:23 2007 UTC (16 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.132: +4 -4 lines
Diff to previous 1.132 (colored)

rename man page to a real function name

Revision 1.132 / (download) - annotate - [select for diffs], Wed Oct 10 16:21:29 2007 UTC (16 years, 7 months ago) by art
Branch: MAIN
Changes since 1.131: +2 -2 lines
Diff to previous 1.131 (colored)

Update to match cpu_switchto reality.

Revision 1.131 / (download) - annotate - [select for diffs], Tue Oct 2 17:29:44 2007 UTC (16 years, 8 months ago) by cnst
Branch: MAIN
Changes since 1.130: +4 -1 lines
Diff to previous 1.130 (colored)

add missing MLINKS section for iic(9);  'please commit this!' jmc@

Revision 1.130 / (download) - annotate - [select for diffs], Fri Sep 14 16:16:08 2007 UTC (16 years, 8 months ago) by mk
Branch: MAIN
Changes since 1.129: +3 -3 lines
Diff to previous 1.129 (colored)

sleep(9) was removed aeons ago according to miod, so remove references
to it.  Because man pages are named after functions (at least they
should be) and sleep(9) doesn't exist anymore, sleep.9 is renamed to
tsleep.9.

Input and reminders from jmc and ratchov.

Revision 1.129 / (download) - annotate - [select for diffs], Sat Jun 16 13:21:44 2007 UTC (16 years, 11 months ago) by damien
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.128: +1 -2 lines
Diff to previous 1.128 (colored)

ieee80211_lookup_node() does not exist.
remove prototype in .h and ref in man pages.

Revision 1.128 / (download) - annotate - [select for diffs], Thu May 31 21:41:41 2007 UTC (17 years ago) by dlg
Branch: MAIN
Changes since 1.127: +4 -2 lines
Diff to previous 1.127 (colored)

add a manpage for workq stuff.

thanks to jmc for tweaking it. im sure he'll find more changes to make soon

Revision 1.127 / (download) - annotate - [select for diffs], Wed May 9 19:31:14 2007 UTC (17 years ago) by claudio
Branch: MAIN
Changes since 1.126: +2 -3 lines
Diff to previous 1.126 (colored)

getbintime and getbinuptime are no longer so update the documentation as well.
OK deraadt@

Revision 1.126 / (download) - annotate - [select for diffs], Sat May 5 12:57:06 2007 UTC (17 years, 1 month ago) by art
Branch: MAIN
Changes since 1.125: +2 -2 lines
Diff to previous 1.125 (colored)

No more vn_access.

Revision 1.125 / (download) - annotate - [select for diffs], Sat May 5 12:46:32 2007 UTC (17 years, 1 month ago) by art
Branch: MAIN
Changes since 1.124: +2 -3 lines
Diff to previous 1.124 (colored)

disk_resetstat and disk_find are gone.

Revision 1.124 / (download) - annotate - [select for diffs], Fri May 4 22:20:48 2007 UTC (17 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored)

locc dies; spotted by miod

Revision 1.123 / (download) - annotate - [select for diffs], Fri Apr 27 10:06:56 2007 UTC (17 years, 1 month ago) by art
Branch: MAIN
Changes since 1.122: +4 -2 lines
Diff to previous 1.122 (colored)

Document atomic_{set,clear}bits_int.

Revision 1.122 / (download) - annotate - [select for diffs], Sun Feb 18 20:47:16 2007 UTC (17 years, 3 months ago) by mk
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.121: +6 -4 lines
Diff to previous 1.121 (colored)

Add aml_evalnode.9 along with the required MLINKS.

Prodded by deraadt which made me notice I'd forgotten to update MLINKS
as I added new functions.

Revision 1.121 / (download) - annotate - [select for diffs], Thu Jan 11 12:06:46 2007 UTC (17 years, 4 months ago) by art
Branch: MAIN
Changes since 1.120: +5 -3 lines
Diff to previous 1.120 (colored)

Document rw_enter and rw_exit.
Requested and ok by dlg@, ok jmc@

Revision 1.120 / (download) - annotate - [select for diffs], Thu Jan 11 09:17:03 2007 UTC (17 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.119: +6 -1 lines
Diff to previous 1.119 (colored)

MLINKS for functions described in mbuf_tags(9);

Revision 1.119 / (download) - annotate - [select for diffs], Thu Jan 11 09:10:37 2007 UTC (17 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.118: +36 -41 lines
Diff to previous 1.118 (colored)

clean up this Makefile;

Revision 1.118 / (download) - annotate - [select for diffs], Sat Dec 23 17:53:09 2006 UTC (17 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.117: +9 -5 lines
Diff to previous 1.117 (colored)

describe new functions to handle sensors; by Constantine A. Murenin

Revision 1.117 / (download) - annotate - [select for diffs], Mon Nov 27 17:00:09 2006 UTC (17 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.116: +5 -4 lines
Diff to previous 1.116 (colored)

document bio_register and bio_unregister

with help from jmc@

Revision 1.116 / (download) - annotate - [select for diffs], Sun Jul 2 11:54:10 2006 UTC (17 years, 11 months ago) by sturm
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.115: +4 -3 lines
Diff to previous 1.115 (colored)

document the vfs_busy class of functions

requested by and ok pedro, feedback jmc

Revision 1.115 / (download) - annotate - [select for diffs], Sat Jun 24 14:14:30 2006 UTC (17 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.114: +1 -3 lines
Diff to previous 1.114 (colored)

ieee80211_cfgget() and ieee80211_cfgset() are dead; ok jsg

Revision 1.114 / (download) - annotate - [select for diffs], Mon May 29 00:56:50 2006 UTC (18 years ago) by mk
Branch: MAIN
Changes since 1.113: +5 -1 lines
Diff to previous 1.113 (colored)

Install and MLINK sensor function man pages.

Revision 1.113 / (download) - annotate - [select for diffs], Sun May 7 20:24:45 2006 UTC (18 years ago) by pedro
Branch: MAIN
Changes since 1.112: +2 -2 lines
Diff to previous 1.112 (colored)

Pool drains are gone, okay tedu@

Revision 1.112 / (download) - annotate - [select for diffs], Thu Apr 20 20:32:31 2006 UTC (18 years, 1 month ago) by pedro
Branch: MAIN
Changes since 1.111: +4 -2 lines
Diff to previous 1.111 (colored)

Document the rwlock() API, okay deraadt@

Revision 1.111 / (download) - annotate - [select for diffs], Wed Jan 18 14:51:42 2006 UTC (18 years, 4 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.110: +7 -2 lines
Diff to previous 1.110 (colored)

internal sysctl functions and etc

Revision 1.110 / (download) - annotate - [select for diffs], Thu Jan 12 00:17:17 2006 UTC (18 years, 4 months ago) by dlg
Branch: MAIN
Changes since 1.109: +2 -2 lines
Diff to previous 1.109 (colored)

a manpage describing delay, for those of us who forget what its argument
means.

comments from various people, tweaks from jmc@
ok marco@

Revision 1.109 / (download) - annotate - [select for diffs], Sun Dec 4 19:08:33 2005 UTC (18 years, 6 months ago) by pedro
Branch: MAIN
Changes since 1.108: +5 -4 lines
Diff to previous 1.108 (colored)

Document vn_access(), okay jmc@

Revision 1.108 / (download) - annotate - [select for diffs], Tue Nov 15 11:41:26 2005 UTC (18 years, 6 months ago) by mickey
Branch: MAIN
Changes since 1.107: +7 -4 lines
Diff to previous 1.107 (colored)

pci_intr* page

Revision 1.107 / (download) - annotate - [select for diffs], Mon Nov 14 16:42:42 2005 UTC (18 years, 6 months ago) by mickey
Branch: MAIN
Changes since 1.106: +2 -1 lines
Diff to previous 1.106 (colored)

add pci_decompose_tag()

Revision 1.106 / (download) - annotate - [select for diffs], Mon Nov 14 14:30:21 2005 UTC (18 years, 6 months ago) by mickey
Branch: MAIN
Changes since 1.105: +3 -2 lines
Diff to previous 1.105 (colored)

a quick page for pci_conf_read/write/make_tag

Revision 1.105 / (download) - annotate - [select for diffs], Sun Oct 30 20:02:24 2005 UTC (18 years, 7 months ago) by pedro
Branch: MAIN
Changes since 1.104: +5 -5 lines
Diff to previous 1.104 (colored)

Man page for VOP_GETATTR/VOP_SETATTR vnode operations.
Usual tweaking by jaredy@ and jmc@, thanks.

Revision 1.104 / (download) - annotate - [select for diffs], Fri Sep 30 18:48:58 2005 UTC (18 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.103: +2 -2 lines
Diff to previous 1.103 (colored)

uvm_useracc() was removed -r1.24 (man): remove its MLINK too;

Revision 1.103 / (download) - annotate - [select for diffs], Fri Sep 30 18:35:26 2005 UTC (18 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored)

splsoftserial() was renamed to splsofttty() in -r1.4 (man): remove MLINK
splimp() was renamed to splvm() in -r1.9 (man): remove MLINK

Revision 1.102 / (download) - annotate - [select for diffs], Fri Sep 30 18:02:53 2005 UTC (18 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.101: +5 -4 lines
Diff to previous 1.101 (colored)

add MLINKS for pool_set_drain_hook.9 and pool_sethardlimit.9;

Revision 1.101 / (download) - annotate - [select for diffs], Fri Sep 30 17:53:27 2005 UTC (18 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.100: +2 -2 lines
Diff to previous 1.100 (colored)

m_retry() and m_retryhdr disappeared -r1.9 of the man page;
remove there MLINKS here too;

Revision 1.100 / (download) - annotate - [select for diffs], Fri Sep 30 17:50:48 2005 UTC (18 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.99: +2 -2 lines
Diff to previous 1.99 (colored)

remove duplicate MLINK for extent_free.9

Revision 1.99 / (download) - annotate - [select for diffs], Mon Aug 1 05:31:49 2005 UTC (18 years, 10 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.98: +3 -2 lines
Diff to previous 1.98 (colored)

expose arc4random_bytes() API; ok deraadt@

Revision 1.98 / (download) - annotate - [select for diffs], Sat Jun 18 00:25:05 2005 UTC (18 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.97: +3 -3 lines
Diff to previous 1.97 (colored)

remove MLINKS for VOP_GETEXTATTR(9) and VOP_SETEXTATTR(9);

Revision 1.97 / (download) - annotate - [select for diffs], Fri Jun 17 20:49:27 2005 UTC (18 years, 11 months ago) by drahn
Branch: MAIN
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored)

Extended Attributes was a piece to get to ACLs, however ACLs have not
been worked on, so EA is pointless to maintain.

Revision 1.96 / (download) - annotate - [select for diffs], Fri Jun 17 15:18:55 2005 UTC (18 years, 11 months ago) by jaredy
Branch: MAIN
Changes since 1.95: +6 -2 lines
Diff to previous 1.95 (colored)

document the VFS name cache.

lots of parts/help from and ok pedro joris jmc

Revision 1.95 / (download) - annotate - [select for diffs], Thu Jun 9 02:59:12 2005 UTC (18 years, 11 months ago) by jaredy
Branch: MAIN
Changes since 1.94: +24 -15 lines
Diff to previous 1.94 (colored)

- add documentation for remaining vnode operations
- improve page layout
- add MLINKS to, sort, and fix some typos in the Makefile

help & ok marius, tedu, pedro, jmc

Revision 1.94 / (download) - annotate - [select for diffs], Wed Jun 1 10:20:25 2005 UTC (19 years ago) by pedro
Branch: MAIN
Changes since 1.93: +3 -4 lines
Diff to previous 1.93 (colored)

VOP_WHITEOUT() is gone, okay jmc@

Revision 1.93 / (download) - annotate - [select for diffs], Fri May 27 22:31:47 2005 UTC (19 years ago) by marius
Branch: MAIN
Changes since 1.92: +9 -4 lines
Diff to previous 1.92 (colored)

add vnsubr(9) from NetBSD.  add the more detailed vn_lock(9) text to it
and remove vn_lock.

ok tedu@

Revision 1.92 / (download) - annotate - [select for diffs], Tue May 10 04:38:45 2005 UTC (19 years ago) by msf
Branch: MAIN
Changes since 1.91: +2 -2 lines
Diff to previous 1.91 (colored)

- link mtod(9) to mbuf(9)

ok brad@ deraadt@ miod@

Revision 1.91 / (download) - annotate - [select for diffs], Mon Apr 4 12:48:42 2005 UTC (19 years, 2 months ago) by jsg
Branch: MAIN
Changes since 1.90: +51 -2 lines
Diff to previous 1.90 (colored)

Some documentation for the 802.11 stack written by
Bruce M. Simpson and Darron Broad for FreeBSD, adapted to reflect
the state of our stack.  Help from and ok jmc@

Revision 1.90 / (download) - annotate - [select for diffs], Tue Mar 1 19:22:10 2005 UTC (19 years, 3 months ago) by damien
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.89: +7 -2 lines
Diff to previous 1.89 (colored)

import rssadapt man page from NetBSD.
ok jmc@ millert@ jsg@ deraadt@

Revision 1.89 / (download) - annotate - [select for diffs], Fri Feb 18 16:15:32 2005 UTC (19 years, 3 months ago) by pedro
Branch: MAIN
Changes since 1.88: +3 -2 lines
Diff to previous 1.88 (colored)

Manual page for the mutex set of functions. Okay jmc@ and art@.

Revision 1.88 / (download) - annotate - [select for diffs], Sat Dec 18 14:26:03 2004 UTC (19 years, 5 months ago) by grange
Branch: MAIN
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored)

Add tc_init(9) page, a description of the timecounters. With some
help from jmc@.

Revision 1.87 / (download) - annotate - [select for diffs], Fri Dec 17 17:32:02 2004 UTC (19 years, 5 months ago) by jaredy
Branch: MAIN
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored)

Add watchdog API documentation, from Michael Knudsen, with tweaks.  ok grange jmc

Revision 1.86 / (download) - annotate - [select for diffs], Tue Nov 30 14:47:59 2004 UTC (19 years, 6 months ago) by pedro
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored)

breada() is gone, help and ok jmc@

Revision 1.85 / (download) - annotate - [select for diffs], Sun Nov 28 02:29:16 2004 UTC (19 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.84: +6 -3 lines
Diff to previous 1.84 (colored)

document the mountroothooks

Revision 1.84 / (download) - annotate - [select for diffs], Mon Nov 22 04:32:38 2004 UTC (19 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored)

loadfirmware() man page, sick of mickey

Revision 1.83 / (download) - annotate - [select for diffs], Tue Nov 2 22:50:26 2004 UTC (19 years, 7 months ago) by jaredy
Branch: MAIN
Changes since 1.82: +3 -2 lines
Diff to previous 1.82 (colored)

plug evcount.9 into build

Revision 1.82 / (download) - annotate - [select for diffs], Wed Sep 22 21:26:02 2004 UTC (19 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.81: +8 -3 lines
Diff to previous 1.81 (colored)

buffercache.9 man page from netbsd, ported by sven dehmlow, +mlinks;
some tidy up from myself;

ok tedu@ deraadt@

Revision 1.81 / (download) - annotate - [select for diffs], Sun Sep 19 23:22:29 2004 UTC (19 years, 8 months ago) by jaredy
Branch: MAIN
Changes since 1.80: +5 -4 lines
Diff to previous 1.80 (colored)

add vflushbuf.9 and vwakeup.9

Revision 1.80 / (download) - annotate - [select for diffs], Wed Jul 7 16:53:51 2004 UTC (19 years, 10 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.79: +7 -1 lines
Diff to previous 1.79 (colored)

Document the [get]{micro,nano,bin}[up]time functions.
jmc@ tholo@ miod@ ok

Revision 1.79 / (download) - annotate - [select for diffs], Sat Jul 3 00:56:38 2004 UTC (19 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored)

typo; Jared

Revision 1.78 / (download) - annotate - [select for diffs], Sun May 23 18:37:06 2004 UTC (20 years ago) by grange
Branch: MAIN
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored)

iic(4) and iic(9) man pages for I2C framework.
iic(9) page was written by Jason Thorpe but, surprisingly,
wasn't commited to NetBSD (r).

Revision 1.77 / (download) - annotate - [select for diffs], Mon Feb 9 19:21:52 2004 UTC (20 years, 3 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.76: +7 -2 lines
Diff to previous 1.76 (colored)

help makewhatis produce correct entries.
okay deraadt@

Revision 1.76 / (download) - annotate - [select for diffs], Fri Jul 25 03:29:39 2003 UTC (20 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.75: +2 -3 lines
Diff to previous 1.75 (colored)

oops

Revision 1.75 / (download) - annotate - [select for diffs], Fri Jul 25 02:27:33 2003 UTC (20 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.74: +13 -12 lines
Diff to previous 1.74 (colored)

change things back.  (another note: with this change, suddenly there was
no VOP_LOOKUP(9) page at all.. geez)

Revision 1.74 / (download) - annotate - [select for diffs], Thu Jul 24 20:15:44 2003 UTC (20 years, 10 months ago) by mickey
Branch: MAIN
Changes since 1.73: +23 -17 lines
Diff to previous 1.73 (colored)

rename VOP_LOOKUP.9 into vnodeops.9 for nicer xreffing.
a few pages i wrote being high on acetyl salicylic acid.
vfs(9) from netbsd.

Revision 1.73 / (download) - annotate - [select for diffs], Mon Jul 21 21:00:49 2003 UTC (20 years, 10 months ago) by mickey
Branch: MAIN
Changes since 1.72: +4 -2 lines
Diff to previous 1.72 (colored)

knote/KNOTE from netbsd

Revision 1.72 / (download) - annotate - [select for diffs], Fri Jun 13 01:21:34 2003 UTC (20 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.71: +11 -9 lines
Diff to previous 1.71 (colored)

some missing links for VOP*

Revision 1.71 / (download) - annotate - [select for diffs], Wed Jun 11 17:34:35 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.70: +4 -5 lines
Diff to previous 1.70 (colored)

fix links

Revision 1.70 / (download) - annotate - [select for diffs], Thu Apr 17 13:41:30 2003 UTC (21 years, 1 month ago) by mickey
Branch: MAIN
Changes since 1.69: +13 -12 lines
Diff to previous 1.69 (colored)

his is wrong

Revision 1.69 / (download) - annotate - [select for diffs], Thu Apr 17 10:44:48 2003 UTC (21 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.68: +11 -12 lines
Diff to previous 1.68 (colored)

- random.9 changed to arc4random.9
- MLINKS updated to point to arc4random.9
- random.9 remains as link to kern.9

ok miod@

Revision 1.68 / (download) - annotate - [select for diffs], Wed Apr 16 07:34:57 2003 UTC (21 years, 1 month ago) by mickey
Branch: MAIN
Changes since 1.67: +30 -16 lines
Diff to previous 1.67 (colored)

uncomment the bus_space_vaddr() since at least sparc64 has it

Revision 1.67 / (download) - annotate - [select for diffs], Wed Mar 12 13:06:18 2003 UTC (21 years, 2 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.66: +8 -6 lines
Diff to previous 1.66 (colored)

add VOP_CREATE, VOP_LINK, VOP_READLINK, VOP_SYMLINK

add some implementation notes for file system authors

ok jmc@

Revision 1.66 / (download) - annotate - [select for diffs], Wed Mar 12 09:41:14 2003 UTC (21 years, 2 months ago) by tedu
Branch: MAIN
Changes since 1.65: +4 -2 lines
Diff to previous 1.65 (colored)

add VOP_FSYNC, VOP_ISLOCKED, and VOP_REMOVE
only 28 more to go!

ok jmc@

Revision 1.65 / (download) - annotate - [select for diffs], Tue Mar 11 20:28:33 2003 UTC (21 years, 2 months ago) by tedu
Branch: MAIN
Changes since 1.64: +7 -1 lines
Diff to previous 1.64 (colored)

VOP_LOCK, VOP_UNLOCK, VOP_RMDIR, VOP_MKDIR, VOP_SETEXTATTR, VOP_GETEXTATTR,
VOP_REVOKE, VOP_RECLAIM

looked over and input from art@ david@ jmc@

Revision 1.64 / (download) - annotate - [select for diffs], Mon Mar 10 20:20:29 2003 UTC (21 years, 2 months ago) by tedu
Branch: MAIN
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored)

add a man page for the VOP functions.  currently only describes the
general idea and VOP_LOOKUP.

ok costa@ deraadt@ jmc@

Revision 1.63 / (download) - annotate - [select for diffs], Sat Mar 8 23:17:18 2003 UTC (21 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.62: +24 -2 lines
Diff to previous 1.62 (colored)

.Xr's for section9:

- MLINKS for uvm stuff
- MLINK vgone.9 vgonel.9
- typos
- fixed SYNOPSIS of extattr(9)

lots of help from miod and art
ok miod@ art@

Revision 1.62 / (download) - annotate - [select for diffs], Sat Jan 11 06:21:07 2003 UTC (21 years, 4 months ago) by wcobb
Branch: MAIN
Changes since 1.61: +2 -7 lines
Diff to previous 1.61 (colored)

Remove the vm_* manpages, these functions were replaced in uvm.
ok art@

Revision 1.61 / (download) - annotate - [select for diffs], Fri Jan 10 03:23:01 2003 UTC (21 years, 4 months ago) by kjc
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

fix breakage in the previous commit

Revision 1.60 / (download) - annotate - [select for diffs], Thu Jan 9 22:29:32 2003 UTC (21 years, 4 months ago) by miod
Branch: MAIN
Changes since 1.59: +3 -7 lines
Diff to previous 1.59 (colored)

Remove fetch(9) and store(9) manual pages and references to them.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Dec 9 09:09:32 2002 UTC (21 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.58: +5 -4 lines
Diff to previous 1.58 (colored)

MLINK more pages; openbsd@davidkrause.com

Revision 1.58 / (download) - annotate - [select for diffs], Mon Sep 2 03:54:14 2002 UTC (21 years, 9 months ago) by wcobb
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.57: +11 -3 lines
Diff to previous 1.57 (colored)

Add pmap.9 and some links; ok art@

Revision 1.57 / (download) - annotate - [select for diffs], Tue Aug 27 01:16:58 2002 UTC (21 years, 9 months ago) by wcobb
Branch: MAIN
Changes since 1.56: +10 -3 lines
Diff to previous 1.56 (colored)

Add autoconf(9) and some links; ok art@

Revision 1.56 / (download) - annotate - [select for diffs], Sat Aug 24 03:34:20 2002 UTC (21 years, 9 months ago) by wcobb
Branch: MAIN
Changes since 1.55: +12 -2 lines
Diff to previous 1.55 (colored)

Add kern(9) and some links. ok art@

Revision 1.55 / (download) - annotate - [select for diffs], Fri Aug 23 15:22:51 2002 UTC (21 years, 9 months ago) by art
Branch: MAIN
Changes since 1.54: +4 -2 lines
Diff to previous 1.54 (colored)

Document various file descriptor access functoins in the kernel.

Revision 1.54 / (download) - annotate - [select for diffs], Fri Aug 16 17:51:44 2002 UTC (21 years, 9 months ago) by jason
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

Man page for rasops from NetBSD

Revision 1.53 / (download) - annotate - [select for diffs], Mon Jul 1 01:45:00 2002 UTC (21 years, 11 months ago) by art
Branch: MAIN
Changes since 1.52: +9 -5 lines
Diff to previous 1.52 (colored)

MLINKS for lock.9 (and spl.9 -> splassert.9)

Revision 1.52 / (download) - annotate - [select for diffs], Fri Jun 21 07:40:14 2002 UTC (21 years, 11 months ago) by weingart
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

Add hash(9) and hashinit(9).

Revision 1.51 / (download) - annotate - [select for diffs], Wed Jun 12 02:39:28 2002 UTC (21 years, 11 months ago) by provos
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

oops. forgot to add lock to Makefile

Revision 1.50 / (download) - annotate - [select for diffs], Sun May 26 09:32:58 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.49: +31 -6 lines
Diff to previous 1.49 (colored)

more MLINKS

Revision 1.49 / (download) - annotate - [select for diffs], Wed May 15 20:10:32 2002 UTC (22 years ago) by millert
Branch: MAIN
Changes since 1.48: +3 -2 lines
Diff to previous 1.48 (colored)

uimove(9) from NetBSD with minor changes for OpenBSD.  We should
consider changing the size parameter to uiomove() from int to size_t.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Feb 28 19:22:05 2002 UTC (22 years, 3 months ago) by csapuntz
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.47: +4 -2 lines
Diff to previous 1.47 (colored)

Check in some new vnode man page from FreeBSD. Thanks to Peter Werner

Revision 1.47 / (download) - annotate - [select for diffs], Fri Feb 22 21:13:18 2002 UTC (22 years, 3 months ago) by drahn
Branch: MAIN
Changes since 1.46: +2 -1 lines
Diff to previous 1.46 (colored)

Extended Attribute support, from FreeBSD/TrustedBSD. ok art@ deraadt@

Revision 1.46 / (download) - annotate - [select for diffs], Fri Feb 15 02:01:01 2002 UTC (22 years, 3 months ago) by art
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Document tvtohz.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Dec 6 10:48:59 2001 UTC (22 years, 6 months ago) by mickey
Branch: MAIN
Changes since 1.44: +1 -3 lines
Diff to previous 1.44 (colored)

oops, local change escaped

Revision 1.44 / (download) - annotate - [select for diffs], Thu Dec 6 10:46:38 2001 UTC (22 years, 6 months ago) by mickey
Branch: MAIN
Changes since 1.43: +15 -10 lines
Diff to previous 1.43 (colored)

fix MLINKS for mbuf(9)

Revision 1.43 / (download) - annotate - [select for diffs], Thu Dec 6 10:08:47 2001 UTC (22 years, 6 months ago) by jjbg
Branch: MAIN
Changes since 1.42: +10 -2 lines
Diff to previous 1.42 (colored)

mbuf(9) man page. Thanks for art@ and mpech@ corrections.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Oct 4 22:33:49 2001 UTC (22 years, 8 months ago) by gluk
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

Radio drivers and interfaces manuals.

From Vladimir Popov <jumbo@narod.ru> and Maxim Tsyplakov <tm@oganer.net>

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jul 27 09:55:07 2001 UTC (22 years, 10 months ago) by niklas
Branch: MAIN
Changes since 1.40: +14 -8 lines
Diff to previous 1.40 (colored)

Startup hooks.  Can be used for providing root/swap devices from device
systems which want configuration to finish late, like I2O.  Implemented via
a general hooks mechanism which the shutdown hooks have been converted to
use as well.  It even has manpages!

Revision 1.40 / (download) - annotate - [select for diffs], Mon Jul 16 20:54:58 2001 UTC (22 years, 10 months ago) by krw
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

Oops. May as well install new hardclock.9

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jul 12 12:15:59 2001 UTC (22 years, 10 months ago) by kjc
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

enable altq.9

Revision 1.38 / (download) - annotate - [select for diffs], Wed Jun 27 18:45:10 2001 UTC (22 years, 11 months ago) by art
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Correct the MLINKS for pool

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jun 25 05:07:47 2001 UTC (22 years, 11 months ago) by angelos
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Add mbuf_tags.9

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jun 20 16:47:32 2001 UTC (22 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

physio(9) from NetBSD

Revision 1.35 / (download) - annotate - [select for diffs], Fri Mar 16 02:32:48 2001 UTC (23 years, 2 months ago) by csapuntz
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.34: +3 -2 lines
Diff to previous 1.34 (colored)

vwaitforio

Revision 1.34 / (download) - annotate - [select for diffs], Thu Mar 15 23:21:39 2001 UTC (23 years, 2 months ago) by csapuntz
Branch: MAIN
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored)

Document timeout_triggered

Revision 1.33 / (download) - annotate - [select for diffs], Sat Mar 10 06:44:17 2001 UTC (23 years, 2 months ago) by csapuntz
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Man page on vn_lock

Revision 1.32 / (download) - annotate - [select for diffs], Mon Feb 26 21:15:50 2001 UTC (23 years, 3 months ago) by aaron
Branch: MAIN
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored)

Resolve broken MLINKS found by espie's script.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Feb 25 20:16:00 2001 UTC (23 years, 3 months ago) by krw
Branch: MAIN
Changes since 1.30: +35 -1 lines
Diff to previous 1.30 (colored)

Oops. Add MLINKS for bus_space and bus_dma functions. Pointed out by espie@.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Feb 24 02:07:34 2001 UTC (23 years, 3 months ago) by csapuntz
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Add a vnode man page

Revision 1.29 / (download) - annotate - [select for diffs], Thu Feb 22 00:55:21 2001 UTC (23 years, 3 months ago) by krw
Branch: MAIN
Changes since 1.28: +3 -2 lines
Diff to previous 1.28 (colored)

Add bus_dma.9 and bus_space.9

Revision 1.28 / (download) - annotate - [select for diffs], Mon Nov 20 08:00:05 2000 UTC (23 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored)

various Xr fixes; nordin@cse.ogi.edu

Revision 1.27 / (download) - annotate - [select for diffs], Thu Nov 9 16:17:01 2000 UTC (23 years, 6 months ago) by mickey
Branch: MAIN
Changes since 1.26: +7 -6 lines
Diff to previous 1.26 (colored)

add uvm(9) from netbsd; as a side effect increase art's guilt factor ;)

Revision 1.26 / (download) - annotate - [select for diffs], Mon Oct 16 14:43:35 2000 UTC (23 years, 7 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.25: +1 -3 lines
Diff to previous 1.25 (colored)

no, bad costa and bad theo

Revision 1.25 / (download) - annotate - [select for diffs], Mon Oct 16 14:18:00 2000 UTC (23 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored)

i386 subdir; wilfried@commentor.se

Revision 1.24 / (download) - annotate - [select for diffs], Tue Oct 10 13:40:45 2000 UTC (23 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored)

manpage for ppsratecheck(9)

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jul 1 14:45:44 2000 UTC (23 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.22: +5 -4 lines
Diff to previous 1.22 (colored)

Add man pages for the kernel power hook mechanisms.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Apr 28 05:54:07 2000 UTC (24 years, 1 month ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Add crypto.9

Revision 1.21 / (download) - annotate - [select for diffs], Thu Apr 27 18:29:26 2000 UTC (24 years, 1 month ago) by mickey
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

audio(9) from netbsd, seems to match pretty well

Revision 1.20 / (download) - annotate - [select for diffs], Wed Apr 26 21:21:38 2000 UTC (24 years, 1 month ago) by mickey
Branch: MAIN
Changes since 1.19: +5 -2 lines
Diff to previous 1.19 (colored)

pool manipulation routines; second take

Revision 1.19 / (download) - annotate - [select for diffs], Wed Apr 26 20:44:50 2000 UTC (24 years, 1 month ago) by mickey
Branch: MAIN
Changes since 1.18: +5 -2 lines
Diff to previous 1.18 (colored)

disklabel manipulation routines page from netbsd w/ some adjustments; no history section

Revision 1.18 / (download) - annotate - [select for diffs], Wed Apr 26 19:41:20 2000 UTC (24 years, 1 month ago) by mickey
Branch: MAIN
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

mi_switch(), cpu_switch() page from netbsd w/ small addition by me; second try

Revision 1.17 / (download) - annotate - [select for diffs], Tue Apr 25 16:51:18 2000 UTC (24 years, 1 month ago) by espie
Branch: MAIN
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored)

Missing MLINKS

Revision 1.16 / (download) - annotate - [select for diffs], Thu Mar 23 10:11:52 2000 UTC (24 years, 2 months ago) by art
Branch: MAIN
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

Install links for the new timeout API.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Mar 17 22:24:27 2000 UTC (24 years, 2 months ago) by jakob
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

ratecheck - function to help implement rate-limited actions (from NetBSD)
ok art@

Revision 1.14 / (download) - annotate - [select for diffs], Wed Sep 22 09:54:37 1999 UTC (24 years, 8 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.13: +6 -93 lines
Diff to previous 1.13 (colored)

REVERT TO PREVIOUS STATE OF AFFAIR.

If those pages are different from the NetBSD version, maybe there's a
reason ?

Like, possibly, I just read our source code, which just happens to do
things in DIFFERENT ways than NetBSD does ?

As far as the added pages go, they obviously haven't been checked against
actual code as well, hence they're worse than useless, since a large part
of the information is definitely misleading.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Sep 22 03:16:46 1999 UTC (24 years, 8 months ago) by csapuntz
Branch: MAIN
Changes since 1.12: +94 -7 lines
Diff to previous 1.12 (colored)



Add/update some man9 pages from NetBSD

Revision 1.12 / (download) - annotate - [select for diffs], Sun Sep 5 16:23:11 1999 UTC (24 years, 9 months ago) by espie
Branch: MAIN
Changes since 1.11: +11 -3 lines
Diff to previous 1.11 (colored)

New man pages, adapted from NetBSD.
Add corresponding cross-references.
Missed some uses of .Dv.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Sep 2 17:24:35 1999 UTC (24 years, 9 months ago) by espie
Branch: MAIN
Changes since 1.10: +7 -3 lines
Diff to previous 1.10 (colored)

More manpages.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Sep 1 20:52:11 1999 UTC (24 years, 9 months ago) by espie
Branch: MAIN
Changes since 1.9: +11 -7 lines
Diff to previous 1.9 (colored)

Import some documentation from NetBSD, after checking that details match.

hz.9 and hzto.9 from scratch

Revision 1.9 / (download) - annotate - [select for diffs], Thu Aug 19 08:12:10 1999 UTC (24 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

From FreeBSD with changes from /usr/share/misc/style

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jun 18 01:51:11 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

malloc(9) man page wasn't being built; shinobi@monkey.org

Revision 1.7 / (download) - annotate - [select for diffs], Thu May 29 15:26:27 1997 UTC (27 years ago) by kstailey
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.6: +8 -4 lines
Diff to previous 1.6 (colored)

build-n-install panic and spl man pages

Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 18 04:29:49 1996 UTC (27 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

rnd -> random

Revision 1.5 / (download) - annotate - [select for diffs], Wed Apr 17 21:40:12 1996 UTC (28 years, 1 month ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

Initial commit of manual page.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Mar 29 13:42:59 1996 UTC (28 years, 2 months ago) by mickey
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Initial commit of random data source devices' manual.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 11 13:04:48 1996 UTC (28 years, 2 months ago) by mickey
Branch: MAIN
Changes since 1.2: +9 -2 lines
Diff to previous 1.2 (colored)

New pages for VM interface.
Introduction need to be expanded.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jan 11 17:48:19 1996 UTC (28 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +12 -3 lines
Diff to previous 1.1 (colored)

from netbsd; new pages

Revision 1.1 / (download) - annotate - [select for diffs], Sat Dec 16 15:06:57 1995 UTC (28 years, 5 months ago) by deraadt
Branch: MAIN

update from netbsd

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.