Query: idr_alloc_cyclic
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
IDR_ALLOC_CYCLIC(9) Basic Kernel Library Functions IDR_ALLOC_CYCLIC(9)NAMEidr_alloc_cyclic - allocate new idr entry in a cyclical fashionSYNOPSISint idr_alloc_cyclic(struct idr * idr, void * ptr, int start, int end, gfp_t gfp_mask);ARGUMENTSidr 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 flagsDESCRIPTIONEssentially the same as idr_alloc, but prefers to allocate progressively higher ids if it can. If the "cur" counter wraps, then it will start again at the "start" end of the range and allocate one that has already been used.COPYRIGHTKernel Hackers Manual 3.10 June 2014 IDR_ALLOC_CYCLIC(9)
Related Man Pages |
---|
bio_alloc_bioset(9) - centos |
tcl_free(3) - mojave |
kmalloc_array(9) - centos |
tcl_alloc(3) - opendarwin |
tcl_attemptalloc(3) - opendarwin |
Similar Topics in the Unix Linux Community |
---|
Weird 'find' results |
Set hard block limit for user using quota |
Docker learning Phase-I |
CentOS 6 ran out of space, need to reclaim it |
[TIP] Processing YAML files with yq |