summaryrefslogtreecommitdiffstats
path: root/share/man/man9
Commit message (Collapse)AuthorAgeFilesLines
* Manpages for the buf_ring and drbr interfaces.brueffer2012-01-303-0/+311
| | | | | Submitted by: kmacy (aeons ago) MFC after: 1 week
* update .Ddkmacy2012-01-282-2/+2
|
* alphabetically sort optional flags and add documentation for VM_ALLOC_NODUMPkmacy2012-01-281-12/+15
|
* document M_NODUMP flagkmacy2012-01-281-0/+3
|
* List supported ioctl commands instead of old one.glebius2012-01-261-5/+3
|
* Remove remnants of dev_t.ed2012-01-195-12/+12
| | | | | | | | These functions take a `struct cdev *' -- not a dev_t. Inside the kernel, dev_t has the same use as in userspace, namely to store a device identifier. MFC after: 2 weeks
* NOOBJ is long time deadkevlo2012-01-181-4/+0
| | | | Reviewed by: kib
* vfs_object_create() function is obsolete. Use vnode_create_vobject()kevlo2012-01-181-2/+2
| | | | | | to create the backing object. Reviewed by: kib
* Fix sloppyness in memcchr() man page.ed2012-01-012-0/+1
| | | | | | I was considering adding it to libc as well, but last minute I thought it would be good enough to add it to libkern exclusively. I forgot to rename the man page and hook it up.
* Fix typo; return -> returns.ed2012-01-011-1/+1
|
* Introducing memcchr(3).ed2012-01-011-0/+59
| | | | | | | | | | | | | | | | | | | | | It seems two of the file system drivers we have in the tree, namely ufs and ext3, use a function called `skpc()'. The meaning of this function does not seem to be documented in FreeBSD, but it turns out one needs to be a VAX programmer to understand what it does. SPKC is an instruction on the VAX that does the opposite of memchr(). It searches for the non-equal character. Add a new function called memcchr() to the tree that has the following advantages over skpc(): - It has a name that makes more sense than skpc(). Just like strcspn() matches the complement of strspn(), memcchr() is the complement of memchr(). - It is faster than skpc(). Similar to our strlen() in libc, it compares entire words, instead of single bytes. It seems that for this routine this yields a sixfold performance increase on amd64. - It has a man page.
* Follow style(9) more closely in the example.jh2011-12-211-3/+3
|
* Add eventtimers(9) man page, describing related KPIs.mav2011-12-202-0/+247
| | | | | Sponsored by: iXsystems, Inc. MFC after: 1 month
* Add a TASK_INITIALIZER() macro that can be used to staticallyjhb2011-12-192-1/+8
| | | | | | | initialize a task structure. Reviewed by: gj MFC after: 2 weeks
* Fixed some of markup.ru2011-12-171-19/+18
| | | | Reviewed by: jhb
* Add a helper API to allow in-kernel code to map portions of shared memoryjhb2011-12-142-0/+189
| | | | | | objects created by shm_open(2) into the kernel's address space. This provides a convenient way for creating shared memory buffers between userland and the kernel without requiring custom character devices.
* More MLINKS for rtalloc.9glebius2011-12-141-1/+5
|
* Update this page to describe modern interfaces.glebius2011-12-141-114/+147
|
* sbuf_data() hasn't returned NULL for overflowed buffers since r71721.jh2011-12-091-6/+2
|
* - Fix markup.jh2011-12-091-3/+4
| | | | - Remove trailing whitespace.
* - Add a DEVMETHOD_END alias for KOBJMETHOD_END so that along with 'driver_t'marius2011-11-221-2/+2
| | | | | | | | | and DEVMETHOD() we can fully hide the explicit mention of kobj(9) from device drivers. - Update the example in driver.9 to use DEVMETHOD_END. Submitted by: jhb MFC after: 3 days
* Update the manpage for r227697.kib2011-11-191-4/+4
| | | | MFC after: 3 weeks
* Constify arguments for locking KPIs where possible.pjd2011-11-165-24/+24
| | | | | | | This enables locking consumers to pass their own structures around as const and be able to assert locks embedded into those structures. Reviewed by: ed, kib, jhb
* Constify stack argument for functions that don't modify it.pjd2011-11-161-8/+8
| | | | Reviewed by: ed, kib, jhb
* As it turns out, r186347 actually is insufficient to avoid the use of themarius2011-11-152-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | curthread-accessing part of mtx_{,un}lock(9) when using a r210623-style curthread implementation on sparc64, crashing the kernel in its early cycles as PCPU isn't set up, yet (and can't be set up as OFW is one of the things we need for that, which leads to a chicken-and-egg problem). What happens is that due to the fact that the idea of r210623 actually is to allow the compiler to cache invocations of curthread, it factors out obtaining curthread needed for both mtx_lock(9) and mtx_unlock(9) to before the branch based on kobj_mutex_inited when compiling the kernel without the debugging options. So change kobj_class_compile_static(9) to just never acquire kobj_mtx, effectively restricting it to its documented use, and add a kobj_init_static(9) for initializing objects using a class compiled with the former and that also avoids using mutex(9) (and malloc(9)). Also assert in both of these functions that they are used in their intended way only. While at it, inline kobj_register_method() and kobj_unregister_method() as there wasn't much point for factoring them out in the first place and so that a reader of the code has to figure out the locking for fewer functions missing a KOBJ_ASSERT. Tested on powerpc{,64} by andreast. Reviewed by: nwhitehorn (earlier version), jhb MFC after: 3 days
* group functions together by function...jmg2011-11-051-42/+117
| | | | | | | | | | | | | document knlist_delete, and better document what knlist_clear does... Note that both of these functions may sleep, and also unlock/relock the list lock... document knlist_init_mtx (forgotten by kib)... other minor improvements Reviewed by: ru (previous rev) MFC after: 1 week
* Spelling.glebius2011-10-211-1/+1
| | | | Submitted by: dougb
* Note that it is still not possible to guard special kind of allocations, thoseglebius2011-10-211-1/+15
| | | | that have special relationships with uma(9). Currently only mbuf clusters.
* - change "is is" to "is" or "it is"eadler2011-10-161-1/+1
| | | | | | | | - change "the the" to "the" Approved by: lstewart Approved by: sahil (mentor) MFC after: 3 days
* Document that memguard(9) now can guard uma(9) allocations.glebius2011-10-121-14/+52
|
* Mention tdsignal(9).des2011-10-072-5/+16
| | | | MFC after: 1 week
* Fix typo in OSIOCGIFADDR.pluknet2011-09-271-1/+1
| | | | MFC after: 3 days
* Rename the cc.4 and cc.9 modular congestion control related man pages tolstewart2011-09-152-6/+6
| | | | | | | | | mod_cc.4 and mod_cc.9 respectively to avoid any possible confusion with the cc.1 gcc man page. Update references to these man pages where required. Requested by: Grenville Armitage Approved by: re (kib) MFC after: 3 days
* Ensure that ta_pending doesn't overflow u_short by capping its value at ↵adrian2011-09-151-1/+1
| | | | | | | | | | | | | USHRT_MAX. If it overflows before the taskqueue can run, the task will be re-added to the taskqueue and cause a loop in the task list. Reported by: Arnaud Lacombe <lacombar@gmail.com> Submitted by: Ryan Stone <rysto32@gmail.com> Reviewed by: jhb Approved by: re (kib) MFC after: 1 day
* Document vm_page_aflag_set(9), vm_page_aflag_clear(9) and vm_page_reference(9).kib2011-09-062-13/+53
| | | | | | | Retire vm_page_flag_set() and vm_page_flag_clear() functions. Reviewed by: alc Approved by: re (bz)
* Remove information and MLINK for MULTI_DRIVER_MODULE().brueffer2011-08-272-8/+1
| | | | | | | | The macro was removed in r121129 almost 8 years ago. PR: 150244 Submitted by: Gireesh Nagabhushana <dngireesh@avrita.com> Approved by: re (kib)
* Fix an error in the generation of the manpage after r225177.attilio2011-08-251-1/+2
| | | | | | | | Sponsored by: Sandvine Incorporated Submitted by: jkim Approved by: re (bz) MFC after: 3 weeks X-MFC: r225177
* Fix a deficiency in the selinfo interface:attilio2011-08-252-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a selinfo object is recorded (via selrecord()) and then it is quickly destroyed, with the waiters missing the opportunity to awake, at the next iteration they will find the selinfo object destroyed, causing a PF#. That happens because the selinfo interface has no way to drain the waiters before to destroy the registered selinfo object. Also this race is quite rare to get in practice, because it would require a selrecord(), a poll request by another thread and a quick destruction of the selrecord()'ed selinfo object. Fix this by adding the seldrain() routine which should be called before to destroy the selinfo objects (in order to avoid such case), and fix the present cases where it might have already been called. Sometimes, the context is safe enough to prevent this type of race, like it happens in device drivers which installs selinfo objects on poll callbacks. There, the destruction of the selinfo object happens at driver detach time, when all the filedescriptors should be already closed, thus there cannot be a race. For this case, mfi(4) device driver can be set as an example, as it implements a full correct logic for preventing this from happening. Sponsored by: Sandvine Incorporated Reported by: rstone Tested by: pluknet Reviewed by: jhb, kib Approved by: re (bz) MFC after: 3 weeks
* Fix markup.kib2011-08-011-1/+2
| | | | Approved by: re (hrs)
* Update vfs_getopt(9) to reflect 32-bit to 64-bit change fromgjb2011-07-311-2/+2
| | | | | | | | r224290. PR: 159324 Submitted by: Brandon Gooch (jamesbrandongooch % gmail ! com) Approved by: re (kib)
* Remove the old vm_map_clean man page.alc2011-07-091-85/+0
|
* vm_map_clean() was long ago renamed to vm_map_sync(). Also, it no longeralc2011-07-093-3/+84
| | | | | | acquires Giant. MFC after: 1 week
* Oops. These changes should have been included in r223891.alc2011-07-091-75/+0
| | | | MFC after: 1 week
* Remove manual pages for functions that no longer exist.alc2011-07-094-119/+1
| | | | MFC after: 1 week
* Document copyin_nofault, copyout_nofault, uiomove_nofault.kib2011-07-093-22/+84
| | | | Submitted by: alc
* Add an option to have a fail point term only execute when run by amdf2011-07-081-0/+7
| | | | | | | specified pid. This is helpful for automated testing involving a global knob that would otherwise be executed by many other threads. MFC after: 1 week
* Add infrastructure to allow all frames/packets received on an interfacebz2011-07-031-2/+9
| | | | | | | | | | | | | | to be assigned to a non-default FIB instance. You may need to recompile world or ports due to the change of struct ifnet. Submitted by: cjsp Submitted by: Alexander V. Chernikov (melifaro ipfw.ru) (original versions) Reviewed by: julian Reviewed by: Alexander V. Chernikov (melifaro ipfw.ru) MFC after: 2 weeks X-MFC: use spare in struct ifnet
* Install symlinks for m_tag_* mbuf tag functions to the mbuf_tags.9 man page.bz2011-06-181-0/+16
| | | | MFC after: 1 week
* Correct a typo in the function name.bz2011-06-181-2/+2
| | | | MFC after: 1 week
* mdoc: reorder sections consistentlyuqs2011-06-021-9/+9
|
OpenPOWER on IntegriCloud