map_key_from_value
key = map_key_from_value(map, value, &idx);
key = (void *)map_key_from_value(ctx->map, ctx->map_val, &idx);