Lines Matching defs:storage
179 char *storage; /* where buckets and DIBs are stored */
196 char storage[sizeof(struct indirect_storage)];
211 * outgrows direct storage, it gets its own key for indirect storage. */
225 bool has_indirect:1; /* whether indirect storage is used */
226 unsigned n_direct_entries:3; /* Number of entries in direct storage.
306 return h->has_indirect ? h->indirect.storage
307 : h->direct.storage;
721 p = mempset(h->direct.storage, 0, hi->entry_size * hi->n_direct_buckets);
864 free(h->indirect.storage);
1048 /* For direct storage we allow 100% load, because it's tiny. */
1073 /* Realloc storage (buckets and DIB array). */
1074 new_storage = realloc(h->has_indirect ? h->indirect.storage : NULL,
1079 /* Must upgrade direct to indirect storage. */
1081 memcpy(new_storage, h->direct.storage,
1088 /* Get a new hash key. If we've just upgraded to indirect storage,
1090 * from the shared one that we used for direct storage. */
1094 h->indirect.storage = new_storage;