summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_sbuf.c
Commit message (Expand)AuthorAgeFilesLines
* Always request zeroed memory, in case we're dumb enough to leak it later.des2013-09-221-2/+2
* A library function shall not set errno to 0.jh2013-05-161-2/+3
* Add sbuf_start_section() and sbuf_end_section() functions, which cantrociny2013-04-111-1/+71
* r222015 introduced a new assertion that the size of a fixed-length sbufrwatson2011-08-191-1/+1
* Use memset() instead of bzero() and memcpy() instead of bcopy(), therephk2011-05-171-26/+43
* Don't expect PAGE_SIZE to exist on all platforms (It is a pretty arbitraryphk2011-05-171-27/+33
* Change the length quantities of sbufs to be ssize_t rather than int.phk2011-05-161-7/+9
* Re-add r212370 now that the LOR in powerpc64 has been resolved:mdf2010-09-161-2/+2
* Revert r212370, as it causes a LOR on powerpc. powerpc does a fewmdf2010-09-131-2/+2
* Add missing pointer increment to sbuf_cat.kan2010-09-111-1/+1
* Replace sbuf_overflowed() with sbuf_error(), which returns any errormdf2010-09-101-28/+25
* Add a drain function for struct sysctl_req, and use it for a variety ofmdf2010-09-091-2/+2
* Add drain functionality to sbufs. The drain is a function that ismdf2010-09-091-6/+99
* Refactor sbuf code so that most uses of sbuf_extend() are in a newmdf2010-09-091-25/+69
* Use a better #if guard.mdf2010-09-031-1/+1
* Style(9) fixes and eliminate the use of min().mdf2010-09-031-12/+15
* Fix user-space libsbuf build. Why isn't CTASSERT available tomdf2010-09-031-0/+2
* Fix brain fart when converting an if statement into a KASSERT.mdf2010-09-031-1/+1
* Use math rather than iteration when the desired sbuf size is larger thanmdf2010-09-031-5/+9
* Switch to simplified BSD license (with phk's approval), plus whitespacedes2008-08-091-29/+45
* Make sbuf_copyin() return the number of bytes copied on success.phk2005-12-231-1/+1
* Make a bunch of malloc types static.phk2005-02-101-1/+1
* Cosmetic adjustment to previous commit: name the second argument todes2004-07-091-4/+4
* Have sbuf_bcat() and sbuf_bcpy() take a const void * instead of ades2004-07-091-3/+5
* Mechanical whistespace cleanup.des2004-02-171-19/+19
* Use __FBSDID().obrien2003-06-111-2/+3
* Copy the va_list in sbuf_vprintf() before passing it to vsnprintf(),peter2003-05-251-1/+4
* Back out M_* changes, per decision of the TRB.imp2003-02-191-1/+1
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-1/+1
* Add the new function "sbuf_done()" which returns non-zero if the sbuf isphk2002-10-041-0/+10
* Add a cast to make this file compile in userland on sparc64 withoutphk2002-09-161-1/+1
* Fix warnings on gcc-3.1+ where __func__ is a const char * instead of apeter2002-03-191-2/+2
* Yet a bug with extensible sbufs being marked as OVERFLOWED. This timephk2002-01-241-1/+1
* In certain cases sbuf_printf() and sbuf_vprintf() could mistakelyphk2002-01-221-1/+1
* Replace spaces after #defines with tabs; this makes all #defineskbyanc2002-01-091-20/+20
* * Implement SBUF_AUTOEXTEND flag; sbufs created with this flag arekbyanc2002-01-061-23/+108
* Calculate whether the sbuf is dynamic *before* bzero()ing thedillon2001-12-191-1/+4
* Update to C99, s/__FUNCTION__/__func__/.obrien2001-12-101-6/+6
* Add a couple of API functions I need for my pseudofs WIP. Documentationdes2001-09-291-1/+51
* Constify the format string.des2001-07-031-1/+1
* Fix warnings:jlemon2001-06-161-0/+1
* Blah, I cut out a tad too much in the previous commit. (thanks again, Jake!)des2001-06-111-0/+1
* copyin(9) doesn't return ENAMETOOLONG. (thanks, Jake!)des2001-06-111-10/+2
* Add sbuf_copyin(). Also add 'b' variants of sbuf_{cat,copyin,cpy}() whichdes2001-06-111-0/+98
* sbuf_new(9) now returns a struct sbuf * instead of an int. If the callerdes2001-06-101-8/+20
* Rewrite of the CAM error recovery code.ken2001-03-271-19/+36
* Make the KASSERTs report the correct function names.des2001-03-061-18/+11
* Remove an assertion I forgot to remove in the previous commit: sbuf_len()des2001-01-281-1/+2
* Add sbuf_clear() and sbuf_overflowed().des2001-01-281-13/+49
* String buffer APIdes2000-12-131-0/+271
OpenPOWER on IntegriCloud