summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_mbuf.c
AgeCommit message (Expand)Author
2014-03-28Reduce uvm include madness. Use <uvm/uvm_extern.h> instead ofMartin Pieuchot
2014-03-27Store an ifp index instead of a pointer in the "struct mbuf_ext".Martin Pieuchot
2014-01-19Remove max_datalen. It is only used once an can be replaced easily withClaudio Jeker
2014-01-10Let "ddb show mbuf" print all mbuf fields in a consistent way. MoveAlexander Bluhm
2013-11-09ticks is compared against mcl_grown to see if time has elapsed sinceDavid Gwynne
2013-08-21get rid of the copy argument in m_devget that let you provide anDavid Gwynne
2013-08-08Uncomment kprintf format attributes for sys/kernSylvestre Gallon
2013-06-11replace bcopy with memcpy in m_defrag. this is safe because theDavid Gwynne
2013-06-11return ENOBUFS on failure from m_defrag and m_tag_copy_chain.David Gwynne
2013-03-28do not include machine/cpu.h from a .c file; it is the responsibility ofTheo de Raadt
2013-02-17Comment out recently added __attribute__((__format__(__kprintf__))) annotationsMiod Vallat
2013-02-09Add explicit __attribute__ ((__format__(__kprintf__)))) to the functions andMiod Vallat
2013-02-07convert mbuf tags to use pool(9) as a backend storage;Mike Belopuhov
2012-09-26add M_ZEROIZE as an mbuf flag, so copied PFKEY messages (with embedded keys)Markus Friedl
2012-04-13unneccessary casts to unsigned; ok claudioTheo de Raadt
2011-12-02dont put MAXMCLBYTES in the mclsizes array with a comment saying its 64kDavid Gwynne
2011-11-30this diff introduces the MAXMCLBYTES macro to describe the largestDavid Gwynne
2011-11-30correctly calculate the space available in external storage in m_pullup.David Gwynne
2011-11-29whitespace fixes. no binary change.David Gwynne
2011-09-18One more %hh format string.Miod Vallat
2011-07-08new priority queueing implementation, extremely low overhead, thus fast.Henning Brauer
2011-07-05Minor cleanup. OK blambert@Claudio Jeker
2011-06-23Make mbufs and dma_alloc be contig allocations.Ariane van der Steldt
2011-05-04Collapse m_pullup and m_pullup2 into a single function, as they'reBret Lambert
2011-04-18Put back the change of pool and malloc into the new km_alloc(9) api.Artur Grabowski
2011-04-11Move the DDB includes up in the file so that the m_print() prototype isClaudio Jeker
2011-04-10Backout m_split_mbuf() from revision 1.150. It seems that m_split()Alexander Bluhm
2011-04-06Backout the uvm_km_getpage -> km_alloc conversion. Weird things are happeningArtur Grabowski
2011-04-05Passing M_WAITOK to mbuf functions is supposed to be a contract betweenBret Lambert
2011-04-05 - Change pool constraints to use kmem_pa_mode instead of uvm_constraint_rangeArtur Grabowski
2011-04-04both m_inject() and m_split() reached a point at which they neededBret Lambert
2011-01-29The function m_tag_copy_chain() returned 0 on success and 1 onAlexander Bluhm
2010-12-21Ugly workaround in nmbclust_update(). Additionally to setting the limitClaudio Jeker
2010-11-05Implement m_print as real ddb command "show mbuf addr" in the way otherClaudio Jeker
2010-10-28Add m_print() a function to print mbuf headers. Can be called from ddbClaudio Jeker
2010-10-05implicitly protect m_cldrop with splnet; ok claudio dlgMike Belopuhov
2010-09-23tweak the mclgeti algorithm to behave better under load.David Gwynne
2010-07-15m_getptr(m, 0, ...) may return an mbuf different from m -- if m has noClaudio Jeker
2010-07-14Eliminate some unused malloc(9) type defines. Also get rid of theMatthew Dempsky
2010-07-03replace 0 with equivalent allocation flag. ok thibTed Unangst
2010-07-02m_copyback can fail to allocate memory, but is a void fucntion so gymnasticsBret Lambert
2010-07-01pool setconstraints must be called immediately after pool_init, otherwiseBob Beck
2010-06-27uvm constraints. Add two mandatory MD symbols, uvm_md_constraintsThordur I. Bjornsson
2010-06-07Replace some handrolled instances of m_getptr() with that function, whichBret Lambert
2010-01-14fix typos in comments, no code changes;Ingo Schwarze
2010-01-12Move initialization of the MCLGETI ticker to mbinit(), instead of ifinit()Theo de Raadt
2009-09-13M_DUP_PKTHDR() define -> m_dup_pkthdr() function to properly dealKenneth R Westerback
2009-08-12just bzero the pkthdr instead of setting each and every member of thatHenning Brauer
2009-08-12revert my change to m_cluncount which tries to prevent the systemDavid Gwynne
2009-08-12if we get dangerously low on clusters during interrupts, we needDavid Gwynne