table of contents
other versions
- stretch 4.9.168-1
IDA_PRE_GET(9) | Basic Kernel Library Functions | IDA_PRE_GET(9) |
NAME¶
ida_pre_get - reserve resources for ida allocationSYNOPSIS¶
int ida_pre_get(struct ida * ida, gfp_t gfp_mask);
ARGUMENTS¶
idaida handle
gfp_mask
memory allocation flag
DESCRIPTION¶
This function should be called prior to locking and calling the following function. It preallocates enough memory to satisfy the worst possible allocation.If the system is REALLY out of memory this function returns 0, otherwise 1.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |