Searched refs:max_nbuf_headers (Results 1 - 4 of 4) sorted by relevance

/xnu-2422.115.4/bsd/dev/
H A Dunix_startup.c76 int max_nbuf_headers = NBUF; variable
81 int max_nbuf_headers = 0; variable
88 SYSCTL_INT (_kern, OID_AUTO, maxnbuf, CTLFLAG_RW | CTLFLAG_LOCKED, &max_nbuf_headers, 0, "");
112 if (max_nbuf_headers == 0)
113 max_nbuf_headers = atop_kernel(sane_size / 50); /* Get 2% of ram, but no more than we can map */
114 if ((customnbuf == 0) && (max_nbuf_headers > 16384))
115 max_nbuf_headers = 16384;
116 if (max_nbuf_headers < CONFIG_MIN_NBUF)
117 max_nbuf_headers = CONFIG_MIN_NBUF;
125 nbuf_hashelements = max_nbuf_headers;
[all...]
/xnu-2422.115.4/bsd/sys/
H A Dbuf_internal.h269 extern int max_nbuf_headers; /* The max number of buffer headers */
/xnu-2422.115.4/bsd/kern/
H A Dbsd_init.c1128 if (PE_parse_boot_argn("nbuf", &max_nbuf_headers,
1129 sizeof (max_nbuf_headers))) {
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_bio.c1936 for (i = 0; i < max_nbuf_headers; i++) {
3369 if (nbuf_headers < max_nbuf_headers) {

Completed in 38 milliseconds