Home
last modified time | relevance | path

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

/linux-4.4.14/net/ipv4/
Dinet_hashtables.c640 unsigned int locksz = sizeof(spinlock_t); in inet_ehash_locks_alloc() local
643 if (locksz != 0) { in inet_ehash_locks_alloc()
645 nblocks = max(2U * L1_CACHE_BYTES / locksz, 1U); in inet_ehash_locks_alloc()
651 hashinfo->ehash_locks = kmalloc_array(nblocks, locksz, in inet_ehash_locks_alloc()
654 hashinfo->ehash_locks = vmalloc(nblocks * locksz); in inet_ehash_locks_alloc()