idr_alloc (9) Linux Manual Page
idr_alloc – allocate new idr entry Synopsis int idr_alloc(struct idr *idr, void *ptr, int start, int end, gfp_t gfp_mask); Arguments idr the (initialized) idr ptr pointer to be associated with the new id start the minimum id (inclusive) end the maximum id (exclusive, <= 0 for max) gfp_mask memory allocation flags Description Allocate an id…
