Searched refs:nswbuf (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/kern/ |
H A D | subr_param.c | 96 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 D | vfs_cluster.c | 81 cluster_pbuf_zone = pbuf_zsecond_create("clpbuf", nswbuf / 2); in cluster_init()
|
H A D | vfs_bio.c | 1183 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 D | ffs_rawread.c | 87 (nswbuf > 100 ) ? (nswbuf - (nswbuf >> 4)) : nswbuf - 8); in ffs_rawread_setup()
|
/freebsd/sys/fs/smbfs/ |
H A D | smbfs_vfsops.c | 361 smbfs_pbuf_zone = pbuf_zsecond_create("smbpbuf", nswbuf / 2); in smbfs_init()
|
/freebsd/sys/sys/ |
H A D | buf.h | 527 extern int nswbuf; /* Number of swap I/O buffer headers. */
|
/freebsd/sys/fs/p9fs/ |
H A D | p9fs_vfsops.c | 112 p9fs_pbuf_zone = pbuf_zsecond_create("p9fs pbuf zone", nswbuf / 2); in p9fs_init()
|
/freebsd/sys/vm/ |
H A D | vnode_pager.c | 139 nvnpbufs = nswbuf * 2; in vnode_pager_init() 141 nvnpbufs = nswbuf / 2; in vnode_pager_init()
|
H A D | swap_pager.c | 723 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 D | nfs_clport.c | 1109 ncl_pbuf_zone = pbuf_zsecond_create("nfspbuf", nswbuf / 2); in nfscl_init()
|