idr_destroy(9) centos man page | unix.com

Man Page: idr_destroy

Operating Environment: centos

Section: 9

IDR_DESTROY(9)						  Basic Kernel Library Functions					    IDR_DESTROY(9)

NAME
idr_destroy - release all cached layers within an idr tree
SYNOPSIS
void idr_destroy(struct idr * idp);
ARGUMENTS
idp idr handle
DESCRIPTION
Free all id mappings and all idp_layers. After this function, idp is completely unused and can be freed / recycled. The caller is responsible for ensuring that no one else accesses idp during or after idr_destroy. A typical clean-up sequence for objects stored in an idr tree will use idr_for_each to free all objects, if necessay, then idr_destroy to free up the id mappings and cached idr_layers.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 IDR_DESTROY(9)
Related Man Pages
ct_tmpl_set_cookie(3contrac) - opensolaris
ct_tmpl_set_informative(3contrac) - opensolaris
idp(4p) - bsd
resolvertest(1) - debian
ct_tmpl_activate(3contrac) - sunos
Similar Topics in the Unix Linux Community
DB2 convert digits to binary format
Tar Command
Unsure why access time on a directory change isn't changing
CentOS 6 ran out of space, need to reclaim it
Please Welcome Dave Munro to the Moderator Team!