Searched refs:IDXMAP_SIZE (Results 1 – 1 of 1) sorted by relevance
36 #define IDXMAP_SIZE 1024 macro37 static struct hlist_head idx_head[IDXMAP_SIZE];38 static struct hlist_head name_head[IDXMAP_SIZE];43 unsigned h = index & (IDXMAP_SIZE - 1); in ll_get_by_index()68 unsigned h = namehash(name) & (IDXMAP_SIZE - 1); in ll_get_by_name()116 h = namehash(ifname) & (IDXMAP_SIZE - 1); in ll_remember_index()132 h = ifi->ifi_index & (IDXMAP_SIZE - 1); in ll_remember_index()135 h = namehash(ifname) & (IDXMAP_SIZE - 1); in ll_remember_index()