Home
last modified time | relevance | path

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

/freebsd-10-stable/sys/vm/
Duma_core.c200 int ubz_entries; /* Number of items it can hold. */ member
312 for (ubz = &bucket_zones[0]; ubz->ubz_entries != 0; ubz++) { in bucket_init()
314 size += sizeof(void *) * ubz->ubz_entries; in bucket_init()
330 for (ubz = &bucket_zones[0]; ubz->ubz_entries != 0; ubz++) in bucket_zone_lookup()
331 if (ubz->ubz_entries >= entries) in bucket_zone_lookup()
344 return MAX((ubz->ubz_maxsize * ubz->ubz_entries) / size, 1); in bucket_select()
346 for (; ubz->ubz_entries != 0; ubz++) in bucket_select()
350 return (ubz->ubz_entries); in bucket_select()
387 if (ubz->ubz_zone == zone && (ubz + 1)->ubz_entries != 0) in bucket_alloc()
392 bzero(bucket->ub_bucket, sizeof(void *) * ubz->ubz_entries); in bucket_alloc()
[all …]