Searched refs:nswbuf (Results 1 - 12 of 12) sorted by relevance

/freebsd-9.3-release/sys/vm/
H A Dvm_init.c189 (long)nbuf * BKVASIZE + (long)nswbuf * MAXPHYS +
199 (long)nswbuf * MAXPHYS, FALSE);
H A Dvm_pager.c207 for (i = 0; i < nswbuf; i++, bp++) {
215 cluster_pbuf_freecnt = nswbuf / 2;
216 vnode_pbuf_freecnt = nswbuf / 2 + 1;
218 swapbkva = kmem_alloc_nofault(pager_map, nswbuf * MAXPHYS);
317 * There are a limited number (nswbuf) of physical buffers. We need
320 * to 1/2 nswbuf. getpbuf() decrements this counter in allocation and
H A Dswap_pager.c536 nsw_rcount = (nswbuf + 1) / 2;
537 nsw_wcount_sync = (nswbuf + 3) / 4;
1311 if ((n = swap_async_max) > nswbuf / 2)
1312 n = nswbuf / 2;
/freebsd-9.3-release/sys/kern/
H A Dsubr_param.c96 int nswbuf; variable
115 SYSCTL_INT(_kern, OID_AUTO, nswbuf, CTLFLAG_RDTUN, &nswbuf, 0,
H A Dvfs_bio.c634 nswbuf = max(min(nbuf/4, 256), 16);
636 if (nswbuf < NSWBUF_MIN)
637 nswbuf = NSWBUF_MIN;
647 v = (caddr_t)(swbuf + nswbuf);
/freebsd-9.3-release/sys/ufs/ffs/
H A Dffs_rawread.c93 ffsrawbufcnt = (nswbuf > 100 ) ? (nswbuf - (nswbuf >> 4)) : nswbuf - 8;
/freebsd-9.3-release/sys/fs/nwfs/
H A Dnwfs_vfsops.c389 nwfs_pbuf_freecnt = nswbuf / 2 + 1;
/freebsd-9.3-release/sys/fs/smbfs/
H A Dsmbfs_vfsops.c389 smbfs_pbuf_freecnt = nswbuf / 2 + 1;
/freebsd-9.3-release/sys/sys/
H A Dbuf.h477 extern int nswbuf; /* Number of swap I/O buffer headers. */
/freebsd-9.3-release/sys/nfsclient/
H A Dnfs_subs.c361 nfs_pbuf_freecnt = nswbuf / 2 + 1;
/freebsd-9.3-release/sys/fs/nfsclient/
H A Dnfs_clport.c1071 ncl_pbuf_freecnt = nswbuf / 2 + 1;
/freebsd-9.3-release/sys/dev/md/
H A Dmd.c1485 md_vnode_pbuf_freecnt = nswbuf / 10;

Completed in 201 milliseconds