V_spdcache_lock
mtx_init(&V_spdcache_lock[a], "spdcache", \
#define SPDCACHE_LOCK_DESTROY(a) mtx_destroy(&V_spdcache_lock[a])
#define SPDCACHE_LOCK(a) mtx_lock(&V_spdcache_lock[a]);
#define SPDCACHE_UNLOCK(a) mtx_unlock(&V_spdcache_lock[a]);
V_spdcache_lock = malloc(sizeof(struct mtx) *
free(V_spdcache_lock, M_IPSEC_SPDCACHE);