Home
last modified time | relevance | path

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

/freebsd/usr.sbin/nscd/
H A Dconfig.c271 if (config->entries_size == config->entries_capacity) { in add_configuration_entry()
280 config->entries_size); in add_configuration_entry()
286 config->entries[config->entries_size++] = entry; in add_configuration_entry()
287 qsort(config->entries, config->entries_size, in add_configuration_entry()
301 return (config->entries_size); in configuration_get_entries_size()
309 assert(index < config->entries_size); in configuration_get_entry()
322 retval = bsearch(name, config->entries, config->entries_size, in configuration_find_entry()
560 for (i = 0; i < config->entries_size; ++i) in fill_configuration_defaults()
562 config->entries_size = 0; in fill_configuration_defaults()
577 for (i = 0; i < config->entries_size; ++i) in destroy_configuration()
H A Dhashtable.h63 size_t entries_size; \
67 ((table)->entries_size)
78 (table)->entries_size = (_entries_size); \
161 return HASH(data, table->entries_size); \
H A Dcachelib.c181 the_cache->entries_size, sizeof(struct cache_entry_ *), in find_cache_entry_p()
493 retval->entries_size = 0; in init_cache()
508 for (i = 0; i < the_cache->entries_size; ++i) in destroy_cache()
535 if (the_cache->entries_size == the_cache->entries_capacity) { in register_cache_entry()
547 * the_cache->entries_size); in register_cache_entry()
607 the_cache->entries[the_cache->entries_size++] = in register_cache_entry()
631 the_cache->entries[the_cache->entries_size++] = in register_cache_entry()
637 qsort(the_cache->entries, the_cache->entries_size, in register_cache_entry()
655 --the_cache->entries_size; in unregister_cache_entry()
658 (&(the_cache->entries[--the_cache->entries_size]) - in unregister_cache_entry()
H A Dconfig.h101 size_t entries_size; member
H A Dcachelib.h214 size_t entries_size; member