Home
last modified time | relevance | path

Searched refs:nchash (Results 1 – 3 of 3) sorted by relevance

/freebsd/tools/diag/dumpvfscache/
H A Ddumpvfscache.c68 int nchash, i, j, k, kn; in main() local
81 kvm_read(kvm, nl[0].n_value, &nchash, sizeof nchash); in main()
82 nchash++; in main()
83 nchashtbl = malloc(nchash * sizeof *nchashtbl); in main()
85 newbucket = malloc(nchash * sizeof (int)); in main()
86 memset(newbucket, 0, nchash * sizeof (int)); in main()
88 kvm_read(kvm, p, nchashtbl, nchash * sizeof *nchashtbl); in main()
89 for (i=0; i < nchash; i++) { in main()
113 kn &= (nchash - 1); in main()
123 for (i=0; i < nchash; i++) { in main()
/freebsd/sys/kern/
H A Dvfs_cache.c521 (&nchashtbl[(hash) & nchash])
523 static u_long __read_mostly nchash; /* size of hash table */
524 SYSCTL_ULONG(_debug, OID_AUTO, nchash, CTLFLAG_RD, &nchash, 0,
1141 n_nchash = nchash + 1; /* nchash is max index, not count */ in sysctl_debug_hashstat_rawnchash()
1146 if (n_nchash != nchash + 1) { in sysctl_debug_hashstat_rawnchash()
1179 n_nchash = nchash + 1; /* nchash is max index, not count */ in sysctl_debug_hashstat_nchash()
1194 n_nchash = nchash + 1; in sysctl_debug_hashstat_nchash()
1211 SYSCTL_PROC(_debug_hashstat, OID_AUTO, nchash, CTLTYPE_INT|CTLFLAG_RD|
2776 nchashtbl = nchinittbl(desiredvnodes * 2, &nchash); in nchinit()
2780 if (ncbuckethash > nchash) in nchinit()
[all …]
/freebsd/tools/tools/sysdoc/
H A Dtunables.mdoc24 debug.hashstat.nchash
27 Displays nchash chain lengths. This is a read-only