/* This function is use to set up the handle (@idp) that you will pass to the rest of the functions.  */
void idr_init(struct idr *idp)
/* This function is use to set up the handle (@idp) that you will pass to the rest of the functions.  */
void idr_init(struct idr *idp)
{
	memset(idp, 0, sizeof(struct idr));
	spin_lock_init(&idp->lock);
}