Searched refs:entries_add (Results 1 - 3 of 3) sorted by relevance

/systemd/src/basic/
H A Dset.h69 static inline int set_reserve(Set *h, unsigned entries_add) { argument
70 return internal_hashmap_reserve(HASHMAP_BASE(h), entries_add);
H A Dhashmap.h211 int internal_hashmap_reserve(HashmapBase *h, unsigned entries_add);
212 static inline int hashmap_reserve(Hashmap *h, unsigned entries_add) { argument
213 return internal_hashmap_reserve(HASHMAP_BASE(h), entries_add);
215 static inline int ordered_hashmap_reserve(OrderedHashmap *h, unsigned entries_add) { argument
216 return internal_hashmap_reserve(HASHMAP_BASE(h), entries_add);
H A Dhashmap.c906 static int resize_buckets(HashmapBase *h, unsigned entries_add);
1029 static int resize_buckets(HashmapBase *h, unsigned entries_add) { argument
1042 new_n_entries = n_entries(h) + entries_add;
1045 if (_unlikely_(new_n_entries < entries_add))
1599 int internal_hashmap_reserve(HashmapBase *h, unsigned entries_add) { argument
1604 r = resize_buckets(h, entries_add);

Completed in 1430 milliseconds