Hash table in kernel

From: Cuendet JeanEric (JeanEric.Cuendet@tetralaval.com)
Date: Tue Mar 05 2002 - 07:51:11 EST


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/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:41 EST