#include <linux/config.h>
#include <linux/compiler.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <irpdef.h>
#include <npool_data.h>
#include <ssdef.h>
#include <system_data_cells.h>
#include <exe_routines.h>
#include <misc_routines.h>
#include <mmg_routines.h>
#include <internals.h>
#include <ipldef.h>
Go to the source code of this file.
Classes | |
struct | _myhead |
Functions | |
void | exe_reclaim_pool_aggressive (void *pool) |
int | exe_allocate_pool (int requestsize, int pooltype, int alignment, unsigned int *allocatedsize, void **returnblock) |
void | exe_deallocate_pool (void *returnblock, int pooltype, int size) |
exe_extend_npp (void *pool) | |
exe_extendpool (void *pool) | |
exe_trim_pool_list (int percentage, void *listhead, void *basepool) | |
void | exe_reclaim_pool_gentle (void *pool) |
int exe_allocate_pool | ( | int | requestsize, | |
int | pooltype, | |||
int | alignment, | |||
unsigned int * | allocatedsize, | |||
void ** | returnblock | |||
) |
Definition at line 29 of file memoryalc_pool.c.
References check_packet(), exe_allocate(), exe_extendpool(), exe_flushlists(), exe_gs_bap_npool, exe_lal_remove_first(), exe_reclaim_pool_aggressive(), IPL__POOL, _lsthds::lsthds_q_listheads, _npool_data::npool_ar_lsthds, poison_packet(), SPIN_POOL, and SS__NORMAL.
void exe_deallocate_pool | ( | void * | returnblock, | |
int | pooltype, | |||
int | size | |||
) |
Definition at line 103 of file memoryalc_pool.c.
References exe_deallocate(), exe_gs_bap_npool, exe_lal_insert_first(), IPL__POOL, _lsthds::lsthds_q_listheads, _npool_data::npool_ar_lsthds, poison_packet(), SPIN_POOL, and SS__NORMAL.
exe_extend_npp | ( | void * | pool | ) |
Definition at line 126 of file memoryalc_pool.c.
References SS__INSFMEM.
Referenced by exe_extendpool().
exe_extendpool | ( | void * | pool | ) |
Definition at line 132 of file memoryalc_pool.c.
References exe_extend_npp().
Referenced by exe_allocate_pool(), and exe_alononpagvar().
void exe_reclaim_pool_aggressive | ( | void * | pool | ) |
Definition at line 165 of file memoryalc_pool.c.
References exe_trim_pool_list(), _lsthds::lsthds_l_variablelist_unused, _lsthds::lsthds_q_listheads, and _npool_data::npool_ar_lsthds.
Referenced by exe_allocate_pool(), and exe_alononpagvar().
void exe_reclaim_pool_gentle | ( | void * | pool | ) |
Definition at line 174 of file memoryalc_pool.c.
References exe_setimr(), exe_trim_pool_list(), _lsthds::lsthds_l_variablelist_unused, _lsthds::lsthds_q_listheads, and _npool_data::npool_ar_lsthds.
Referenced by init_nonpaged(), and vms_init4().
exe_trim_pool_list | ( | int | percentage, | |
void * | listhead, | |||
void * | basepool | |||
) |
Definition at line 138 of file memoryalc_pool.c.
References exe_deallocate(), exe_lal_remove_first(), _myhead::hd_l_seq, IPL__POOL, and SPIN_POOL.
Referenced by exe_reclaim_pool_aggressive(), and exe_reclaim_pool_gentle().