table of contents
other versions
- wheezy 3.2.78-1
IDA_GET_NEW_ABOVE(9) | Basic Kernel Library Functions | IDA_GET_NEW_ABOVE(9) |
NAME¶
ida_get_new_above - allocate new ID above or equal to a start idSYNOPSIS¶
int
ida_get_new_above(struct ida * ida,
int starting_id,
int * p_id);
ARGUMENTS¶
idaida handle
starting_id
id to start search at
p_id
pointer to the allocated handle
DESCRIPTION¶
Allocate new ID above or equal to starting_id. It should be called with any required locks. If memory is required, it will return -EAGAIN, you should unlock and go back to the ida_pre_get call. If the ida is full, it will return -ENOSPC.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |