Lines Matching defs:zmap_slot
275 struct zmap_slot {
294 struct zlist slot; // expanding list of zmap_slot elements
297 #define MAPSLOT ((struct zmap_slot *)(m->slot).base)
586 static struct zmap_slot *find_mapslot(struct zmap *m, struct zstring *key, int *hash, int *probe)
588 struct zmap_slot *x = 0;
619 struct zmap_slot *x = find_mapslot(m, key, &hash, &probe);
631 zlist_init(&m->slot, sizeof(struct zmap_slot));
644 for (struct zmap_slot *p = &MAPSLOT[0]; p < &MAPSLOT[zlist_len(&m->slot)]; p++) {
683 static struct zmap_slot *zmap_find_or_insert_key(struct zmap *m, struct zstring *key)
686 struct zmap_slot *x = find_mapslot(m, key, &hash, &probe);
695 struct zmap_slot zs = ZMSLOTINIT(hash, key, (struct zvalue)ZVINIT(0, 0.0, 0));
706 struct zmap_slot *x = find_mapslot(m, key, &hash, &probe);
2708 struct zmap_slot *zs = zmap_find_or_insert_key(m, key);
2966 struct zmap_slot *x = zmap_find_or_insert_key(v->map, to_str(key)->vst);