summaryrefslogtreecommitdiff
path: root/share/man/man9
AgeCommit message (Collapse)Author
2022-09-11.Li -> .Vt where appropriate;Jason McIntyre
from josiah frentsos, tweaked by schwarze ok schwarze
2022-09-10fix repeated wordsJonathan Gray
ok miod@ jmc@
2022-09-10remove apostrophe on possesive itsJonathan Gray
ok jmc@
2022-09-07ansiJonathan Gray
2022-08-04change some 4.4BSD references to earlier releasesJonathan Gray
ok schwarze@
2022-07-31typoDenis Fondras
2022-07-27srp_finalize() takes two parameter, but only one was documented.Alexander Bluhm
OK jmatthew@
2022-06-26Remove unused VOP_POLL().Visa Hankala
OK mpi@
2022-06-22Document a locking constraint that applies to barriers.Visa Hankala
OK cheloha@
2022-04-30Enforce proper memory ordering in refcnt_rele() and refcnt_finalize()Visa Hankala
Make refcnt_rele() and refcnt_finalize() order memory operations so that preceding loads and stores happen before 1->0 transition. Also ensure that loads and stores that depend on the transition really begin only after the transition has occurred. Otherwise the object destructor might not see the object's latest state. OK bluhm@
2022-04-19document the bits of the kstat struct that providers work with.David Gwynne
the kstat api is a small part of implementing a kstat, most of it depends on how you set up the kstat struct.
2022-04-19remove a comment saying we might want kstat_remove.David Gwynne
we did want it, so it's there and documented.
2022-03-31man pages: add missing commas between subordinate and main clausesChristian Weisgerber
jmc@ dislikes a comma before "then" in a conditional, so leave those untouched. ok jmc@
2022-03-30Mention constification of *_hw_if (files forgotten during constificationMiod Vallat
commit)
2022-03-29man pages: add missing word, The foo() ... -> The foo() function ...Christian Weisgerber
ok jmc@ schwarze@
2022-03-16Add refcnt_shared() and refcnt_read()Visa Hankala
refcnt_shared() checks whether the object has multiple references. When refcnt_shared() returns zero, the caller is the only reference holder. refcnt_read() returns a snapshot of the counter value. refcnt_shared() suggested by dlg@. OK dlg@ mvs@
2022-03-13Document membar_enter_after_atomic and membar_exit_before_atomic.Alexander Bluhm
OK kettenis@
2022-03-11Fix formatting of cond_signal().Visa Hankala
2022-03-10Forgot makefile for atomic_load_int.9 in previous commit.Alexander Bluhm
2022-03-10Provide atomic load and store functions for int and long. FreeBSDAlexander Bluhm
also uses these names. This implements a complete interface for atomic operations, such functions can be used for every access. They provide compiler barriers, but no CPU memory barriers. This is consistent with our other atomic operations. OK mvs@ visa@
2022-02-20dmameme -> dmamemJonathan Gray
2022-02-20i missed a word.David Gwynne
some other tweaks for readability or brevity while here
2022-02-09Add iic_is_compatible() for matching I2C devicesVisa Hankala
When using device trees, the ia_name field of struct i2c_attach_args points to the first string of the device node's "compatible" array. However, in many cases it would be preferable to use the last, most general "compatible" entry as a device matching criterion. Enable more flexible device matching by permitting ia_name to point to the raw "compatible" data which is a concatenation of NUL-terminated strings. I2C bus code will supply the data and set ia_name and ia_namelen. I2C device drivers will use iic_is_compatible() to check matches. This method is also backwards compatible with the old, direct use of ia_name. Prompted by a related patch from kettenis@. OK kettenis@
2022-02-06remove please from manual pagesJonathan Gray
ok jmc@ sthen@ millert@
2022-02-03Delete unused/obsolete M_* type values.Philip Guenther
ok miod@ mpi@
2022-01-31add kstat_remove to NAME and CONTEXT; ok dlgJason McIntyre
2022-01-31+kstat_destroyDavid Gwynne
2022-01-16initialies -> initializesJonathan Gray
ok visa@
2022-01-16stoeplizt -> stoeplitzJonathan Gray
2021-12-12Add vnode parameter to VOP_STRATEGY()Visa Hankala
Pass the device vnode as a parameter to VOP_STRATEGY() to allow calling the correct vop_strategy callback. Now the vnode is also available in the callback. OK mpi@
2021-10-20revert vnode: remove VLOCKSWORK and check locking when vop_islocked != nullopSebastien Marie
(both kernel and userland bits) GENERIC + VFSLCKDEBUG is broken with it.
2021-10-19vnode: remove VLOCKSWORK usage in pstat and mention in man pagesSebastien Marie
unbreak the tree. found hard way by tb@ ok tb@ which have the same diff
2021-05-16hint that the panicstr should not contain \n, by saying one is printed.Theo de Raadt
2021-05-15Fix IPsec NAT-T to work with pipex(4). Introduce a new packet tagYASUOKA Masahiko
PACKET_TAG_IPSEC_FLOWINFO to specify the IPsec flow. ok mvs
2021-05-12Remove about PACKET_TAG_PIPEX, it was replaced by ph_cookie.YASUOKA Masahiko
2021-05-11timeout_barrier(9), timeout_del_barrier(9): remove kernel lockcheloha
In timeout_barrier(9) we take/release the kernel lock to ensure that the given timeout has finished running (if it had been running at all). This approach is inefficient. If we put a barrier timeout on the queue and wait for it to run in cond_wait(9) we can block instead of spinning for the kernel lock. We already do this for process-context timeouts in timeout_barrier(9) anyway. Discussed with dlg@, visa@, and mpi@. ok dlg@
2021-05-01Retire OpenBSD/sgi.Visa Hankala
OK deraadt@
2021-04-26Add missing timeout_set_proc() description.mvs
ok jmc@
2021-04-04Document support subset of conversion specificationkn
Clarify that printf(9) only knows %[width][size]conversion contrary to printf(3)'s %[argno$][flags][width][.precision][size]conversion Feedback OK jmc OK deraadt
2021-03-26Push kernel lock within rtable_add(9) and rework it to return 0 in themvs
case when requested table is already exists. Except initialization time, route_output() and if_createrdomain() are the only paths where we call rtable_add(9). We check requested table existence by rtable_exists(9) and it's not the error condition if the table exists. Otherwise we are trying to create requested table by rtable_add(9). Those paths are kernel locked so concurrent thread can't create requested table just after rtable_exists(9) check. Also rtable_add(9) has internal rtable_exists(9) check and in this case the table existence assumed as EEXIST error. This error path is never reached. We are going to unlock PF_ROUTE sockets. This means route_output() will not be serialized with if_createrdomain() and concurrent thread could create requested table. Table existence check and creation should be serialized and it makes sense to do this within rtable_add(9). This time kernel lock is used for this so it pushed down to rtable_add(9). The internal rtable_exists(9) check was modified and table existence is not error now. Since the external rtable_exists(9) check is useless it was removed from if_createrdomain(). It still exists in route_output() path because the logic is more complicated here. ok mpi@
2021-03-20s/struft/struct/; thanks James HastingsStuart Henderson
2021-03-08Add some references, most of these were removed when we stopped buildingJonathan Gray
and installing USD/SMM/PSD docs. jmc@ agrees with the direction, ok millert@ on an earlier diff
2021-02-25let m_copydata use a void * instead of caddr_tDavid Gwynne
i'm not a fan of having to cast to caddr_t when we have modern inventions like void *s we can take advantage of. ok claudio@ mvs@ bluhm@
2021-02-23Fix m_copyback(9) prototype in DESCRIPTION section.mvs
ok millert@
2021-02-21zap duplicate .Nm;Jason McIntyre
2021-02-21i added stoeplitz_eaddrDavid Gwynne
2021-02-21fix the names of the things that actually do the hashing.David Gwynne
2021-02-01some article fixes; from eddie youseph and grepJason McIntyre
2021-01-22Private functions in the kernel do not to be prototyped.Todd C. Miller
We don't use static in the kernel due to ddb so functions private to the compilation unit are basically equivalent. OK cheloha@ gnezdo@ mglocker@
2021-01-19usb_init_task() wants a struct usb_task as the first argumentanton
ok kn@ mvs@