Home
last modified time | relevance | path

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

/freebsd/sys/vm/
H A Duma_core.c242 int ubz_entries; /* Number of items it can hold. */ member
421 for (ubz = &bucket_zones[0]; ubz->ubz_entries != 0; ubz++) { in bucket_init()
423 size += sizeof(void *) * ubz->ubz_entries; in bucket_init()
440 for (ubz = &bucket_zones[0]; ubz->ubz_entries != 0; ubz++) in bucket_zone_lookup()
441 if (ubz->ubz_entries >= entries) in bucket_zone_lookup()
454 return MAX((ubz->ubz_maxsize * ubz->ubz_entries) / size, 1); in bucket_select()
456 for (; ubz->ubz_entries != 0; ubz++) in bucket_select()
460 return (ubz->ubz_entries); in bucket_select()
495 if (ubz->ubz_zone == zone && (ubz + 1)->ubz_entries != 0) in bucket_alloc()
503 bucket->ub_entries = min(ubz->ubz_entries, in bucket_alloc()
[all …]