Home
last modified time | relevance | path

Searched refs:ehash_locks (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/include/net/
A Dinet_hashtables.h157 spinlock_t *ehash_locks; member
209 return &hashinfo->ehash_locks[hash & hashinfo->ehash_locks_mask]; in inet_ehash_lockp()
222 kvfree(hashinfo->ehash_locks); in inet_ehash_locks_free()
223 hashinfo->ehash_locks = NULL; in inet_ehash_locks_free()
/linux-6.3-rc2/net/ipv4/
A Dinet_hashtables.c1212 hashinfo->ehash_locks = kvmalloc_array(nblocks, locksz, GFP_KERNEL); in inet_ehash_locks_alloc()
1213 if (!hashinfo->ehash_locks) in inet_ehash_locks_alloc()
1217 spin_lock_init(&hashinfo->ehash_locks[i]); in inet_ehash_locks_alloc()

Completed in 6 milliseconds