Linux Kernel
3.7.1
|
Data Fields | |
struct linked_page * | chain |
unsigned int | used_space |
gfp_t | gfp_mask |
int | safe_needed |
struct chain_allocator is used for allocating small objects out of a linked list of pages called 'the chain'.
The chain grows each time when there is no room for a new object in the current page. The allocated objects cannot be freed individually. It is only possible to free them all at once, by freeing the entire chain.
NOTE: The chain allocator may be inefficient if the allocated objects are not much smaller than PAGE_SIZE.
Definition at line 184 of file snapshot.c.
Definition at line 185 of file snapshot.c.
gfp_t gfp_mask |
Definition at line 189 of file snapshot.c.
int safe_needed |
Definition at line 190 of file snapshot.c.
unsigned int used_space |
Definition at line 186 of file snapshot.c.