Searched refs:ehash_locks (Results 1 – 1 of 1) sorted by relevance
125 spinlock_t *ehash_locks; member166 return &hashinfo->ehash_locks[hash & hashinfo->ehash_locks_mask]; in inet_ehash_lockp()188 hashinfo->ehash_locks = vmalloc(size * sizeof(spinlock_t)); in inet_ehash_locks_alloc()191 hashinfo->ehash_locks = kmalloc(size * sizeof(spinlock_t), in inet_ehash_locks_alloc()193 if (!hashinfo->ehash_locks) in inet_ehash_locks_alloc()196 spin_lock_init(&hashinfo->ehash_locks[i]); in inet_ehash_locks_alloc()204 if (hashinfo->ehash_locks) { in inet_ehash_locks_free()209 vfree(hashinfo->ehash_locks); in inet_ehash_locks_free()212 kfree(hashinfo->ehash_locks); in inet_ehash_locks_free()213 hashinfo->ehash_locks = NULL; in inet_ehash_locks_free()