Lines Matching defs:storage
174 char *storage; /* where buckets and DIBs are stored */
191 char storage[sizeof(struct indirect_storage)];
206 * outgrows direct storage, it gets its own key for indirect storage. */
220 bool has_indirect:1; /* whether indirect storage is used */
221 unsigned n_direct_entries:3; /* Number of entries in direct storage.
369 return h->has_indirect ? h->indirect.storage
370 : h->direct.storage;
771 p = mempset(h->direct.storage, 0, hi->entry_size * hi->n_direct_buckets);
910 free(h->indirect.storage);
1094 /* For direct storage we allow 100% load, because it's tiny. */
1119 /* Realloc storage (buckets and DIB array). */
1120 new_storage = realloc(h->has_indirect ? h->indirect.storage : NULL,
1125 /* Must upgrade direct to indirect storage. */
1127 memcpy(new_storage, h->direct.storage,
1134 /* Get a new hash key. If we've just upgraded to indirect storage,
1136 * from the shared one that we used for direct storage. */
1140 h->indirect.storage = new_storage;