Home
last modified time | relevance | path

Searched refs:nswbuf (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/kern/
H A Dsubr_param.c96 int nswbuf; variable
118 SYSCTL_INT(_kern, OID_AUTO, nswbuf, CTLFLAG_RDTUN | CTLFLAG_NOFETCH, &nswbuf, 0,
348 TUNABLE_INT_FETCH("kern.nswbuf", &nswbuf); in init_param2()
H A Dvfs_cluster.c81 cluster_pbuf_zone = pbuf_zsecond_create("clpbuf", nswbuf / 2); in cluster_init()
H A Dvfs_bio.c1183 if (nswbuf == 0) { in kern_vfs_bio_buffer_alloc()
1189 nswbuf = min(nbuf / 4, 32 * mp_ncpus); in kern_vfs_bio_buffer_alloc()
1190 if (nswbuf < NSWBUF_MIN) in kern_vfs_bio_buffer_alloc()
1191 nswbuf = NSWBUF_MIN; in kern_vfs_bio_buffer_alloc()
/freebsd/sys/ufs/ffs/
H A Dffs_rawread.c87 (nswbuf > 100 ) ? (nswbuf - (nswbuf >> 4)) : nswbuf - 8); in ffs_rawread_setup()
/freebsd/sys/fs/smbfs/
H A Dsmbfs_vfsops.c361 smbfs_pbuf_zone = pbuf_zsecond_create("smbpbuf", nswbuf / 2); in smbfs_init()
/freebsd/sys/sys/
H A Dbuf.h527 extern int nswbuf; /* Number of swap I/O buffer headers. */
/freebsd/sys/fs/p9fs/
H A Dp9fs_vfsops.c112 p9fs_pbuf_zone = pbuf_zsecond_create("p9fs pbuf zone", nswbuf / 2); in p9fs_init()
/freebsd/sys/vm/
H A Dvnode_pager.c139 nvnpbufs = nswbuf * 2; in vnode_pager_init()
141 nvnpbufs = nswbuf / 2; in vnode_pager_init()
H A Dswap_pager.c723 swwbuf_zone = pbuf_zsecond_create("swwbuf", nswbuf / 4); in swap_pager_swap_init()
724 swrbuf_zone = pbuf_zsecond_create("swrbuf", nswbuf / 2); in swap_pager_swap_init()
3440 if (new > nswbuf / 2 || new < 1) in sysctl_swap_async_max()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clport.c1109 ncl_pbuf_zone = pbuf_zsecond_create("nfspbuf", nswbuf / 2); in nfscl_init()