title: What is idr_alloc()
body: <p>In the source code implementation it says <code>idr_alloc()</code> is used to allocate new <code>idr</code> entry. I couldn't find the <code>man page</code> and want to know why it is used especially when writing drivers for <code>MTD</code> devices.</p>