Move the declarations for nsfbufs and friends over to sf_buf.h from

mbuf.h
This commit is contained in:
Mike Silbersack 2003-12-28 09:10:51 +00:00
parent 6171a2800d
commit 007233efcd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123931
2 changed files with 4 additions and 3 deletions

View File

@ -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);

View File

@ -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);