idr_alloc_cyclic man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

IDR_ALLOC_CYCLIC(9)	Basic Kernel Library Functions	   IDR_ALLOC_CYCLIC(9)

NAME
       idr_alloc_cyclic - allocate new idr entry in a cyclical fashion

SYNOPSIS
       int idr_alloc_cyclic(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
       Essentially 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.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013		   IDR_ALLOC_CYCLIC(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net