mirror of
https://github.com/opnsense/src.git
synced 2026-04-26 16:47:30 -04:00
Move the declarations for nsfbufs and friends over to sf_buf.h from
mbuf.h
This commit is contained in:
parent
6171a2800d
commit
007233efcd
2 changed files with 4 additions and 3 deletions
|
|
@ -435,9 +435,6 @@ extern struct mbstat mbstat; /* General mbuf stats/infos */
|
|||
extern int nmbclusters; /* Maximum number of clusters */
|
||||
extern int nmbcnt; /* Scale kmem_map for counter space */
|
||||
extern int nmbufs; /* Maximum number of mbufs */
|
||||
extern int nsfbufs; /* Number of sendfile(2) bufs alloced */
|
||||
extern int nsfbufspeak; /* Peak of nsfbufsused */
|
||||
extern int nsfbufsused; /* Number of sendfile(2) bufs in use */
|
||||
|
||||
void _mext_free(struct mbuf *);
|
||||
void m_adj(struct mbuf *, int);
|
||||
|
|
|
|||
|
|
@ -33,6 +33,10 @@
|
|||
|
||||
struct vm_page;
|
||||
|
||||
extern int nsfbufs; /* Number of sendfile(2) bufs alloced */
|
||||
extern int nsfbufspeak; /* Peak of nsfbufsused */
|
||||
extern int nsfbufsused; /* Number of sendfile(2) bufs in use */
|
||||
|
||||
struct sf_buf *
|
||||
sf_buf_alloc(struct vm_page *m);
|
||||
void sf_buf_free(void *addr, void *args);
|
||||
|
|
|
|||
Loading…
Reference in a new issue