Lines Matching refs:slots
30 struct dm_hash_node **slots;
109 len = sizeof(*(hc->slots)) * new_size;
110 if (!(hc->slots = dm_malloc(len))) {
114 memset(hc->slots, 0, len);
118 dm_free(hc->slots);
129 for (c = t->slots[i]; c; c = n) {
138 dm_free(t->slots);
148 for (c = &t->slots[h]; *c; c = &((*c)->next)) {
228 for (c = t->slots[i]; c; c = n) {
237 memset(t->slots, 0, sizeof(struct dm_hash_node *) * t->num_slots);
259 c = t->slots[i];