centos man page for idr_replace

Query: idr_replace

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

IDR_REPLACE(9)						  Basic Kernel Library Functions					    IDR_REPLACE(9)

NAME
idr_replace - replace pointer for given id
SYNOPSIS
void * idr_replace(struct idr * idp, void * ptr, int id);
ARGUMENTS
idp idr handle ptr pointer you want associated with the id id lookup key
DESCRIPTION
Replace the pointer registered with an id and return the old value. A -ENOENT return indicates that id was not found. A -EINVAL return indicates that id was not within valid constraints. The caller must serialize with writers.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 IDR_REPLACE(9)
Related Man Pages
debugfs_create_file(9) - centos
device_create(9) - centos
atomic_dec_64_nv(3) - netbsd
atomic_dec_ptr(3) - netbsd
reallocf(3) - linux
Similar Topics in the Unix Linux Community
Google Webmaster Tools Shows Problems with Soft 404 Errors
Removing Most Dates from Posts and Threads for Guests and Search Engines