Move the declarations for nsfbufs and friends over to sf_buf.h from
mbuf.h
This commit is contained in:
parent
6171a2800d
commit
007233efcd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123931
@ -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 New Issue
Block a user