Home
last modified time | relevance | path

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

/f-stack/freebsd/vm/
H A Duma_core.c239 int ubz_entries; /* Number of items it can hold. */ member
417 for (ubz = &bucket_zones[0]; ubz->ubz_entries != 0; ubz++) { in bucket_init()
419 size += sizeof(void *) * ubz->ubz_entries; in bucket_init()
436 for (ubz = &bucket_zones[0]; ubz->ubz_entries != 0; ubz++) in bucket_zone_lookup()
437 if (ubz->ubz_entries >= entries) in bucket_zone_lookup()
450 return MAX((ubz->ubz_maxsize * ubz->ubz_entries) / size, 1); in bucket_select()
452 for (; ubz->ubz_entries != 0; ubz++) in bucket_select()
456 return (ubz->ubz_entries); in bucket_select()
491 if (ubz->ubz_zone == zone && (ubz + 1)->ubz_entries != 0) in bucket_alloc()
499 bucket->ub_entries = min(ubz->ubz_entries, in bucket_alloc()
[all …]