Hash table in kernel

Cuendet JeanEric (JeanEric.Cuendet@tetralaval.com)
Tue, 5 Mar 2002 13:51:11 +0100


Hi,
Could someone tell me what to use to make an hashtable in the kernel?
Where to find info?

I'd like to make a simple hash table with ~10-100 entries (one per block
device)
I need the function : init(num_buckets), get_entry(hashkey),
add_entry(entry)

Thanks
-jec
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/