Lines Matching defs:index
31 * Return: an index based on the key in the data of the first argument and the
68 * @choose: callback calculating the hash index
81 u32 index;
90 index = choose(data, hash->size);
91 head = &hash->table[index];
92 list_lock = &hash->list_locks[index];
120 * @choose: callback calculating the hash index
134 u32 index;
139 index = choose(data, hash->size);
140 head = &hash->table[index];
142 spin_lock_bh(&hash->list_locks[index]);
152 spin_unlock_bh(&hash->list_locks[index]);