ida_pre_get(9)

ida_pre_get9

Reserve resources for ida allocation

Usage

int ida_pre_get(struct ida * ida, gfp_t gfp_mask);

Arguments

ida

ida handle

gfp_mask

memory allocation flag

Overview

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.

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.